Olle Johansson
55c8a5ded8
- Don't reply to INVITE already replied to when we get BYE
...
- Declare errmsg as int. Oops.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0ca5dae550
Only produce error message about sip history once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
129280f4ee
Merged revisions 47522 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006) | 2 lines
Don't play dialtone if the seizing the channel fails (Bug 7754)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
153cb1309f
Issue 8314 - Restore auto-framing (Thanks DEA!!!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
fc5f9c78d1
Part of issue 8078 - parse even if udptl is UDPTL in sdp...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a471f0a87c
- Don't destroy SIP dialog because of a failed T.38 re-invite. Wait for a bye.
...
Final response to a re-invite does not mean that the session dies, only that
the re-invite fails.
- Keep RTP active during processing of T.38 re-invite. If the re-invite fails,
RTP needs to remain as before the re-invite.
Issue 8338 - darren1713. Please test.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
853958e863
-Remove blocking of ptime: parsing in sdp
...
-Add some comments to t.38 code
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
3964b50b05
Merged revisions 47496 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47496 | russell | 2006-11-12 01:09:03 -0500 (Sun, 12 Nov 2006) | 4 lines
Only do the check to determine whether the channel calling this function is an
IAX2 channel when getting the IP address using the special argument,
CURRENTCHANNEL. (issue #8341 , jcovert)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
eb4c18e444
Make sure we don't use 32bits when we only need one bit.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2a321d80f5
...and make sure that the dialog is destroyed, even if we don't get any answer on the bye...
...
This is the channel that remains dead after the SIP transfer
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ea257647a2
Add debug output while trying to trace bug in bug report
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ba58cf9ecd
Make sure we destroy dialog...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1f2a4eb8c2
Small cleanup of handle_request_invite() - imported from 1.2 with changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
60c6acf03f
Fix for #7321 . Be able to explicitly hide callerid name for switches that bork
...
on it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ff947e3743
Let's give this a go...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d83a1f1356
Issue 8010 - Fix support for multipart SDP (alphaque)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f11ea0549d
Discussion of these CLI changes resulted in more consistency (Bug 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
54994dfe04
Rip out half implementation of 491 response support, since it wasn't implemented
...
properly and caused memory leaks in the case of us getting 491's, which Asterisk
actually sends...
Since it is a bit too complicated to fix this, I'll rip it out of 1.4 and put
it on the to-do-list for future releases. Now, we handle this as congestion,
which it really is.
Issue #8331
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
27e6ea10fb
Fix bit definition for SIP_PAG2_CALL_ONHOLD. Thanks fenlander!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e424d306ac
Fix building of chan_h323 by completeing some structure definitions. (issue #8327 reported by Mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
58ed1b07ab
Work around an issue that caused menuselect to display a bogus description for
...
app_voicemail and chan_zap. These modules use some preprocessor directives to
determine what it will report to Asterisk as its description. However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326 , #8328 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6e693fdb0c
Merged revisions 47379 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47379 | file | 2006-11-09 11:48:05 -0500 (Thu, 09 Nov 2006) | 2 lines
Don't include compiler.h on kernels 2.6.18 and higher as, well, it's apparently going to be removed. This should make all you FC6 fans happy as your Asterisk will now build without any mods.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
1de03495a9
Committed in behalf of 8190.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
10978d0390
add simple fix for SDP to report proper sample rate for G.722 media sessions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
487d4512d3
Make this module build again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
764ba93e05
Destroy dialog properly at unload (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
517978fd5f
These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b3bf131dd8
This is not the commit you are looking for...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b832f42414
Make MOH work as it did before in chan_local, without this then it can go funky when transfers and MOH are involved. (issue #7671 reported by jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
647fb52e31
Issue 8303 (lrizzo) - break instead of continue.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
eac4efcf22
Fixing the attack shield so it doesn't produce attacks... Issue 8265 - never reply to an ACK
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d5edfd432a
Issue #8284 : Fixes to Invite/replaces and transfer from "john"
...
Thank you!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
b6079499e4
This fix introduced via bug 8233
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
56a1e60c54
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e05a2752e8
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ea69dd0cbc
Move check for codec translation to sip_call() instead of in add_sdp. No one bothers
...
with the result of add_sdp anyway... Yet...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bfb1d68414
Disable code for T38 over TCP and RTP since there's no trace of actual functionality for it :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Nadi Sarrar
72985e664f
find_free_chan_in_stack usage fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
efdffc0cf8
don't send INVITE when we have determined that we can't offer any audio formats due to lack of trancoding support (or incorrect configuration)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
eb25ec6ed5
Merged revisions 46920 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46920 | file | 2006-11-02 11:02:27 -0500 (Thu, 02 Nov 2006) | 2 lines
Repeat after me oej: I will at least make sure my code compiles before I commit it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5667c1c71d
Dont overwrite pkt->flags (from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
6a10570614
bind address support from bug 8164
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
899d116be2
It's another round of chan_iax2 fixes! Should hopefully fix the deadlock issues people have been reporting. IAXtel now has qualify turned on for 800 peers and it is handling it fine.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c9c41a0b85
Prevent an infinite loop when config processing gets to a jitterbuffer option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9ab1cc22a4
Support ;rport when we're supposed to support ;rport. Issue #7473 .
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
56f2cab81c
If peer fails ACL check, fail peer at REGISTER
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
cdb0c64271
Fix T38 too. Thanks, tgrman !
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a7e0a4d143
We need to lock the pvt structure during retransmission as another worker thread may be doing something as well.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
86c973f71f
Issue #8246 - Doxygen fixes from kshumard.
...
An extra big thankyou is given to everyone that contributes to doxygen!
THANK YOU!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9213317979
Issue #7869 - Stop retransmission of 302 redirects (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4456e58811
Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e8350b836b
Backport of patch for #7828 that was reported for trunk, but obviously
...
exists in 1.4 too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0ff30203f9
Restoring the old logic, since working around it and fixing it seemed too complicated.
...
- The SIP_OUTGOING flag indicates the direction of the last transaction in the dialog.
- The initreq stores the last request in the dialog, the request that opened the
latest transaction.
Please now retry all the 1.4 bug reports with mixed to/from headers, tags etc
in ACK, BYE, CANCEL. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b1b2177079
Accepting a message twice may be misinterpreted...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5c59f2f5f5
- 183 is not reliable message...
...
- Error should not have SDP
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0ed3384fb1
move the copy of the default settings to the global settings back out of
...
process_zap, so that they aren't overwritten when process_zap is called
multiple times
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
b588d56fc8
Instead of iterating all of the options once to look for jitterbuffer options,
...
and then again for everything else, move the processing of jitterbuffer
options into the main loop so that there are no erroneous messages about
ignoring unknown options. (issue #8226 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
b03054fdfc
Merged revisions 46350 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46350 | crichter | 2006-10-27 11:24:01 +0200 (Fr, 27 Okt 2006) | 1 line
fixed a bug which caused chan_misdn to try to allocate 2 times the same channel on high load, which then caused instability of mISDN. removed a useless function from isdn_lib.c
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
f7a6f0efa2
fixed not compile issue, which was just introduced
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
6964f148ba
Merged revisions 46176 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r46176 | crichter | 2006-10-25 10:41:59 +0200 (Mi, 25 Okt 2006) | 1 line
added nttimeout option to configure wether we disconnect calls on NT timeouts or not during an overlapdial session
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
77e12e971c
Old todo note - Don't add Contact header on BYE and Cancel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b36a4fad1b
Somewhat ugly code to try to fix issue #7608 .
...
Since the problem was not very well defined, the fix is a bit fuzzy too...
Thanks to Luigi for accidentally spotting the possible problem!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
03b4e17d23
show settings doesn't produce a list
...
of similar objects, it should stay a "show"
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ce4b0afb73
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6c17f1e07e
add passthrough and file format support for G.722 16KHz audio (issue #5084 , original patch by andrew, updated by mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
05eb71c699
code zone experiment: don't offer formats in the outbound INVITE that aren't either passthrough or translatable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c6b9449955
We need to initialize our scheduler pthread condition... yes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
50fda8522d
merge 45966 refer_to_domain potentially containing options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
d7b0db6530
merge 46026 improper checks on get_header() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
fa4d6f23a6
merge 46045 prevent NULL args to ast_strdupa() in chan_sip.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
c01e86f14e
Merged revisions 45808 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45808 | crichter | 2006-10-21 14:35:13 +0200 (Sat, 21 Oct 2006) | 1 line
fixed issue, that if chan_misdn is loaded and couldn't be initialized it would cause a segfault after 'reload'. Reported by Drew/Matt thx.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2681aea6b2
Let's understand SIP:
...
- REFER can create dialog, Asterisk does not support it yet
- NOTIFY can create dialog in Asterisk's implementation (voicemail) even though
we don't support the server side of it. In this case, the standard is a side issue ;-)
- Added extened functionality for unsupported methods (PING, PUBLISH) so we don't
create PVT's for those either.
Russellb needs to judge what to do with this in 1.2, but I think the current implementation
n 1.2 is a bug since we're sending bad replies to NOTIFY and REFER outside of dialogs
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
67c180956c
If the jitterbuffer is forced on then we can't partially bridge (reported by wangster on #asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a37a95c0d8
Cleaning up
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
87cb020143
Don't leak the actual thread-specific sip_pvt struct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
2f6a555fbd
don't leak memory when a chan_sip thread is destroyed that has a thread-local temp_pvt allocated
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9bd68dd32c
remove duplicate declarations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
227d415709
optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
...
expand stringfields API a bit to allow reusing the stringfield pool on a structure when needed, and remove some unnecessary code when the structure was being freed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0c4dfe3aed
Don't create a "real" pvt structure for requests that shouldn't be able to create one. Instead use a temporary pvt and fill it with enough information so we can send a reply.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1e2935d447
remove the option that was not needed, really.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d28fd24747
Merged revisions 45265 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45265 | file | 2006-10-16 15:59:54 -0400 (Mon, 16 Oct 2006) | 2 lines
Use responses rather then replies even though they mean the same thing.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3f24dceeca
Merged revisions 45260 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45260 | file | 2006-10-16 15:28:18 -0400 (Mon, 16 Oct 2006) | 2 lines
Add 'ignoreoodreplies' option which will not create a pvt structure on a SIP response but instead basically drop it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
eaaddb90bf
Don't destroy dialog for unexpected REFER response...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
a05d2ebb96
avoiding warning, fixing potential bug
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
7f8528f21c
Merged revisions 45048 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45048 | kpfleming | 2006-10-13 11:18:08 -0500 (Fri, 13 Oct 2006) | 2 lines
when sending a call to a peer, use the proper socket if we have multiple bindings (reported on asterisk-dev)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1bfbc1419a
Complete merging in RPID screen changes (issue #8101 reported by hristo, patch by oej in revision 44757)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
3a602aa1d7
Merged revisions 45020 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45020 | crichter | 2006-10-13 15:11:13 +0200 (Fr, 13 Okt 2006) | 1 line
fixed some echocandisable issues when bridged. this caused a kernel panic sometimes..also some minor formatting fixes
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
887395b103
Merged revisions 44993 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44993 | crichter | 2006-10-13 09:40:07 +0200 (Fr, 13 Okt 2006) | 1 line
fixed issue, that the hangupcause got a wrong isdn cause at RELEASE_COMPLETE
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
0e230d79d8
merge formatting and minor code simplifications from trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
0c4d8edca6
fix for bug 7764.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ec4bf13915
we can only send one 'a=ptime' attribute per media session, not one for each format
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
09f6a6a167
Merged revisions 44955 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44955 | kpfleming | 2006-10-12 13:31:26 -0500 (Thu, 12 Oct 2006) | 2 lines
ensure that IAX2 and SIP sockets allow UDP fragmentation when running on Linux (thanks to Brian Candler on the asterisk-dev list for the tip)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
8621f03cf2
removed warning because of missing prototype declaration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
84a6a67b15
Do not set default/global values in the variable declaration, set it in reload_config()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e0dbc80f61
Move some stuff around so that a NOTIFY dialog won't hang around until the end of the world under certain circumstances
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e4380a1b2e
Bail out if we have no refer structure and we get a refer response
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
0681269434
more merge from trunk (comments and change a static function name)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
74171605af
Only set DTMF information if an RTP structure exists
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
76dd912066
Merged revisions 44785 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44785 | crichter | 2006-10-10 15:34:33 +0200 (Di, 10 Okt 2006) | 1 line
(re)added support of dynamical enabling hdlc on bchannels
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
fde338ba2c
whitespace changes related to previous commit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e0f745b1f6
merge a few code simplifications that have gone
...
into trunk during last week, to reduce differences
between the two branches and make porting fixes easier.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
f3ba83ae1a
Fix a problem where phones that go "missing" never got unregistered.
...
Issue #8067 , reported by pj, patch by Anthony LaMantia (with minor whitespace modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f11d155547
iaxs[callno] may go away if we try to avoid the deadlock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8a7f8f5592
Properly avoid a collision with iax2_hangup (issue #8115 reported by vazir)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
9d88cfa8dc
merge svn 44744: do not dereference p if we know it is NULL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
e2676b1098
Propagate caller's transfer capability too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
f480d547cc
merge revision 44664 - put common code in a function to avoid repetitions.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
169342bc0d
remove hardwired usage of 5060, use DEFAULT_SIP_PORT instead
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
35d8151b55
merge rev 44253 - option_debug checking before printing to debug channel.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e65f2bd612
backport simplifications on sip_register,
...
usage of ast_set2_flag(),
and fixes to the handling of failed module loading.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e5a838cac1
improve and document function get_in_brackets(), introducing
...
a helper function find_closing_quote() of more general use.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
290fe898f0
Merged revisions 44460 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44460 | crichter | 2006-10-05 12:02:38 +0200 (Do, 05 Okt 2006) | 1 line
fixed segfault which happens during hold/transfer action
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
37df5208a1
Merged revisions 44335 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44335 | crichter | 2006-10-04 17:26:59 +0200 (Mi, 04 Okt 2006) | 1 line
if INFORMATION Message come with keypad instead of called party number, we just use the keypad as called party number.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
13825dab85
Merged revisions 44334 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44334 | crichter | 2006-10-04 17:13:58 +0200 (Mi, 04 Okt 2006) | 1 line
added the option 'reject_cause' to make it possible to set the RELEASE_COMPLETE - cause on the 3. incoming PMP channel, which is automatically rejected because chan_misdn does not support that kind of callwaiting. Therefore chan_misdn supports now 3 incoming channels on a PMP BRI Port. misdn_lib_get_free_bc now gets the info if the requested channel is incoming or outgoing to make the 3. channel possible
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
e0005b654a
Merged revisions 44149 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44149 | crichter | 2006-10-02 15:28:14 +0200 (Mo, 02 Okt 2006) | 1 line
fixed the hold/retrieve/transfer issues, removed a useless bc field, added setting of frame.delivery fields, some minor code cleanups
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8d2f872a84
One more T.38 fix! Don't leave a reinvite hanging by a thread if the other side is already setup with T.38
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
db989fc58c
Don't totally bail out if T.38 was negotiated
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ca2bdd54c7
Merged revisions 44432 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44432 | kpfleming | 2006-10-04 20:27:57 -0500 (Wed, 04 Oct 2006) | 2 lines
fix Polycom presence notification again
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0ee719e52f
Merged revisions 44392 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44392 | kpfleming | 2006-10-04 16:15:29 -0500 (Wed, 04 Oct 2006) | 3 lines
remove workaround for old Polycom firmware SUBSCRIBE requests
add workaround for new Polycom firmware SUBSCRIBE requests (bug is known to exist in 2.0.1 firmware)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ff05bf15c8
update thread creation code a bit
...
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
592cbc0452
fix issue with dialing client without resource.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
bc3dee9d86
Change default presentation indicator to "user provided not screened" if octet 3a missed in CallingPartyNumber IE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d241bab733
Use VideoSupport instead so it is considered a valid XML attribute name. (issue #8075 reported by renemendoza)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
70dfcccd66
Fix preparation of type and presentation of calling number
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
5058b9e13f
updated res_jabber for even better component support, soon will be jep-0100 compliant.
...
also removed chan_jingle and infromed info from jingle.txt, chan_gtalk still works and should be used in this version.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d56d4a3f7f
Merged revisions 44213 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44213 | file | 2006-10-02 16:07:59 -0400 (Mon, 02 Oct 2006) | 2 lines
Change the fd on the I/O context in case it changed during the reload, which is indeed possible. (issue #7943 reported by eclubb)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
f76b7ab4a9
Optimization of oh323_indicate(): less locks - less problems, plus single exit point
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
43b8d09b81
Don't use Channel when you're not talking about a channel :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
5ec38a80bf
Do not simulate any audio tones if we got PROGRESS message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
c88b87f6ed
sync with trunk - move variable declarations to the beginning of a block.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
ffd8a2576b
Fix issue #7928 correctly. Next is a comment of previous fix:
...
Issue #7928 - Don't send both 404 and 503. Fix by phsultan with
a small fix by me, myself or I. Thanks, Philippe!
(This was caused by my changes to the transaction handling)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
7a7c5011a1
Found some buggy SIP clients (phones Planet VIP-153T firmware
...
1.0, Linksys PAP2 firmware 3.1.9(LSc)) which sends ACK not on OK
message only (when remote party answers) but on RINGING message
too, so when we send 200 OK message, we get unidentified ACK
message (because INVITE acknowledged on RINGING message already),
so 200 OK retransmits within its retransmission interval then
call gets dropped.
If someone else knows how to provide workaround for such cases,
please, fix it in correct way.
Thanks to ssh from #asteriskru for provide access to his box to
study and fix this case.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ec2e4f2216
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
e4ff1716d5
Compile first, please
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
8a107b3a16
Set TON/PRESENTATION information more carefully when no CallingNumber IE available
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
4ecb66c6b4
Fake display name by called number on incoming calls (until passing connected number/connected name is not implemented)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
5d8c027883
Ported code refers to H.450 - add includes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
6f72c19b74
Properly pass TON/PRESENTATION information - original
...
H323Connection::SendSignalSetup() destroys Q.931 fields.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
b05cb6d46b
Pass TON/PRESENTATION information too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
704397dc3c
don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d2d4833b79
Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
13b9f34966
Extend call establishment timeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
24b723af44
Make sure the pvt exists before accessing it again as it may have gone away (issue #7562 reported by Seb7 and issue #7939 reported by sorg)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
f1ebcc8e34
Fix compiler warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
89e23aa040
Force remote side to start media on outgoing PROGRESS message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
a3f43a7dfe
Merged revisions 43764 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43764 | crichter | 2006-09-27 14:51:03 +0200 (Mi, 27 Sep 2006) | 1 line
fixed a bug which led to chan_list zombies, when the call could not be properly established in misdn_call. also removed the ACK_HDLC stuff which is not really needed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
e2d1986cec
Do not open transmit channel until TCS is received
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0929a218f3
Get rid of two functions from a time now past (we THINK these are from pre-recursive lock time) that may be contributing to two open issues on the bug tracker (7562/7939) and that has the potential to just make bad things happen if the timing is right.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
cf7b068f58
removed the chan_misdn versioning, since asterisk has it's own
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8459e9a7ac
Make rfc2833compensate a global option.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2862b777fe
Merged revisions 43705 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43705 | file | 2006-09-26 16:38:06 -0400 (Tue, 26 Sep 2006) | 2 lines
Use proper type to represent the group variable (issue #8025 reported by makoto)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6a4c92a630
Add missing newline character in the warning message about deprecated TOS values
...
in configuration.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6dc8b23feb
Strip options off the argument passed for devicestate in chan_local. (issue #8034 reported by pcardozo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
955cb53b6b
Add proper codec support to chan_skinny. Works with at least ulaw, alaw, and g729a.
...
This is technically a "new feature", but there are justifications for it.
I found a bug with the recent rtp packetization changes, which caused the media setup to
fail under certain circumstances, particularly when using allow=all, or having no allow=
statements (globally or on the device).
I could have either removed the rtp packetization features, or I could add proper codec
support (which, without, I think most people would consider to be a bug anyways).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
f1018ee8bb
Fix ASN1 description of non-standard Cisco extensions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
b2b256eeef
Backport changes of trunk:
...
1) r43540: Avoid possible deadlock on channel destruction
2) r43590: Disable fastStart if requested by remote side
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
4b81fe1d28
Merged revisions 43472,43495 from trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4a8a46a162
Fix a CLI command registration issue where an erroneous message claiming that
...
"iax2 show provisioning" was already registered. This was because this command
was registering itself as both the command, as well as the command it is
deprecating. (issue #8022 , reported by bjweeks, fixed by myself)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c259876748
Merged revisions 43552 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43552 | russell | 2006-09-24 09:50:30 -0400 (Sun, 24 Sep 2006) | 4 lines
Check to see if the channel that is activating the IAXPEER function is actually
an IAX2 channel before proceeding to process it to avoid crashing.
(issue #8017 , reported by admott, fixed by myself)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
e2365e0f0f
Allow chan_skinny.so to be unloaded properly.
...
Remove reload support, since it doesn't actually...work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0b2dcac484
return AST_MODULE_LOAD_DECLIDE if mISDN could not be configured
...
(issue #8006 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
d940da0acf
First shot at unload_module in chan_skinny..
...
More to come.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
ff11e64e67
updates for better compontent support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
928c5f7bbc
Some more clean up in the load function for chan_oss (issue #8002 reported by Mithraen with minor mods by moi)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e02f0bda8f
Clean up chan_mgcp's module load function (issue #8001 reported by Mithraen with mods by moi)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
9cf9c1373b
merge down mark's users.conf fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
0cfaffac96
Fix some chan_zap warning messages, when HAVE_PRI is not defined.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
d70fe791c2
A few misses from constification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
70af28270d
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
e57d521462
Split capability definitions into own source file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
aa92ebffea
Remove unnecessary (long time ago commented out) code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
a704e298e7
Fix missed extension replacement
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Paul Cadach
84946195e9
Change file naming to be conform OpenH323 rules
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
86421e3a7d
Do clean for h323 directory too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1ce4a427d3
Merge in latest round of chan_h323 changes. These are all isolated to chan_h323 so meh.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0964265657
Merged revisions 43314 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43314 | kpfleming | 2006-09-20 00:08:05 -0500 (Wed, 20 Sep 2006) | 2 lines
make some more functions static
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
e8606d9c57
Merged revisions 42133 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42133 | bweschke | 2006-09-06 14:16:41 -0400 (Wed, 06 Sep 2006) | 6 lines
Look ma! No more deadlocks! <sic>
As posted from #7458 and others similar to it in Mantis:
p->app_lock was a mutex really designed for use with agents not in callback mode. That being the case, I've tried to code it so that when callback mode is used, the app_lock mutex will not be locked/unlocked at all. Please let me know how you make out - and if you continue to deadlock now, please reproduce the deadlock logging information and post to Mantis.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
1485fa4c24
move this header to include where it belongs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
81b6e171bd
Get rid of zero size old config file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
33ddb53663
Various updates from PCadach's chan_h323-live branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
1dfc281c40
Work!!!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
44821e39f8
While this is experimental I don't think it should be experimental enough to be printed out in big capital letters, and Kenny tends to agree too so you know it's right.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
2cc96500bd
Mergeing in Paul Cadach's chan_h323 changes *holds breath*
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
d0a1a0033d
similar patch for verbose vs debug with minor changes
...
bug 2617
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3c732537bc
Improve output of sip show peers (issue #6624 reported by mavetju with minor code changes by myself)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
465adf2bf1
allow for packetization on rtp channel drivers, need to add
...
option for setting our own packetization as apposed to just doing
what is asked.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
42a56b7a5a
Merging patch from 1.2 - Issue #7682
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b93280947a
Issue #7351 - sending CANCEL when the call at some point has been in UP state is wrong.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fcb999c01c
merge qwell's CLI verbification work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
57ad1de60b
Reference will be kept in the application component only right now. In the future this should be expanded to the channel driver (just like all the other channel drivers) (issue #7975 reported by andrewt)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
ec4bf7a849
seperate jingle and gtalk so it will be easier to track
...
changes in both of the moving specs. Currently chan_gtalk is
compatible with the latest gtalk/libjingle version, and chan_jingle
needs a lot of work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
df0963a738
remove a bit of redundant code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
6d5809297b
Skinny hold support.
...
Original patch by wedhorn, with modifications by me.
Issue #7588
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
86fcf5a887
Get rid of all the useless (and confusing) typedefs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c2c4f86c72
merge markster's usersconf branch with some slight changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
e887127bf3
Fix the dtmf dialtone thing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
72265ea79d
Merged revisions 43019 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43019 | tilghman | 2006-09-16 02:57:04 -0500 (Sat, 16 Sep 2006) | 2 lines
When a realtime peer expires, reset the ipaddress in the realtime database back to 0 (Issue 6656)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
c35b1df605
Merged revisions 42946 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42946 | tilghman | 2006-09-14 17:16:31 -0500 (Thu, 14 Sep 2006) | 2 lines
Error message references wrong argument (Issue 7951)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
948533a791
Issue #7924 - cmaj - Turn off silence suppression if no channel owner
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
50b6a222ef
Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me, myself or I.
...
Thanks, Philippe!
(This was caused by my changes to the transaction handling)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d970a07b1c
If we've found a T38 SDP line, stop looking for more on the very same line
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
da55c166dc
More formatting fixes and doxygen stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d37002287b
Add comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8868c4e1ca
- Use enum for send-request reliability flags
...
- Make re-invites CRITICAL
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
31fa147b76
More formatting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4c081033b6
More formatting/doxygen updates to keep me occupied
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
421f2b076d
Ignore this. Only whitespace fixes while being bored.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2984fbc068
Change from "r" as a variable name to "dialog". "r" is commonly used for registrations,
...
not dialogs, in other places of the code...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e7b882961e
Use Timer T1 for dialog timeouts/destruction
...
(If you have qualify=yes, we will use the actual roundtrip time)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
59c861bc5e
Uhm, make Zap actually work again. Did anybody actually test that code?
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
237fbf35fc
If the leading underscore is not stripped before comparison,
...
pbx_builtin_getvar_helper() will never find the associated variable.
(Bug 7892)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
5a622d032e
Don't destruct sessions prematurely. Especially not when we want reliable retransmissions...
...
If this works properly, we might have to check 1.2 to implement a backport.
The theory is that if you get a final reply in a session, it is ok to destroy the session.
If you send a final reply, you need to keep the session open for potential retransmits
from the other side. If you send a HANGUP/CANCEL, wait to the other side confirms
or until you have a timeout. If you send HANGUP/CANCEL/ACK reliably, don't destroy
the session so that you cancel the needed retransmits.
I will have to change the timer to 64*T1, but that will be a separate patch. That will
mean that if we know the roundtrip time, we can destroy sessions quicker.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
01714e962b
importing rev 42535 from 1.2 (which by mistake was actually imported from svn trunk)
...
- Maybe the first circular commit?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d0cbbaf8d7
Don't destroy pvt prematurely. Wait for answer or timeout.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
562b491a85
Clear proper flag
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ac9e94d0ee
Formatting fixes for chan_oss (issue #7808 reported by Mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
fd9f37a63f
Formatting fixes for chan_alsa (issue #7807 reported by Mithraen with more mods done by myself)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
082f59ff03
Use flags instead of variables on the private structure for things
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0b93665a71
Code cleaning/updates/potential bug fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
53cf63c33a
Convert some warnings into debug messages since they can exist under perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
b1fca65c77
fixed pipe consuming bug when using chanIsAvail ( #7878 ), also moved a debug log to the very begining of misdn_hangup.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e77c51f5c6
Merged revisions 42086 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42086 | file | 2006-09-06 11:55:20 -0400 (Wed, 06 Sep 2006) | 2 lines
Make realtime regseconds work as people expected (0 on registration expiration or release, and actual on normal state) (issue #7684 reported by kshumard)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bd4e57a873
Make sure we handle CANCEL/ACK properly (imported with mods from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
ce35c33353
It was pointed out to me, that using two frames is silly.
...
Thanks Josh.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
1d9bf5b1e8
fix some module loader breakage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
696465a002
Fix VLDTMF issues.
...
It still isn't variable length, but it does let you dial again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e43b830a9d
Merged revisions 41768 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r41768 | file | 2006-09-01 18:49:07 -0400 (Fri, 01 Sep 2006) | 2 lines
Only wipe the redirected audio & video IP/port if it's specified, and trigger a reinvite.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0be2884d80
If we are doing video and we can't reinvite, then resort to generic bridging instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8ee7419d26
If no number is specified in the SIP_HEADER dialplan function, then just use the first one. (issue #7854 reported by sxpert and issue #7863 reported by hristo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
7dfc749551
there is no need for __iax_frame_free ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
05a695af72
everything that loads a config that needs a config file to run
...
now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it
had a non static function when it should.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0c6932eeb4
there is no need to use iax_frame_free here, as it will actually just end up
...
having a bunch of erroneous messages about attempting to double free frames
spammed to the console. Problem reported to me by file ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c6977b9983
Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6ca927457d
Why check bridgepeer twice?
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
18164dec14
Don't add headers to an uninitialized eq (from issue 7694 garyhai, but not
...
a resolution to that bug report)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
13eb698ce7
Note to myself: Remember Russell's note: Always compile first...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2c98238fbe
Mark ALERT_INFO as deprecated. This can now be done with the sipaddheader() application and
...
does not need special code in chan_sip any more.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0ace854142
Issue #7572 (Boesl) - hangup channel that get buggy 487 response (imported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
7aa333c9ef
Issue #7822 - don't issue SRV lookups if it's disabled. (barthek)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
12b6ec4e11
Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3f189742f6
make menuselect configure process be silent when possible
...
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
04bd8c54e8
Limit challenges to 9 digits in length
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f7e7161607
Merge team/russell/frame_caching
...
There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).
This code significantly improves the performance of ast_frame_header_new(),
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache
whenever possible instead of calling malloc/free every time.
This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6aae631cc9
update to reflect recent rtp changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c70ed7614a
Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d12f54f90b
GNU make already knows how to quietly ignore non-existent files in 'include' directives
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
b56d1a76ce
Note to self, always compile before committing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
3113f07570
Don't send proceeding twice ( #7800 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9aabe41de3
don't seg fault when using dbsecret
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1c182a606a
Allow an offset for SIP_HEADER so you can get more then 1 header of the same name if they exist. Why someone would want to grab something like Via headers from dialplan I don't exactly know, but okay. (issue #7563 reported by Corydon76)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago