Commit Graph

4929 Commits (11e86ae8f0be26bd371b4a33e4cd48fb2ac97025)

Author SHA1 Message Date
Kevin P. Fleming 2c027162a2 Use proper hostname for downloading sound files.
16 years ago
Jeff Peeler 395e431ab6 Fix handling of DAHDI_EVENT_REMOVED event to prevent crash in do_monitor.
16 years ago
Tilghman Lesher fb591b9f93 Backport realtime fix to 1.4
16 years ago
David Vossel 92acf5ac29 IAX2 encryption regression
16 years ago
Olle Johansson b546a14a99 Remove harmful code that causes endless loops.
16 years ago
Michiel van Baak da349b0e75 make chan_sip compile under devmode again
16 years ago
Olle Johansson 05899c19a1 Make apps send PROGRESS control frame for early media and fix too early media issue in SIP
16 years ago
David Vossel ed1951d895 Merge code associated with AST-2009-006
16 years ago
Terry Wilson 82b1e162e1 Re-send non-100 provisional responses to prevent cancellation
16 years ago
Tilghman Lesher fa27e8dffa Also unlock the "other" channel, when returning, due to glare.
16 years ago
Kevin P. Fleming 79221dad8d Ensure that T.38 INVITEs generated by Asterisk properly result in T.38 being enabled.
16 years ago
Richard Mudgett 309898993f Removed some deadwood and added some doxygen comments.
16 years ago
Jeff Peeler d924b5349e Fix segfault when reloading chan_misdn.
16 years ago
Richard Mudgett 00de2431be Fix uninitialized variable.
16 years ago
Mark Michelson ad76c40551 Backport fix so that outbound CANCEL requests have same branch as challenged INVITEs.
16 years ago
Tilghman Lesher 63cc189747 AST-2009-005
16 years ago
Richard Mudgett 20d63bd1c0 Dialplan starts execution before the channel setup is complete.
16 years ago
David Brooks 29f865ad17 Fixes dialplan wildcard extension taking precedence over call pickup code.
16 years ago
Tilghman Lesher ca0f026f41 Reverting index() fix, applying a different methodology, based upon developer discussions.
16 years ago
Kevin P. Fleming b5bea3704c Minor changes inspired by testing with latest GCC.
16 years ago
Jeff Peeler f622e06bbe Fix logic errors from 208746
16 years ago
Jeff Peeler fc5db2b241 Fix compiling under dev-mode with gcc 4.4.0.
16 years ago
Mark Michelson 38e98f42bc Only send a BYE when hanging up a channel that is up.
16 years ago
Mark Michelson 1c46ba9635 Fix a problem where a 491 response could be sent out of dialog.
16 years ago
Jeff Peeler 594a236e12 Only set the priindication setting when not performing a reload
16 years ago
Mark Michelson 94bc859e81 Remove inaccurate XXX comment.
16 years ago
Mark Michelson eb5f3170fc Properly handle 183 responses which do not contain an SDP.
16 years ago
Jeff Peeler e07afa4876 Wait for wink before dialing when using E&M wink signaling
16 years ago
Jeff Peeler dca651b85d Revert r207573, this approach could potentially block for an unacceptable
16 years ago
Kevin P. Fleming 75f1eaf2a1 Ensure that user-provided CFLAGS and LDFLAGS are honored.
16 years ago
Jeff Peeler 8b940dbeb7 Wait for wink before dialing when using E&M wink signaling
16 years ago
Mark Michelson 423a444c0b Answer video SDP offers properly when videosupport is not enabled.
16 years ago
Jeff Peeler d162e4b055 Fix format specifier to print out an unsigned long long.
16 years ago
Jeff Peeler 1e30dcf61c Enhance configuration option for overlapdial allowing direction choice
16 years ago
David Vossel 98a6820737 sip option flags handled incorrectly
16 years ago
David Vossel 7c82de7d7e SIP incorrect From: header information when callpres is prohib
16 years ago
Richard Mudgett 7782df0963 Merged revision 206700 from
16 years ago
Richard Mudgett 6db6a73b8d Fixes several call transfer issues with chan_misdn.
16 years ago
Russell Bryant 8d5516a153 Merged revisions 206384 via svnmerge from
16 years ago
Richard Mudgett 9f3cd22c7a Fix some memory leaks in chan_misdn.
16 years ago
Mark Michelson 12b5e7706c Properly ACK 487 responses to canceled INVITEs.
16 years ago
David Vossel 1678f43bfa SIP registration auth loop caused by stale nonce
16 years ago
Mark Michelson 43a5245325 Ensure that outbound NOTIFY requests are properly routed through stateful proxies.
16 years ago
Richard Mudgett fb1c512a40 No audio on calls from Asterisk to various ISDN devices until DTMF sent by caller.
16 years ago
David Vossel beaf6217b3 Fixes 8khz assumptions
16 years ago
Richard Mudgett 202f9967c6 Removed confusing warning message "Got Busy in Connected State"
16 years ago
Mark Michelson e5bef05d8f Add error message so that it is clear why a SIP peer was not processed when
16 years ago
Mark Michelson 439ce618c5 Fix build oops.
16 years ago
Mark Michelson 9589d9fb2e Fix a problem where chan_sip would ignore "old" but valid responses.
16 years ago
David Vossel 4f3580b882 segfault after SPINLOCK schedule delete
16 years ago
Richard Mudgett f65dccafb6 The ISDN CPE side should not exclusively pick B channels normally.
16 years ago
Jeff Peeler fc73897bbd Make sure to recreate the dahdi pseudo channel after dahdi restart
16 years ago
Russell Bryant c05d6ceccd Resolve a crash related to a T.38 reinvite race condition.
16 years ago
Richard Mudgett 1ac27cf7ec Improved chan_dahdi.conf pritimer error checking.
16 years ago
Mark Michelson a1fa4f0391 Use the handy UNLINK macro instead of hand-coding the same thing in-line.
16 years ago
David Vossel d6106936cb MWI NOTIFY contains a wrong URI if Asterisk listens to non-standard port and transport
16 years ago
Mark Michelson f76b499923 Fix more memory leaks that may result if rtp is not successfully allocated.
16 years ago
Mark Michelson b0c0c17764 Fix potential memory leak in chan_sip when video rtp is not allocated properly.
16 years ago
Russell Bryant dcfd8d7c7c Make Polycom subscription type override check more explicit.
16 years ago
Mark Michelson 26ba38b8f4 Remove an extra debug line left from previous commit.
16 years ago
Mark Michelson d31f78a172 Fix a situation in which Asterisk would not stop retransmitting 487s.
16 years ago
Mark Michelson 1f7d3e9a01 Fix a possible infinite loop in SDP parsing during glare situation.
16 years ago
Sean Bright f543251260 Since we don't have sip_pvt_lock() in 1.4, we need to use ast_mutex_* directly.
16 years ago
Matthew Nicholson e735cdc36b Added deadlock protection to try_suggested_sip_codec in chan_sip.c.
16 years ago
David Vossel f17d5d22d2 timestamp was being converted to host order as a short rather than a long
16 years ago
David Brooks ebe2c1829b Checks for NULL sip_pvt pointer in chan_sip.c->acf_channel_read()
16 years ago
Mark Michelson c946be82a9 Add INFO to our allowed methods so that endpoints know they may send it to us.
16 years ago
David Vossel ed94be12f0 Additional updates to AST-2009-001
16 years ago
David Vossel 67928d88a9 'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not.
16 years ago
Mark Michelson 590408dca3 Allow for media to arrive from an alternate source when responding to a reinvite with 491.
16 years ago
Eliel C. Sardanons 26cec158af Use the address we already know when reloading a peer with nat=yes.
16 years ago
Joshua Colp eb2a672328 Fix a bug where the flag indicating the presence of rport would get overwritten by the nat setting.
16 years ago
Joshua Colp e79b7e3c8d Fix a bug where using immediate with mISDN caused a cause code of 16 to get sent back instead of 1 if the 's' extension did not exist.
16 years ago
David Vossel 620bae6924 Sign problem calculating timestamp for iax frame leads to no audio on the receiving peer.
16 years ago
Joshua Colp 64c1093e14 Fix a bug where direct RTP setup would partially occur even when disabled if the calling channel was answered.
16 years ago
Joshua Colp ac71a26c0f Fix a bug where the codecs of the called party leg were not properly sent back to the caller call leg when reinvited.
16 years ago
David Vossel ca3481edb9 IAX2 REGAUTH loop
16 years ago
David Vossel 1e410cdfc5 Update to previous IAX2 "Ghost" Channels patch.
16 years ago
David Vossel 616674ae68 IAX2 "Ghost" Channels
16 years ago
Mark Michelson 7aa29c797a Fix a race condition where a reinvite could trigger a 482 response.
16 years ago
Mark Michelson 63c0dca7bd Set the invitestate to INV_CANCELLED only if we are actually sending a SIP CANCEL.
16 years ago
Richard Mudgett 4d64b0c937 Sent wrong message to clear a call we started if the other end has not responed yet.
16 years ago
David Vossel 3d0faa34ca "misdn show config" segfaults asterisk, if no MSN lists
16 years ago
Richard Mudgett 0971bac5bc Give a more helpful message when an incoming call's dialed extension does not match.
16 years ago
Tilghman Lesher c57efbe571 Eliminate repetition of fullcontact during reconstruction.
16 years ago
Joshua Colp 202bc9464e Update some old logic to stop both begin and end DTMF frames from reaching the core if rfc2833 is not enabled.
16 years ago
David Vossel dcb712422a global mohinterpret setting is ignored
16 years ago
Tilghman Lesher c2d8897257 SIP Response 410 maps to cause code 22 (or 23), not 1.
16 years ago
Tilghman Lesher f8b1da1872 Allow H.323 to compile with FDLEAK checking enabled.
16 years ago
Russell Bryant 03eb22fe76 Remove a bogus ast_channel_unlock().
16 years ago
Joshua Colp a8a55273cf Fix a bug in chan_local glare hangup detection.
16 years ago
Jeff Peeler a1b5f4a67d Make chan_h323 respect packetization settings
16 years ago
Doug Bailey 100aa13ae2 Clean up problem with manager implementation of mmap where it was not testing against MAP_FAILED response.
16 years ago
David Vossel 5405c62098 Fixed autologoff in agents.conf not working when agent logs in via AgentLogin app
16 years ago
Richard Mudgett 55e28f890d Modifed/added some debug messages.
16 years ago
Joshua Colp df2bc7d715 Fix a bug where a value used to create the channel name was bogus.
16 years ago
Joshua Colp bf5b92f004 Fix a situation where the DAHDI channel private structure lock was not unlocked when it should have been.
16 years ago
Tilghman Lesher 611cf94f90 Only update realtime, if global option rtupdate != false
16 years ago
Richard Mudgett 4b6846a9dd Only disable mISDN DSP if Asterisk DSP is enabled. Leave jitter setting alone.
16 years ago
David Vossel 4c6e1bd0a5 National prefix inserted even when caller ID not available
16 years ago
Jeff Peeler 3c027b6378 Fix module embedding for chan_h323.
16 years ago
Russell Bryant 9b0c55768a Support "signaling" in addition to "signalling".
16 years ago
Mark Michelson a4e46eb871 Handle a SIP race condition (reinvite before an ACK) properly.
16 years ago
Tilghman Lesher 1cb43cfa75 Permit zero-length text messages in SIP.
16 years ago
Kevin P. Fleming 89e29bfdc9 Fix a bug where DAHDI/Zaptel channels would not properly switch formats when requested
16 years ago
Kevin P. Fleming 6dbc379d01 ensure that the buffer passed to DAHDI_SET_BUFINFO is fully initialized
16 years ago
Tilghman Lesher 24fa699663 Merged revisions 186056 via svnmerge from
16 years ago
Tilghman Lesher 0487d30a98 Avoid multiple warning messages in SIP, due to this column not existing
16 years ago
Kevin P. Fleming 090f081e41 the DAHDI_GETCONF, DAHDI_SETCONF and DAHDI_GET_PARAMS ioctls were recently corrected to show that they do, in fact, read data from userspace as part of their work. due to this fix, valgrind now reports a number of cases where chan_dahdi passed an uninitialized (or partially) buffer to these ioctls, which could lead to unexpected behavior.
16 years ago
David Vossel 36c92eec0e Fixes issue with dropped calles due to re-Invite glare and re-Invites never executing after a 491
16 years ago
Mark Michelson 36a68f792e Use AST_SCHED_DEL_SPINLOCK instead of manually using the logic.
16 years ago
David Brooks a2933fefef Fix incorrect parsing in chan_gtalk when xmpp contains extra whitespaces
16 years ago
Richard Mudgett 63ca43071e Update the channel allocation method documentation.
16 years ago
Richard Mudgett 76bfa1d8ef Make chan_misdn BRI TE side normally defer channel selection to the NT side.
16 years ago
Joshua Colp df192b77df Improve our handling of T38 in the initial INVITE from a device.
16 years ago
Joshua Colp 0f37862a87 Fix an issue where nat=yes would not always take effect for the RTP session on outgoing calls.
16 years ago
Russell Bryant 19a67b624c Fix a crash in IAX2 registration handling found during load testing with dvossel.
16 years ago
Tilghman Lesher e81cde3d9c Reordering, to change prior to unlocking
16 years ago
Tilghman Lesher 5fc7a5919a Delay signalling progress until a PRI channel really signals progress.
16 years ago
Mark Michelson 338e48e055 Fix an issue where cancelled outgoing SIP calls would erroneously report the device as "in use."
16 years ago
Jeff Peeler c59e2a92d0 Allow H.323 Plus library to be used in addition to the OpenH323 library
16 years ago
Kevin P. Fleming e536392919 fix another symbol namespace issue (reported by Andrew on asterisk-dev)
16 years ago
Russell Bryant 6efa254bea Fix cases where the internal poll() was not being used when it needed to be.
16 years ago
Jason Parker 62fbf19157 Allow dahdichanname to work as advertised.
16 years ago
David Vossel 3cbc42e2e4 Randomize IAX2 encryption padding
16 years ago
Tilghman Lesher a3769669b0 Fixup glare detection, to fix a memory leak of a local pvt structure.
16 years ago
Mark Michelson 8dbfea83ce Properly send a 487 on an INVITE we have not responded to if we receive a BYE.
16 years ago
David Vossel f97c929946 encrypted IAX2 during packet loss causes decryption to fail on retransmitted frames
16 years ago
Joshua Colp 563c72dc84 Fix issue where an attended transfer could not be completed under a rare scenario.
16 years ago
Joshua Colp b15b319bd6 Fix a problem with inband DTMF detection on outgoing SIP calls when dtmfmode=auto.
16 years ago
Jeff Peeler 21ca773c28 Fix malloc debug macros to work properly with h323.
16 years ago
Mark Michelson 280153085e Remove unused variables.
16 years ago
Mark Michelson 849820fd54 Fix incorrect tag checking on transfers when pedantic=yes is enabled.
16 years ago
Jason Parker 5a3bc6b38d Make sure we still support zapchan in users.conf, in addition to dahdichan.
17 years ago
David Vossel cbd35b45af IAX2 prune realtime fix
17 years ago
Joshua Colp aa488ca6b0 Skip check for extension when subscribing for MWI.
17 years ago
David Vossel a5198f55e0 Fixes issue with undefined audio codecs in chan_iax2
17 years ago
Olle Johansson 25bb888046 Force a MWI notification after subscribe request. Reported by the Resiprocate dev team. Thanks!
17 years ago
Jeff Peeler 1183bf1ad0 Modify h323 to build against PTLib as well as the older PWLib
17 years ago
Tilghman Lesher 7799945eb9 Backport change to 1.4:
17 years ago
Tilghman Lesher e891f2a92d After a 'sip reload', qualifies for realtime peers weren't immediately
17 years ago
David Vossel 03dd54be23 Fixes issue with AST_CONTROL_SRCUPDATE not being relayed correctly during bridging
17 years ago
David Vossel 1a00cbbf1d Fixes issue with AST_CONTROL_SRCUPDATE breaking out of native bridge
17 years ago
Joshua Colp 22734e39dc Don't have the Via header stored as a stringfield as it can change often during the lifetime of a dialog.
17 years ago
Michiel van Baak db4dc67740 fix mis-spelling of the word registered.
17 years ago
Olle Johansson ada21a8039 Make sure that the debug line is not printed on debug level 0
17 years ago
Philippe Sultan d045d36561 Set the initiator attribute to lowercase in our replies when receiving calls.
17 years ago
Joshua Colp 9fa3324845 Go off hold when we get an empty reinvite telling us to.
17 years ago
Mark Michelson 7f20e5ffab Don't do an SRV lookup if a port is specified
17 years ago
Dwayne M. Hubbard d29a99cb89 check ast_strlen_zero() before calling ast_strdupa() in sip_uri_headers_cmp()
17 years ago
Joshua Colp c80b2b93b5 Remove a debug message I put in by accident.
17 years ago
Joshua Colp 6cda579f17 Some clients do not put the call-id for replaces at the beginning, so support it being anywhere in the string.
17 years ago
Matthew Nicholson 5edf9d8a59 Limit the addition of the Contact header in SIP responses according to various
17 years ago
Mark Michelson f70845aa24 Fix logic regarding when to perform an SRV lookup for outgoing REGISTER requests
17 years ago
David Vossel 28056ffc94 Fixes issue with IAX2 transfer not handing off calls.
17 years ago
Richard Mudgett cefe4f025d channels/chan_dahdi.c
17 years ago
Olle Johansson 3209942b7e Make sure that we always add the hangupcause headers. In some cases, the owner was disconnected before we checked for the cause.
17 years ago
Tilghman Lesher 16f378c559 Clarify log message (suggested by manxpower on #asterisk-dev)
17 years ago
Mark Michelson cade7e1559 Fix devicestate problems for "always-on" agent channels
17 years ago
Olle Johansson bc6f14e8e0 Use the same branch tag in CANCEL as in INVITE
17 years ago
Russell Bryant 722273ced3 Resolve some synchronization issues in chan_iax2 scheduler handling.
17 years ago
Olle Johansson 40a6283695 Don't retransmit 401 on REGISTER requests when alwaysauthreject=yes
17 years ago
Tilghman Lesher 10ed93d16d Correctly track the hookstate
17 years ago
Tilghman Lesher d55538fd20 Additions to AST-2009-001
17 years ago
Joshua Colp 5efdade8eb Use the on hold flag to see if the call is on hold or not. It is possible that our address for them will still be valid even though they are on hold.
17 years ago
Mark Michelson ece7a8f9e9 Prevent a crash in chan_local due to a potential NULL pointer dereference
17 years ago
Mark Michelson 09b6f02459 Account for possible NULL pointer when we receive a 408 in response to a REGISTER
17 years ago
Richard Mudgett 1a80fbd577 * Fixed create_process() allocation of process ID values.
17 years ago
Mark Michelson 3af85c8b97 Fix a logic error I found while searching through chan_agent.c
17 years ago
Russell Bryant 9161b7fc87 Revert unnecessary indications API change from rev 122314
17 years ago
Terry Wilson 1dc0a2d811 Don't pass a value with a side effect to a macro
17 years ago
Jeff Peeler f1c216e940 (closes issue #12269)
17 years ago
Mark Michelson 2d10fef93e I am reverting the fix made in revision 168128 (and its upward merges)
17 years ago
Richard Mudgett c992d555e3 * Fix for JIRA AST-175/ABE-1757
17 years ago
Mark Michelson 2fe132ca35 Add check_via calls to more request handlers
17 years ago
Kevin P. Fleming ead4ba5cd8 remove an unnecessary argument to queue_request()
17 years ago
Kevin P. Fleming 975a706909 When a SIP request or response arrives for a dialog with an associated Asterisk channel, and the lock on that channel cannot be obtained because it is held by another thread, instead of dropping the request/response, queue it for later processing when the channel lock becomes available.
17 years ago
Tilghman Lesher 8476207008 Merged revisions 167259 via svnmerge from
17 years ago
Mark Michelson 543dfee83c A couple of changes to T.38 SDP attribute handling
17 years ago
Tilghman Lesher 30fe8c619d Repeat attempts to write when we receive -EAGAIN from the driver, as detailed
17 years ago
Tilghman Lesher f3f0f40223 Also inherit the musiconhold class.
17 years ago
Russell Bryant d4ac0f7651 Use strncat() instead of an sprintf() in which source and target buffers overlap
17 years ago
Tilghman Lesher 5dd486be22 Compile, even if both DAHDI and Zaptel are not installed.
17 years ago
Mark Michelson 4133fa7cfc Fix a deadlock relating to channel locks and autoservice
17 years ago
Mark Michelson 7fdf99803e Backport of AUDIOHOOK_INHERIT for Asterisk 1.4
17 years ago
Jeff Peeler e0bec5d67d (closes issue #13480)
17 years ago
Mark Michelson c49c8b9a3a After looking through SIP registration code most of the day, this
17 years ago
Russell Bryant 802d4ebd51 Fix a memory leak related to the use of the "setvar" configuration option.
17 years ago
Joshua Colp 2850bf37a9 Do not try to unlock a non-existant channel if the transfer fails.
17 years ago
Joshua Colp f7521fb0db Fix subscription based MWI up a bit. We only want to put sip: at the beginning of the URI if it is not already there and revert code to ignore destination check if subscribing for MWI.
17 years ago
Joshua Colp ee47cfddbe When a SIP peer unregisters set the expiry time back to 0 so that the 200 OK contains an expires of 0.
17 years ago
Mark Michelson d18bb8dc44 Revert fix for issue 13570. It has caused more problems than
17 years ago
Tilghman Lesher cbbd837a34 For some reason, after a distclean, gcc started returning
17 years ago
Joshua Colp fbf46c34b0 Make the usereqphone option work again.
17 years ago
Jason Parker f978100475 Only show this warning when we want to show it.
17 years ago
Tilghman Lesher e616d516e3 During bridge code, the channel bridge may return a retry code, if a transfer
17 years ago
Tilghman Lesher cc3b3e68f0 Jon Bonilla (Manwe) pointed out on the -dev list:
17 years ago
Tilghman Lesher a8736b03e9 When the text does not match exactly (e.g. RTP/SAVP), then the %n conversion
17 years ago
Russell Bryant dfec3b69d6 Apply some logic used in iax2_indicate() to iax2_setoption(), as well, since they
17 years ago
Kevin P. Fleming 50515ed372 update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors
17 years ago