Joshua Colp
e3492b9511
Merged revisions 67068 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67068 | file | 2007-06-04 15:31:09 -0400 (Mon, 04 Jun 2007) | 2 lines
Better handle SIP devices that say they have SDP content... but really don't. (issue #9398 reported by mthomasslo)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-04 19:32:08 +00:00
Russell Bryant
93f2be2675
Fix a couple of places where "tos" was used instead of "cos".
...
(issue #9540 , patch by IgorG)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-04 15:14:52 +00:00
Russell Bryant
3d2b58751f
To satisfy some legal concerns, add an option for chan_sip to include a
...
disclaimer along with SIP messages in the header, X-Disclaimer. This is off by
default. Also, the text of the disclaimer can be customized in sip.conf.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 19:41:03 +00:00
Joshua Colp
9f79587d47
Merged revisions 66768 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r66768 | file | 2007-05-31 12:14:48 -0400 (Thu, 31 May 2007) | 10 lines
Merged revisions 66764 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r66764 | file | 2007-05-31 12:12:39 -0400 (Thu, 31 May 2007) | 2 lines
It is now possible for this path of execution to have the frame pointer be NULL, therefore we need to check for it before trying to access it. (issue #9836 reported by barthpbx)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 16:18:14 +00:00
Olle Johansson
0b2db74e5a
Issue #9842 - Doxygen updates by snuffy. Thanks!
...
(Committed from Media Plaza in Utrecht, Netherlands - Open Source VoIP conference)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 10:26:55 +00:00
Olle Johansson
4c1068c136
oops. Thanks Terry.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-29 19:53:40 +00:00
Olle Johansson
ee3a0af16a
Merged revisions 66503 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66503 | oej | 2007-05-29 21:32:57 +0200 (Tue, 29 May 2007) | 2 lines
Properly handle 408 request timeout - according to the RFC, the dialog dies if a request in a dialog gets this response.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-29 19:35:43 +00:00
Olle Johansson
6d6c525b10
Merged revisions 66474 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66474 | oej | 2007-05-29 21:02:04 +0200 (Tue, 29 May 2007) | 2 lines
Don't issue hangup on hangup on hangup on hangup (for jcmoore)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-29 19:17:49 +00:00
Olle Johansson
0b67a7d80a
Merged revisions 66414 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66414 | oej | 2007-05-29 18:07:44 +0200 (Tue, 29 May 2007) | 2 lines
Don't reset hangupcause if we already have one
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-29 16:19:53 +00:00
Olle Johansson
f4e81d7a54
Merged revisions 66404 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66404 | oej | 2007-05-29 18:02:50 +0200 (Tue, 29 May 2007) | 2 lines
Tracking down hanging channels, killing them one by one. Issue #9235 and related
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-29 16:17:17 +00:00
Olle Johansson
36f15091bb
Merged revisions 66363 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r66363 | oej | 2007-05-29 11:41:40 +0200 (Tue, 29 May 2007) | 10 lines
Merged revisions 66349 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r66349 | oej | 2007-05-29 09:53:14 +0200 (Tue, 29 May 2007) | 2 lines
Issue #9802 - Change inuse counter on CANCEL
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-29 10:02:31 +00:00
Joshua Colp
4d03b4f268
Don't try to unregister a peer using the sip unregister CLI command if they are not registered. (issue #9811 reported by eliel)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-28 23:28:52 +00:00
Joshua Colp
39e9b3112c
Due to the way stringfields work the value of the url pointer will always be non-NULL so we have to use ast_strlen_zero to make sure it is not empty. (issue #9821 reported by pj)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-28 23:24:04 +00:00
Russell Bryant
4b3a3fb14c
Add a new API call for creating detached threads. Then, go replace all of the
...
places in the code where the same block of code for creating detached threads
was replicated. (patch from bbryant)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 18:30:19 +00:00
Joshua Colp
202fbe363a
Merged revisions 65839 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r65839 | file | 2007-05-24 10:42:12 -0400 (Thu, 24 May 2007) | 10 lines
Merged revisions 65837 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65837 | file | 2007-05-24 10:40:38 -0400 (Thu, 24 May 2007) | 2 lines
Allow RFC2833 to be negotiated when an INVITE comes in without SDP and is not matched to a user or peer. (issue #9546 reported by mcrawford)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 14:43:49 +00:00
Olle Johansson
9b95428cce
Issue #8409 and accidentally a fix to chan_sip that wasn't supposed to be there
...
but is still ok... Sorry. Lack of Tea, really.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 14:41:43 +00:00
Kevin P. Fleming
0ec502099f
Yes Virginia, there is a reason why we have stringfields in the sip_pvt structure...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 11:38:20 +00:00
Russell Bryant
d1ba4f90de
- Remove debug variable that was only used in one place
...
- convert string handling to the ast_str API
- Convert strdup() to ast_strdup() and check the result
- Minor formatting changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 03:28:39 +00:00
Mark Spencer
04e45cfda3
Add SendURL support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 02:23:08 +00:00
Kevin P. Fleming
5dc23536ec
Merged revisions 65683 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r65683 | kpfleming | 2007-05-23 16:51:56 -0400 (Wed, 23 May 2007) | 10 lines
Merged revisions 65682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65682 | kpfleming | 2007-05-23 16:46:22 -0400 (Wed, 23 May 2007) | 2 lines
ensure that variables are set on a newly created channel before we start a PBX on it
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-23 20:53:10 +00:00
Olle Johansson
a3f9350ec2
Related to issue #9235 btw.
...
Merged revisions 65123 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r65123 | oej | 2007-05-18 20:16:09 +0200 (Fri, 18 May 2007) | 10 lines
Merged revisions 65122 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65122 | oej | 2007-05-18 20:10:46 +0200 (Fri, 18 May 2007) | 2 lines
Not getting an ACK to a 200 OK in the initial invite is critical to the call.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-18 18:18:59 +00:00
Olle Johansson
1bc7fdeb6b
Merged revisions 65076 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r65076 | oej | 2007-05-18 17:18:13 +0200 (Fri, 18 May 2007) | 13 lines
Merged revisions 65075 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65075 | oej | 2007-05-18 17:12:09 +0200 (Fri, 18 May 2007) | 5 lines
Issue 9235 - part of the problem, maybe not all. Please retry with this patch (and no
other patch) if you have problems with hanging SIP channels. Thank you.
A special Thank You to WeBRainstorm that gave me access to his system.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-18 15:20:39 +00:00
Olle Johansson
491827a28a
Merged revisions 64974 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64974 | oej | 2007-05-18 12:37:44 +0200 (Fri, 18 May 2007) | 2 lines
Issue 9487 - stop media flows at hangup of call
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-18 10:41:31 +00:00
Olle Johansson
ac343d43c8
Makeup, darling.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-18 10:28:56 +00:00
Olle Johansson
f3ec447a23
Another fix for the support for recordings controlled by INFO-packets
...
We still lack a setting to enable/disable this per peer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-18 08:49:34 +00:00
Joshua Colp
a769766c53
Merged revisions 64754 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64754 | file | 2007-05-17 12:10:12 -0400 (Thu, 17 May 2007) | 2 lines
Even more direct RTP setup fixes! Don't allow a codec that isn't supported to creep into the SDP of either side. (issue #9446 reported by marcelbarbulescu)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-17 16:11:26 +00:00
Olle Johansson
d83dcae6b1
Below patches with some re-structuring for trunk
...
---
Merged revisions 64602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64602 | oej | 2007-05-16 12:38:18 +0200 (Wed, 16 May 2007) | 2 lines
Issue #9681 - Handle www-auth on BYE
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16 10:58:22 +00:00
Olle Johansson
c472b899ef
Merged revisions 64578 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64578 | oej | 2007-05-16 12:05:47 +0200 (Wed, 16 May 2007) | 2 lines
Final part of issue #9483 - fixing transfer() of sip calls in the dial plan (twilson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16 10:09:42 +00:00
Olle Johansson
c352f7b0d5
Merged revisions 64543 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r64543 | oej | 2007-05-16 11:12:34 +0200 (Wed, 16 May 2007) | 10 lines
Merged revisions 64535 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r64535 | oej | 2007-05-16 11:08:22 +0200 (Wed, 16 May 2007) | 2 lines
Support SIP uri's starting with SIP: and sip: (reported by Tony Mountfield on the mailing list. Thanks!)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16 10:02:06 +00:00
Olle Johansson
09aec2f622
Merged revisions 64516 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r64516 | oej | 2007-05-16 10:46:18 +0200 (Wed, 16 May 2007) | 17 lines
Merged following patch with a lot of changes for 1.4
------
Merged revisions 64514 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r64514 | oej | 2007-05-16 10:25:56 +0200 (Wed, 16 May 2007) | 6 lines
Issue #9726 - rlister - Better logging for ACL denials
While at it, also added better logging and handling of peers that are not supposed to register.
My patch, stole the issue report from Russell. My apologies, Russell :-)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16 08:51:39 +00:00
Olle Johansson
7532b0bc4b
Issue #9304 - Update help text to match functionality. Patch by kshumard with changes by oej
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16 07:58:43 +00:00
Olle Johansson
90bad9d2f5
Issue #6789 - Marquis - Add option to support regexten removal when host becomes unreachable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16 07:35:56 +00:00
Olle Johansson
fa2622cb1d
Merged revisions 64324 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64324 | oej | 2007-05-14 21:26:50 +0200 (Mon, 14 May 2007) | 2 lines
Change -2 to XMIT_ERROR to clarify a bit more
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-14 19:35:58 +00:00
Joshua Colp
4fbb449444
If no port is specified in the outboundproxy setting then use the standard SIP port. (issue #9665 reported by tootai)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-14 18:21:30 +00:00
Olle Johansson
fc057b1890
Improve handling network errors on transmission to hosts that don't reply or are unreachable
...
With this code, the call will fail as soon as we get a network error. This may happen on
first xmit or a later one, so the retransmit code handles this too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-13 19:20:36 +00:00
Joshua Colp
b71e691b3e
Merged revisions 64114 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64114 | file | 2007-05-12 18:27:04 -0400 (Sat, 12 May 2007) | 2 lines
This concludes my final adventure with bitmasks and the onhold flag. Would anyone care for some peanuts?
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-12 22:28:09 +00:00
Joshua Colp
38e951cfda
Merged revisions 64086 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64086 | file | 2007-05-12 17:10:45 -0400 (Sat, 12 May 2007) | 2 lines
Tweak hold flags some more. They can be of three states when active: active, inactive, one direction.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-12 21:12:18 +00:00
Joshua Colp
82a30356da
Merged revisions 64044 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64044 | file | 2007-05-12 12:32:15 -0400 (Sat, 12 May 2007) | 2 lines
Ensure the onhold flag is set no matter what when being put on hold.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-12 16:33:34 +00:00
Olle Johansson
aa320037d2
Merged revisions 63749 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r63749 | oej | 2007-05-10 22:46:41 +0200 (Thu, 10 May 2007) | 12 lines
Merged revisions 63748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r63748 | oej | 2007-05-10 22:38:54 +0200 (Thu, 10 May 2007) | 4 lines
Do not allocate SIP pvt's for PEERs we can not reach.
This was seen as a lot of dialogs being created then immediately destroyed at reload/restart of the SIP channel.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-10 20:51:59 +00:00
Joshua Colp
7e10164e20
Merged revisions 63611 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r63611 | file | 2007-05-09 12:54:56 -0400 (Wed, 09 May 2007) | 10 lines
Merged revisions 63610 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r63610 | file | 2007-05-09 12:51:03 -0400 (Wed, 09 May 2007) | 2 lines
Properly handle hints that point to multiple devices in chan_sip. Why chan_sip is even doing this I have no idea but I would rather not go into a rant. (issue #9536 reported by rlister)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-09 16:56:45 +00:00
Olle Johansson
c358b18a5a
Merged revisions 63532 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r63532 | oej | 2007-05-09 15:04:14 +0200 (Wed, 09 May 2007) | 2 lines
Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-09 13:07:44 +00:00
Russell Bryant
314c874d7d
I noted this on the dev list but got no response, so I just did it myself.
...
Lock the call features when being used in chan_sip.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-08 16:41:35 +00:00
Olle Johansson
d326d84ae0
- Adding some missing spaces
...
- Correcting error messages
- Disabling code that doesn't do anything
- Making sure we always respond to this request, happily
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-05 08:05:38 +00:00
Steve Murphy
02337303ef
a small upgrade to the coding standard, and an update to the code that triggered the upgrade.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-04 17:49:20 +00:00
Steve Murphy
3ee0077f04
Added a small bit of code to support the SNOM 360's Record button. Made the find_feature func in res_features.c public, so I could use it to find the automon dial sequence as configured by the user. When the INFO packet has a Record: header with on/off, the sequence is sent as consecutive DTMF frames on the phone's channel, triggering the automon functionality. The user has to configure the automon in features.conf, and set up his dialplan accordingly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-04 16:37:23 +00:00
Olle Johansson
1b15d8852d
Add the new ChannelUpdate event to inform manager clients about the PVT ID and some other channel driver data that
...
is needed to follow the call through the PBX.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-04 13:56:25 +00:00
Joshua Colp
81cade7a4c
Merged revisions 62989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r62989 | file | 2007-05-03 13:44:00 -0300 (Thu, 03 May 2007) | 10 lines
Merged revisions 62987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r62987 | file | 2007-05-03 13:42:19 -0300 (Thu, 03 May 2007) | 2 lines
When a peer is seeded or built tell the devicestate core to update it's status. This is easier then having chan_sip load before pbx_config. (issue #9658 reported by dlynes)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-03 16:45:39 +00:00
Olle Johansson
e1ec3f917c
Add a small message that we're doing something. On my systems, there's a long
...
dead period with a non-responsive CLI after I issue "load chan_sip.so"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 12:12:02 +00:00
Olle Johansson
1d51b2e161
More username body parts to fix... If working, this needs to be backported to 1.2, 1.4.
...
But first, some serious SIP testing :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 12:00:03 +00:00
Olle Johansson
8fee67c83b
Handle sip:username;parameter=12345@example.com;parameter=1234 URI's properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 09:41:03 +00:00
Olle Johansson
daefa6a8b4
Merged revisions 62624 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r62624 | oej | 2007-05-02 08:15:43 +0200 (Wed, 02 May 2007) | 2 lines
Don't unlock a channel that we already know does not exist (propably isue 8228)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 09:35:14 +00:00
Russell Bryant
b419fc1134
Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
...
file doc/qos.tex has been updated to document the new functionality.
(issue #9540 , patch submitted by IgorG)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30 16:16:26 +00:00
Russell Bryant
5cb08adc7a
Don't crash when invalid arguments are provided to the CHANNEL() function
...
for a SIP channel.
(issue #9619 , reported by jtodd, original patch by Corydon76, committed patch
slightly modified by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30 15:37:23 +00:00
Russell Bryant
b6b1bf3213
Merge changes from team/russell/events
...
This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.
This set of changes introduces the first use of the API, as well. I have
restructured the way that MWI (message waiting indication) is handled. It is
now event based instead of polling based. For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes. app_voicemail will generate events
when changes occur.
See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective. For developer information, see the text in
include/asterisk/event.h.
As always, additional feedback is welcome on the asterisk-dev mailing list.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-28 21:01:44 +00:00
Olle Johansson
240bd841b0
Issue #9545 Autocomplete for "sip unregister" cli command. (eliel) Thanks!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-27 14:40:28 +00:00
Olle Johansson
f9c592e50c
Merged revisions 62137 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r62137 | oej | 2007-04-27 16:04:07 +0200 (Fri, 27 Apr 2007) | 12 lines
Merged revisions 62126 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r62126 | oej | 2007-04-27 15:57:45 +0200 (Fri, 27 Apr 2007) | 4 lines
Issue #7351 - SIP Cancel fails due to the wrong contact uri. Reported by PPYY, failed to fix by OEJ
final fix by wojtekka - THANKS!!!! THis was a hard one to catch.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-27 14:37:10 +00:00
Joshua Colp
721f85d084
Merged revisions 61772 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r61772 | file | 2007-04-24 12:07:02 -0400 (Tue, 24 Apr 2007) | 10 lines
Merged revisions 61771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61771 | file | 2007-04-24 12:05:06 -0400 (Tue, 24 Apr 2007) | 2 lines
Allow RFC2833 to be sent in the response SDP when an INVITE comes in without SDP. (issue #9546 reported by mcrawford)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-24 16:10:10 +00:00
Olle Johansson
49af71c100
Use the last line in the SDP, even if it has no CRLF. Remember Jon Postel :-)
...
This code exists in 1.2 and 1.4 but was removed from trunk for some unknown reason.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-20 08:41:24 +00:00
Dwayne M. Hubbard
34469a8707
added CLI 'sip unregister <peer>' for issue 9326. thanks eliel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 21:23:10 +00:00
Joshua Colp
4f04ff8597
Merged revisions 61648 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r61648 | file | 2007-04-13 13:19:53 -0400 (Fri, 13 Apr 2007) | 2 lines
For those very verbose SIP implementations that attach tons of info to the Contact header... let's increase our variable sizes. (issue #9535 reported by jeffg)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 17:21:53 +00:00
Joshua Colp
80ec0b13ba
Merged revisions 61641 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r61641 | file | 2007-04-13 12:32:03 -0400 (Fri, 13 Apr 2007) | 2 lines
Don't assume the callid of a dialog will be set, as in some circumstances it may not. (issue #9534 reported by tecnoxarxa)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 16:35:33 +00:00
Joshua Colp
c4c2def716
Don't treat a host lookup as failed if sipregs is not in use when doing a realtime lookup. (issue #9255 reported by sergee)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-12 19:32:00 +00:00
Russell Bryant
3c0b24bda8
Merged revisions 61477 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r61477 | russell | 2007-04-11 11:05:29 -0500 (Wed, 11 Apr 2007) | 13 lines
Merged revisions 61476 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61476 | russell | 2007-04-11 11:01:25 -0500 (Wed, 11 Apr 2007) | 5 lines
If someone sets the "useragent" option in sip.conf to be empty, then don't add
the User-Agent header at all. It is an optional header, anyway. Also, the bug
report says that some of Japan's SIP providers don't allow it for some weird
reason. (issue #9488 , reported by makoto, fixed by me)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 16:06:37 +00:00
Russell Bryant
6b033eea04
Merged revisions 61427 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r61427 | russell | 2007-04-11 10:09:39 -0500 (Wed, 11 Apr 2007) | 14 lines
Merged revisions 61426 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61426 | russell | 2007-04-11 10:05:36 -0500 (Wed, 11 Apr 2007) | 6 lines
Fix a bug with switching between host=dynamic and using specific hosts for
peers. The code would only reset the peer's address when it is dynamic if
it was a new peer structure. Now, it will also reset the address if it was
already in the peer list, but before the reload, it was not dynamic.
(issue #9515 , reported by caio1982, fixed by me)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 15:13:12 +00:00
Russell Bryant
e34c67d308
Merged revisions 61377 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r61377 | russell | 2007-04-11 09:04:44 -0500 (Wed, 11 Apr 2007) | 13 lines
Merged revisions 61376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61376 | russell | 2007-04-11 09:02:54 -0500 (Wed, 11 Apr 2007) | 5 lines
Remove the attempt at reporting configuration errors in sip.conf. This can
cause a bunch of improper messages when using realtime. I give up. As oej
tried to convince me when I put this in, there is just no easy way to do it.
(inspired by a message on the -dev list)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:13:08 +00:00
Joshua Colp
9fff461080
Remove duplicate prototype declaration. (issue #9517 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:01:53 +00:00
Steve Murphy
ecaf781933
Merged revisions 60989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line
This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 05:41:34 +00:00
Olle Johansson
b52f774850
Merged revisions 61072 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r61072 | oej | 2007-04-09 21:58:17 +0200 (Mon, 09 Apr 2007) | 11 lines
Merged revisions 61038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61038 | oej | 2007-04-09 21:38:59 +0200 (Mon, 09 Apr 2007) | 3 lines
- Don't send ActionID before Response: header.
- Don't use a blank in an AMI header
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 20:01:28 +00:00
Olle Johansson
4aef0155d6
use "ChannelType" in events to indicate which channel driver that generates the event. This replaces
...
"ChannelDriver" and "Channel", previously used to indicate channel driver. ChannelType is more
in line with "core show channeltypes"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 18:22:43 +00:00
Joshua Colp
a4bef3bb3a
Make RTP session ID and session version generation random. (issue #9456 reported by tjardick)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 12:33:49 +00:00
Joshua Colp
ed75ded048
Add counter for sip show registry CLI command. (issue #9352 reported by junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 00:47:06 +00:00
Olle Johansson
5bc2aa8ab1
Use the same parameter to the two "Registry" AMI events - ChannelDriver
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 19:26:01 +00:00
Joshua Colp
95a7dc0509
Merged revisions 60214 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r60214 | file | 2007-04-05 08:55:02 -0400 (Thu, 05 Apr 2007) | 10 lines
Merged revisions 60213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60213 | file | 2007-04-05 08:52:50 -0400 (Thu, 05 Apr 2007) | 2 lines
Only unlock our pvt and net locks if we are actually going to try to lock the owner again. (issue #9472 reported by zoa)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-05 12:57:35 +00:00
Russell Bryant
d1588ce2d5
Merged revisions 60112 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r60112 | russell | 2007-04-04 11:49:45 -0500 (Wed, 04 Apr 2007) | 3 lines
Add a Content-Length of 0 to the response built by transmit_response_with_unsupported().
(issue #9454 , reported by makoto, fixed by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-04 16:50:31 +00:00
Russell Bryant
bb53ef9d32
Merged revisions 60088 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r60088 | russell | 2007-04-04 11:39:04 -0500 (Wed, 04 Apr 2007) | 12 lines
Merged revisions 60083 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60083 | russell | 2007-04-04 11:37:04 -0500 (Wed, 04 Apr 2007) | 4 lines
Fix the return value of handle_common_options() so that it always properly
indicates whether it handled the option or not.
(issue #9455 , reported by Netview, fixed by me)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-04 16:40:01 +00:00
Russell Bryant
11ab6db24b
Merged revisions 59939 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59939 | russell | 2007-04-03 14:16:53 -0500 (Tue, 03 Apr 2007) | 12 lines
Merged revisions 59938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59938 | russell | 2007-04-03 14:15:04 -0500 (Tue, 03 Apr 2007) | 4 lines
Don't attempt to report configuration errors in build_user(). oej pointed out
that for a "friend" entry, this won't work, because all user options are valid
for peers, but not the other way around.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-03 19:17:55 +00:00
Russell Bryant
3f14c8b6fc
Merged revisions 59936 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59936 | russell | 2007-04-03 13:55:57 -0500 (Tue, 03 Apr 2007) | 11 lines
Merged revisions 59916 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59916 | russell | 2007-04-03 13:43:54 -0500 (Tue, 03 Apr 2007) | 3 lines
Make chan_sip report when it encounters an unknown option.
(issue #9440 , reported by nightcrawler)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-03 18:57:52 +00:00
Russell Bryant
b908f9717a
Remove a duplicate function prototype. (issue #9444 , junky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-03 18:34:14 +00:00
Russell Bryant
93e2d66f13
Merged revisions 59262 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59262 | russell | 2007-03-27 13:17:47 -0500 (Tue, 27 Mar 2007) | 3 lines
Fix the check that ensures that the CHANNEL function's first argument is "rtpqos".
Thanks, Corydon. :)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 18:18:36 +00:00
Russell Bryant
7c884d76ea
Merged revisions 59256 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59256 | russell | 2007-03-27 11:20:53 -0500 (Tue, 27 Mar 2007) | 4 lines
Convert the RTPQOS function to just be additional parameter of the CHANNEL
function. This way, it will be possible for other RTP based channel drivers
to expose this information in the future.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 16:25:02 +00:00
Tilghman Lesher
0e0600a446
Merged revisions 59227 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59227 | tilghman | 2007-03-26 16:37:41 -0500 (Mon, 26 Mar 2007) | 2 lines
Change this to a single dp function to make oej happy.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 21:44:59 +00:00
Russell Bryant
46b15992c7
Merged revisions 59209 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59209 | russell | 2007-03-26 12:53:07 -0500 (Mon, 26 Mar 2007) | 1 line
Rename the new dialplan functions to match the variable name
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 17:57:50 +00:00
Russell Bryant
08e3a9bdc8
Merged revisions 59207 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59207 | russell | 2007-03-26 12:45:55 -0500 (Mon, 26 Mar 2007) | 7 lines
The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in some
because they get set in sip_hangup. So, there are common situations where
the variables will not be available in the dialplan at all. So, this patch
provides an alternate method for getting to this information by introducing
AUDIORTPQOS and VIDEORTPQOS dialplan functions.
(issue #9370 , patch by Corydon76, with some testing by blitzrage)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 17:51:27 +00:00
Joshua Colp
cc22f60f30
Merged revisions 59195 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59195 | file | 2007-03-23 21:39:44 -0400 (Fri, 23 Mar 2007) | 10 lines
Merged revisions 59194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59194 | file | 2007-03-23 21:35:49 -0400 (Fri, 23 Mar 2007) | 2 lines
Only try to handle a response if it has a response code. (ASA-2007-011)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-24 01:42:11 +00:00
Kevin P. Fleming
e8e9e5e23c
Merged revisions 59182 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59182 | kpfleming | 2007-03-22 16:40:01 -0700 (Thu, 22 Mar 2007) | 2 lines
don't allow string input to overrun the buffer to hold it (ASA-2007-010)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-22 23:41:37 +00:00
Joshua Colp
af9c17025f
Minor tweak. Only queue up an unhold control frame if we are actually on hold. This would have shown itself when a call was initially being setup and the SDP data was being parsed in.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 03:33:57 +00:00
Joshua Colp
1d5be2d1c7
Merged revisions 59081 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59081 | file | 2007-03-20 23:25:48 -0400 (Tue, 20 Mar 2007) | 2 lines
Until we can do media level parsing for sendrecv/etc just use the first value found. This crept up when a phone was offered audio+video and returned an inactive video stream. chan_sip thought the phone said to put the person on hold but that was totally wrong. (issue #9319 reported by benbrown)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 03:27:58 +00:00
Olle Johansson
dddb57b242
Merged revisions 59037 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59037 | oej | 2007-03-18 21:37:06 +0100 (Sun, 18 Mar 2007) | 3 lines
Issue #9313 , Asterisk crash on SIP return code 0 (reported by qwerty1979) (ASA-2007-011)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-18 20:39:37 +00:00
Russell Bryant
1bc728ed4b
Merged revisions 58906 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58906 | russell | 2007-03-14 14:18:08 -0500 (Wed, 14 Mar 2007) | 4 lines
Some people like to put "limitonpeer" instead of "limitonpeers" in their
configuration. While we're at it, support "limitonpeerz" and
"limitonpeerssssss". (inspired by issue #9172 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 19:19:00 +00:00
Olle Johansson
f9c3f60ab9
Merged revisions 58848 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r58848 | oej | 2007-03-13 12:49:35 +0100 (Tue, 13 Mar 2007) | 10 lines
Merged revisions 58847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58847 | oej | 2007-03-13 12:45:52 +0100 (Tue, 13 Mar 2007) | 2 lines
Issue #9229 - No port in request URI on register to non default SIP ports (neelakantan)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 16:59:35 +00:00
Olle Johansson
b4490af8ac
Merged revisions 58845 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58845 | oej | 2007-03-13 11:03:03 +0100 (Tue, 13 Mar 2007) | 3 lines
Don't hangup the call on OK or errors on MESSAGE and INFO
inside of a dialog (like video update requests).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 10:14:13 +00:00
Olle Johansson
32f9227ca4
Merged revisions 58843 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58843 | oej | 2007-03-13 10:12:16 +0100 (Tue, 13 Mar 2007) | 2 lines
Issue #9251 - Clear From URI from user attributes (tgrman)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 09:15:17 +00:00
Joshua Colp
ea226e9d77
Merged revisions 58779 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58779 | file | 2007-03-11 20:51:16 -0400 (Sun, 11 Mar 2007) | 2 lines
Add matchexterniplocally setting which only substitutes your externip/externhost setting if it matches the localnet setting. I know of at least two people who need opposite settings, so I made it an option! (issue #8821 reported by kokoskarokoska)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 00:54:13 +00:00
Joshua Colp
5629ee0292
Merged revisions 58584 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r58584 | file | 2007-03-09 15:49:47 -0500 (Fri, 09 Mar 2007) | 10 lines
Merged revisions 58579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58579 | file | 2007-03-09 15:46:43 -0500 (Fri, 09 Mar 2007) | 2 lines
If we are unable to lookup the host in a c line we have to abort, otherwise the previous data is gone and we will (potentially) have no data when all is said and done.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-09 20:53:37 +00:00
Joshua Colp
e7da006562
Merged revisions 58240 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58240 | file | 2007-03-07 12:52:58 -0500 (Wed, 07 Mar 2007) | 2 lines
Ensure we have (or should have) at least one matching codec before attempting early bridge SDP seeding. (issue #9221 reported by marcelbarbulescu)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 17:55:11 +00:00
Steve Murphy
5bb1d16f47
Merged revisions 58121 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r58121 | murf | 2007-03-06 16:10:14 -0700 (Tue, 06 Mar 2007) | 9 lines
Merged revisions 58115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58115 | murf | 2007-03-06 15:52:52 -0700 (Tue, 06 Mar 2007) | 1 line
Fix for 9220: Eyebeam cannot renew subscriptions for presence info. Reason: re-SUBSCRIBE requests don't include Accept headers, which the rfc says are optional (to put it tersely), (it uses MAY), and luckily, the sip_pvt struct has the format info stored, so we simply leave it if the format is set, and the accept header null.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 23:19:59 +00:00
Olle Johansson
52750892b0
Merged revisions 58053 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r58053 | oej | 2007-03-06 21:37:07 +0100 (Tue, 06 Mar 2007) | 10 lines
Merged revisions 58052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58052 | oej | 2007-03-06 21:33:21 +0100 (Tue, 06 Mar 2007) | 2 lines
Change error message to proper message
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 20:45:29 +00:00
Joshua Colp
e23433e50e
Merged revisions 57477 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r57477 | file | 2007-03-02 12:06:52 -0500 (Fri, 02 Mar 2007) | 10 lines
Merged revisions 57475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57475 | file | 2007-03-02 12:02:46 -0500 (Fri, 02 Mar 2007) | 2 lines
If a SIP message comes in and goes to a method handler that requires additional values that may not be present then send back an error.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 17:09:18 +00:00
Joshua Colp
afc99294fa
Merged revisions 56231 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r56231 | file | 2007-02-22 13:49:39 -0500 (Thu, 22 Feb 2007) | 10 lines
Merged revisions 56230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r56230 | file | 2007-02-22 13:44:24 -0500 (Thu, 22 Feb 2007) | 2 lines
Only change the original or clone channel if it's the channel behind the proxy channel, not if it's just a regular bridged channel.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 18:53:22 +00:00
Olle Johansson
cb0fddc905
Merged revisions 56125 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r56125 | oej | 2007-02-22 11:33:55 +0100 (Thu, 22 Feb 2007) | 2 lines
Move message from verbose to debug
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 10:46:09 +00:00
Russell Bryant
a6cbe5d651
Merged revisions 56055 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r56055 | russell | 2007-02-21 19:24:10 -0600 (Wed, 21 Feb 2007) | 3 lines
Restructure a little bit of code to reduce nesting. There is no functionality
change here.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 01:26:22 +00:00
Russell Bryant
80fce39036
Merged revisions 56011 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r56011 | russell | 2007-02-21 18:57:36 -0600 (Wed, 21 Feb 2007) | 11 lines
Merged revisions 56010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r56010 | russell | 2007-02-21 18:53:25 -0600 (Wed, 21 Feb 2007) | 3 lines
If we receive a frame that is not in any of the negotiated formats, then drop
it. (potentially issue #8781 and SPD-12)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 00:59:17 +00:00
Joshua Colp
cdf9cab49d
Clarify in the doxygen docs abou RFC2833 compensation flag.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 20:26:43 +00:00
Joshua Colp
93671917f9
Merged revisions 55914 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55914 | file | 2007-02-21 12:18:19 -0500 (Wed, 21 Feb 2007) | 2 lines
Add a flag that indicates whether a SIP dialog is an outgoing call or not. SIP_OUTGOING originally did it but it was repurposed to the direction of the last transaction, which can cause update_call_counter to falsely decrease the wrong counters. (please don't hurt me oej) (issue #8943 reported by mdu113)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 17:23:42 +00:00
Olle Johansson
4534fbb7bc
Merged revisions 55834 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55834 | oej | 2007-02-21 09:32:34 +0100 (Wed, 21 Feb 2007) | 2 lines
Issue #8848 - Turn off lamp more quickly after transfer (decrement inuse early on transferer's call leg)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 08:39:15 +00:00
Joshua Colp
22c1925696
Merged revisions 55717 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55717 | file | 2007-02-20 18:57:03 -0500 (Tue, 20 Feb 2007) | 2 lines
Return behavior I removed. I did not remember that you could just add a localnet entry to make it work.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 00:00:11 +00:00
Joshua Colp
62cb480f28
Merged revisions 55688 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55688 | file | 2007-02-20 18:08:45 -0500 (Tue, 20 Feb 2007) | 2 lines
Don't test our own address against the localnet settings. At least one person has had issues as a result of this from #7051 so I'm reversing it. (issue #8821 reported by kokoskarokoska)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-20 23:12:55 +00:00
Joshua Colp
977fb01cdd
Merged revisions 55086 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r55086 | file | 2007-02-16 20:16:59 -0500 (Fri, 16 Feb 2007) | 10 lines
Merged revisions 55073 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55073 | file | 2007-02-16 20:09:50 -0500 (Fri, 16 Feb 2007) | 2 lines
Allow chan_sip to handle attended transfers from a SIP phone that is sitting behind chan_agent. Yes folks, all it took was one line of code. (issue #8784 reported by pzieba)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 01:22:01 +00:00
Olle Johansson
cfb3f84979
Formatting, whitespace fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 14:31:18 +00:00
Olle Johansson
ba32ee49d0
Adding Realtime Text support (T.140) to Asterisk
...
T.140/RFC 2793 is a live communication channel, originally
created for IP based text phones for hearing impaired.
Feels very much like the old Unix talk application.
This code is developed and disclaimed by John Martin of Aupix, UK.
Tested for interoperability by myself and Omnitor in Sweden,
the company that wrote most of the specifications.
A big thank you to everyone involved in this.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 13:35:44 +00:00
Olle Johansson
84d1cf37fe
Merged revisions 54787 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54787 | oej | 2007-02-16 13:06:23 +0100 (Fri, 16 Feb 2007) | 2 lines
Issue #7541 - Handle multipart attachments to SIP messages - even if boundary is quoted.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 12:14:53 +00:00
Olle Johansson
fef74f1574
Add callgroup and pickupgroup to SIPPEER function. (thanks ramon)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 15:52:35 +00:00
Olle Johansson
1f52d1cc81
Issue #7443 - amdtech - Optionally SIP registrations in another
...
realtime family.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 12:10:55 +00:00
Olle Johansson
276b570c3e
Issue #9060 - host= parameter in sip.conf stopped working
...
caused by outbound proxy patch.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 16:20:48 +00:00
Olle Johansson
0653be0c33
Add port number to SIPPEER dialplan function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 15:27:49 +00:00
Russell Bryant
83856d4683
Merged revisions 54204 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54204 | russell | 2007-02-13 13:42:00 -0600 (Tue, 13 Feb 2007) | 5 lines
If we fail to create the SIP socket, then return -1 from reload_config() so
that load_module() will return AST_MODULE_LOAD_DECLINE. Otherwise, the console
will just get spammed with error messages every time chan_sip tries to send a
message.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 21:57:31 +00:00
Russell Bryant
9e99a51802
Merged revisions 54235 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54235 | russell | 2007-02-13 15:31:22 -0600 (Tue, 13 Feb 2007) | 2 lines
Remove a couple of leftover debug messages
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 21:33:03 +00:00
Olle Johansson
1295d40d77
Be careful with debug messages in trunk, they tend to stay around for release....
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 20:49:38 +00:00
Olle Johansson
6e139adc56
Small fix in outbound proxy support.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 20:04:49 +00:00
Olle Johansson
32495f91f0
Add support for outbound proxy for peers and [general]
...
This replaces the older, broken, implementation where a setting in
[general] did not do anything and the [peer] part was broken.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 19:42:55 +00:00
Russell Bryant
5715b49c30
Merged revisions 53810 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines
Merge team/russell/sla_rewrite
This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4. It is now functional and ready for testing. However, I will be
adding some additional features over the next week, as well.
For information on how to set this up, see configs/sla.conf.sample
and doc/sla.txt.
In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:
chan_sip:
- Add the ability to indicate HOLD state in NOTIFY messages.
- Queue HOLD and UNHOLD control frames even if the channel is not bridged to
another channel.
linkedlists.h:
- Add support for rwlock based linked lists.
dial.c:
- Add the ability to run ast_dial_start() without a reference channel to
inherit information from.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:40:57 +00:00
Jason Parker
cee4bd43dc
Rename this instance of "busy limit" to "busy level" as well
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 17:19:27 +00:00
Kevin P. Fleming
44c6630e4d
rename busy-limit to busy-level, since it is not a limit
...
actually parse the busy-limit option from sip.conf, instead of ignoring it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 16:41:23 +00:00
Olle Johansson
17af1bd4c8
Merged revisions 53143 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53143 | oej | 2007-02-05 01:18:34 +0100 (Mon, 05 Feb 2007) | 3 lines
Add some comments on queue system behaviour and how it affects the
SIP channel
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 00:30:03 +00:00
Joshua Colp
014feba426
Merged revisions 53138 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53138 | file | 2007-02-03 15:05:02 -0600 (Sat, 03 Feb 2007) | 2 lines
Make SIPDtmfMode application work with recent capability changes, and also fix an RTP stack issue when the auto option was used. (issue #8972 reported by mdu113)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-03 21:06:36 +00:00
Joshua Colp
ce8a7c3d9c
Add onHold value to sip show inuse as well.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 18:21:46 +00:00
Olle Johansson
cfe66e6b26
Patch based on this patch with small changes for trunk...
...
Merged revisions 53109 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53109 | oej | 2007-02-02 01:24:03 +0100 (Fri, 02 Feb 2007) | 4 lines
Disable the direct p2p RTP call setup in SIP. You can enable it in sip.conf, but it is now
considered experimental until we solve the AST_CONTROL_ANSWER with payload and videocaps
stuff.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 00:26:25 +00:00
Joshua Colp
44a9af3576
Merged revisions 53104 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r53104 | file | 2007-02-01 16:24:32 -0600 (Thu, 01 Feb 2007) | 10 lines
Merged revisions 53103 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53103 | file | 2007-02-01 16:21:56 -0600 (Thu, 01 Feb 2007) | 2 lines
Copy noncodeccapability over to the joint variable so that telephone-event will get transmitted in the sent INVITE.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 22:26:11 +00:00
Joshua Colp
bf66c620c3
Merged revisions 53097 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r53097 | file | 2007-02-01 15:54:28 -0600 (Thu, 01 Feb 2007) | 10 lines
Merged revisions 53095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53095 | file | 2007-02-01 15:47:11 -0600 (Thu, 01 Feb 2007) | 2 lines
Don't negotiate RFC2833 when not configured to do so. (issue #8799 reported by mdu113)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 21:56:23 +00:00
Olle Johansson
544f414c0d
Merged revisions 53085 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53085 | oej | 2007-02-01 22:05:34 +0100 (Thu, 01 Feb 2007) | 4 lines
- Clean INC_COUNT flag when we decrement call counter
- If it's still set at time of dialog destruction, make sure we decrement the device call counter properly
before we destroy the dialog
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 21:17:08 +00:00
Olle Johansson
0b84b386b9
Implementing "busy-limit".
...
If you set call limit and busy limit, chan_sip will indicate BUSY for a device
that has reached the busy limit and allow calls up to the call limit, allowing
for call transfers (that generate a new call).
If you only set call limit, chan_sip will not indicate BUSY until that limit
is filled.
This affects SIP subscriptions, call queues and manager applications.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 20:43:49 +00:00
Olle Johansson
34eaa61700
Merged revisions 53079 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53079 | oej | 2007-02-01 21:28:54 +0100 (Thu, 01 Feb 2007) | 2 lines
Cleaning up the devicestate callback function
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 20:33:59 +00:00
Olle Johansson
38b87ec4b7
Signal HOLD status to phones that subscribe for status.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 19:04:47 +00:00
Joshua Colp
e88dda8ca9
Merged revisions 53064 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53064 | file | 2007-02-01 11:37:44 -0600 (Thu, 01 Feb 2007) | 2 lines
Fix silly logic. We really want to write UDPTL frames out when the call is up.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 17:42:08 +00:00
Russell Bryant
b233892198
Merged revisions 53046 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines
Merged revisions 53045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:35:15 +00:00
Russell Bryant
d11f8b7ccd
Merged revisions 52952 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52952 | russell | 2007-01-30 13:33:12 -0600 (Tue, 30 Jan 2007) | 5 lines
Only set the DTMF flag on the rtp structure if the DTMF mode is actually
RFC2833, not just that it is not INFO. This makes it get set for inband DTMF
as well, which is not valid.
(issue #8936 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 19:36:28 +00:00
Joshua Colp
1fc144435d
Use provided variable for name instead of one in the structure since the structure was just allocated and will be NULL. (issue #8938 reported by st41ker)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 15:39:09 +00:00
Joshua Colp
300f980223
Use atomic operation functions for use/ringing/hold manipulation.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 18:10:18 +00:00
Joshua Colp
b8d6cbcd3f
Merged revisions 52210 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52210 | file | 2007-01-25 12:49:39 -0500 (Thu, 25 Jan 2007) | 2 lines
Drop out variables I accidentally put in.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 17:51:35 +00:00
Joshua Colp
afb9151e19
Merged revisions 52208 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52208 | file | 2007-01-25 12:14:53 -0500 (Thu, 25 Jan 2007) | 2 lines
Decrement onHold count if we are hung up on and still on hold. (issue #8909 reported by alexh42)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 17:17:56 +00:00
Joshua Colp
2396e24e65
Merged revisions 52016 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52016 | file | 2007-01-24 12:59:55 -0500 (Wed, 24 Jan 2007) | 2 lines
Fix changing channel formats when joint capability changes and there are no audio formats... I didn't break it originally! (issue #8535 reported by ivoc)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 18:04:47 +00:00
Olle Johansson
273f1d78c7
Merged revisions 51931 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51931 | oej | 2007-01-24 10:30:21 +0100 (Wed, 24 Jan 2007) | 3 lines
Show capabilities *and* preference in general settings in "sip show settings"
(reported by Clona/Telio - Thanks!)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 09:42:31 +00:00
Joshua Colp
ee3ab150f6
Merged revisions 51788 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51788 | file | 2007-01-23 17:46:31 -0500 (Tue, 23 Jan 2007) | 2 lines
Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 22:59:55 +00:00
Olle Johansson
ef4db783c6
Issue #8817 - Registry corruption when packet retransmits fail. (tootai, patchy by oej)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 15:36:01 +00:00
Joshua Colp
5a25c156c6
Merged revisions 51558 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51558 | file | 2007-01-22 22:00:12 -0500 (Mon, 22 Jan 2007) | 2 lines
Only change audio formats on the channel if we have an audio format to change to. (issue #8535 reported by ivoc)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 03:02:09 +00:00
Olle Johansson
1a5dfca2a1
Remove (to quote Rizzo) "useless" variable.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:00:25 +00:00
Russell Bryant
dcca8f345f
Merged revisions 51311 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51311 | russell | 2007-01-19 11:49:38 -0600 (Fri, 19 Jan 2007) | 23 lines
Merge the changes from the /team/group/vldtmf_fixup branch.
The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged. So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio. However,
since there was no audio coming in, the DTMF_END was never generated. This
caused DTMF based features to no longer work.
To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf). If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.
Channel drivers also now get passed the length of the digit to their digit_end
callback. This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.
(issue #8597 , maybe others...)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 18:06:03 +00:00
Joshua Colp
1a06a58250
Merged revisions 51243 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51243 | file | 2007-01-18 13:36:35 -0500 (Thu, 18 Jan 2007) | 2 lines
Copy MOH settings when calling a peer so that if they put someone on hold or get put on hold themselves they get the right music class. (issue #8840 reported by mdu113)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 18:39:21 +00:00
Russell Bryant
c56f9184e8
Merged revisions 51198 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r51198 | russell | 2007-01-17 15:18:35 -0600 (Wed, 17 Jan 2007) | 11 lines
Merged revisions 51197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51197 | russell | 2007-01-17 15:17:21 -0600 (Wed, 17 Jan 2007) | 3 lines
Move the check for a failure of ast_channel_alloc() to before locking the
pvt structure again. Otherwise, on a failure, this will cause a deadlock.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 21:20:22 +00:00
Joshua Colp
91dfb27494
Get rid of unneeded code, fix a spelling mistake, and use registry state a bit more. (issue #8402 reported by rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-13 04:56:25 +00:00