Christian Richter
f4cf6c6339
Merged revisions 47989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47989 | crichter | 2006-11-24 16:46:13 +0100 (Fr, 24 Nov 2006) | 9 lines
Merged revisions 47968 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47968 | crichter | 2006-11-23 17:10:23 +0100 (Do, 23 Nov 2006) | 1 line
fixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some loglevels. changed the default value of block_on_alarm
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 11:03:57 +00:00
Joshua Colp
1825b70a4c
Merged revisions 49259 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49259 | file | 2007-01-02 20:19:53 -0500 (Tue, 02 Jan 2007) | 2 lines
Check pvt structure presence before passing to send_command. This gets rid of the irritating message about a packet without pvt structure. This happens because the scheduled item is getting cancelled at almost the exact moment it is getting executed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 01:21:41 +00:00
Olle Johansson
f7ee0abcd2
Removing propably accidentally added debug messages sent to verbose channel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 20:02:37 +00:00
Olle Johansson
0d340b7d02
Merged revisions 49212 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49212 | oej | 2007-01-02 20:58:45 +0100 (Tue, 02 Jan 2007) | 2 lines
Small cleanup of add_t38sdp - it's always enabled at that point in the code
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 20:01:34 +00:00
Kevin P. Fleming
29058da351
Merged revisions 49165 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49165 | kpfleming | 2007-01-02 07:59:44 -0600 (Tue, 02 Jan 2007) | 2 lines
remove comment that is unrelated to this function
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 14:01:20 +00:00
Kevin P. Fleming
cb97e0c353
Merged revisions 49102 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49102 | kpfleming | 2007-01-01 17:34:35 -0600 (Mon, 01 Jan 2007) | 2 lines
check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 23:43:43 +00:00
Olle Johansson
9074555e37
- Add error handling to ast_parse_allow_disallow
...
- Use this in chan_sip configuration parsing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 19:48:31 +00:00
Olle Johansson
f83b845f08
- Implement error handling in ast_append_ha
...
- Use this in chan_sip
- Document ha functions in acl.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 19:20:46 +00:00
Joshua Colp
7eb0f10f34
count is no longer used in the iaxq structure really so let's just make this a statically declared linked list.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-31 19:15:23 +00:00
Olle Johansson
7674260e75
Add version number to useragent string - Issue #8700 , blanchet - THANKS!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-31 09:31:23 +00:00
Joshua Colp
ae649fef27
Merged revisions 49063 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49063 | file | 2006-12-29 22:37:22 -0500 (Fri, 29 Dec 2006) | 2 lines
Initialize the packet queue in load_module instead of just declaring the list with the default value. (issue #8695 reported by ssokol)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 03:40:42 +00:00
Russell Bryant
1f8001e816
Convert various comments to doxygen format.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 13:25:07 +00:00
Olle Johansson
fc86ea2eed
Removing extra output
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 11:02:28 +00:00
Olle Johansson
b54feaffec
Only include include files once (imported from 1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:27:57 +00:00
Olle Johansson
906a51a1af
Only set "rfc2833compensate" option once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 20:30:03 +00:00
Olle Johansson
8794577966
Only handle T38 options once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 20:26:30 +00:00
Olle Johansson
820d82470a
-Remove "localmask" setting (deprecated in earlier version)
...
- Remove "musiconhold" and "musicclass" settings (also deprecated earlier)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 19:57:06 +00:00
Kevin P. Fleming
85b6138d83
Merged revisions 48988 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48988 | kpfleming | 2006-12-27 12:33:22 -0600 (Wed, 27 Dec 2006) | 2 lines
make the option actually match the documentation
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:34:24 +00:00
Kevin P. Fleming
d68c7c8ce6
Merged revisions 48987 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48987 | kpfleming | 2006-12-27 12:29:13 -0600 (Wed, 27 Dec 2006) | 2 lines
allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:33:44 +00:00
Olle Johansson
29ed493b40
Be politically correct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:02:10 +00:00
Olle Johansson
da7a35a1cc
Add support for buggy Cisco MWI firmware > 8.0.3 (issue 8575 - flewid)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:56:11 +00:00
Olle Johansson
3713ce7ed1
Cleanup of handle_common_options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:35:41 +00:00
Olle Johansson
a12dc35eb3
Reset invitestate when sending new invite
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:26:02 +00:00
Olle Johansson
d69e9086cc
Issue #8600 - bogus SDP Content Length in T.38 re-invite
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:01:07 +00:00
Joshua Colp
7f61b822c1
Merged revisions 48964 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48964 | file | 2006-12-25 23:31:58 -0500 (Mon, 25 Dec 2006) | 2 lines
Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-26 04:34:07 +00:00
Luigi Rizzo
09f75aa6dc
rename the structs struct tone_zone_sound and struct tone_zone
...
defined in indications.h to ind_tone_zone_sound and ind_tone_zone,
to avoid conflicts with the structs with the same names
defined in tonezone.h
Hope i haven't missed any instance.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 06:38:09 +00:00
Russell Bryant
ad8a480085
Merged revisions 48948 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48948 | russell | 2006-12-24 16:19:37 -0500 (Sun, 24 Dec 2006) | 3 lines
Fix a typo in an error message that indicated that the MGCP channel type could
not be registered, instead of the correct type, OSS.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 21:21:21 +00:00
Russell Bryant
539514d793
Merged revisions 48944 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48944 | russell | 2006-12-24 02:25:38 -0500 (Sun, 24 Dec 2006) | 11 lines
Merged revisions 48943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48943 | russell | 2006-12-24 02:23:07 -0500 (Sun, 24 Dec 2006) | 3 lines
Check for the proper return value on an error in a call to mmap().
This was reported by Andy Wang on the asterisk-dev list. Thanks!
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 07:27:29 +00:00
Russell Bryant
e0f55d2385
Merged revisions 48940 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48940 | russell | 2006-12-24 01:49:31 -0500 (Sun, 24 Dec 2006) | 11 lines
Merged revisions 48939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48939 | russell | 2006-12-24 01:47:29 -0500 (Sun, 24 Dec 2006) | 3 lines
Remove a couple of misplaced dots in log messages. This was reported by
Andrea Spadaccini on the asterisk-dev mailing list.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 06:51:37 +00:00
Jason Parker
a01ae565e9
Merged revisions 48888 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48888 | qwell | 2006-12-22 15:40:20 -0600 (Fri, 22 Dec 2006) | 2 lines
Note to self: Run make before committing...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22 21:40:56 +00:00
Jason Parker
9883943ec5
Merged revisions 48870 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48870 | qwell | 2006-12-22 14:43:05 -0600 (Fri, 22 Dec 2006) | 2 lines
Fix for issue 7774 - patch by alamantia
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22 20:43:38 +00:00
Steve Murphy
7b338004bf
a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 19:44:20 +00:00
Steve Murphy
9327720c37
As per bug 7978, this version introduces the jittertargetextra option in config files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 00:24:08 +00:00
Kevin P. Fleming
fa5931d0c3
Merged revisions 48586 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48586 | kpfleming | 2006-12-19 15:28:04 -0600 (Tue, 19 Dec 2006) | 2 lines
suppress compiler warnings in this module until it can be improved
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 21:28:43 +00:00
Joshua Colp
381d49c9af
Clean up find_idle_thread function and use atomic operations for dynamic thread count.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-18 17:30:53 +00:00
Joshua Colp
c17181aae3
Merged revisions 48564 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48564 | file | 2006-12-18 12:15:49 -0500 (Mon, 18 Dec 2006) | 2 lines
Put thread into proper list if we abort handling due to an error, and also hold the lock while putting it back into the proper idle list so we don't prematurely get a signal. (issue #8604 reported by arkadia)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-18 17:18:18 +00:00
Luigi Rizzo
d5eef300d8
define a mask SIP_INSECURE sam as for other sets of flags.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-17 12:47:08 +00:00
Joshua Colp
6bdd1a3388
Merged revisions 48504 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48504 | file | 2006-12-15 14:38:51 -0500 (Fri, 15 Dec 2006) | 2 lines
Hold call structure lock in places where a qualify or peer action can destroy it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 19:40:29 +00:00
Joshua Colp
12565be69e
Merged revisions 48502 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48502 | file | 2006-12-15 14:24:15 -0500 (Fri, 15 Dec 2006) | 2 lines
Lock network retransmission queue in all places that it is used.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 19:26:45 +00:00
Luigi Rizzo
7db228ac95
replace ast_safe_string_alloc() with asprintf()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 15:40:57 +00:00
Luigi Rizzo
a736605bf4
replace ast_safe_string_alloc() with asprintf()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 15:39:29 +00:00
Olle Johansson
168deb2366
Issue #8592 - treat 504 as congestion (imported from 1.2/1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 10:58:36 +00:00
Olle Johansson
bf2172faac
Update to latest IANA specs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 10:54:06 +00:00
Joshua Colp
315f8bb1b2
Merged revisions 48478 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48478 | file | 2006-12-15 01:28:05 -0500 (Fri, 15 Dec 2006) | 2 lines
Use a wakeup variable so that we don't wait on IO indefinitely if packets need to be retransmitted.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 06:31:26 +00:00
Russell Bryant
52396dff26
revert check for a zaptel transcoder related definition that was done in the
...
wrong module.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-13 00:56:30 +00:00
Russell Bryant
666d526aad
Fix various spelling mistakes in comments.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12 22:32:20 +00:00
Russell Bryant
4490b5710d
Make chan_zap inform you that your version of zaptel is too old instead of
...
just failing to compile.
It seems like the proper way to do this would be in the configure script.
However, that wouldn't help existing checkouts unless we forced the configure
script to be executed after any code was changed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12 22:27:22 +00:00
Steve Murphy
23e606f70a
Merged revisions 48372 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48372 | murf | 2006-12-09 20:04:18 -0700 (Sat, 09 Dec 2006) | 9 lines
Merged revisions 48371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48371 | murf | 2006-12-09 19:14:13 -0700 (Sat, 09 Dec 2006) | 1 line
This version applies the patch suggested by stevens in bug 7836 (make inbound channel RINGING state consistent with other channels).
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-10 03:14:27 +00:00
Russell Bryant
a9415d4b8e
convert the thread IO state and type to use enums.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-09 16:44:41 +00:00
Russell Bryant
86ad1435c1
Merged revisions 48363 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48363 | russell | 2006-12-09 10:59:42 -0500 (Sat, 09 Dec 2006) | 8 lines
Use locking when accessing the registrations list. This list is not actually
used very often, so the likelihood of there being a problem is pretty small,
but still possible. For example, if the CLI command to list the registrations
was called at the same time that a reload was occurring and the registrations
list was getting destroyed and rebuilt, a crash could occur.
In passing, go ahead and convert this list to use the linked list macros.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-09 16:04:06 +00:00