aboutsummaryrefslogtreecommitdiffstats
path: root/channels
AgeCommit message (Collapse)AuthorFilesLines
2007-09-19Merged revisions 83175 via svnmerge from russell1-2/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83175 | russell | 2007-09-19 14:13:29 -0500 (Wed, 19 Sep 2007) | 8 lines When handling a reload of chan_iax2, don't use an ao2_callback() to POKE all peers. Instead, use an iterator. By using an iterator, the peers container is not locked while the POKE is being done. It can cause a deadlock if the peers container is locked because poking a peer will try to lock pvt structs, while there is a lot of other code that will hold a pvt lock when trying to go lock the peers container. (reported to me directly by Loic Didelot. Thank you for the debug info!) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83176 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Replace Google namespace occurrences with Jingle. The former namespacephsultan1-22/+22
is handled by chan_gtalk. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83076 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Remove namespaces in payload-type tags.phsultan1-11/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83072 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Merged revisions 83070 via svnmerge from file1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83070 | file | 2007-09-19 10:18:22 -0300 (Wed, 19 Sep 2007) | 6 lines (closes issue #10760) Reported by: dimas Patches: chan_sip.patch uploaded by dimas (license 88) Read in subscribecontext option in general to be the default. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Transmit proper invitation, thus conforming to XEP-0166 (Jingle generalphsultan1-19/+33
specifications), XEP-0167 (Jingle Audio via RTP) and XEP-0176 (Jingle ICE Transport). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83055 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Merged revisions 83023-83024 via svnmerge from crichter3-5/+19
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83023 | crichter | 2007-09-19 11:31:55 +0200 (Mi, 19 Sep 2007) | 1 line added 'astdtmf' option to allow configuring the asterisk dtmf detector instead of the mISDN_dsp ones. also added the patch from irroot #10190, so that dtmf tones detected by the asterisk detector are passed outofband to asterisk, to make any use of dtmf tones at all. ........ r83024 | crichter | 2007-09-19 11:32:42 +0200 (Mi, 19 Sep 2007) | 1 line removed comment which violates the coding guidelines. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83025 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18(issue #10724)qwell5-627/+747
Reported by: eliel Patches: res_features.c.patch uploaded by eliel (license 64) res_agi.c.patch uploaded by seanbright (license 71) res_musiconhold.c.patch uploaded by seanbright (license 71) pbx.c.patch uploaded by moy (license 222) logger.c.patch uploaded by moy (license 222) frame.c.patch uploaded by moy (license 222) manager.c.patch uploaded by moy (license 222) http.c.patch uploaded by moy (license 222) dnsmgr.c.patch uploaded by moy (license 222) res_realtime.c.patch uploaded by eliel (license 64) res_odbc.c.patch uploaded by seanbright (license 71) res_jabber.c.patch uploaded by eliel (license 64) chan_local.c.patch uploaded by eliel (license 64) chan_agent.c.patch uploaded by eliel (license 64) chan_alsa.c.patch uploaded by eliel (license 64) chan_features.c.patch uploaded by eliel (license 64) chan_sip.c.patch uploaded by eliel (license 64) RollUp.1.patch (includes all of the above patches) uploaded by seanbright (license 71) Convert many CLI commands to the NEW_CLI format. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82930 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18Don't use ast_channel_lock_both() here, it only exists in one of my branches.russell1-2/+4
This is theoretically a potential deadlock, but it's the way it was before so I'm going to leave it this way for now. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82776 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17convert various places that access the channel lock directly to use the ↵russell6-67/+63
channel lock wrappers git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82728 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17Make the MALLOC_DEBUG output for free() useful again. After changing calls torussell3-3/+3
free to be ast_free, astmm said all calls to free were coming from utils.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82628 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14Add support in chan_skinny for sending RTP directly to the endpoints.qwell1-9/+95
Closes issue #9154, patch by DEA git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82401 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14Merged revisions 82394 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82394 | qwell | 2007-09-14 12:48:05 -0500 (Fri, 14 Sep 2007) | 5 lines If a channel does not have an owner, do not try to set a channel variable. This will end up making the channel variable global, which is not right. Closes issue #10720, patch by flefoll. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82395 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14use the standard license header for the xpmr filesrussell5-415/+32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82391 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14Add chan_usbradio to trunkrussell6-0/+7236
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82389 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14Fix DTMF following what has been done in issue #9401. Thanks irroot.phsultan1-5/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82373 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Add setvar support to chan_zap. Just like you can in chan_sip and chan_iax2 ↵file1-0/+28
you can now use it with zaptel channels. (done while in Montreal at the Asterisk bootcamp!) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Modify rule filters to match with the Jingle namespace constantphsultan1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82320 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Changed Jingle and Jingle DTMF namespaces.phsultan1-6/+6
As both specifications are in the Experimental status, the namespaces specified therein shall be of the form "http://www.xmpp.org/extensions/xep-XXXX.html#ns". See the Namespace issuance section in XEP-0053 : http://www.xmpp.org/extensions/xep-0053.html#namespaces git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82314 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Reflect Jingle DTMF specification changesphsultan1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82312 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13Merged revisions 82309 via svnmerge from phsultan1-13/+29
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82309 | phsultan | 2007-09-13 13:47:14 +0200 (Thu, 13 Sep 2007) | 4 lines Closes issue #9401, reported and patched by irrot, with slight modifications by me. Handle DTMF sent by Asterisk properly. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82310 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-12After some discussions, we decided that the return values here were a bit messy.qwell1-3/+3
This also fixes a bug on reload, where peers may not have reregistered properly. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82294 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Fix to make sure we don't hangup a call when getting a RLC without sending ↵mattf1-1/+4
REL. Found making sure we are Q.784 (the SS7 test specification) compliant git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82273 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11(closes issue #9433)file1-1/+6
Reported by: junky Patches: register_trying.diff.txt uploaded by jcmoore Disable sending 100 Trying on REGISTER attempts and make it an option. This has been signed off by oej. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82257 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Merged revisions 82249 via svnmerge from crichter2-5/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82249 | crichter | 2007-09-11 18:01:27 +0200 (Di, 11 Sep 2007) | 1 line fixed a hold/retrieve issue. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82254 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-10Change the IAXPeers command to have manager-style output, instead of ↵tilghman1-18/+22
CLI-style output (closes issue #8254) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82200 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-10(closes issue #10688)file1-6/+7
Reported by: casper Patches: chan_sip.c.82076.diff uploaded by casper (license 55) Remove double check for zombie flag and optimize things a bit. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82077 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06fix the build ... oopsrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81849 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06Merged revisions 81832 via svnmerge from russell1-1/+10
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81832 | russell | 2007-09-06 17:28:57 -0500 (Thu, 06 Sep 2007) | 16 lines (closes issue #9724, closes issue #10374) Reported by: kenw Patches: 9724.txt uploaded by russell (license 2) Tested by: kenw, russell Resolve a deadlock that occurs when doing a SIP transfer to parking. I come across this type of deadlock fairly often it seems. It is very important to mind the boundary between the channel driver and the core in respect to the channel lock and the channel-pvt lock. Channel drivers lock to lock the pvt and then the channel once it calls into the core, while the core will do it in the opposite order. The way this is avoided is by having channel drivers either release their pvt lock while calling into the core, or such as in this case, unlocking the pvt just long enough to acquire the channel lock. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81839 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06Initialize iax_frames variable to NULL, keeps valgrind happy.file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81814 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06(closes issue #10377)file1-31/+235
Reported by: mvanbaak Patches: chan_skinny_info.diff uploaded by mvanbaak (license 7) Add skinny show device, skinny show line, and skinny show settings CLI commands. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81782 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06Merged revisions 81743 via svnmerge from phsultan1-6/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81743 | phsultan | 2007-09-06 18:56:29 +0200 (Thu, 06 Sep 2007) | 1 line Various string length fixes. Removed an unused variable in aji_client structure (context) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81745 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06Patch on 10575. Add support for unequipped CIC (UCIC) message as well as ↵mattf1-0/+18
improve some of our CIC flags in chan_zap git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81742 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-05Doxygen cleanups/fixes.qwell1-5/+6
Closes issue #10654, patch by snuffy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81560 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-05Merged revisions 81523 via svnmerge from qwell1-5/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 (closes issue #10651) ........ r81523 | qwell | 2007-09-05 10:14:30 -0500 (Wed, 05 Sep 2007) | 5 lines Do not try to unregister a NULL channel tech. Also changed load_module function to use defines rather than numbers for return values. Issue 10651, patch by rbraun_proformatique, with additions by me. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81524 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-04Merged revisions 81448 via svnmerge from russell1-12/+12
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81448 | russell | 2007-09-04 13:37:44 -0500 (Tue, 04 Sep 2007) | 4 lines Remove the typedefs on ao2_container and ao2_iterator. This is simply because we don't typedef objects anywhere else in Asterisk, so we might as well make this follow the same convention. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81449 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-04Merged revisions 81442 via svnmerge from kpfleming1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81442 | kpfleming | 2007-09-04 11:40:39 -0500 (Tue, 04 Sep 2007) | 2 lines there is no point in sending 401 Unauthorized to a UAS that sent us a properly-formatted Authentication header with the expected username and nonce but an incorrect response (which indicates the shared secret does not match)... instead, let's send 403 Forbidden so that the UAS doesn't retry with the same authentication credentials repeatedly ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81443 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-04Merged revisions 81439 via svnmerge from file1-15/+18
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81439 | file | 2007-09-04 11:23:18 -0300 (Tue, 04 Sep 2007) | 6 lines (closes issue #10632) Reported by: jamesgolovich Patches: asterisk-iaxfirmwareleak.diff.txt uploaded by jamesgolovich (license 176) Fix memory leak when unloading chan_iax2. The firmware files were not being freed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81440 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-03Merged revisions 81433 via svnmerge from russell1-6/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81433 | russell | 2007-09-03 13:57:53 -0500 (Mon, 03 Sep 2007) | 5 lines Remove a couple of calls to ast_string_field_free_pools() on peers in error handling blocks in the code for building peers. The peer object destructor does this and doing it twice will cause a crash. (closes issue #10625, reported by and patched by pnlarsson) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81434 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-31Merged revisions 81410 via svnmerge from phsultan1-2/+43
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81410 | phsultan | 2007-08-31 19:38:26 +0200 (Fri, 31 Aug 2007) | 3 lines Make the 'gtalk show channels' CLI command available. Closes issue 10548, reported by keepitcool. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81411 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30Add new queryable fields from zaptel to 'zap show status'tilghman1-2/+38
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81400 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30Merged revisions 81395 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81395 | file | 2007-08-30 18:23:50 -0300 (Thu, 30 Aug 2007) | 6 lines (closes issue #10514) Reported by: casper Patches: chan_sip.c.80129.diff uploaded by casper (license 55) Remove needless check for AUTH_UNKNOWN_DOMAIN. It was impossible for it to ever be that value. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81396 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30(closes issue #10565)file1-0/+1
Reported by: tootai Make sure the external IP address has the standard SIP port set for when the user does not specify the port in the externip setting. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81394 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30Merged revisions 81383 via svnmerge from russell1-0/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81383 | russell | 2007-08-30 10:38:29 -0500 (Thu, 30 Aug 2007) | 3 lines Add missing checks for the PTRACING define. (closes issue #10559, paravoid) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81384 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30Merged revisions 81373 via svnmerge from crichter1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81373 | crichter | 2007-08-30 16:43:33 +0200 (Do, 30 Aug 2007) | 1 line Fixed some warnings. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81376 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30Merged revisions 81367 via svnmerge from crichter2-17/+39
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81367 | crichter | 2007-08-30 10:31:59 +0200 (Do, 30 Aug 2007) | 11 lines Fixed a severe issue where a misdn_read would lock the channel, but read would not return because it blocks. later chan_misdn would try to queue a frame like a AST_CONTROL_ANSWER which could result in a deadlock situation. misdn_read will now not block forever anymore, and we don't queue the ANSWER frame at all when we already was called with misdn_answer -> answer would be called twice. Also we don't explicitly send a RELEASE_COMPLETE on receiption of a RELEASE anymore, because mISDN does that for us, this resulted in a problem on some switches, which would block our port after some calls for a short while. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81368 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-29This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I ↵murf4-7/+7
didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-29Changed one too many variable settings in issue #9315 (closes issue #10592)tilghman1-24/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81335 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-29Merged revisions 81331 via svnmerge from file1-7/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81331 | file | 2007-08-29 11:13:55 -0300 (Wed, 29 Aug 2007) | 4 lines (closes issue #9690) Reported by: mattv Make rtp timeouts work even if two RTP streams are directly bridged in the RTP stack. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81332 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-28Merged revisions 81291 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81291 | russell | 2007-08-28 16:38:26 -0500 (Tue, 28 Aug 2007) | 3 lines Change the message about receiving a mini-frame before the first full voice frame to a DEBUG message. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81292 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-27Merged revisions 81120 via svnmerge from mmichelson1-0/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81120 | mmichelson | 2007-08-27 16:08:48 -0500 (Mon, 27 Aug 2007) | 7 lines DTMF begin frames should be ignored so that when an agent acks a call with the '#' key, he doesn't cause a queue's announce file to be interrupted. Also went ahead and did the same for the '*' key and for ending a call. (closes issue #10528, reported by deskhack, patched by me) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81121 f38db490-d61c-443f-a65b-d21fe96a405b