Commit Graph

1610 Commits (9ce476a89c45a3b8de28d360cb36049d40a65e80)

Author SHA1 Message Date
Joshua Colp e86275c11c Fix silly logic. We really want to write UDPTL frames out when the call is up.
19 years ago
Russell Bryant 9aab046002 Merged revisions 53045 via svnmerge from
19 years ago
Russell Bryant 29b7393d84 Only set the DTMF flag on the rtp structure if the DTMF mode is actually
19 years ago
Joshua Colp ed48c69f06 Drop out variables I accidentally put in.
19 years ago
Joshua Colp 6b08afd05d Decrement onHold count if we are hung up on and still on hold. (issue #8909 reported by alexh42)
19 years ago
Joshua Colp 5ebd1ecf63 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)
19 years ago
Olle Johansson a207a31a97 Show capabilities *and* preference in general settings in "sip show settings"
19 years ago
Joshua Colp 8f7ddbef0d Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)
19 years ago
Joshua Colp 5a3acb0511 Only change audio formats on the channel if we have an audio format to change to. (issue #8535 reported by ivoc)
19 years ago
Russell Bryant 33235b40d6 Merge the changes from the /team/group/vldtmf_fixup branch.
19 years ago
Joshua Colp 1e3557c636 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)
19 years ago
Russell Bryant 4244459e31 Merged revisions 51197 via svnmerge from
19 years ago
Joshua Colp 915f9315e1 Remove check for channel state as it can definitely be something other then ring, and also clean up the code a bit. This should solve the parking issues and maybe some attended transfer issues people have been seeing.
19 years ago
Joshua Colp 240ca25bea Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)
19 years ago
Joshua Colp 9aca2b2a54 Fix chan_sip not working issue. Let's not prematurely return 0. (issue #8783 reported by st41ker)
19 years ago
Olle Johansson 1a33c38a15 - handle re-invites properly in sip_hangup()
19 years ago
Olle Johansson 3394598f93 Issue #8677 - Handle failure of T.38 re-invite
19 years ago
Olle Johansson 0f96f73768 Issue #8524, support multiple via header values (tardieu)
19 years ago
Olle Johansson be32fad9b8 We only need one forward declaration
19 years ago
Olle Johansson 484add6554 Issue 8735: Terminate state when extension is unavailable for subscription
19 years ago
Tilghman Lesher dcbf36432e Second condition was a subset of the first, so hold was never decremented, thus hint stayed stuck (Issue 8747)
19 years ago
Kevin P. Fleming 444adcb477 reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
19 years ago
Kevin P. Fleming fb010e49aa Merged revisions 49635 via svnmerge from
19 years ago
Olle Johansson 5edb7fa173 Small cleanup of add_t38sdp - it's always enabled at that point in the code
19 years ago
Olle Johansson 7db2ca152c remove incomplete implementation of dnsmgr. Let's fix this in trunk.
19 years ago
Olle Johansson 1e9c141c2d Only include acl.h and lock.h once
19 years ago
Olle Johansson 4f157be79e Only set rfc2833compensate flag once (handle_common_options)
19 years ago
Olle Johansson f1f8bbaabe - Remove checking for T38 options twice. Keeping them in handle_common_options
19 years ago
Kevin P. Fleming 0f5aae9688 make the option actually match the documentation
19 years ago
Olle Johansson d2b7e8b247 Be a bit more politically correct
19 years ago
Olle Johansson bfe4bb0f1e Issue #8575 - Buggy cisco MWI support.
19 years ago
Olle Johansson e25756dfac - Make sure handle_common_options return 1 when we found a common option
19 years ago
Olle Johansson 4ea530f2dc Issue 8599 (rizzo) Change invitestate before re-sending invite with auth.
19 years ago
Olle Johansson 8a42650605 Fix bogus content-length in t38 sdp. (rizzo, #8600)
19 years ago
Joshua Colp 9cc04e026d Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)
19 years ago
Russell Bryant 1208869c00 Merged revisions 48939 via svnmerge from
19 years ago
Olle Johansson c1f1cf48ac Issue #8592 - treat 504 as 503 (imported from 1.2)
19 years ago
Olle Johansson a8fe77b95b Update to latest IANA spec
19 years ago
Olle Johansson 28c36660c7 Issue #8258 - fix handling of 487 being retransmitted to Asterisk
19 years ago
Olle Johansson 0fe91149ae Don't send Contact on MESSAGE
19 years ago
Olle Johansson 694205de93 Merging the invitestate-1.4 branch after successful testing.
19 years ago
Olle Johansson 9636bccb7c - Removing one of two pieces of code to handle 481 response on INVITE
19 years ago
Olle Johansson f89143bd13 - Disable RTP hold timers while T.38 fax transmission happens
19 years ago
Olle Johansson 98d3fb64ed - Backport of the "limitonpeers" patch from trunk, to fix a lot of issues with queues and SIP device states
19 years ago
Olle Johansson 76e35bac11 Issue 8319 - change noncecount before using it.
19 years ago
Olle Johansson 073e937757 Clean up bad dialogs properly. Caused by GS 487 adapter without CSEQ on separate line
19 years ago
Olle Johansson 9436ecaad7 Change logging message
19 years ago
Olle Johansson 5a3dcaff3c Not having a HINT is not an ERROR. In 1.4 and future releases, you can disable
19 years ago
Olle Johansson c3a7e9d7c2 Don't allocate unused variable.
19 years ago
Olle Johansson 5c0be47e69 Apparently Exosip sends a 101 after a 100 provisional response. Let's not treat that as
19 years ago
Olle Johansson a7c1ac60b7 Make sure we destroy scheduled items and not use them ever again after destruction (rizzo)
19 years ago
Luigi Rizzo d20e81d829 fix bug 7450 - Parsing fails if From header contains angle brackets
19 years ago
Joshua Colp f373cad528 Compare technology using the pointers instead of a straight comparison based on name. (issue #8228 reported by dean bath)
19 years ago
Olle Johansson e1e6a1b2a8 Make the HOLD notification optional, in order to avoid a lot of extra database lookups
19 years ago
Olle Johansson d1ee29fc20 Don't fixup if there's nothing to fixup
19 years ago
Olle Johansson 5bd53e3588 - CANCEL is never authenticated (according to the RFC)
19 years ago
Olle Johansson c78840b900 - Improve SIP history
19 years ago
Olle Johansson 63f87d112d Send error message when we can't allocate SIP dialog, possibly due to limitation of file descriptors.
19 years ago
Joshua Colp 25b5cf18b7 Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog
19 years ago
Olle Johansson 4ecb09f6e8 Update documentation to fit the implementation...
19 years ago
Olle Johansson cb82979700 Issue #8272 - Don't destroy dialog in retransmission system if it's an OPTION packet from peerpoke
19 years ago
Tilghman Lesher e944561518 Merged revisions 47580 via svnmerge from
19 years ago
Tilghman Lesher 6e4d0e50c8 Re-enable old deprecated commands
19 years ago
Olle Johansson 55c8a5ded8 - Don't reply to INVITE already replied to when we get BYE
19 years ago
Olle Johansson 0ca5dae550 Only produce error message about sip history once
19 years ago
Olle Johansson 153cb1309f Issue 8314 - Restore auto-framing (Thanks DEA!!!)
19 years ago
Olle Johansson fc5f9c78d1 Part of issue 8078 - parse even if udptl is UDPTL in sdp...
19 years ago
Olle Johansson a471f0a87c - Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye.
19 years ago
Olle Johansson 853958e863 -Remove blocking of ptime: parsing in sdp
19 years ago
Olle Johansson 2a321d80f5 ...and make sure that the dialog is destroyed, even if we don't get any answer on the bye...
19 years ago
Olle Johansson ea257647a2 Add debug output while trying to trace bug in bug report
19 years ago
Olle Johansson ba58cf9ecd Make sure we destroy dialog...
19 years ago
Olle Johansson 1f2a4eb8c2 Small cleanup of handle_request_invite() - imported from 1.2 with changes
19 years ago
Olle Johansson d83a1f1356 Issue 8010 - Fix support for multipart SDP (alphaque)
19 years ago
Tilghman Lesher f11ea0549d Discussion of these CLI changes resulted in more consistency (Bug 8236)
19 years ago
Olle Johansson 54994dfe04 Rip out half implementation of 491 response support, since it wasn't implemented
19 years ago
Olle Johansson 27e6ea10fb Fix bit definition for SIP_PAG2_CALL_ONHOLD. Thanks fenlander!
19 years ago
Kevin P. Fleming 10978d0390 add simple fix for SDP to report proper sample rate for G.722 media sessions
19 years ago
Olle Johansson 764ba93e05 Destroy dialog properly at unload (rizzo)
19 years ago
Steve Murphy 517978fd5f These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
19 years ago
Olle Johansson 647fb52e31 Issue 8303 (lrizzo) - break instead of continue.
19 years ago
Olle Johansson eac4efcf22 Fixing the attack shield so it doesn't produce attacks... Issue 8265 - never reply to an ACK
19 years ago
Olle Johansson d5edfd432a Issue #8284: Fixes to Invite/replaces and transfer from "john"
19 years ago
Steve Murphy b6079499e4 This fix introduced via bug 8233
19 years ago
Tilghman Lesher e05a2752e8 Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
19 years ago
Olle Johansson ea69dd0cbc Move check for codec translation to sip_call() instead of in add_sdp. No one bothers
19 years ago
Olle Johansson bfb1d68414 Disable code for T38 over TCP and RTP since there's no trace of actual functionality for it :-)
19 years ago
Kevin P. Fleming efdffc0cf8 don't send INVITE when we have determined that we can't offer any audio formats due to lack of trancoding support (or incorrect configuration)
19 years ago
Joshua Colp eb25ec6ed5 Merged revisions 46920 via svnmerge from
19 years ago
Olle Johansson 5667c1c71d Dont overwrite pkt->flags (from 1.2)
19 years ago
Olle Johansson 9ab1cc22a4 Support ;rport when we're supposed to support ;rport. Issue #7473.
19 years ago
Olle Johansson 56f2cab81c If peer fails ACL check, fail peer at REGISTER
19 years ago
Olle Johansson cdb0c64271 Fix T38 too. Thanks, tgrman !
19 years ago
Olle Johansson 86c973f71f Issue #8246 - Doxygen fixes from kshumard.
19 years ago
Olle Johansson 9213317979 Issue #7869 - Stop retransmission of 302 redirects (imported from 1.2)
19 years ago
Olle Johansson 4456e58811 Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)
19 years ago
Olle Johansson e8350b836b Backport of patch for #7828 that was reported for trunk, but obviously
19 years ago
Olle Johansson 0ff30203f9 Restoring the old logic, since working around it and fixing it seemed too complicated.
19 years ago
Olle Johansson b1b2177079 Accepting a message twice may be misinterpreted...
19 years ago
Olle Johansson 5c59f2f5f5 - 183 is not reliable message...
19 years ago