summaryrefslogtreecommitdiff
path: root/channels
AgeCommit message (Collapse)Author
2006-11-15Merged revisions 47712 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r47712 | file | 2006-11-15 17:31:17 -0500 (Wed, 15 Nov 2006) | 10 lines Merged revisions 47711 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47711 | file | 2006-11-15 17:29:30 -0500 (Wed, 15 Nov 2006) | 2 lines 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/trunk@47713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15Hunting the initreq change for an ACKOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15- Don't reply to ACKOlle Johansson
- Improve SIP history for debugging (Imported from 1.4) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15fix indentationLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15Send proper SIP error message improperly when we can't allocate dialog (out ↵Olle Johansson
of file handles is one cause) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15Update doxygen docs to reflect the code...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-15Merged revisions 47635 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47635 | kpfleming | 2006-11-14 18:05:44 -0600 (Tue, 14 Nov 2006) | 2 lines silence compiler warning on 64-bit platforms (this variable is an 'int' anyway, comparing it to 'signed long' is not useful) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14Merged revisions 47628 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47628 | file | 2006-11-14 17:05:03 -0500 (Tue, 14 Nov 2006) | 2 lines Only keep the video RTP structure around if 1. Video support is enabled and 2. A video codec is enabled on the dialog ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14Adding some debug output to trace bug in realtimeOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14Adding a new debug line for issue #7351 - trying to find where an ACK can ↵Olle Johansson
overwrite the initreq... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14Issue #8272 imported from 1.2/1.4 - Let the peerpoke system destroy it's own ↵Olle Johansson
packets, please. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-14Remove flags not used any more (thanks Luigi)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13Merged revisions 47581 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r47581 | tilghman | 2006-11-13 14:20:01 -0600 (Mon, 13 Nov 2006) | 10 lines Merged revisions 47580 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006) | 2 lines Having more than 255 old messages caused corruption in the new/old count ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13Small fix for uncommon scenario.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13Make chan_h323 build again and make the CLI commands work. (reported on ↵Joshua Colp
asterisk-dev mailing list by Di-Shi Sun) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13Only produce error message once, don't fill the screen with them...Olle Johansson
(Testing SIPP thanks to JerJer and Greg) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13merge from astobj2-r47450: use UNLINK to remove a packet from its queue,Luigi Rizzo
and related code rearrangement. Approved by: oej This could be made better if we declared struct sip_pvt *dialpg = pkt->owner; at the beginning of the function, and use it throughout the function. I'll let the boss decide :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13merge from codename-pineapple and astobj2 47499:Luigi Rizzo
simplify __sip_ack() removing a strcmp for looking up packets. no functional change, only performance, so don't need to merging to earlier branches now. Approved By: oej git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13Merged revisions 47523 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r47523 | tilghman | 2006-11-12 19:12:01 -0600 (Sun, 12 Nov 2006) | 10 lines 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/trunk@47524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12Part of patch in #7403 to improve tag checking in pedantic mode (stephen_dredge)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12The use of an ifdef to check for FreeBSD is useless here because the twoRussell Bryant
versions of the format string are identical. Also, since each format is only used once, get rid of the use of defines all together. (issue #8344, julieng) In passing, also clean up the formatting a but to get rid of the nesting without the use of braces, as defined in the coding guidelines. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12Restore auto-framing (DEA). Imported from 1.4Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12- Support UDPTL as well as udptl in T38 sdp.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12- Don't hangup because of failed re-invite. Go back to previous state.Olle Johansson
- Keep RTP running during T.38 session We might improve the code to issue ast_rtp_stop if T.38 re-invite not fails later on in the code, but I don't see many reasons to. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12- Add some comments to t.38 codeOlle Johansson
- Remove improper blocking of ptime: in SDP git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-12Merged revisions 47497 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r47497 | russell | 2006-11-12 01:23:23 -0500 (Sun, 12 Nov 2006) | 12 lines 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/trunk@47498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Make sure we don't use 32bits for a value that only requires 1 bit. Also, ↵Matthew Fredrickson
fix a compiler warning for one of the SS7 functions. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Add some history and fix some debug output for autodestruct.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Proper fix for adding debug...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Make sure we destroy dialog in case of loopOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Cleanup imported from 1.4Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Merged revisions 47457 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47457 | file | 2006-11-10 14:36:25 -0500 (Fri, 10 Nov 2006) | 2 lines Let's give this a go... ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Add fix for 7321. Ability to hide calleridname from zapata.confMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Issue 8336- fix support for multipart SDP (imported from 1.2/1.4). (Alphaque)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Merged revisions 47436 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47436 | tilghman | 2006-11-10 10:51:55 -0600 (Fri, 10 Nov 2006) | 2 lines Discussion of these CLI changes resulted in more consistency (Bug 8236) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Ripping out bad support for 491 replies to INVITE's. Let's try again ↵Olle Johansson
properly later. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Fix badly defined flag. Thanks fenlander!Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Small simplification and documentation correction.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10Merged revisions 47405 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47405 | file | 2006-11-09 22:44:36 -0500 (Thu, 09 Nov 2006) | 2 lines Fix building of chan_h323 by completeing some structure definitions. (issue #8327 reported by Mithraen) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09Merged revisions 47391 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47391 | russell | 2006-11-09 16:26:27 -0500 (Thu, 09 Nov 2006) | 7 lines 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/trunk@47392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09Merged revisions 47380 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r47380 | file | 2006-11-09 11:53:25 -0500 (Thu, 09 Nov 2006) | 10 lines 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/trunk@47382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08committed in behalf of bug 8190Steve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08- Add Max-Forwards higher in the packet, following recommendationsOlle Johansson
- Fix documentation for sip_pvt_lock/unlock - doxygen does not inherit like zapata.conf !!! - Change doc for a sip_pvt setting git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08Merged revisions 47333 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47333 | kpfleming | 2006-11-08 12:07:16 -0600 (Wed, 08 Nov 2006) | 2 lines add simple fix for SDP to report proper sample rate for G.722 media sessions ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08coding guidelines, coding guidelines, coding guidelinesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08merge from team/rizzo/astobj2 rev.47271Luigi Rizzo
avoid doing p > 0 when p is a pointer; move a lock closer to the place where it is needed Approved By: oej git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08merge from team/rizzo/astobj2 rev.47246Luigi Rizzo
Same as for peers and users, replace ASTOBJ_UNREF(r, sip_registry_destroy) with unref_registry(r); Approved By: oej git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08merge from team/rizzo/astobj2, rev 47243, 47244, 47245:Luigi Rizzo
Replace ASTOBJ_UNREF(peer, sip_destroy_peer) with unref_peer(peer); This places the name of the destructor in one place only (where it should be), eliminates the chance of errors in case you specify the wrong destructor, and also lets the compiler do type checking on the argument, again helping with keeping the code clean. Same for users. remove two duplicate definitions. Approved By: oej git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08merge rev.47224 from team/rizzo/astobj2:Luigi Rizzo
hide dialoglist lock/unlocking in wrapper functions. Approved By: oej git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08silence compiler about uninitialized variables.Luigi Rizzo
The compiler is wrong, but it has the last word. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47314 65c4cc65-6c06-0410-ace0-fbb531ad65f3