aboutsummaryrefslogtreecommitdiffstats
path: root/channels
AgeCommit message (Collapse)AuthorFilesLines
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
2008-01-29Merged revisions 100930 via svnmerge from qwell1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100930 | qwell | 2008-01-29 11:41:43 -0600 (Tue, 29 Jan 2008) | 6 lines Initialize an array to 0s if config option not specified. (closes issue #11860) Patches: misdn_get_config.v1.diff uploaded by IgorG (license 20) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100931 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Merged revisions 100835 via svnmerge from qwell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100835 | qwell | 2008-01-29 10:10:00 -0600 (Tue, 29 Jan 2008) | 5 lines Allow zap groups above 30 to work properly. (closes issue #11590) Reported by: tbsky ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100843 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Make externip work as documented. If no port is specified it will use the ↵file1-1/+3
value of bindport instead of always being 5060. (closes issue #11858) Reported by: hmodes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100833 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Merged revisions 100793 via svnmerge from crichter1-1/+10
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100793 | crichter | 2008-01-29 11:36:19 +0100 (Di, 29 Jan 2008) | 1 line fixed potential segfault in misdn show channels CLI command ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100795 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Merged revisions 96199 via svnmerge from crichter1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r96199 | crichter | 2008-01-03 13:12:27 +0100 (Do, 03 Jan 2008) | 1 line make sure frame is completely clean, before we send it to asterisk as DTMF. If we don't make it clean, it happens that one way audio occurs.. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100794 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Merged revisions 100740 via svnmerge from oej1-5/+24
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100740 | oej | 2008-01-29 09:26:48 +0100 (Tis, 29 Jan 2008) | 8 lines (closes issue #11736) Reported by: MVF Patches: bug11736-2.diff uploaded by oej (license 306) Tested by: oej, MVF, revolution (russellb: This was the showstopper for the release.) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100767 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Removing code that wasn't supposed to be there at all, only at an ↵oej1-4/+0
experimental stage before I found another solution. Thanks Kevin, for reminding me. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100741 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Re-inserting chan_vpb into trunk.mmichelson2-0/+2901
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Fix up some T38 state change issues.file1-18/+30
(closes issue #11630) Reported by: dimas Patches: v2-sip-t38state.patch uploaded by dimas (license 88) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100671 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Fix up two scheduling issues. In one instance a scheduled item was not ↵file1-2/+1
deleted when it should have been and in the other it was scheduled again when it shouldn't have been. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100632 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Merged revisions 100629 via svnmerge from russell1-4/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100629 | russell | 2008-01-28 12:34:20 -0600 (Mon, 28 Jan 2008) | 5 lines For some reason, the use of this strdupa() is leading to memory corruption on freebsd sparc64. This trivial workaround fixes it. (closes issue #10300, closes issue #11857, reported by mattias04 and Home-of-the-Brave) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100630 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Merged revisions 100624 via svnmerge from qwell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100624 | qwell | 2008-01-28 12:23:09 -0600 (Mon, 28 Jan 2008) | 1 line Correct a comment which made little/no sense. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100625 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Merged revisions 100581 via svnmerge from russell1-18/+17
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100581 | russell | 2008-01-28 11:15:41 -0600 (Mon, 28 Jan 2008) | 9 lines Make some deadlock related fixes. These bugs were discovered and reported internally at Digium by Steve Pitts. - Fix up chan_local to ensure that the channel lock is held before the local pvt lock. - Don't hold the channel lock when executing the timing function, as it can cause a deadlock when using chan_local. This actually changes the code back to be how it was before the change for issue #10765. But, I added some other locking that I think will prevent the problem reported there, as well. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100582 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Don't do a network byte order conversion when setting the socket's port ↵file1-1/+1
variable to that of bindaddr's. It is already in the correct network byte order. (closes issue #11800) Reported by: hmodes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100549 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-27With the switch to the ast_sched_replace* API in trunk, we lose the correctiontilghman2-25/+16
that was just merged from 1.4, so this is a changeover to those APIs to use the macro versions, so that we properly detect errors from ast_sched_del, instead of simply ignoring the return values. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100497 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-27Merged revisions 100465 via svnmerge from tilghman5-148/+91
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100465 | tilghman | 2008-01-27 15:59:53 -0600 (Sun, 27 Jan 2008) | 11 lines When deleting a task from the scheduler, ignoring the return value could possibly cause memory to be accessed after it is freed, which causes all sorts of random memory corruption. Instead, if a deletion fails, wait a bit and try again (noting that another thread could change our taskid value). (closes issue #11386) Reported by: flujan Patches: 20080124__bug11386.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76, flujan, stuarth` ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100488 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25Removing chan_vpb from the treemmichelson2-2901/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100420 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25Merged revisions 100378 via svnmerge from qwell1-4/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r100378 | qwell | 2008-01-25 15:24:49 -0600 (Fri, 25 Jan 2008) | 2 lines This would have never been true, since we're passing (sizeof(req.data) - 1) as the len to recvfrom(). ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100379 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24Fix simple whitespace issuejamesgolovich1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100266 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24Move chan_local dependency into places (only one) that previously depended ↵qwell1-0/+4
on res_features, and used local channels git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100121 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24Remove dependency on res_features from some channel drivers. It is now part ↵file4-9/+0
of the core and no longer exists as a module. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100112 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24fix flag bit definitions to make code from issue #11049 actually work; along ↵kpfleming1-13/+15
the way, clarify comments and add some dummy flag definitions for other multi-bit flags to hopefully stop this from happening in the future (closes issue #11049) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100057 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23Merged revisions 99978 via svnmerge from oej1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r99978 | oej | 2008-01-23 22:07:16 +0100 (Ons, 23 Jan 2008) | 7 lines Second attempt. Don't change invitestate when receiving 18x messages in CANCEL state. (issue #11736) Reported by: MVF Patch by oej. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99980 f38db490-d61c-443f-a65b-d21fe96a405b