aboutsummaryrefslogtreecommitdiffstats
path: root/channels
AgeCommit message (Collapse)AuthorFilesLines
2008-07-30Move implementation of an attended-transfer-complete sound from one channeltilghman1-11/+0
driver into a common place for multiple channel drivers. (closes issue #13152) Reported by: caio1982 Patches: atxfer_complete_sound3.diff uploaded by caio1982 (license 22) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134401 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-29build against the now-typedef-free dahdi/user.h, and remove some #ifdefs for ↵kpfleming1-70/+37
features that will always be present in DAHDI git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134260 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-28remove remaining Zaptel references in various placeskpfleming1-219/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134086 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-25Deprecate *_device_state_* APIs in favor of *_devstate_* APIstilghman5-34/+33
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133860 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-25Merged revisions 133649 via svnmerge from tilghman1-8/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r133649 | tilghman | 2008-07-25 12:19:39 -0500 (Fri, 25 Jul 2008) | 8 lines Fix some errant device states by making the devicestate API more strict in terms of the device argument (only without the unique identifier appended). (closes issue #12771) Reported by: davidw Patches: 20080717__bug12771.diff.txt uploaded by Corydon76 (license 14) Tested by: davidw, jvandal, murf ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133665 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-25Merged revisions 133572 via svnmerge from mmichelson1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r133572 | mmichelson | 2008-07-25 09:40:10 -0500 (Fri, 25 Jul 2008) | 7 lines We need to make sure to null-terminate the "name" portion of SIP URI parameters so that there are no bogus comparisons. Thanks to bbryant for pointing this out. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133573 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-25Minor coding guidelines tweaks ...russell1-31/+31
- Use ast_strlen_zero in one place - check for successful string comparison the way most of Asterisk code does it git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133568 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-24Merged revisions 133488 via svnmerge from tilghman1-5/+10
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r133488 | tilghman | 2008-07-24 16:17:55 -0500 (Thu, 24 Jul 2008) | 3 lines Fix rtautoclear and rtcachefriends (Closes issue #12707) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133509 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-24I made this change from DEVICE_STATE to DEVICE_STATE_CHANGE, but I had it ↵russell1-1/+1
backwards, this is the right event to subscribe to ... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133486 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23Merged revisions 133295 via svnmerge from qwell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r133295 | qwell | 2008-07-23 16:49:03 -0500 (Wed, 23 Jul 2008) | 1 line inbandrelease is gone - it's now inbanddisconnect ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133296 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23Fix issue where tcp in sip is enabled by default, despite what it says in ↵bbryant1-2/+1
the config sample file. Also fix "sip show settings" for tcp connections. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133197 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23Merged revisions 133038 via svnmerge from mmichelson1-3/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r133038 | mmichelson | 2008-07-23 12:50:01 -0500 (Wed, 23 Jul 2008) | 7 lines Small cleanup. Move the declaration of the DAHDI_SPANINFO variable to the block where it is used. This allows one less #ifdef HAVE_PRI to clutter things up. Thanks to Tzafrir for pointing this out on #asterisk-dev ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133041 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23Yet another conversion of '|' to ','tilghman1-4/+2
(closes issue #13137) Reported by: eliel Patches: chan_iax2trunk-IAXPEER.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132981 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23use correct function name... please compile with --enable-dev-modekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132966 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23Merged revisions 132826 via svnmerge from crichter1-1/+14
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132826 | crichter | 2008-07-23 13:37:50 +0200 (Mi, 23 Jul 2008) | 1 line another Fix because of r119585, this commit has broken high frequented BRI Ports, there was a possibility that a channel, that was marked as in_use would be reused later, the corresponding port could got stuck then. So it is recommended to upgrade for chan_misdn users. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132883 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-23Well, the content of a channel variable may be longer than the size of a ↵oej1-1/+1
pointer... Thanks, eliel! Reported by: eliel Patches: chan_siptrunk.SIPPEER.patch uploaded by eliel (license 64) (closes issue #13135) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132823 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22Merged revisions 132777 via svnmerge from mmichelson1-5/+296
https://origsvn.digium.com/svn/asterisk/trunk ........ Allow Spiraled INVITEs to work correctly within Asterisk. Prior to this change, a spiraled INVITE would cause a 482 Loop Detected to be sent to the caller. With this change, if a potential loop is detected, the Request-URI is inspected to see if it has changed from what was originally received. If pedantic mode is on, then this inspection is fully RFC 3261 compliant. If pedantic mode is not on, then a string comparison is used to test the equality of the two R-URIs. This has been tested by using OpenSER to rewrite the R-URI and send the INVITE back to Asterisk. (closes issue #7403) Reported by: stephen_dredge Modified: branches/1.4/channels/chan_sip.c ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132795 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22correct fix made in r132777... the code *did* compile in dev-mode, as long ↵kpfleming1-1/+2
as libpri was installed and enabled git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132791 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22Merged revisions 132713 via svnmerge from tilghman1-2/+29
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r132713 | tilghman | 2008-07-22 16:19:39 -0500 (Tue, 22 Jul 2008) | 10 lines Merged revisions 132711 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r132711 | tilghman | 2008-07-22 16:14:10 -0500 (Tue, 22 Jul 2008) | 2 lines Fixes for AST-2008-010 and AST-2008-011 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132778 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22Get chan_dahdi to compile in devmodemmichelson1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132777 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22Merged revisions 132712 via svnmerge from kpfleming1-23/+17
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132712 | kpfleming | 2008-07-22 16:17:23 -0500 (Tue, 22 Jul 2008) | 6 lines ensure that if any alarms exist at channel creation time, they are handled identically to if they occurred later, so that later alarm clearing will work properly and 'make sense' (closes issue #12160) Reported by: tzafrir ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132721 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22Merged revisions 132645 via svnmerge from oej1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132645 | oej | 2008-07-22 22:10:26 +0200 (Tis, 22 Jul 2008) | 9 lines The most common question on the #asterisk iRC channel and on mailing lists seems to be in regards to an error message when retransmit fails. This is frequently misunderstood as a failure of Asterisk, not a failure of the network to reach the other party. This document tries to assist the Asterisk user in sorting out these issues by explaining the logic and pointing at some possible causes. Hopefully, we will get other questions now :-) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132703 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22Merged revisions 132641 via svnmerge from kpfleming1-9/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132641 | kpfleming | 2008-07-22 14:49:11 -0500 (Tue, 22 Jul 2008) | 2 lines use renamed libpri API call for controlling this feature (was improperly named before) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132643 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-21Merged revisions 132571 via svnmerge from kpfleming1-4/+12
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r132571 | kpfleming | 2008-07-21 17:45:16 -0500 (Mon, 21 Jul 2008) | 2 lines teach chan_dahdi how to find the D-channel on BRI spans, and don't attempt to use channel 24 as a D-channel on spans of unexpected sizes ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132573 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-21Add autocompletion to "iax2 set debug peer".bbryant1-17/+18
(closes issue #13129) Reported by: eliel Patches: chan_iax2.c.patch uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132572 f38db490-d61c-443f-a65b-d21fe96a405b
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