aboutsummaryrefslogtreecommitdiffstats
path: root/channels
AgeCommit message (Collapse)AuthorFilesLines
2008-02-22Add protection to chan_zap build when NEONMWI events are not defineddbailey1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104045 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-22Merged revisions 104037 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r104037 | tilghman | 2008-02-22 16:45:14 -0600 (Fri, 22 Feb 2008) | 6 lines Backwards debug message. (closes issue #12052) Reported by: flefoll Patches: chan_sip.c.br14.patch_found-notfound uploaded by flefoll (license 244) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104038 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-21fix a typorussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104031 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-21Added configuration distinction between neon and fsk mwi detectiondbailey1-32/+77
Add the detection for neon MWI events got rid of extraneous handle_init_event call in monitor loop git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104024 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-20Try to do Packet2Packet bridging with chan_h323 if reinviting isn't enabled.file1-2/+2
(closes issue #11901) Reported by: pj git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103955 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-20Merged revisions 103953 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103953 | file | 2008-02-20 18:06:59 -0400 (Wed, 20 Feb 2008) | 6 lines Don't wait for additional digits when overlap dialing is enabled if the setup message contains the sending_complete information element. (closes issue #11785) Reported by: klaus3000 Patches: sending_complete_overlap_asterisk-1.4.17.patch.txt uploaded by klaus3000 (license 65) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103954 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-20Merged revisions 103904 via svnmerge from mmichelson1-3/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103904 | mmichelson | 2008-02-20 15:40:08 -0600 (Wed, 20 Feb 2008) | 6 lines Fix a crash if the channel becomes NULL while attempting to lock it. (closes issue #12039) Reported by: danpwi ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103908 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19Merged revisions 103823 via svnmerge from file1-2/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103823 | file | 2008-02-19 16:28:08 -0400 (Tue, 19 Feb 2008) | 6 lines Send CallerID Name in setup message. (closes issue #11241) Reported by: tusar Patches: h323id_as_callerid_name.patch uploaded by tusar (license 344) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103824 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19Merged revisions 103821 via svnmerge from russell1-13/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103821 | russell | 2008-02-19 14:02:49 -0600 (Tue, 19 Feb 2008) | 8 lines Account for the fact that the "other" channel can disappear while the local pvt is not locked. (fixes a problem introduced in rev 100581) (closes issue #12012) Reported by: stevedavies Patch by me ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103822 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19(closes issue #11864)jpeeler1-0/+3
Reported by: julianjm Patches: chan_zap.c-1.4-devicestate-v1.diff uploaded by julianjm (license 99) Patch fixes problem of device state incorrectly reporting idle before PBX answers incoming call on FXO channel. Device status is updated now during new channel creation. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Add a non-invasive API for application level manipulation of T38 on a ↵file1-33/+119
channel. This uses control frames (so they can even pass across IAX2) to negotiate T38 and provided a way of getting the current status of T38 using queryoption. This should by no means cause any issues and if it does I will take responsibility for it. (closes issue #11873) Reported by: dimas Patches: v4-t38-api.patch uploaded by dimas (license 88) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103799 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Merged revisions 103795 via svnmerge from qwell1-3/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103795 | qwell | 2008-02-18 16:28:56 -0600 (Mon, 18 Feb 2008) | 1 line Fix previous commit so that we actually disable echocanbridged if echocancel is off. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103796 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Commit chan_zap portion of #11964: add the ability to get ORIG_CALLED_NUMmattf1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103794 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Merged revisions 103790 via svnmerge from qwell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103790 | qwell | 2008-02-18 15:23:32 -0600 (Mon, 18 Feb 2008) | 4 lines Correct a message when echocancelwhenbridged is on, but echocancel is not. Closes issue #12019 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103791 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Make sure EC is enabled when SS7 call comes in. Also add support for ↵mattf1-36/+39
multiple DPCs per linkset. #11779 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103788 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Merged revisions 103780 via svnmerge from tilghman1-12/+28
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103780 | tilghman | 2008-02-18 11:31:52 -0600 (Mon, 18 Feb 2008) | 9 lines When a SIP channel is being auto-destroyed, it's possible for it to still be in bridge code. When that happens, we crash. Delay the RTP destruction until the bridge is ended. (closes issue #11960) Reported by: norman Patches: 20080215__bug11960__2.diff.txt uploaded by Corydon76 (license 14) Tested by: norman ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103781 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Make sure we can set up calls without audio (text+video).oej1-6/+16
And ... it works! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103772 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Merged revisions 103770 via svnmerge from mmichelson1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103770 | mmichelson | 2008-02-18 10:37:31 -0600 (Mon, 18 Feb 2008) | 10 lines Fix a linked list corruption that under the right circumstances could lead to a looped list, meaning it will traverse forever. (closes issue #11818) Reported by: michael-fig Patches: 11818.patch uploaded by putnopvut (license 60) Tested by: michael-fig ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103771 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18Merged revisions 103763 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103763 | file | 2008-02-18 11:33:14 -0400 (Mon, 18 Feb 2008) | 2 lines Don't care if the extension given doesn't exist for subscription based MWI. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103764 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18- No space in manager event names, pleaseoej1-1/+1
- Add new event to CHANGES git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103755 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-16move two ast_log calls to ast_debug.mvanbaak1-2/+2
Now monitoring chan_skinny port with nagios or zabbix wont generate noise on the console. @ok tilghman git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103750 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Merged revisions 103741 via svnmerge from russell1-4/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103741 | russell | 2008-02-15 17:31:39 -0600 (Fri, 15 Feb 2008) | 8 lines Fix a crash in chan_iax2 due to a race condition (closes issue #11780) Reported by: guillecabeza Patches: bug_iax2_jb_1.4.patch uploaded by guillecabeza (license 380) bug_iax2_jb_trunk.patch uploaded by guillecabeza (license 380) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103742 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Fix up some doxygen issues.qwell8-33/+34
(closes issue #11996) Patches: bug_11996_doxygen.diff uploaded by snuffy (license 35) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103723 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Add periodic jitter stats to CLI and manager.qwell1-0/+58
(closes issue #8188) Reported by: stevedavies Patches: jblogging-trunk.patch uploaded by stevedavies jblogging-trunk_wmgrevent.patch uploaded by johann8384 updated_jbloggin-trunk_mgrevent.patch uploaded by johann8384 (license 190) (with additional changes by me) Tested by: stevedavies, johann8384 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103677 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-12Merged revisions 103385 via svnmerge from file1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103385 | file | 2008-02-12 11:09:24 -0400 (Tue, 12 Feb 2008) | 4 lines Even if no CallerID name or number has been provided by the remote party still use the configured sip.conf ones. (closes issue #11977) Reported by: pj ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103386 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-11Add support for allowing a native bridge to happen when the L option is ↵file1-0/+4
enabled. The RTP bridging could already handle this, it just needed to be enabled in the main bridging code. (issue #10647) Reported by: samdell3 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103314 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-11Change chan_skinny to use debug messages as appropriate.file1-101/+101
(closes issue #11967) Reported by: mvanbaak Patches: 2008021000-skinnydebug.diff.txt uploaded by mvanbaak (license 7) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103313 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-11Don't wipe out transport and fd in chan_sip on reload (issue #11930)jamesgolovich1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103306 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-08Merge changes from team/mvanbaak/cli-command-auditrussell5-107/+224
(closes issue #8925) About a year ago, as Leif Madsen and Jim van Meggelen were going over the CLI commands in Asterisk 1.4 for the next version of their book, they documented a lot of inconsistencies. This set of changes addresses all of these issues and has been reviewed by Leif. While this does introduce even more changes to the CLI command structure, it makes everything consistent, which is the most important thing. Thanks to all that helped with this one! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103171 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-08Merged revisions 103070 via svnmerge from mmichelson1-3/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103070 | mmichelson | 2008-02-08 12:00:38 -0600 (Fri, 08 Feb 2008) | 6 lines Yield the thread and return -1 if the ioctl fails for Zaptel timing device. (closes issue #11891) Reported by: tzafrir ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103071 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-08Fix a network byte order issue and ensure when creating an outgoing dialog ↵file1-2/+6
that the socket always contains information such as type and port. (closes issue #11916) Reported by: mnnojd git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103018 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-08Merged revisions 102968 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102968 | file | 2008-02-08 11:08:20 -0400 (Fri, 08 Feb 2008) | 4 lines Make sure the presence of dbsecret is factored into user scoring. (closes issue #11952) Reported by: bbhoss ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102969 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-06Merged revisions 102725 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102725 | file | 2008-02-06 13:59:23 -0400 (Wed, 06 Feb 2008) | 2 lines Only consider a T.38-only INVITE compatible if we have both a joint capability between us and them and if they provided T.38. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102726 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05Get rid of any remaining ast_verbose calls in the code in favor of mmichelson2-168/+144
ast_verb (closes issue #11934) Reported by: mvanbaak Patches: 20080205_astverb-2.diff.txt uploaded by mvanbaak (license 7) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102525 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05Merged revisions 102453 via svnmerge from mmichelson1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102453 | mmichelson | 2008-02-05 14:02:44 -0600 (Tue, 05 Feb 2008) | 8 lines Clear the DTMF buffer on hangup. (closes issue #11919) Reported by: eferro Patches: mgcp_dtmfclean_on_hangup.diff uploaded by eferro (license 337) Tested by: eferro ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102454 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05Yeah yeah, I broke building on trunk. Shoot me.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102452 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05Merged revisions 102450 via svnmerge from file1-3/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102450 | file | 2008-02-05 15:52:30 -0400 (Tue, 05 Feb 2008) | 3 lines If a REGISTER attempt comes in that is a retransmission of a previous REGISTER do not create a new nonce value. (issue #BE-381) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102451 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-04Add line numbers to warning/error messages (and pretty up some existing ones).qwell1-30/+30
(closes issue #11894) Reported by: jmls Patches: chan_zap.patch uploaded by jmls (license 141) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102297 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-03Merged revisions 102142 via svnmerge from oej1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102142 | oej | 2008-02-03 17:38:12 +0100 (Sön, 03 Feb 2008) | 8 lines Use the same CSEQ on CANCEL as on INVITE (according to RFC 3261) (closes issue #9492) Reported by: kryptolus Patches: bug9492.txt uploaded by oej (license 306) Tested by: oej ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102143 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-03Merged revisions 102090 via svnmerge from oej1-5/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102090 | oej | 2008-02-03 11:37:32 +0100 (Sön, 03 Feb 2008) | 8 lines Handle ACK and CANCEL in an invite transaction - even if we get INFO transactions during the actual call setup. (closes issue #10567) Reported by: jacksch Tested by: oej Patch by: oej inspired by suggestions from neutrino88 in the bug tracker ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102091 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Merged revisions 101989 via svnmerge from russell1-1/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r101989 | russell | 2008-02-01 17:06:32 -0600 (Fri, 01 Feb 2008) | 5 lines Change the SDP_SAMPLE_RATE macro. It turns out that even though G.722 is 16 kHz, it is supposed to specified as 8 kHz in the RTP, and RTP timestamps are supposed to be calculated based on 8 kHz. (Apparently this is due to a bug in a spec, but people follow it anyway, because it's the spec ...) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101990 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Merged revisions 101693 via svnmerge from russell1-7/+19
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r101693 | russell | 2008-01-31 18:32:49 -0600 (Thu, 31 Jan 2008) | 8 lines Add some more sanity checking on IAX2 dial strings for the case that no peer or hostname was provided, which is the one part of the dial string that is absolutely required. If it's not there, bail out. (closes issue #11897) Reported by sokhapkin Patch by me ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101694 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Fix a simple deadlock that was introduced _right_ before this code got mergedrussell1-1/+3
into trunk. (closes issue #11895, reported by pj, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101577 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Merged revisions 101482 via svnmerge from qwell2-3/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r101482 | qwell | 2008-01-31 13:52:49 -0600 (Thu, 31 Jan 2008) | 4 lines Solaris compat fixes for struct in_addr funkiness. Issue #11885, patch by snuffy. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101483 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Merged revisions 101433 via svnmerge from russell1-3/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r101433 | russell | 2008-01-31 13:17:05 -0600 (Thu, 31 Jan 2008) | 2 lines Add more missing locking of the agents list ... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101449 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Merged revisions 101413-101414 via svnmerge from russell1-0/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r101413 | russell | 2008-01-31 13:04:52 -0600 (Thu, 31 Jan 2008) | 2 lines Add missing locking to the find_agent() function. ........ r101414 | russell | 2008-01-31 13:07:46 -0600 (Thu, 31 Jan 2008) | 3 lines Move the locking from find_agent() into the agent dialplan function handler to ensure that the agent doesn't disappear while we're looking at it. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101416 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30The deprecation of "username" in favor of "defaultuser" for SIP peers ↵mmichelson1-7/+16
unfortunately broke realtime configurations which still used the "username" field. This was taken care of properly when reading from realtime but was not handled properly when updating a realtime peer. This change also adds a deprecation NOTICE CLI message that will print if using the deprecated "username" field. (closes issue #11880) Reported by: cabal95 Patches: 11880.patch uploaded by putnopvut (license 60) Tested by: cabal95 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101344 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30simplify this code and eliminate the return value cast that is no longer ↵kpfleming1-4/+1
necessary git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101196 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Constifying the interface to get pvt_ids in the bridge, based on oej1-2/+2
suggestion from (const char *) Kevin. Thanks! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101154 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Merged revisions 101152 via svnmerge from oej1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r101152 | oej | 2008-01-30 12:20:31 +0100 (Ons, 30 Jan 2008) | 7 lines Stop musiconhold on attended transfer. (closes issue #11872) Reported by: gareth Patches: svn-101018.patch uploaded by gareth (license 208) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101153 f38db490-d61c-443f-a65b-d21fe96a405b