Commit Graph

1815 Commits (29c90c2fa09603e313d5ccc5bb0500454cdbc50e)

Author SHA1 Message Date
Olle Johansson 29c90c2fa0 Handle subscribe queues in all situations... Thanks to festr_ on irc for telling me about this bug.
17 years ago
Joshua Colp 1e771acf2e It is possible for the remote side to say they want T38 but not give any capabilities.
17 years ago
Mark Michelson 98b06bace4 Be sure that we're not about to set bridgepvt NULL prior to dereferencing it.
17 years ago
Joshua Colp 5cfba06089 Don't add custom URI options if they don't exist OR they are empty.
17 years ago
Mark Michelson 38e66ce8a2 We need to set the persistant_route [sic] parameter for the sip_pvt
17 years ago
Mark Michelson 784d1b7b3e If Asterisk receives a 488 on an INVITE (not a reinvite), then
17 years ago
Tilghman Lesher 3949ff32df Move check for still-bridged channels out a little further, to avoid possible
17 years ago
Jeff Peeler 3296b7882e (closes issue #12362) [redo of 113012]
17 years ago
Jeff Peeler ca8d1cf992 (closes issue #12362)
17 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.
17 years ago
Joshua Colp d2eef8c07e If we are requested to authenticate a reinvite make sure that it contains T38 SDP if need be.
17 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.
17 years ago
Mark Michelson baa405e8c3 When reverting a commit, I accidentally left in this bit which was an experiment
17 years ago
Mark Michelson 6eed7ae503 This is a revert for revision 108288. The reason is that that revision
17 years ago
Russell Bryant e653f8b232 Merged revisions 110335 via svnmerge from
17 years ago
Jason Parker 7f7e7d27e4 Merged revisions 109391 via svnmerge from
17 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.
17 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.
17 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
Terry Wilson 28423c15fc If we fail to alloc a channel, we should re-lock the pvt structure before returning.
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
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
Joshua Colp 70d43ff1d2 Add a comment to describe some logic.
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
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
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
Tilghman Lesher 4306df31b1 When a SIP channel is being auto-destroyed, it's possible for it to still be
18 years ago
Joshua Colp c8d5a65d35 Don't care if the extension given doesn't exist for subscription based MWI.
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
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
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
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
Jason Parker 9742fb53fe Solaris compat fixes for struct in_addr funkiness.
18 years ago
Olle Johansson 5e02b0d76e Stop musiconhold on attended transfer.
18 years ago
Olle Johansson 52cfa83d42 (closes issue #11736)
18 years ago
Russell Bryant fe50ae6de5 For some reason, the use of this strdupa() is leading to memory corruption on
18 years ago
Tilghman Lesher 7060a6888d When deleting a task from the scheduler, ignoring the return value could
18 years ago
Jason Parker a70508ed3d This would have never been true, since we're passing (sizeof(req.data) - 1) as the len to recvfrom().
18 years ago
Olle Johansson 107c1c37b4 Second attempt. Don't change invitestate when receiving 18x messages in CANCEL state.
18 years ago
Olle Johansson d95d9d7132 Make sure we don't cancel destruction on calls in CANCEL state, even if we
18 years ago
Mark Michelson 3e54e684b2 These flag tests were illogical. They were testing sip_peer flags on a sip_pvt.
18 years ago