Commit Graph

4405 Commits (57c2c84d3664fae1446567ad3d550a4f883411cf)

Author SHA1 Message Date
Russell Bryant 0f59f5491d If the dial string passed to the call channel callback does not indicate an
18 years ago
Russell Bryant 39d1303e14 Merge changes from team/russell/issue_9520
18 years ago
Joshua Colp 3053679ade Only drop audio if we receive it without a progress indication. We allow other frames through such as DTMF because they may be needed to complete the call.
18 years ago
Mark Michelson f32e7af11a Clearing up error messages so they make a bit more sense. Also removing a redundant error
18 years ago
Russell Bryant de529ba5f7 Ensure that we don't ast_strdupa(NULL)
18 years ago
Sean Bright da91e55eaf Only complete the SIP channel name once for 'sip show channel <channel>'
18 years ago
Kevin P. Fleming cbc844ae8a use the ZT_SET_DIALPARAMS ioctl properly by initializing the structure to all zeroes in case it contains fields that we don't write values into (which it does as of Zaptel 1.4.10)
18 years ago
Tilghman Lesher 19a16f4634 Backport revisions for latest vpb drivers to 1.4
18 years ago
Jason Parker 89e7986ccb Fix "fallthrough" behavior here, so config options in a previously configured user don't override settings in general.
18 years ago
Olle Johansson 29c90c2fa0 Handle subscribe queues in all situations... Thanks to festr_ on irc for telling me about this bug.
18 years ago
Jason Parker 5fbfbc6b7c The call_token on the pvt can occasionally be NULL, causing a crash.
18 years ago
Joshua Colp 1e771acf2e It is possible for the remote side to say they want T38 but not give any capabilities.
18 years ago
Terry Wilson 2d791a431f Several places in the code called find_callno() (which releases the lock on the pvt structure) and then immediately locked the call and did things with it. Unfortunately, the call can disappear between the find_callno and the lock, causing Bad Stuff(tm) to happen.
18 years ago
Mark Michelson 98b06bace4 Be sure that we're not about to set bridgepvt NULL prior to dereferencing it.
18 years ago
Joshua Colp 5cfba06089 Don't add custom URI options if they don't exist OR they are empty.
18 years ago
Mark Michelson 38e66ce8a2 We need to set the persistant_route [sic] parameter for the sip_pvt
18 years ago
Joshua Colp 800565fff8 If we receive an AUTHREQ from the remote server and we are unable to reply (for example they have a secret configured, but we do not) then queue a hangup frame on the Asterisk channel. This will cause the channel to hangup and a HANGUP to be sent via IAX2 to the remote side which is the proper thing to do in this scenario.
18 years ago
Mark Michelson 784d1b7b3e If Asterisk receives a 488 on an INVITE (not a reinvite), then
18 years ago
Terry Wilson 346841ef05 Initialize fr->cacheable to make valgrind happy
18 years ago
Jason Parker 55f577bc29 Add a little more that is required for previously added devices.
18 years ago
Jason Parker 40ff61ff52 Add support for several new(ish) devices - most notably, 7942/7945, 7962/7965, 7975.
18 years ago
Tilghman Lesher 3949ff32df Move check for still-bridged channels out a little further, to avoid possible
18 years ago
Jeff Peeler 3296b7882e (closes issue #12362) [redo of 113012]
18 years ago
Jason Parker 4c046cd2b7 Allow playback with noanswer (and add earlyrtp option).
18 years ago
Jeff Peeler ca8d1cf992 (closes issue #12362)
18 years ago
Philippe Sultan fbf0f7107e Free newly allocated channel before returning
18 years ago
Philippe Sultan 5e5094f89e Prevent call connections when codecs don't match.
18 years ago
Mark Michelson 6df4e58654 Fix the testing of the "res" variable so that it is more logically correct and
18 years ago
Joshua Colp dcad2163df Do not pass audio until the remote side has indicated they are providing early media, or if the channel has been answered.
18 years ago
Jason Parker 8f6e8e6711 Remove unimplemented softkeys. Prompted by issue #12325.
18 years ago
Joshua Colp d2eef8c07e If we are requested to authenticate a reinvite make sure that it contains T38 SDP if need be.
18 years ago
Joshua Colp af904bf602 Make sure that full video frames are sent whenever the 15 bit timestamp rolls over.
18 years ago
Jeff Peeler e510971e20 This one line change makes an if inside a for loop (in realtime_peer) check all the ast_variables the loop was intending to test rather than just the first one.
18 years ago
Mark Michelson baa405e8c3 When reverting a commit, I accidentally left in this bit which was an experiment
18 years ago
Mark Michelson 6eed7ae503 This is a revert for revision 108288. The reason is that that revision
18 years ago
Russell Bryant e34ecbfc92 Turn a NOTICE into a DEBUG message.
18 years ago
Russell Bryant e653f8b232 Merged revisions 110335 via svnmerge from
18 years ago
Mark Michelson 87e9daf7d7 Make sure an agent doesn't try to send dtmf to a NULL channel
18 years ago
Jason Parker 7f7e7d27e4 Merged revisions 109391 via svnmerge from
18 years ago
Joshua Colp 5fda7910c6 Put a maximum limit on the number of payloads accepted, and also make sure a given payload does not exceed our maximum value.
18 years ago
Michiel van Baak 4f2c87c1d1 Update the directory of placed calls on skinny phones
18 years ago
Joshua Colp 8bb334e308 200 OKs in response to a reinvite need to be sent reliably. If the remote side does not receive one the dialog will be torn down.
18 years ago
Russell Bryant 0ddb8b4a7d Fix a channel name issue. chan_oss registers the "Console" channel type,
18 years ago
Mark Michelson e0194ffaa7 Fix a race condition in the SIP packet scheduler which could cause a crash.
18 years ago
Russell Bryant a10f524dfb Make a tweak that gets the LEDs on polycom phones to blink when an extension that
18 years ago
Mark Michelson 9ff74a2b0a Change AST_SCHED_DEL use to ast_sched_del for autocongestion in chan_sip.
18 years ago
Kevin P. Fleming 988e55c13f if we receive an INVITE with a Content-Length that is not a valid number, or is zero, then don't process the rest of the message body looking for an SDP
18 years ago
Jason Parker ea47c2d0b7 Copy voicemail dependency logic for res_adsi to chan_gtalk (for jabber).
18 years ago
Kevin P. Fleming d6b2cb9efb get chan_vpb to build properly in dev mode
18 years ago
Kevin P. Fleming 428a560d33 fix various other problems found by gcc 4.3
18 years ago
Terry Wilson 28423c15fc If we fail to alloc a channel, we should re-lock the pvt structure before returning.
18 years ago
Jason Parker be8690e9a8 Make sure to reenable echo can after a "failed" (canceled, etc) three-way call.
18 years ago
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"
18 years ago
Tilghman Lesher 56e908b787 Safely use the strncat() function.
18 years ago
Russell Bryant 9479a831f0 Fix a potential deadlock and a few different potential crashes.
18 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.
18 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
18 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.
18 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.
18 years ago
Russell Bryant 7f7dbcb11f In the case of an ast_channel allocation failure, take the local_pvt out of the
18 years ago
Russell Bryant b3c0e042d4 Fix a potential memory leak of the local_pvt struct when ast_channel allocation
18 years ago
Joshua Colp 70d43ff1d2 Add a comment to describe some logic.
18 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