Commit Graph

4188 Commits (95dce3bbbaeca5016e6d0baa30dcad8ba11fa020)

Author SHA1 Message Date
Mark Michelson 7b052b78e1 A big one...
18 years ago
Mark Michelson d2d88e0f3d Changing some bad logic when calculating the interdigit timeout.
18 years ago
Jason Parker 90edaee7dd Only log debug messages if debug is enabled.
18 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
18 years ago
Joshua Colp daf94226d5 Fix locking issues under one legged replaces scenarios.
18 years ago
Mark Michelson a53959d666 Clear the DTMF buffer if the call times out.
18 years ago
Olle Johansson 0c3ec937ce If we get a codec offer using a well-known payload type, but using it for another
18 years ago
Christian Richter be20960013 added RR patch from iroot #10908, thanks.
18 years ago
Tilghman Lesher 245abfa1c2 Fix an uninitialized memory read found by valgrind
18 years ago
Tilghman Lesher f39db73930 Yet another memory corruption issue.
18 years ago
Olle Johansson 9d3be20a0d Don't send re-invites during pending INVITE transactions.
18 years ago
Olle Johansson fc49ddab3a Improve support for multipart messages. Code by gasparz, changes
18 years ago
Jason Parker fb0bb38fc4 Fix building on newer systems which require a third arg to open() when using O_CREAT.
18 years ago
Tilghman Lesher 4332b72082 If we set a value for qualify, we should actually pay attention to it, instead of overriding the value
18 years ago
Tilghman Lesher 1a052e0498 Fix two cases of memory corruption caused by background threads.
18 years ago
Christian Richter c2c1e68238 if we're NT and no number was dialed and overlapdial is set, we wait for the ISDN timeout instead of starting our own timer. added a comment for the misdn.conf.sample for the overlapdial config option.
18 years ago
Christian Richter 4e52dc67dc added restart all interfaces Restart_Indicator, to automatically send a RESTART after the L2 of a PTP Port comes up. Also fixed some places where we have send a RELEASE without need for it.
18 years ago
Christian Richter 472f7a471c fixed a state/event issue with overlapdial=yes when no extension matched. removed the general sending of a RELEASE_COMPLETE when we receive a RELEASE, this is done by mISDNuser/mISDN. This makes it possible to use asterisk-1.4 with mISDN trunk, but requires users of mISDN/mISDNuser-1.1.X to upgrade to at least mISDNuser-1.1.6 (when using the NT mode at all)
18 years ago
Christian Richter ad50f139c4 fixed the support for CW and therefore for the reject_cause option.
18 years ago
Christian Richter 57ccb76df1 aded ntkeepcalls option, to avoid droÃpping calls when the L2 goes down on a PTP link. There are some pbx which do turn off the L1 for a very short while and restart it immediately. normally T310 should be started and after 10 seconds or so the calls should be dropped, this is a simple fix wihtout this timer.
18 years ago
Mark Michelson 3b75ff9010 Rework of the commit I made yesterday to use the already built-in
18 years ago
Joshua Colp 3aea241b63 Do not add a sip: to the beginning of the To URI unless needed.
18 years ago
Joshua Colp 0f1ef85f9a Improve the devicestate logic for multiple devices. If any are available then the extension is considered available.
18 years ago
Joshua Colp 53fd91490e Add support for allowing one outgoing transaction. This means if a response comes back out of order chan_sip will still handle it. I dream of a chan_sip with real transaction support.
18 years ago
Joshua Colp f1309f2c3f If callerid is configured in sip.conf use that for checking the presence of an extension in the dialplan.
18 years ago
Mark Michelson 0d76379f54 This patch makes it possible for SIP phones to dial extensions defined with '#' characters
18 years ago
Joshua Colp cac21aa19b Make it so that if a peer is determined to be unreachable using qualify their devicestate will report back unavailable.
18 years ago
Joshua Colp 8b309c7bb9 Fix improbable but possible memory leaks in chan_zap.
18 years ago
Russell Bryant ea00780d49 When traversing the list of channel variables here in transmit_invite(), the
18 years ago
Russell Bryant 69e42e6096 Fix up some indentation.
18 years ago
Joshua Colp 10c172eb00 If a SIP channel is put on hold multiple times do not keep incrementing the onHold value.
18 years ago
Jason Parker 7fa3a53ec2 Make sure we destroy the config structure on configuration failure.
18 years ago
Luigi Rizzo a0edff2477 Rename ast_string_field_free_pool to ast_string_field_free_memory,
18 years ago
Joshua Colp 986e8a3ae8 Make subscribecontext behave as advertised. It will now look for the presence of a hint in the given context (be it subscribecontext or context).
18 years ago
Joshua Colp e49faa404a If an INFO request within a dialog is received with a content length of 0 simply send back a 200 OK. It is valid to do this and the remote side is probably using it to make sure the signalling is still alive.
18 years ago
Jason Parker ac6218741f Make sure we set the poll fds to NULL after free()ing it.
18 years ago
Jason Parker 40cd95fc27 Don't try to allocate memory that we're just going to re-allocate later anyways.
18 years ago
Russell Bryant 1561187fc4 Merge the changes from team/russell/iax2_poke_fix and iax2-poke-fix-trunk
18 years ago
Jason Parker fc51acbc73 Only try to clean out h323/ if the h323/Makefile exists.
18 years ago
Joshua Colp 143536912e Fix issue where if both sides of the dialog cancelled the dialog at the same time chan_sip could kepe retransmitting a response for no reason.
18 years ago
Jason Parker 1b7b80da3a Correctly respect hidecalleridname configuration option.
18 years ago
Joshua Colp d6d7384355 After reading online I have confirmed that Record-Route headers should be copied to 1xx responses as well.
18 years ago
Christian Richter e4df4c58ec we send DISCONNECT instead of RELEASE/RELEASE_COMPLETE if the dialplan does not match after an overlap call. Also added out_cause=1
18 years ago
Joshua Colp a5b69b3583 Fix two issues with domains and transfers. If a port was given in the hostname it was treated as part of the hostname. If domains were configured but external domains were not enabled all transfers would be considered remote.
18 years ago
Joshua Colp 918ee9ae5b Set port number in received as information for registrations as well.
18 years ago
Russell Bryant 74450c6eff Revert erroneous commit.
18 years ago
Russell Bryant 236872e7c4 Add support for setting the maximum trunk size for IAX2 trunking
18 years ago
Russell Bryant ed426a7165 If Asterisk is in the middle of shutting down, respond to OPTIONS
18 years ago
Joshua Colp faf4b212eb Whoops, forgot to remove the original sip_scheddestroy.
18 years ago
Joshua Colp c9638888aa Don't schedule dialog destruction if a MESSAGE is received using an existing dialog.
18 years ago