Christian Richter
95a18631a4
changed a few debugs to higher debug levels
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8eb9c059e5
Don't add Contact header on BYE, CANCEL, MESSAGE requests
...
(Bye, Cancel backported from 1.4, MESSAGE bug reported to me by Gunnar at Omnitor)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c70018c590
Only set the ALREADYGONE flag once in handle_response()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e76ee063e6
Issue 8319 - noriyuki - nonce-count updated *after* use
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1b287f7406
Only print out debug message if bridged channel is not NULL. (issue #8412 reported by jubilex)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
faee7ae5f1
Do proper test and don't leave dialogs hanging...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
b6c058c6c4
According to the research I have done we never needed to include compiler.h in the first place so let's not! (issue #8430 reported by edguy3)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
96a36252b6
Change some logging levels. Not having hints is not an ERROR, but still should be reported.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
f4137d1609
fixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some loglevels. changed the default value of block_on_alarm
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
279ebd00c5
Remove unused variable (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
fea6c62d61
Free history items at the end of use of the temporary SIP pvt structure. (issue #8383 reported by benh)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0b9a8ee148
Just to be safe, disable all the scheduled items after deleting a scheduler entry (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e51a0e25f2
Because of the way chan_local is written we should be extra careful and make sure our callback functions have a tech_pvt. (issue #8275 reported by mflorell)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
08570a5080
Don't fixup if we haven't got PVT. Suggestion from Martin Vit on -dev mailing list inspired
...
by file's commit to chan_local.
"This shouldn't happen" ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e3de4d3653
Make sure that the pvt structure exists before trying to do fixup on Local channels. (issue #7937 reported by mada123, fix by alamantia with mods by me)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
f41333b1c4
CANCEL requests are never authenticated (according to RFC 3261)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
618dd887f1
Send error message if we fail to allocate sip socket, possibly caused by too few
...
file handles (wasn't possible before, but with the new way of sending temp messages, it is).
Found this bug under heavy load testing with SIPP.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e49736b059
Sending 200 OK and not getting ACK is considered critical for the call.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
62cb689e89
Avoid collissions between the peerpoke system and the retransmits. Issue #8272 .
...
In some cases, changed timers caused the retransmit system to destroy the dialog before peerpoke_expire
got a chance.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
442781850b
Having more than 255 old messages caused corruption in the new/old count
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ff0ce011a0
Don't send 487 if we've already sent 200 OK on invite at time of receiving a BYE in the same transaction.
...
(SIPP testing)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
ec623148c0
Don't play dialtone if the seizing the channel fails (Bug 7754)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
18f4324baf
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.2@47496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
474abf4656
Clear dialog on loop (backport from 1.4 by mistake)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
55867f295a
- Don't check for ignore in blocks that isn't reached if ignore is on...
...
- return properly after sending reply in handle_request_invite
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a7e9e0893b
Fix multipart/mixed SDP support (issue 8010, alphaque)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
06f51cc52f
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.2@47379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
a173aeca9d
Fixed segfault when no misdn.conf exists, reported by Igor Neves, thanks.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e37d7b6682
Destroy the proper dialog...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
735b4cf688
Remove dialog properly at unload of module (rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b4392d33ed
Don't ever reply to an ACK. (Issue 8265)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1961bac13d
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.2@46920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
7908be0c2f
Don't overwrite flags in the packet
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6a662fe33e
Another try to fix ;rport NAT traversal support (issue #7473 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e807fbcec5
If peer fails ACL check, fail the REGISTER attempt
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2405e775b1
On the other hand, we already copy the NAT flags... Reverting.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
093d6d9554
Issue 7473 - support ;rport on REGISTER requests too.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
154c4e9504
Issue #7869 - Stop sending 302 redirect when not getting an answer...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2bec3b7627
issue #7608 : Notifications with wrong content-type. Reported by jsiddall.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
dc0cb27752
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.2@46350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
7a5dd9d78b
Issue #7240 , by mistake only committed to trunk (now 1.4), reported by
...
edgreenberg in Issue #7966 . Thanks Ed!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
34934b48fe
Remove a useless ast_mutex_unlock.
...
Issue #8186 , patch by anthonyl (fix suggested by benh).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
67f0e37177
Working to resolve #7608 - adding debug output
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4dc847a0f4
Fix the attack shield for 1.2 too. REFER and NOTIFY can create dialogs
...
in the world of Asterisk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
78d7b2641a
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.2@46176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
f7ccb0e458
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.2@45808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e0cbd7f2d9
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.2@45380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
c1666e921d
Fix an integer signedness problem.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2b0634ab95
After some research, we realized that the default behaviour since a long
...
time was doing the right thing, even though the change optimized a bit
and removed a lot of potential risks.
Conclusion: No need for a configuration option at all.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
01a7955445
Use responses rather then replies even though they mean the same thing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e64fa8614d
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.2@45260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
1775cae084
avoiding warning, fixing potential bug (backported from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@45090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
170abc16b0
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.2@45048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
0bd76b00b2
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.2@45020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
4981d1c5dd
fixed issue, that the hangupcause got a wrong isdn cause at RELEASE_COMPLETE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ffb75188e1
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.2@44955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
722d56e081
(re)added support of dynamical enabling hdlc on bchannels
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
cd79e99638
Issue #8101 - wrong parameter for screening in remote-party-id
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
8684599f6c
fixed segfault which happens during hold/transfer action
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
a8c86fb9b2
fix Polycom presence notification again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
87706f538e
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.2@44392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
eae488f164
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.2@44335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
0b4f47c3c3
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.2@44334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e0408416d3
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.2@44213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
77a645d0c6
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.2@44149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
87803a8ac6
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.2@43924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
630930dd7f
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.2@43764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
12afd66083
Use proper type to represent the group variable (issue #8025 reported by makoto)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
00ca92aeee
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.2@43552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
377dac8495
make some more functions static
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
942768c022
fixes some verbose vs debug issues. patch from bug 2617
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
eb4bd38c92
Issue #7682 - don't add contacts to 4xx responses.
...
(Ugly fix, not proud at all)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
a729fb97e4
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/branches/1.2@43019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
1df9da9fef
Error message references wrong argument (Issue 7951)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ed09034360
- Reset proper flag
...
- Don't delete SIP dialog prematurely
Strangely enough imported from svn trunk... It's confusing here in Greenland.
(Committing from 36.000 feet above Greenland, on the way to asterisk@von
http://www.pulver.com/asterisk )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a4e28347fe
Use ast_best_codec to set the read/write format
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@42402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
ff9fce4bb8
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/branches/1.2@42133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
8be5b66038
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/branches/1.2@42110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e627ecb8a7
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/branches/1.2@42086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9eb92ed083
Don't kill the pvt before we have sent ACK on CANCEL (needs more testing before making a release)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1e21d7a537
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/branches/1.2@41768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
abb4e3a3a4
put in proper fix for issue #7294 instead of the broken partial fix that was committed, and thereby also fix issue #7438
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
abfcb8d31e
Issue #7572 - Hangup when receiving a buggy 487 response to an INVITE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
e174a3c762
Restore original functionality of 1.2 in places where ANI was not set, but was
...
changed to be set. The original change was done to ensure that the behavior of
the "callerid" option in each channel driver was consistent, but it caused an
unexpected behavior change of CDR records for users, so this change is being
reverted in 1.2. (issue #7695 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
955aa04edc
Issue 7822 - don't use SRV lookups if it's disabled.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
640f0361b9
There, much better.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
3bfeacea91
Don't send proceeding twice ( #7800 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
379785c401
Turn media level c= parsing on by default (issue #7725 reported by psm)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
2650ee2f9a
rename file per crichter's request
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
71b348be1c
This rather small ;-) commit merges the changes from my team branch 0.3.0 into t
...
he 1.2 branch.
These changes include the new mISDN mqueue interface which makes it possible to
compile chan_misdn against the current cvs version of mISDN/mISDNuser.
These changes also contain various additions and numerous bugfixes to chan_misdn
.
Each change is documented in the commit logs in the team/crichter/0.3.0 branch.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c3a46b712e
don't allow AUEP responses to overflow the stack during a string copy (reported by Mu Security)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
b740b45902
Increase the buffer size for the callid (issue #7675 , reported by pssatcs)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
fdfc694ca3
Fix a crash reported to me by hads on IRC. This crash would occur with the use
...
of the "distinctiveringaftercid" option. Also, on this user's system, the crash
would only occur when built without optimizations. This is because the bug is
that the code would write past the end of an array that was allocated on the
stack, and the structure of the stack is different with or without optimizations
enabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
54b8d83e4f
don't advertise that this function can set a SIP header when it can only
...
do reads
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
66b15a3461
Fix an issue that would cause a NewCallerID manager event to be generated
...
before the channel's NewChannel event. This was due to a somewhat recent
change that included using ast_set_callerid() where it wasn't before. This
function should not be used in the channel driver "new" functions.
(issue #7654 , fixed by me)
Also, fix a couple minor bugs in usecount handling. chan_iax2 could have
increased the usecount but then returned an error. The place where chan_sip
increased the usecount did not call ast_update_usecount()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
8ddb00adaa
fix brain-damage I introduced when trying to fix the CANCEL/BYE sending mechanism for pending INVITES
...
accept unknown 1xx responses as 183 responses (as RFC3261 mandates we should do)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
532ff6487b
don't reissue hangup requests for SIP channels that have expired their RTP timeouts (one time is enough)
...
don't rescan the SIP private structure list too fast, it can cause channels to not be able to hang up (issue #7495 , and probably others)
use ast_softhangup_nolock() since we already hold the channel's lock
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1020b9d11a
How many attempts does it take to make a SIP URI parser that works well? I'm up to 5 personally. On to the good stuff - parse the domain first, user second, and get rid of port & options/params last. (issue #7616 reported by andrew)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2e7e645c77
Make a copy of the request URI in check_user_full instead of modifying the one on the structure, and also strip params properly from the user portion of the SIP URI so as to preserve the domain (issue #7552 reported by dan42)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
228c35198c
Fix crash when using the "regexten" option with MALLOC_DEBUG enabled. This was
...
not reported in the bug tracker but the same bug has been demonstrated in other
places in the code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
425c51cfd5
fix a crash when MALLOC_DEBUG is enabled and the regexten is enabled. The crash
...
would occur when the extension got removed. (fixes issue #7484 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
46012df0b6
Put default callerid into contact when the one specified is either NULL or has a zero string length. (issue #7590 reported by key2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
96048caf41
This resolves a deadlock that a tech support customer was getting frequently
...
when his users would answer call waiting. If another thread is currently
holding the zt_pvt lock for the first channel, unlock both channels and let
asterisk retry the native bridge, just like what is done for the second channel
directly below these changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
1cd1b27779
ensure that global 'maxauthreq' is reset to zero during 'reload'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
88ccb628f9
report address of peer trying to subscribe to unknown hint
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ff29ba6296
Add support to have maxauthreq as a global option
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
648bc1828d
remove some more bad examples of using printf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3d8ef8de96
Add configuration option for IAX2 users that will limit the amount of outstanding AUTHREQs we are waiting for replies on.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
b617860594
Don't do wierd things on a callback agent that has attempted logoff while still on the phone.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5a86fcf1f8
Instead of giving the scheduled item ID on a peer expiration, give the time until they expire (issue #7455 reported by slavon)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f452a64598
Spell extension correctly in documentation for chan_oss dial (issue #7487 reported by flefoll)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2211a552d3
Tell clients based on old SIP standard that we only support MD5 digest authentication...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b8e4f60589
issue #7470 - Need larger buffer for record-route headers...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
99b3637d6a
use ast_set_callerid to be more consistent and to make sure that the
...
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285 , gkloepfer)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
27aa56e14e
Don't delete scheduled item twice in sip_destroy (already fixed in svn trunk)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3d09ddb98e
ensure that two SIP channels that exist at the same moment will not have the same channel names (issue #7245 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bbcb713b68
Issue 6997 maybe, but anyway - don't retransmit responses to NON-invite requests.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f6b683b302
Bug 7425 - Size of buffer is passed in by len
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e5505d1baf
Issue #6820 - Possible fix (already implemented in trunk)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4893f1917f
don't store multiple secrets delimited with semicolons for peers because this
...
is only valid for users. Instead, only keep the last specified secret for a
peer entry. Also, document how multiple secrets are handled in the sample
config. (Reported by PCadach on #asterisk-bugs)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7807373222
Zero out a declared structure so as to not crash if it contains invalid data (reported by Qwell on #asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
3cf57b8066
Issue 7294 - patch by phsultan - Asterisk sends Invite instead of BYE in some cases.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b9e587a361
use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
cb1dc40802
only allow chan_local to masquerade the outbound channel onto its owner, instead of the other way around (this will ensure that group variables on the outbound channel as preserved)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c38c7a1f46
Remove an unneeded double lock (issue #7310 reported by arkadia)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4de28aa7cc
Do not require a context on a domain= setting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
8daadb91c1
fix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f0d3be1740
clean up yesterday's security fix to not cause breakage when video mini frames are received
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c515ef705c
ensure that the received number of bytes is included in all IAX2 incoming frame analysis checks (fixes a known vulnerability)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
eeb613ea3d
fix misplaced manager event (issue #6866 , flefoll)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
547a070805
allow SIPCHANINFO(peername) to work for calls from users as well (issue #7215 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6b101367b8
oops... make sure to stop processing a request once we have sent an authentication challenge (issue #7220 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
5ecca96df5
don't send CANCEL on a pending INVITE if we haven't received a provisional response yet... mark it pending until the first response is received (issue #7079 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
84790a577b
respect 'usecallingpres' in zapata.conf even if CLID has not been set for the channel (issue #7123 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
76066c2b74
fix for non-OSP builds (issue #7217 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
9739139287
add an option to allow the admin to 'hide' SIP user/peer names from systems trying to 'fish' names
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6d3d5e1649
fix the sourceaddress option (issue #7213 , alphaque)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d6873875cc
simplify/fix lock retry, and fix comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
f84891dfbb
Sanity check code for an extended failure in trying to obtain a channel lock that may have been obtained elsewhere. Prevents the monitor thread of the SIP module from going into an infinite loop, effectively, breaking SIP until you restart Asterisk or the mutex is unlocked, whichever comes first.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
f0e022bbad
Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
ee808b6187
fix the possibility of writing one byte past the end of a buffer.
...
(issue #7189 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
4eef3ef785
don't try to predict where the compiler will place things on the stack... put them in the right place explicitly (issues #7029 and #7100 , maybe others)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0c4cc3b0ce
use the specified 'subscribecontext' for a peer rather than the context found via the target domain (domain contexts are for calls, not for subscriptions) (issue #7122 , reported by raarts)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
dda49ce86b
Make the minidle option actually exist as documented (issue #7159 reported by imran)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
89da276678
fix up a few more places to find the SDP properly (fallout from fix for #7124 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
53a0b36973
handle incoming multipart/mixed message bodies in SIP and find the SDP, if presnet (issue #7124 reported and patched by eborgstrom, but very different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
2ef43a770b
support 'inactive' tag for SDP media streams (simple fix, proper fix will appear in 1.4 release) (issue #7130 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
3361be7b6e
Fix codec priority stuff during authentication (issue #6194 reported by jkoopmann)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8b96daf53e
Issue #7176 - Crash in expire_register
...
(We need to find out what's causing peer to be undefined, so this
is just a bandaid, not a real fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d5d56f98c3
chan_sip did not use the TRANSFER_CONTEXT for transfers, like res_features. Now fixed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
78986fe938
ensure that we send a response to REGISTER requests that are successfully authenticated but contain invalid Contact URIs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@26760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
adbfc9d3c7
Add the appropriate jumping behavior that is the standard for 1.2.X to SIPGetHeader that is now deprecated in /trunk. #7111 (blitzrage!!!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@26090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6b93396fb9
Issue 7103 - mikma
...
- The header is named "Require"
- Don't reply to ACK
(Not using patch against trunk)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
6af35712ef
Don't show agents as available when they are in wrap-up time. #6726 (ZX81)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
eb19888db5
ensure that the appropriate manager events are sent in all of the places where
...
alarms are detected or cleared (issue #6866 , flefoll)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0f643c18be
update chan_h323 to reflect the new prototype for rtp_set_peer (issue #6560 , casper)
...
This was fixed a couple months ago in the trunk, but never in 1.2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
87d78ee383
Issue #7074 - Problem with long contact lines
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
37e9f9a15c
remove a pointless comparison, since the buffer is smaller than the length being checked for
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
a7961494bd
allow top-level OPTIMIZE setting to affect builds in these subdirectories too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
cecda9a947
Fix buglet in channel reassignment on SETUP_ACK
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
7b12d67e50
- Fix cause codes
...
- Add cause code for incompatible formats
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d98317c7ad
- Fix possible minor memory leak in chan_sip
...
- Return proper cause code on memory allocation error
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d5a3b59ccf
Issue #6878 - Unhide DNDstate manager events (thanks casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
65f95fee51
Issue #6848 take two - Use the tag provided by the SUBSCRIBE request when sending NOTIFY
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bca4868578
Ugly patch to avoid hangup causes in non-final responses
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9a729f7aff
move a NULL check to before the first time the pointer is dereferenced (issue #6832 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d125a1a278
fix the situation where bindport is specified but bindaddr is not (issue #6616 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
65acfca5af
Bug 6853 - Manager fixes: 1) extra ActionID, 2) missing colon
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8d417967ce
Issue #6823
...
- Portability issue with the registration port number patch from yesterday.
Be compatible with more systems than OS/X :-)
Thanks Rizzo for the advice.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
8c63eaec22
fix Bus Error on sparc (issue #6354 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
35ea822831
Fix breakage of NAT support for peers with qualify=yes.
...
Thanks Damin for access to your system, sorry folks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
09bf0c3032
Issue #6736 - Use flags for OPTION messages. Thanks Casper!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
3db3883d3d
Issue #6597 - sip show registry shows incorrect port
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b85f9ea8fb
Issue #6409 - Use "s" extension when there's no username in the URI
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
b89b296584
Fix SETUP_ACK handling so that we change channels if so requested
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
674425a343
Issue #6766 - fix ;user=phone functionality. (Reported by alein, fix by russell - thanks!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
108275cf6c
Do not overwrite ANI if it's set by IE (sendany=yes in the peer)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6b8f2a96f1
Reset global_rtautoclear at sip reload
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
3b776cdfdc
always use the callerid signalling method set in the zt_pvt strucutre as
...
opposed to the last one read from the config file (issue #6734 , with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9593aa0aa1
To quote giant developers: "Oops". Thanks, Tony!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
38ca23948d
Issue #6728 : Remove parameters to Event: header on SUBSCRIBE requests
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
023a312f65
Set properties on two files that lacked properties for eol etc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
fbe6931218
Issue #5937 - Make sure SIP CANCEL's are re-transmitted
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Olle Johansson
8545a6d4c0
Issue #6576 - SIP_CODEC not used for early media (reported by gpapadop73)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Olle Johansson
3388661f38
Issue #6657 - Ignore 183 session progress without SDP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
1d58eff4a7
Bug 6020 - Race condition where packet could be lost if first packet on list is acked
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Olle Johansson
782eb432ab
Clear page2 flags at reload too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
b26f150b75
fix the output that indicates whether qualify smoothing is on or not (issue #6608 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
39139b2802
fix finding realtime peers that are not dynamic by ip address (issue #6093 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@11279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
1ef0003131
Handle ACKing properly (remove gratuitous -1)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@10535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
4e884dbd28
Fix numerous places in jitter buffer where freed memory is referenced
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@10511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f522e07cbd
ensure that agents logged in via the manager interface are stored in the persistence database (related to issue #6301 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@10137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
8d66f50877
when answering INVITE, don't send codecs the peer didn't offer (issue #6052 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
0ea76a52a9
fix memory leak from not destroying the scheduler context on module unload
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3b0edd5cfe
clean up my mess from thread-starting change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
BJ Weschke
74eef60486
kpfleming's fix from r9472 backported to 1.2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b3a8fbf495
don't create monitor threads in detached mode, when we need to be able to pthread_join() them later if the module is unloaded (solve crash-on-unload problem for these channel modules)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a96ecb64a6
reload peercontext on iax2 reload (issue #6442 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
917259bcd3
Make logger report error,warning,notice if logger.conf
...
not found, also updated chan_oss to give correct
error message if its config file is not found.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
48fb967c05
disable buggy PRI user-user code until it can be fixed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago