Commit Graph

4929 Commits (11e86ae8f0be26bd371b4a33e4cd48fb2ac97025)

Author SHA1 Message Date
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.
16 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
Kevin P. Fleming a738a1f6e7 rename these files so as to avoid conflicts when users update their working copies and have unversioned files already in place
17 years ago
Kevin P. Fleming 7459a56dbb simplify (and slightly bug-fix) the recent developer-oriented COMPILE_DOUBLE mode
17 years ago
Steve Murphy 141ab56b86 (closes issue #12694)
17 years ago
Tilghman Lesher 10e70eaecf Don't try to send a response on a NULL pvt.
17 years ago
Tilghman Lesher dd5a228991 Merged revisions 159245 via svnmerge from
17 years ago
Jeff Peeler c7dcb086dd (closes issue #13786)
17 years ago
Mark Michelson 3668ba67ab We don't handle 4XX responses to BYE well. According to
17 years ago
Mark Michelson 3a1a981e2e Make sure to set the hangup cause on the calling channel in the case
17 years ago
Richard Mudgett 238cd9ea24 Merged revision 157977 from
17 years ago
Kevin P. Fleming 187f6d485a the gcc optimizer frequently finds broken code (use of uninitalized variables, unreachable code, etc.), which is good. however, developers usually compile with the optimizer turned off, because if they need to debug the resulting code, optimized code makes that process very difficult. this means that we get code changes committed that weren't adequately checked over for these sorts of problems.
17 years ago
Mark Michelson a6fac748de Add some missing invite state changes necessary in the sip_write
17 years ago
Mark Michelson 3429c9de5e Fix a crash in the end_bridge_callback of app_dial and
17 years ago
Tilghman Lesher 1d023ca457 Revert revision 132506, since it occasionally caused IAX2 HANGUP packets not
17 years ago
Mark Michelson abc56833ad Channel drivers assume that when their indicate callback
17 years ago
Tilghman Lesher a0386906cf Clarify error message.
17 years ago
Mark Michelson a82f9caadf The logic of a strcasecmp call was reversed
17 years ago
Tilghman Lesher 537f626328 On busy systems, it's possible for the values checked within a single line
17 years ago
Richard Mudgett f7c8bfed9c JIRA ABE-1703
17 years ago
Tilghman Lesher 66d3d10d8c Make the monitor thread non-detached, so it can be joined (suggested by Russell
17 years ago
Kevin P. Fleming 18df35a2c1 somehow missed a bunch of gcc 4.3.x warnings in this branch on the first pass
17 years ago
Kevin P. Fleming add5ff5b05 fix a bunch of potential problems found by gcc 4.3.x, primarily bare strings being passed to printf()-like functions and ignored results from read()/write() and friends
17 years ago
Tilghman Lesher 1c4d34a0f7 Turn off qualify on uncached realtime peers.
17 years ago
Tilghman Lesher ac0c617f43 Cannot join detached threads. See http://www.opengroup.org/onlinepubs/000095399/functions/pthread_join.html
17 years ago
Tilghman Lesher e8b8a35b3d Unlock before returning, when extension doesn't exist.
17 years ago
Russell Bryant c1cdf01a0e Fix an incorrect usage of sizeof()
17 years ago
Jeff Peeler 1400db9dfc Buffer policy setting for half is not needed.
17 years ago
Tilghman Lesher 2156982d3e Inherit ALL elements of CallerID across a local channel.
17 years ago
Jason Parker 979e2cd58d Correctly allow chan_dahdi to compile against older versions of Zaptel.
17 years ago
Richard Mudgett 4fa4c33f6d Fix memory leak found by customer
17 years ago
Kevin P. Fleming 1573ebed8c fix some problems when parsing SIP messages that have the maximum number of headers or body lines that we support
17 years ago
Mark Michelson 0145ae2870 Change this warning to an error message. Suggestion
17 years ago
Mark Michelson 6189f028ae Call register_peer_exten even in the case that the peer's
17 years ago
Mark Michelson eda1b995f8 Don't allow reserved characters to be used in register
17 years ago
Mark Michelson 1533c5e6cb Deadlock prevention in chan_local.
17 years ago
Kevin P. Fleming d7be4318bb when parsing a text configuration option, ensure that the buffer on the stack is actually large enough to hold the legal values of that option, and also ensure that sscanf() knows to stop parsing if it would overrun the buffer (without these changes, specifying "buffers=...,immediate" would overflow the buffer on the stack, and could not have worked as expected)
17 years ago
Kevin P. Fleming 325aa9652f revert this change until i can understand why it results in locking order changes
17 years ago
Kevin P. Fleming 198b01597b don't start a PBX on incoming PRI call channels until after we're done setting channel variables and other things on the channel, otherwise the channel might go away (if the dialplan hangs up quickly) before we are done, which results in a spectacular crash
17 years ago
Tilghman Lesher 93ef1ee4ef Dialplan functions should not actually return 0, unless they have modified the
17 years ago
Tilghman Lesher 850cd15e26 Check whether an extension exists in the _call method, rather than the _alloc
17 years ago
Kevin P. Fleming e1fc602c64 ensure that the private structure for pseudo channels is created without 'leaking' configuration data from other configured channels
17 years ago
Jason Parker 8eb7b7e43c Fix silly formatting.
17 years ago
Richard Mudgett 27b54f4c1c channels/chan_misdn.c
17 years ago
Steve Murphy 8524d212f6 (closes issue #12101)
17 years ago
Christian Richter 4bc71ce504 improved helptext of misdn_set_opt.
17 years ago
Steve Murphy 92d91e43e0 A micro-fix, in sip_park_thread, where d is freed before the func is done using it.
17 years ago
Tilghman Lesher 84b197673b Set the raw formats at the same time as the other formats.
17 years ago
Jeff Peeler ca37a64754 (closes issue #12965)
17 years ago
Tilghman Lesher a4ebc105ef Create rules for disallowing contacts at certain addresses, which may
17 years ago
Mark Michelson 3cf97e5d90 Make sure that the branch sent in CANCEL requests
17 years ago
Mark Michelson 09c3b90918 When determining if codecs used by SIP peers allow
17 years ago
Mark Michelson 02fb0b646e Fix pedantic mode of chan_sip to only check the
17 years ago
Steve Murphy a05ebb78af This fix comes from Joshua Colp The Brilliant, who, given the trace, came up with a solution. This will most likely will close 13235 and 13409. I'll wait till Monday to verify, and then close these bugs.
17 years ago
Mark Michelson 9f079b3158 Agent's should not try to call a channel's indicate callback
17 years ago
Mark Michelson 20d7257914 Commit 140417 had a logic flaw in it which
17 years ago
Sean Bright 161b31df57 Make sure to use the correct length of the mohinterpret and mohsuggest
17 years ago
Mark Michelson e1b81179dc After working on the ao2_containers branch, I noticed
17 years ago
Mark Michelson 3e0342deaf Fix SIP's parsing so that if a port is specified
17 years ago
Mark Michelson ec8c71e9c1 Fix tag checking in get_sip_pvt_byid_locked when
17 years ago
Jeff Peeler 7c9fa301c6 add HAVE_PRI if define around dahdi_close_pri_fd
17 years ago
Russell Bryant 91cec13c3d Fix some bogus scheduler usage in chan_sip. This code used the return value
17 years ago
Jeff Peeler dc243f61be (closes issue #12071)
17 years ago
Russell Bryant 3696fbe740 Fix a race condition with the IAX scheduler thread. A lock and condition are
17 years ago
Kevin P. Fleming 3f0d388eee correct a file location in an error message
17 years ago
Terry Wilson 7488ddc223 Make SIPADDHEADER() propagate indefinitely
17 years ago
Mark Michelson d8e66b0b1a Fix the build. Thanks, mvanbaak!
17 years ago
Mark Michelson 64102eed18 Prevent a deadlock in chan_iax2 resulting from
17 years ago
Jeff Peeler fc0e5dd3f9 Fixes loop that could possibly never exit in the event of a channel never being able to be opened or specify after a restart.
17 years ago
Philippe Sultan ab1b8017e2 Apply fix for issue #13310 to branch 1.4, too.
17 years ago
Kevin P. Fleming e2fc623d88 Backport support for Zaptel/DAHDI channel-level alarms from trunk/1.6, because not doing so just makes it difficult for people with channels that are in alarm when Asterisk starts up to get them going once the alarm is cleared
17 years ago
Mark Michelson 719645a4a6 sip_read should properly handle a NULL return from sip_rtp_read.
17 years ago
Mark Michelson e2fafbb6de Reset agent_pvt variables back to the values in agents.conf
17 years ago
Jeff Peeler 05e68b7ca6 Add configuration option to chan_dahdi.conf to allow buffering policy and number of buffers to be configured per channel. Syntax:
17 years ago
Sean Bright 7db192138f You know what's awesome? Code that compiles... ;)
17 years ago
Jeff Peeler fbd79d76b2 fix compilation warnings
17 years ago
Jeff Peeler ffc421d3fc fixes use count to properly decrement if an active dahdi channel is destroyed allowing module to be unloaded
17 years ago
Jeff Peeler 8982add7a8 add forgotten locks around ss_thread_count in ss_thread for dahdi restart
17 years ago
Tilghman Lesher fc195a2df6 More fixes for realtime peers.
17 years ago
Jeff Peeler 4159f6d3f7 initialize condition variable ss_thread_complete using ast_cond_init
17 years ago
Jeff Peeler df0a6baec5 declared static mutexes using AST_MUTEX_DEFINE_STATIC macro
17 years ago
Jeff Peeler 155afc5a4b Fixes the dahdi restart functionality. Dahdi restart allows one to restart all DAHDI channels, even if they are currently in use. This is different from unloading and then loading the module since unloading requires the use count to be zero. Reloading the module is different in that the signalling is not changed from what it was originally configured. Also, this fixes not closing all the file descriptors for D-channels upon module unload (which would prevent loading the module afterwards).
17 years ago
Tilghman Lesher 5dff477c3e Oops, wrong direction
17 years ago
Tilghman Lesher 65a16565fd When creating the secondary subchannel name, it is necessary to compare to
17 years ago
Kevin P. Fleming e797e4ed72 add support for Zaptel versions that contain the new transcoder interface
17 years ago
Jeff Peeler 75bdfd1436 Register DAHDISendKeypadFacility application if dahdi_chan_mode is set to DAHDI + Zap. Mark ZapSendKeypadFacility application as deprecated on usage.
17 years ago
Kevin P. Fleming d98254b147 document dahdichanname option in doc/asterisk-conf.txt
17 years ago
Tilghman Lesher f2ead6dbc5 Also, parse useincomingcalleridonzaptransfer (and add appropriate deprecation
17 years ago
Tilghman Lesher d0721c085f For backwards compatibility with previous 1.4 versions which used "zapchan"
17 years ago
Richard Mudgett 57e3570b62 * The allowed_bearers setting in misdn.conf misspelled one
17 years ago
Mark Michelson b48adf96dc Since adding the AST_CONTROL_SRCUPDATE frame type,
17 years ago
Tilghman Lesher 42a5577557 In a conversion to use ast_strlen_zero, the meaning of the flag IAX_HASCALLERID
17 years ago
Michiel van Baak 3f2b34e888 fix some potential deadlocks in chan_skinny
17 years ago
Russell Bryant d90285f4f5 In case we have some processing threads that free more frames than they allocate,
17 years ago
Kevin P. Fleming 7b61edde36 build against the now-typedef-free dahdi/user.h
17 years ago
Tilghman Lesher c5b4e1aec8 Fix some errant device states by making the devicestate API more strict in
17 years ago
Mark Michelson a99f3d9365 We need to make sure to null-terminate the "name"
17 years ago
Tilghman Lesher 580ca7408c Fix rtautoclear and rtcachefriends
17 years ago
Jason Parker 82e28307c0 inbandrelease is gone - it's now inbanddisconnect
17 years ago
Kevin P. Fleming cd12517eeb make some more changes to the dahdi/zap channel name support stuff to ensure allthe globals are 'const', and clean up mmichelson's changes to app_chanspy to simplify the code
17 years ago
Mark Michelson 252c5728fc As suggested by seanbright, the PSEUDO_CHAN_LEN in
17 years ago
Mark Michelson 1fbde6a2f3 Small cleanup. Move the declaration of the DAHDI_SPANINFO
17 years ago