aboutsummaryrefslogtreecommitdiffstats
path: root/channels
AgeCommit message (Collapse)AuthorFilesLines
2006-12-06changed a few debugs to higher debug levelscrichter1-4/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48319 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Don't add Contact header on BYE, CANCEL, MESSAGE requestsoej1-1/+2
(Bye, Cancel backported from 1.4, MESSAGE bug reported to me by Gunnar at Omnitor) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48315 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05Only set the ALREADYGONE flag once in handle_response()oej1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Issue 8319 - noriyuki - nonce-count updated *after* useoej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48165 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Only print out debug message if bridged channel is not NULL. (issue #8412 ↵file1-1/+1
reported by jubilex) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48157 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-30Do proper test and don't leave dialogs hanging...oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48127 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-28According to the research I have done we never needed to include compiler.h ↵file1-5/+0
in the first place so let's not! (issue #8430 reported by edguy3) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48087 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24Change some logging levels. Not having hints is not an ERROR, but still ↵oej1-2/+2
should be reported. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47987 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-23fixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some ↵crichter3-53/+53
loglevels. changed the default value of block_on_alarm git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47968 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-23Remove unused variable (rizzo)oej1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47958 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Free history items at the end of use of the temporary SIP pvt structure. ↵file1-0/+6
(issue #8383 reported by benh) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Just to be safe, disable all the scheduled items after deleting a scheduler ↵oej1-2/+9
entry (rizzo) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16Because of the way chan_local is written we should be extra careful and make ↵file1-0/+21
sure our callback functions have a tech_pvt. (issue #8275 reported by mflorell) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47750 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16Don't fixup if we haven't got PVT. Suggestion from Martin Vit on -dev ↵oej1-0/+5
mailing list inspired by file's commit to chan_local. "This shouldn't happen" ;-) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47743 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Make sure that the pvt structure exists before trying to do fixup on Local ↵file1-0/+4
channels. (issue #7937 reported by mada123, fix by alamantia with mods by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47711 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15CANCEL requests are never authenticated (according to RFC 3261)oej1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47705 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Send error message if we fail to allocate sip socket, possibly caused by too fewoej1-0/+13
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: http://svn.digium.com/svn/asterisk/branches/1.2@47655 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15Sending 200 OK and not getting ACK is considered critical for the call.oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47648 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14Avoid collissions between the peerpoke system and the retransmits. Issue #8272.oej1-3/+5
In some cases, changed timers caused the retransmit system to destroy the dialog before peerpoke_expire got a chance. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47596 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Having more than 255 old messages caused corruption in the new/old counttilghman1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47580 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Don't send 487 if we've already sent 200 OK on invite at time of receiving a ↵oej1-1/+2
BYE in the same transaction. (SIPP testing) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Don't play dialtone if the seizing the channel fails (Bug 7754)tilghman1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47522 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-12Only do the check to determine whether the channel calling this function is anrussell1-4/+4
IAX2 channel when getting the IP address using the special argument, CURRENTCHANNEL. (issue #8341, jcovert) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47496 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10Clear dialog on loop (backport from 1.4 by mistake)oej1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47470 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10- Don't check for ignore in blocks that isn't reached if ignore is on...oej1-31/+11
- return properly after sending reply in handle_request_invite git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47458 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10Fix multipart/mixed SDP support (issue 8010, alphaque)oej1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47452 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Don't include compiler.h on kernels 2.6.18 and higher as, well, it's ↵file1-0/+2
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: http://svn.digium.com/svn/asterisk/branches/1.2@47379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Fixed segfault when no misdn.conf exists, reported by Igor Neves, thanks.crichter3-5/+10
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47359 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08Destroy the proper dialog...oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47308 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08Remove dialog properly at unload of module (rizzo)oej1-7/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47307 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07Don't ever reply to an ACK. (Issue 8265)oej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47248 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02Repeat after me oej: I will at least make sure my code compiles before I ↵file1-1/+1
commit it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46920 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02Don't overwrite flags in the packetoej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46899 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Another try to fix ;rport NAT traversal support (issue #7473)oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31If peer fails ACL check, fail the REGISTER attemptoej1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46604 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31On the other hand, we already copy the NAT flags... Reverting.oej1-3/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46598 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Issue 7473 - support ;rport on REGISTER requests too. oej1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46585 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-29Issue #7869 - Stop sending 302 redirect when not getting an answer...oej1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46406 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-29issue #7608: Notifications with wrong content-type. Reported by jsiddall.oej1-8/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46402 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27fixed a bug which caused chan_misdn to try to allocate 2 times the same ↵crichter4-29/+31
channel on high load, which then caused instability of mISDN. removed a useless function from isdn_lib.c git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26Issue #7240, by mistake only committed to trunk (now 1.4), reported byoej1-2/+4
edgreenberg in Issue #7966. Thanks Ed! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46344 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26Remove a useless ast_mutex_unlock.qwell1-1/+0
Issue #8186, patch by anthonyl (fix suggested by benh). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46332 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25Working to resolve #7608 - adding debug outputoej1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46258 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25Fix the attack shield for 1.2 too. REFER and NOTIFY can create dialogsoej1-5/+18
in the world of Asterisk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46213 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25added nttimeout option to configure wether we disconnect calls on NT ↵crichter3-3/+14
timeouts or not during an overlapdial session git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46176 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-21fixed issue, that if chan_misdn is loaded and couldn't be initialized it ↵crichter1-1/+6
would cause a segfault after 'reload'. Reported by Drew/Matt thx. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45808 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17Don't create a "real" pvt structure for requests that shouldn't be able to ↵file1-23/+59
create one. Instead use a temporary pvt and fill it with enough information so we can send a reply. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17Fix an integer signedness problem.qwell1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45332 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17After some research, we realized that the default behaviour since a longoej1-10/+1
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: http://svn.digium.com/svn/asterisk/branches/1.2@45306 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-16Use responses rather then replies even though they mean the same thing.file1-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45265 f38db490-d61c-443f-a65b-d21fe96a405b