aboutsummaryrefslogtreecommitdiffstats
path: root/channels
AgeCommit message (Collapse)AuthorFilesLines
2008-07-21Add "iax2 set debug peer" command and remove deprecated iax2 debug bbryant1-153/+111
commands that conflicted with adding new features to the newer debug commaands. (closes issue #13103) Reported by: mvanbaak Patches: 2008071901__issue13103_iax2_set_debug_peer.diff uploaded by mvanbaak (license 7) Tested by: bbryant, mvanbaak git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132470 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-21Fix bug where ast_parse_arg would inadvertantly enable sip tcp when parsing ↵bbryant1-0/+2
a tcpbindaddr if it was disabled. (closes issue #13117) Reported by: pj git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132468 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-21Fix an issue in iax2 where a call that's been rejected still kept an open ↵bbryant1-4/+2
channel on the side that attempted to make the call (not the side of the call that rejected the call). Changes were load tested and also approved by Russell. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132466 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-21make buffers config option (chan_dahdi.conf) parsing safer and added logging ↵jpeeler1-11/+14
in case of failure git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132425 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Make sure we break the poll so that messages queued will be sent on the SS7 ↵mattf1-0/+13
when using CLI commands for blocking and blocking of CICs and linksets. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132108 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-18Merged revisions 131970 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131970 | tilghman | 2008-07-18 11:30:31 -0500 (Fri, 18 Jul 2008) | 2 lines Make the ast_assert call within ast_sched_del report something useful. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131982 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-17Add configuration option to chan_dahdi.conf to allow buffering policy and ↵jpeeler1-17/+35
number of buffers to be configured per channel. Syntax: buffers=<num of buffers>,<policy> Where the number of buffers is some non-negative integer and the policy is either "full", "half", or "immediate". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131868 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-17Merged revisions 131790 via svnmerge from tilghman1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131790 | tilghman | 2008-07-17 15:35:44 -0500 (Thu, 17 Jul 2008) | 7 lines Revert part of issue #5620 (revision 6965) as it appears that it was in error. This should fix talk call progress on analog lines. (closes issue #12178) Reported by: michael-fig Patches: 20080717__bug12178.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131791 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-17Instead of attempting to pass through AST_EVENT_DEVICE_STATE, use ↵russell1-1/+2
DEVICE_STATE_CHANGE instead. DEVICE_STATE is a state change on one server, and DEVICE_STATE_CHANGE is the "real" state of that device across all servers sharing state. This would have only been a problem with distributed device state. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131643 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-16Merged revisions 131491 via svnmerge from bbryant1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131491 | bbryant | 2008-07-16 17:17:07 -0500 (Wed, 16 Jul 2008) | 6 lines Fix a bug in iax2 registration that allowed peers to register with case-insensitive names (user_cmp_cb and peer_cmp_cb are now both case-sensitive). (closes issue #13091) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131492 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-16Merged revisions 131421 via svnmerge from russell1-0/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r131421 | russell | 2008-07-16 15:47:53 -0500 (Wed, 16 Jul 2008) | 7 lines Always ensure that the channel's tech_pvt reference is NULL after calling the destroy callback. (closes issue #13060) Reported by: jpgrayson Patches: chan_iax2_tech_pvt_crash.patch uploaded by jpgrayson (license 492) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131422 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-16Add missing terminator to ast_event_subscribe to fix a crash.russell1-1/+1
(from rev 131206 in the 1.6.0 branch) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131207 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-15Merged revisions 130959 via svnmerge from tilghman1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130959 | tilghman | 2008-07-15 12:19:13 -0500 (Tue, 15 Jul 2008) | 8 lines astman_send_error does not need a newline appended -- the API takes care of that for us. (closes issue #13068) Reported by: gknispel_proformatique Patches: asterisk_1_4_astman_send.patch uploaded by gknispel (license 261) asterisk_trunk_astman_send.patch uploaded by gknispel (license 261) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131044 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-15Additional option for videosupport (always) that disables the optimization totilghman1-7/+22
fail to setup video RTP if the two endpoints will not support it. This assists with call files and certain transfers to ensure that if two video phones are ever connected, they will always share a video feed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130951 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-14Merged revisions 130889 via svnmerge from tilghman1-13/+10
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130889 | tilghman | 2008-07-14 18:59:13 -0500 (Mon, 14 Jul 2008) | 8 lines Override the callerid in all cases when the callerid is set in the user, not just when a remote callerid is set. Also, if not set in the user, allow the remote CallerID to pass through. (closes issue #12875) Reported by: dimas Patches: 20080714__bug12875.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130890 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-14free memory used by the x11 grabber when closing it.rizzo1-7/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130733 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-14use ast_pthread_create_detached_background() instead of redoingrizzo1-4/+3
it with separate calls git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130732 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-14Swap "static" and "const", so that "static" appears at the beginning of eachtilghman3-54/+54
declaration (suppresses a warning). (closes issue #13070) Reported by: gknispel_proformatique Patches: asterisk_trunk_const_static.patch uploaded by gknispel (license 261) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130697 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-13Convert chan_skinny's open-coded linked lists to the list macrosmvanbaak1-253/+179
(closes issue #12956) Reported by: DEA Patches: chan_skinny-linkedlists-v2.txt uploaded by DEA (license 3) Tested by: DEA, mvanbaak git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130576 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-13Merged revisions 130514 via svnmerge from tilghman1-53/+44
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130514 | tilghman | 2008-07-13 12:56:10 -0500 (Sun, 13 Jul 2008) | 4 lines Reverting 2 changesets, as it breaks incoming IAX2 calls (Related to issue #12963) Reported by: mvanbaak ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130515 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-13Unlock list before returningtilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130444 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Support new TRANSPORT definitions in libss7mattf1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130293 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Fix trunk breakagetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130230 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Merged revisions 130169 via svnmerge from tilghman1-6/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130169 | tilghman | 2008-07-11 13:51:56 -0500 (Fri, 11 Jul 2008) | 7 lines Ensure that a destination callno of 0 will not match for frames that do not start a dialog (new, lagrq, and ping). (closes issue #12963) Reported by: russellb Patches: chan_iax2_dup_new_fix4.patch uploaded by jpgrayson (license 492) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130170 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Missed one. Formatting only.seanbright1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130167 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Janitor patch to change uses of sizeof to ARRAY_LENbbryant5-14/+14
(closes issue #13054) Reported by: pabelanger Patches: ARRAY_LEN.patch2 uploaded by pabelanger (license 224) Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130129 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Merged revisions 130102 via svnmerge from tilghman1-1/+59
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130102 | tilghman | 2008-07-11 11:50:42 -0500 (Fri, 11 Jul 2008) | 9 lines Pass the devicestate from an underlying channel up through the Agent channel. This should make the Agent always report the correct device state, even when the underlying channel is used for other purposes. (closes issue #12773) Reported by: davidw Patches: 20080710__bug12773.diff.txt uploaded by Corydon76 (license 14) Tested by: davidw ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130126 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Merged revisions 130039 via svnmerge from kpfleming1-0/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r130039 | kpfleming | 2008-07-11 10:41:56 -0500 (Fri, 11 Jul 2008) | 4 lines add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today (related to issue #13042) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130040 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-10Merged revisions 129803 via svnmerge from tilghman1-45/+45
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r129803 | tilghman | 2008-07-10 16:57:05 -0500 (Thu, 10 Jul 2008) | 8 lines Correctly deal with duplicate NEW frames (due to retransmission). Also, fixup the destination call number matching to be more strict and reliable. (closes issue #12963) Reported by: jpgrayson Patches: chan_iax2_dup_new_fix3.patch uploaded by jpgrayson (license 492) Tested by: jpgrayson, Corydon76 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129804 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-10A couple more minor text changesseanbright1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129642 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-10Remove extraneous \n. Pointed out by eliel on #asterisk-dev.seanbright1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129638 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Merged revisions 129149 via svnmerge from tilghman1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r129149 | tilghman | 2008-07-08 15:27:47 -0500 (Tue, 08 Jul 2008) | 8 lines Cause SIP to return a 480 instead of a 404 when a sip peer exists, but is not registered. (closes issue #12885) Reported by: ibc Patches: 20080701__bug12885__2.diff.txt uploaded by Corydon76 (license 14) Tested by: ibc ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Merged revisions 129047 via svnmerge from tilghman1-10/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r129047 | tilghman | 2008-07-08 11:45:23 -0500 (Tue, 08 Jul 2008) | 7 lines Timestamp decoding for video mini-frames is bogus, because the timestamp only includes 15 bits, unlike voice frames, which contain a 16-bit timestamp. (closes issue #13013) Reported by: jpgrayson Patches: chan_iax2_unwrap_ts.patch uploaded by jpgrayson (license 492) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129048 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Janitor project to convert sizeof to ARRAY_LEN macro.bbryant5-27/+34
(closes issue #13002) Reported by: caio1982 Patches: janitor_arraylen5.diff uploaded by caio1982 (license 22) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129045 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Merged revisions 128950 via svnmerge from oej1-9/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r128950 | oej | 2008-07-08 11:52:21 +0200 (Tis, 08 Jul 2008) | 11 lines Don't hangup the call if we can't resolve the Contact if there's a proxy route set for the call. ---- This comment was added a while ago and today it hit me badly. /* OEJ: Possible issue that may need a check: If we have a proxy route between us and the device, should we care about resolving the contact or should we just send it? */ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128951 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-08Merged revisions 128912 via svnmerge from oej1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r128912 | oej | 2008-07-08 11:06:08 +0200 (Tis, 08 Jul 2008) | 7 lines Fix issues where repeated messages where ignored, but retransmitted reliably instead of unreliably. Reported by: johan Patches: 12746.txt uploaded by oej (license 306) Tested by: johan (issue #12746) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128927 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-07Merged revisions 128795 via svnmerge from russell1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r128795 | russell | 2008-07-07 17:41:48 -0500 (Mon, 07 Jul 2008) | 8 lines Fix handling of when a pvt disappears. Properly return the pvt locked and don't hold the pvt lock while destroying the ast_channel. (closes issue #13014) Reported by: jpgrayson Patches: chan_iax2_ast_iax2_new2.patch uploaded by jpgrayson (license 492) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128796 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-07Merged revisions 128737 via svnmerge from seanbright1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r128737 | seanbright | 2008-07-07 16:47:56 -0400 (Mon, 07 Jul 2008) | 9 lines Remove spurious trailing whitespace from log messages and fix a spelling error in a log message. (closes issue #13017) Reported by: jpgrayson Patches: chan_iax2_space_after_newline.patch uploaded by jpgrayson (license 492) chan_iax2_spelling.patch uploaded by jpgrayson (license 492) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128738 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-07Merged revisions 128639 via svnmerge from mmichelson1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r128639 | mmichelson | 2008-07-07 12:02:28 -0500 (Mon, 07 Jul 2008) | 10 lines By using the iaxdynamicthreadcount to identify a thread, it was possible for thread identifiers to be duplicated. By using a globally-unique monotonically- increasing integer, this is now avoided. (closes issue #13009) Reported by: jpgrayson Patches: chan_iax2_dyn_threadnum.patch uploaded by jpgrayson (license 492) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128640 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-07As pointed out on the -dev list, actually use the result of find_peer() so thatrussell1-2/+3
a peer reference is not leaked. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128564 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06- Adding alias "udpbindaddr" for the UDP port to comply with "tcpbindaddr" ↵oej1-1/+1
and "tlsbindaddr". Note: I don't think we can start properly without UDP port open, that needs to be tested. - Removing "bindport" from configuration example, not needed to mention this any more I suggest we deprecate "bindaddr" and "bindport" in trunk (for 1.6.1) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128525 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06- Fixing issues with "sip show settings"oej1-15/+30
- Adding IP address for TCP and/or TLS too if auto-domain is enabled and binding to a different IP address - Fixing documentation in sip.conf.sample git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128524 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06- Remove unused variable "expiry"oej1-3/+2
- Set global_outboundproxy.force at reload. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128491 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06More doxygen comments.oej1-37/+52
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128485 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06- Formatting changesoej1-10/+14
- Doxygen changes - Replacing a doxygen description that was copied from another function git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128455 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06Adding note about incorrect manager registration...oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128454 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06Remove comments that doesn't make sense. The deprecation of type=user will ↵oej1-2/+0
come at a later stage, as indicated by previous commit message git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128381 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06Fix severe problem with my previous commit of "kill-the-user". Russell saw a ↵oej1-2/+2
problem with this code, but not the correct problem. Thanks, anyway! ;-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128379 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06Disabling code used by dumpdb with #ifdef, since I believe we might use it ↵oej1-6/+12
sometime in the future, but also want to avoid compiler warnings now. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128344 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-06Removing the CLI dumpdb command (see asterisk-dev discussion and decision)oej1-284/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@128343 f38db490-d61c-443f-a65b-d21fe96a405b