Commit Graph

1121 Commits (831ebbebb74ad499dba02cca25fdb2475e173036)

Author SHA1 Message Date
Russell Bryant 831ebbebb7 Backport a fix for a memory leak that was fixed in trunk in reivision 76221
18 years ago
Joshua Colp a7047b7ed5 (closes issue #10247)
18 years ago
Russell Bryant 0a22a51525 If a sip_pvt struct has already registered an extension state callback,
18 years ago
Russell Bryant ed261253d5 (closes issue #10125)
18 years ago
Kevin P. Fleming 585de1223e we shouldn't allow G.723.1 endpoints to use VAD, just like we don't support it for G.729
18 years ago
Joshua Colp 0b2c98ac3e Copy language information to the dialog structure when calling a peer for situations where a PBX may be started on the dialed channel. (issue #10121 reported by clegall_proformatique)
18 years ago
Joshua Colp 76b4eb5daa Ignore other URIs after the first in a 300 Multiple Choice response. (issue #10041 reported by homesick)
18 years ago
Joshua Colp 6357ad5659 Don't overwrite the configured username setting upon a REGISTER. (issue #8565 reported by jsmith)
18 years ago
Russell Bryant 6e0248318b Backport fix for crashes related to subscriptions from 1.4 ...
18 years ago
Joshua Colp dc41ce9857 Set the peer name on the dialog to the one configured in sip.conf and NOT the username to be used for authentication attempts. (issue #9967 reported by achauvin)
18 years ago
Joshua Colp 084ede4507 Only notify the devicestate system of a peer state change when the peer is built from the config file. (issue #9900 reported by arkadia)
18 years ago
Joshua Colp 22fe1b73cc 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)
18 years ago
Olle Johansson c4e7d9fef5 Issue #9802 - Change inuse counter on CANCEL
18 years ago
Joshua Colp ad2f350d39 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)
18 years ago
Kevin P. Fleming cba8e2f704 ensure that variables are set on a newly created channel before we start a PBX on it
18 years ago
Olle Johansson 86882515a8 Not getting an ACK to a 200 OK in the initial invite is critical to the call.
18 years ago
Olle Johansson 21ea4dc3f1 Issue 9235 - part of the problem, maybe not all. Please retry with this patch (and no
18 years ago
Olle Johansson 9ebfde54a1 Fixing possible bug in auth of BYE
18 years ago
Olle Johansson 80e4abca3d Support SIP uri's starting with SIP: and sip: (reported by Tony Mountfield on the mailing list. Thanks!)
18 years ago
Olle Johansson aa9ff74af5 Issue #9726 - rlister - Better logging for ACL denials
18 years ago
Olle Johansson 07ba0e379b Do not allocate SIP pvt's for PEERs we can not reach.
18 years ago
Joshua Colp 7dc491d090 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)
18 years ago
Joshua Colp 3a218f3a09 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)
18 years ago
Olle Johansson 3bafdca29f Issue #7351 - SIP Cancel fails due to the wrong contact uri. Reported by PPYY, failed to fix by OEJ
18 years ago
Joshua Colp a31a2ef862 Allow RFC2833 to be sent in the response SDP when an INVITE comes in without SDP. (issue #9546 reported by mcrawford)
18 years ago
Olle Johansson 57185823d1 Send NOTIFY to Contact: in SUBSCRIBE
18 years ago
Olle Johansson 062368a175 Don't stop RTP on errors on INFO messages.
18 years ago
Russell Bryant 2128909ad4 If someone sets the "useragent" option in sip.conf to be empty, then don't add
18 years ago
Russell Bryant a36f57e7fc Fix a bug with switching between host=dynamic and using specific hosts for
18 years ago
Russell Bryant 1159b7761a Remove the attempt at reporting configuration errors in sip.conf. This can
18 years ago
Olle Johansson 1a92fec845 - Don't send ActionID before Response: header.
18 years ago
Joshua Colp dd108f60f3 Only unlock our pvt and net locks if we are actually going to try to lock the owner again. (issue #9472 reported by zoa)
18 years ago
Russell Bryant 3f71ad082e Fix the return value of handle_common_options() so that it always properly
18 years ago
Russell Bryant d0991f6e1f Add a missing "\r\n" in the body of the NOTIFY that is sent to indicate the
18 years ago
Russell Bryant e237711157 Don't attempt to report configuration errors in build_user(). oej pointed out
18 years ago
Russell Bryant a19d352438 Make chan_sip report when it encounters an unknown option.
18 years ago
Joshua Colp 9593ae4269 Only try to handle a response if it has a response code. (ASA-2007-011)
18 years ago
Olle Johansson 7158b80498 Issue #9229 - No port in request URI on register to non default SIP ports (neelakantan)
19 years ago
Joshua Colp 5941cc916c 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.
19 years ago
Steve Murphy c7c8b06817 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.
19 years ago
Olle Johansson 7d74199c6f Change error message to proper message
19 years ago
Joshua Colp 6bf891f353 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.
19 years ago
Joshua Colp c966ea6e2d 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.
19 years ago
Russell Bryant c9d26b5a89 If we receive a frame that is not in any of the negotiated formats, then drop
19 years ago
Olle Johansson 9736c57aab Issue #9020 - SIP message retransmission time too short.
19 years ago
Joshua Colp ff04058bff 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)
19 years ago
Olle Johansson a17395f9f3 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson 5f3b33f0f5 Make sure that outbound calls are applied to the peer.
19 years ago
Joshua Colp ade14f36ea Copy noncodeccapability over to the joint variable so that telephone-event will get transmitted in the sent INVITE.
19 years ago
Joshua Colp d7dd6ed0a7 Don't negotiate RFC2833 when not configured to do so. (issue #8799 reported by mdu113)
19 years ago