Commit Graph

4303 Commits (57eaf9dd8f2860f3c27a6bde1ce178f7a039636c)

Author SHA1 Message Date
Kevin P. Fleming 57eaf9dd8f don't generate D-Channel "up" and "down" messages unless the channel state is actually changing; also, generate the "up" message when an implicit "up" occurs due to reception of a normal event when we thought the channel was "down"
17 years ago
Tilghman Lesher 56e908b787 Safely use the strncat() function.
17 years ago
Russell Bryant 9479a831f0 Fix a potential deadlock and a few different potential crashes.
17 years ago
Joshua Colp cd703523db Add a control frame to indicate the source of media has changed. Depending on the underlying technology it may need to change some things.
17 years ago
Kevin P. Fleming 461e3fea79 when a PRI call must be moved to a different B channel at the request of the other endpoint, ensure that any DSP active on the original channel is moved to the new one
17 years ago
Tilghman Lesher b350a97937 Correctly initialize retransid in SIP, and ensure that the warning when failing to delete a schedule entry can actually hit the log.
17 years ago
Joshua Colp 36bb1f9d46 When a new source of audio comes in (such as music on hold) make sure the marker bit gets set.
17 years ago
Russell Bryant 7f7dbcb11f In the case of an ast_channel allocation failure, take the local_pvt out of the
17 years ago
Russell Bryant b3c0e042d4 Fix a potential memory leak of the local_pvt struct when ast_channel allocation
17 years ago
Joshua Colp 70d43ff1d2 Add a comment to describe some logic.
17 years ago
Jason Parker 70a45ef5b1 According to a video at www.cisco.com, the 7921G supports 6 line appearances.
18 years ago
Russell Bryant 54eaddd028 When we receive a known alarm, make sure that the unknown alarm flag is not still
18 years ago
Russell Bryant 37f0ad57a7 Zaptel 1.4 now exposes FXO battery state as an alarm. However, Asterisk 1.4
18 years ago
Russell Bryant bc56a84c58 Merge changes from team/russell/smdi-1.4
18 years ago
Jason Parker aba8d8d763 IPTOS_MINCOST is not defined on Solaris.
18 years ago
Joshua Colp e6652d0a13 Make it so a users.conf user creates both a SIP peer and a SIP user. The user will be used for inbound authentication for the device, and peer will be used for placing calls to the device.
18 years ago
Russell Bryant c27732c38c Ensure that the channel doesn't disappear in agent_logoff(). If it does, it
18 years ago
Joshua Colp 9b32204204 If a resubscription comes in for a dialog we no longer know about tell the remote side that the dialog does not exist so they subscribe again using a new dialog.
18 years ago
Joshua Colp 2395b1a6f5 Due to recent changes tag will no longer be NULL if not present so we have to use ast_strlen_zero to see if it's actually blank.
18 years ago
Tilghman Lesher 638ca62698 Backwards debug message.
18 years ago
Mark Michelson 2d8f502132 And as a followup to revision 104026, completely remove event-related
18 years ago
Mark Michelson b3dd064bcb Remove an incorrect debug message. It reported that it had received a specific event and tried to report
18 years ago
Joshua Colp 11edc2ab8d Don't wait for additional digits when overlap dialing is enabled if the setup message contains the sending_complete information element.
18 years ago
Mark Michelson 6835ca7d03 Fix a crash if the channel becomes NULL while attempting to lock it.
18 years ago
Joshua Colp 749f1e1963 Send CallerID Name in setup message.
18 years ago
Russell Bryant 8c9a6024d9 Account for the fact that the "other" channel can disappear while the local pvt
18 years ago
Joshua Colp 7b6d391b76 Fix building of chan_sip.
18 years ago
Olle Johansson 7b72c89fb9 Make sure we send error replies correctly by checking the via header.
18 years ago
Jason Parker add30e2666 Fix previous commit so that we actually disable echocanbridged if echocancel is off.
18 years ago
Jason Parker 4ce44f1c28 Correct a message when echocancelwhenbridged is on, but echocancel is not.
18 years ago
Tilghman Lesher 4306df31b1 When a SIP channel is being auto-destroyed, it's possible for it to still be
18 years ago
Mark Michelson a300034b08 Fix a linked list corruption that under the right circumstances
18 years ago
Joshua Colp c8d5a65d35 Don't care if the extension given doesn't exist for subscription based MWI.
18 years ago
Russell Bryant 6bf909cd2e Fix a crash in chan_iax2 due to a race condition
18 years ago
Tilghman Lesher e049bdfcfa We aren't talking to ourselves; we're talking to someone else.
18 years ago
Joshua Colp f3f663d6fd Even if no CallerID name or number has been provided by the remote party still use the configured sip.conf ones.
18 years ago
Mark Michelson 19f5074cd8 Yield the thread and return -1 if the ioctl fails for Zaptel timing device.
18 years ago
Joshua Colp 5e3cbd6f92 Make sure the presence of dbsecret is factored into user scoring.
18 years ago
Joshua Colp f26bac62e6 Only consider a T.38-only INVITE compatible if we have both a joint capability between us and them and if they provided T.38.
18 years ago
Mark Michelson 748609f25e Clear the DTMF buffer on hangup.
18 years ago
Joshua Colp e9c59d95eb If a REGISTER attempt comes in that is a retransmission of a previous REGISTER do not create a new nonce value.
18 years ago
Kevin P. Fleming 8a2fd8fdbd ensure that components of chan_misdn.so are built using any special build options that the configure script generated (reported by Philipp Kempgen on asterisk-dev)
18 years ago
Olle Johansson 649a083adb Use the same CSEQ on CANCEL as on INVITE (according to RFC 3261)
18 years ago
Olle Johansson 9a5d78c2c7 Handle ACK and CANCEL in an invite transaction - even if we get INFO transactions during the actual call setup.
18 years ago
Russell Bryant 26365fdeca Change the SDP_SAMPLE_RATE macro. It turns out that even though G.722 is 16 kHz,
18 years ago
Russell Bryant fe59cfa7aa Add some more sanity checking on IAX2 dial strings for the case that no peer
18 years ago
Jason Parker 9742fb53fe Solaris compat fixes for struct in_addr funkiness.
18 years ago
Russell Bryant 0343bf8348 Add more missing locking of the agents list ...
18 years ago
Russell Bryant 70200cec77 Move the locking from find_agent() into the agent dialplan function handler to
18 years ago
Russell Bryant c6c7c3bf58 Add missing locking to the find_agent() function.
18 years ago