Commit graph

1046 commits

Author SHA1 Message Date
Olle Johansson
72779cd6a0 Issue #5824: Adding more SIP to ISDN Cause code conversions. Thanks mguesdon!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 13:07:34 +00:00
Olle Johansson
b6bd455a7b Missing ">" in XML. Thanks, fenlander, for reporting this on IRC.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 10:16:53 +00:00
Olle Johansson
5462ec082c - Remove "incominglimit" as a configuration option in sip.conf
- Add documentation on call-limit, explaining that there's two counters
  for a type="friend". 
- Document the removval of "incominglimit" in UPGRADE.txt



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 09:10:56 +00:00
Kevin P. Fleming
a4f8d466e8 update copyright headers for files changed this year
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 22:16:23 +00:00
Olle Johansson
38cc562008 Don't check user call limits for outbound calls.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 19:12:50 +00:00
Olle Johansson
1e6ada5f68 Issue #5954: Implement printf-like append_history and implement AST_LIST for SIP history (rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 12:25:32 +00:00
Olle Johansson
4ef2139916 Bug #6071: Broken rport match in check_via(). (rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 11:58:10 +00:00
Olle Johansson
3b4f660a85 Bug 5345; Add configuration option for minimum registration time. (folsson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03 11:21:48 +00:00
Russell Bryant
9b8b2c79c6 initialize sip_auth list
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-02 23:52:33 +00:00
BJ Weschke
7aad650606 Fix compiler warnings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-02 01:53:26 +00:00
Russell Bryant
a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Russell Bryant
a6d13ff79f Merged revisions 7665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7665 | russell | 2005-12-28 12:35:56 -0500 (Wed, 28 Dec 2005) | 2 lines

fix memory leak in build_rpid (issue #6070)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-28 17:37:35 +00:00
Russell Bryant
e4e5b423a4 avoid repeated calls to strlen in command completion functions and normalize
some loops


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 18:18:41 +00:00
Russell Bryant
ef1ce7aec9 Merged revisions 7634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines

cast time_t to an int in printf/scanf (issue #5635)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 18:35:28 +00:00
Russell Bryant
b60daeb58f Merged revisions 7599 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7599 | russell | 2005-12-22 15:36:47 -0500 (Thu, 22 Dec 2005) | 3 lines

revert changes to videosupport to allow per-peer setting, since it isn't quite
complete and there is not an obvious fix at this point

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 20:38:43 +00:00
Russell Bryant
80322c1bdb remove stray unlock (issue #5955)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 16:14:38 +00:00
Kevin P. Fleming
9adc59ca3a forward-port per-peer videosupport changes from branches/1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 03:50:44 +00:00
Russell Bryant
1d498c35cd - construct the difference and have only one call to snprintf in build_via
- convert some while loops to for loops
- localize some variables and remove unneeded initializations
- store result of get_header locally so it only has to be called once
- remove some duplicate calls to strcasecmp by storing result
(issue #5955)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 02:20:44 +00:00
Mark Spencer
0d32a85be1 Major RTP fixes for using inbound SDP on outbound connection, get rid of
old local rtp stuff...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 17:52:31 +00:00
Russell Bryant
dca08fd878 - add note on required values of sip_methods struct
- remove duplicate function prototype
- remove duplicate ast_mutex_lock (issue #6025)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-19 23:41:53 +00:00
Kevin P. Fleming
2a3dacfc3d Merged revisions 7515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7515 | kpfleming | 2005-12-16 21:59:05 -0600 (Fri, 16 Dec 2005) | 2 lines

Max-Forwards headers must only be present on requests, not responses

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-17 03:59:27 +00:00
Kevin P. Fleming
caa2e580da Merged revisions 7513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7513 | kpfleming | 2005-12-16 21:44:30 -0600 (Fri, 16 Dec 2005) | 2 lines

forcibly expire previous subscriptions from a peer when they resubscribe (keeps them from building up and waiting for expiration, and stops us sending unwanted NOTIFY messages to devices)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-17 03:45:25 +00:00
Kevin P. Fleming
b7b2317d81 Merged revisions 7448-7449,7451,7453 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7448 | kpfleming | 2005-12-12 22:25:14 -0600 (Mon, 12 Dec 2005) | 2 lines

use the stream's current point when pausing/unpausing, instead of elapsed time (which doesn't work when the stream has been skipped forward or backward) (issue #5897)

........
r7449 | kpfleming | 2005-12-12 22:43:38 -0600 (Mon, 12 Dec 2005) | 2 lines

only report AGENT_IDLE for callback mode agents when they are actually idle (issue #5902)

........
r7451 | kpfleming | 2005-12-12 23:14:27 -0600 (Mon, 12 Dec 2005) | 2 lines

ensure that hangups while incoming calls are in early state are handled properly (issue #5919)

........
r7453 | kpfleming | 2005-12-12 23:53:00 -0600 (Mon, 12 Dec 2005) | 2 lines

restore ability of caller to hangup calls that are still ringing (issue #5839)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-13 06:00:17 +00:00
Russell Bryant
bdb525c420 Merged revisions 7335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7335 | russell | 2005-12-04 19:01:17 -0500 (Sun, 04 Dec 2005) | 2 lines

fix the order of arguments to an error message (issue #5927)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-05 00:06:09 +00:00
Russell Bryant
82a4d5dd8f add some missing prototypes and don't use caps for the sip debug defines since
they are not constants


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 17:28:02 +00:00
Russell Bryant
8af65a8a25 add the 'sip debug' options to the set of global flags and fix some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-03 23:35:15 +00:00
Tilghman Lesher
870f98f02d Bug 5858 - Make the chanvars.c functions return a 'const char *'
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-03 19:25:33 +00:00
Kevin P. Fleming
0242a69b3f Merged revisions 7265-7266,7268-7275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines

Changing bug report address to the Asterisk issue tracker

........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines

Makefile 'update' target now supports updating from Subversion repositories (issue #5875)
remove support for 'patches' subdirectory, it's no longer useful

........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines

ensure channel's scheduling context is freed (issue #5788)

........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines

don't block waiting for the Festival server forever when it goes away (issue #5882)

........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines

allow variables to exist on both 'halves' of the Local channel (issue #5810)

........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines

protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879)

........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines

properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870)
reformat password changing code to conform to coding guidelines (issue #5870)

........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines

allow previous context-searching behavior to be used if desired (issue #5899)

........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines

inherit channel variables into channels created by Page() application (issue #5888)

........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines

Bug #5907. Improve SIP INFO DTMF debugging output. (1.2 & Trunk)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-02 01:01:11 +00:00
Kevin P. Fleming
2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming
e9cde1fbdb fix port number handling in peer building functions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 19:27:26 +00:00
Kevin P. Fleming
354b7f1a81 fix a bug found during a recent upgrade
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 19:20:26 +00:00
Russell Bryant
913232e82e issue #5794
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 00:57:35 +00:00
Russell Bryant
35fcf0a8aa Add missing carriage return and line feed to the SDP line indicating that we don't support VAD (issue #5780)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-17 20:25:40 +00:00
Kevin P. Fleming
639104bbb2 fix previous commit to actually do it properly...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 17:46:59 +00:00
Kevin P. Fleming
2b656be753 issue #5764
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 17:26:11 +00:00
Kevin P. Fleming
4331958422 issue #5539
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-15 22:50:43 +00:00
Kevin P. Fleming
e88e390bb8 issue #5751
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-15 19:52:25 +00:00
Kevin P. Fleming
766d1a73b1 issue #5712
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-12 02:57:43 +00:00
Kevin P. Fleming
8605bf0104 minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 21:41:54 +00:00
Kevin P. Fleming
a0a9769616 issue #5648
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:55:31 +00:00
Mark Spencer
4468de1bd7 Only consider timeouts on realtimers (bug #5554)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 23:38:40 +00:00
Kevin P. Fleming
d8672874ef properly handle '100 Trying' that arrives after a dialog has been dropped (issue #5475)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 23:03:44 +00:00
Kevin P. Fleming
9c25f9d1d5 handle improperly formatted initial requests properly (issue #5483)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 22:58:54 +00:00
Kevin P. Fleming
3da6bf02c9 add some warning message for when chan_sip gets overloaded (issue #5530)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 22:18:36 +00:00
Kevin P. Fleming
a15a52208d don't increment 'inuse' counter when call is being failed because of limit (issue #5545)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 22:08:41 +00:00
Kevin P. Fleming
b175ff39ef properly support 'musicclass' setting for peers/users (issue #5521)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 21:43:53 +00:00
Mark Spencer
39d27dbab8 Fix ability to do lots of outbound registrations (bug #5529)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-30 21:36:27 +00:00
Mark Spencer
de47e29d09 Merge highly modified fullcontact in realtime sip patch (bug #4832, heavy mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 13:37:31 +00:00
Russell Bryant
9ddf0e4dce Remove unnecessary checks before calls to ast_strlen_zero. Also, change
some places where strlen is used instead of ast_strlen_zero


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:19:37 +00:00
Russell Bryant
6324072247 more doxygenification (issue #5513)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 13:03:17 +00:00
Russell Bryant
3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Mark Spencer
5f78c43950 Fix max forwards interoperability (bug #5474)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-23 01:31:17 +00:00
Mark Spencer
4e919f337c Fix queue, iax and sip formatting issues (bug #5449)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-17 22:26:33 +00:00
Kevin P. Fleming
4d1506e64d make chan_sip able to deal with PBX-level call limit being reached (issue #5131)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 01:14:29 +00:00
Kevin P. Fleming
454061ec18 don't force CLID to be a phone-number-looking-thingie (issue #5325)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 23:48:12 +00:00
Mark Spencer
0b265779b2 Fix the ordering of the sscanfs for SDP parsing (bug #AT&T)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 22:56:53 +00:00
Kevin P. Fleming
c05c0c7ce6 clean up pedantic mode tag handling (issue #5125)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 22:03:53 +00:00
Mark Spencer
d75fb48fb8 Display proper error for matching domain registers (bug #5412)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 20:43:33 +00:00
Russell Bryant
1f2943fc0a re-bind the socket if the bindaddr option is changed during reload (issue #5435)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 20:17:21 +00:00
Kevin P. Fleming
04d7bcc757 send "100 Trying" when we receive PROCEEDING, unless "183 Session Progress" has already been sent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 20:04:38 +00:00
Mark Spencer
7560605ebc Fix "screen" for network numbers (bug #5432)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 14:40:04 +00:00
Mark Spencer
522dfad107 Do *not* default to a max number of registration attempts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 05:43:21 +00:00
Mark Spencer
65afb68602 Handle yet some SIP contact issue nuances and exceptions (bug #5289 with mods and rant)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 04:59:58 +00:00
Mark Spencer
c07a31e4bc Fix noncecount update (bug #5308, redone fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12 04:35:10 +00:00
Kevin P. Fleming
8496d5fe92 fix authentication header extra space (issue #5329)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 01:40:01 +00:00
Kevin P. Fleming
d9f508c7f1 fix timer T1 handling (issue #5330)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 01:31:29 +00:00
Kevin P. Fleming
a755500ef8 ensure that the correct flags are always copied from peers/users to private structures (so RPID sending will work properly, issue #5322)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 01:29:02 +00:00
Kevin P. Fleming
d50adefa05 ensure that Remote-Party-ID is sent even on secondary INVITEs within a dialog (issue #5322)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 00:42:09 +00:00
Kevin P. Fleming
aeaf9f4cc6 remove unused config option (issue #5358)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 00:05:13 +00:00
Kevin P. Fleming
7c1bbe6eef handle peer matching for subscriptions by name instead of IP address (issue #5103)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 23:54:04 +00:00
Kevin P. Fleming
6fe572d1a9 fix various state-related bugs (issue #5369, with mod to return AST_DEVICE_INUSE)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 23:38:09 +00:00
Kevin P. Fleming
b7c31babb0 support call duration limits on inbound OSP calls (issue #5346)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 23:28:57 +00:00
Kevin P. Fleming
b1a61a9672 generate fewer 'stale nonce' messages (issue #5381)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:42:34 +00:00
Kevin P. Fleming
a0a478a72c don't destroy calls when re-INVITE messages ask for things we can't do (issue #5384)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:09:23 +00:00
Kevin P. Fleming
8e4697d8f2 ensure that peer codec preferences take precedence over global preferences
clean and simplify SDP-building code


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 17:41:00 +00:00
Kevin P. Fleming
35b5891b74 don't replace CLID/CNAM when RPID is being generated (issue #5301)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 03:12:46 +00:00
Mark Spencer
ea215f5b7d Remove possibility of manager deadlocks from manager actions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 23:10:14 +00:00
Mark Spencer
bca61024ca 486 (and friends) are really BUSY (bug #5257)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 04:08:57 +00:00
Kevin P. Fleming
626582a84c store tag in the private structure as formatted text, instead of formatting every time we send a packet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-27 02:12:36 +00:00
Kevin P. Fleming
8af7725f98 support optional sending of Remote-Party-ID headers (issue #2471, heavily modified to actually work properly)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-27 01:54:17 +00:00
Kevin P. Fleming
fdccf66d52 add domains documentation and rename config option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 23:14:59 +00:00
Kevin P. Fleming
9bbf4c3854 add basic SIP domain support (issue #4466, with major mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 23:07:50 +00:00
Kevin P. Fleming
78fa3593b1 properly ignore retransmitted INVITEs on long latency links (issue #3658)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 03:05:37 +00:00
Kevin P. Fleming
43d43b8b46 properly respond to REGISTER queries (issue #5272)
remove unused sip_peer expiry field


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 01:22:09 +00:00
Kevin P. Fleming
051ddb97f3 clean update devicestate function, ensure that it can return AST_DEVICE_UNKNOWN when call limits are not turned on (issue #5281)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 21:21:47 +00:00
Russell Bryant
bcaaea9ce6 add missing newline (issue #5243)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-18 22:10:35 +00:00
Kevin P. Fleming
c4d824cf71 error message generated using backwards logic (issue #5224)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 00:05:27 +00:00
Kevin P. Fleming
ff41d6ab6c correct 'progressinband' parsing (issue #5209, different fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 22:45:31 +00:00
Kevin P. Fleming
eb332490ff put items in RFC-specified order (issue #5217)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 22:06:00 +00:00
Kevin P. Fleming
02e5af9cf5 proper header name and attribution (issue #5218)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 21:43:55 +00:00
Kevin P. Fleming
e30adc051f various niteroperability fixes (issue #5221)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 21:41:02 +00:00
Kevin P. Fleming
5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
f2e6ac45ca don't abort Asterisk load if configuration not found (issue #5115)
don't register channel type until after config has been loaded


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 02:52:11 +00:00
Kevin P. Fleming
ee696945de support all OSP authentication models (issue #5159)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 02:45:37 +00:00
Kevin P. Fleming
16cd2019b1 ensure that Manager hold/unhold events are generated even for non-bridged channels (issue #4594)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 02:18:45 +00:00
Kevin P. Fleming
e60671d5bf make RTP handling errors less likely to crash Asterisk (issue #5172)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 02:15:14 +00:00
Kevin P. Fleming
07a06d83a4 handle rport/received in Via headers properly (issue #5037)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 01:53:06 +00:00
Mark Spencer
5600956db8 Handle dialog updates to to tag properly (bug #5166)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 00:43:11 +00:00
Kevin P. Fleming
a1bdc4836a output 'our tag' in proper format
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 00:27:51 +00:00
Josh Roberson
8ac8621f40 don't send a 200 ACK before a 404 on invalid subscriptions (Bug #5198)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-13 01:38:00 +00:00
Kevin P. Fleming
60ffafcc39 allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-09 19:54:34 +00:00
Russell Bryant
d0ff6c46f8 add missing break (issue #5154)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-08 15:34:38 +00:00
Russell Bryant
720272254b initialize these variables because they could be used uninitialized in the
case that the codec capabilities are 0, oops


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 23:29:17 +00:00
Kevin P. Fleming
1e854ea773 remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 21:01:31 +00:00
Kevin P. Fleming
04a954ae16 ensure debug messages are only output if debug is enabled (issue #5142)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 20:54:19 +00:00
Kevin P. Fleming
1bd1a35a9a factor out INVITE response handling in its own function (issue #5127)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 19:00:31 +00:00
Kevin P. Fleming
7d37750831 remove unneeded variables (issue #5117)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 18:49:32 +00:00
Josh Roberson
8f21e3659b Fix spelling of Accountcode. *wink*
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 04:23:15 +00:00
Mark Spencer
2f67f66577 Allow "auto" dtmf mode to select between RFC2833 and inband based on peer's offer or answer.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-06 21:04:40 +00:00
Mark Spencer
bcd06b8582 Don't recreate stuff on authentication (so it works on reinvites)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-06 20:03:31 +00:00
Kevin P. Fleming
3bad83e0f2 ensure that notify message sent out have the correct state (issue #5088 with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02 19:24:32 +00:00
Kevin P. Fleming
6b76015469 allow for custom URI options to be set (issue #4927 with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 23:01:54 +00:00
Kevin P. Fleming
3a31b6ff2d don't try to reference through pvt if it is NULL (issue #5089)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 22:11:02 +00:00
Kevin P. Fleming
4f493d1126 don't add a colon to the header name (thanks bkw!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 21:09:34 +00:00
Kevin P. Fleming
5b819fc101 stop retransmitting INVITE after we have sent CANCEL for the same call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 19:53:38 +00:00
Kevin P. Fleming
102ff2d56e preserve user-added headers when outbound INVITE must be authenticated (issue #5070)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 21:59:01 +00:00
Kevin P. Fleming
085ad00ee0 don't terminate subscriptions before they should be (issue #5063)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 21:34:41 +00:00
Kevin P. Fleming
5f07eec58a remove unused 'outgoinglimit' code, rename 'incominglimit' to 'call-limit' (old syntax is still supported) (issue #5068)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 21:26:33 +00:00
Kevin P. Fleming
6d19c704b7 make chan_sip and chan_iax2 less chatty when not in debug mode (issue #5067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 21:20:59 +00:00
Mark Spencer
5d4d2fdfd4 Add SIP video fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:12:09 +00:00
Kevin P. Fleming
538e160956 fix error I introduced into oej's patch :-(
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 01:04:17 +00:00
Kevin P. Fleming
388e8bd9a8 massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 23:53:29 +00:00
Kevin P. Fleming
ae1e51c857 use proper next hop in strict routing mode (issue #3609)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 23:03:07 +00:00
Kevin P. Fleming
1824c2f630 encode/decode URIs in 'pedantic' mode (issue #3923)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 22:39:39 +00:00
Kevin P. Fleming
99929b21e4 preserve hint watchers and laststate across 'extensions reload' (issue #2522)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-27 23:55:14 +00:00
Kevin P. Fleming
da627fc643 use case-insensitive comparisons for headears (issue #5023)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 20:04:28 +00:00
Kevin P. Fleming
529fcab374 add T1 timer support for NOTIFY dialogs (issue #5017)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 03:44:22 +00:00
Kevin P. Fleming
1cb8d00523 ensure Asterisk won't segfault during re-registration (issue #5011)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 02:33:21 +00:00
Kevin P. Fleming
bf6bc6d4fd clean up rtcaching config options (issue #4075)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 02:25:30 +00:00
Kevin P. Fleming
60718ec80b handle INVITEs that are asking for authentication that we cannot supply more intelligently (issue #4995)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 02:19:42 +00:00
Kevin P. Fleming
20e887d708 make some messages show up only under debugging and other minor cleanups (issue #5018)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 02:16:25 +00:00
Kevin P. Fleming
fa4b3f8416 fix 'sip debug' vs. reload properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 02:12:49 +00:00
Kevin P. Fleming
87f2acf15d don't reset sipdebug to zero during reload (issue #5000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 17:59:26 +00:00
Kevin P. Fleming
9a6618e8d8 show global vmexten in 'sip show settings' (issue #5005)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 14:41:51 +00:00
Kevin P. Fleming
0a3502b592 handle on-/off-hold properly with RTP reinvited streams (issue #3974)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:50:11 +00:00
Kevin P. Fleming
a5b640cb40 add 'sip show settings' CLI command (issue #4806)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:44:28 +00:00
Kevin P. Fleming
0bf1d48e40 support configurable Message-Account value in NOTIFY messages (issue #4801)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 00:50:38 +00:00
Kevin P. Fleming
3480297607 add preliminary support for SIP timers (issue #4359)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 22:55:06 +00:00
Kevin P. Fleming
09bd4cfb95 add SIPCHANINFO function to retrieve information about the current connected SIP endpoint (issue #4698)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 21:13:37 +00:00
Kevin P. Fleming
97b45d5d6d handle BYE instead of CANCEL from callers (issue #4994)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 19:47:00 +00:00
Mark Spencer
97e1ede292 Centralize and fix tos for IAX (bug #4850 inspired)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 16:41:28 +00:00
Mark Spencer
95cf08ee92 Allow ToS to be set in hex (bug #4923)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 16:20:32 +00:00
Mark Spencer
6dde38ed52 Be consistent with User/Username (bug #4916)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-08 00:15:37 +00:00
Russell Bryant
c65f1a04ab there is no reason to check the channeltype of the channel calling SIPAddHeader
because it really only matters what the channeltype is of the *created* channel
in the subsequent dial (bug #4896)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-04 20:03:45 +00:00
Mark Spencer
73e21b0ccc Add extra aliases from RFC4028 and RFC3841 (bug #4889)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 18:05:40 +00:00
Mark Spencer
6e825f933d Revert a portion of oej's patch...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 04:32:09 +00:00
Mark Spencer
c57bfc55cf Don't ignore ACk packets (bug #4861)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 04:26:10 +00:00
Mark Spencer
3a362c7839 Reduce number of calls to get method (bug #4863)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 03:50:53 +00:00
Mark Spencer
50087d3467 Fix qop syntax (bug #4822)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 02:34:57 +00:00
Mark Spencer
9f136f57fe Don't delete RTP if there is a channel, even if we get REGISTER/SUBSCRIBE (bug #4534)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-28 18:24:04 +00:00