aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_misdn.c
AgeCommit message (Collapse)AuthorFilesLines
2007-11-16Start untangling header inclusion in a way that does not affectrizzo1-4/+0
build times - tested, there is no measureable difference before and after this commit. In this change: use asterisk/compat.h to include a small set of system headers: inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h, stdlib.h, alloca.h, stdio.h Where available, the inclusion is conditional on HAVE_FOO_H as determined by autoconf. Normally, source files should not include any of the above system headers, and instead use either "asterisk.h" or "asterisk/compat.h" which does it better. For the time being I have left alone second-level directories (main/db1-ast, etc.). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89333 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16fixed #10631, about one way audio. thanks IgorG again.crichter1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89321 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16fixed compilation of chan_misdn, #11269, thanks IgorG.crichter1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89319 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Merged revisions 89173 via svnmerge from crichter1-0/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89173 | crichter | 2007-11-12 12:26:48 +0100 (Mo, 12 Nov 2007) | 1 line if we're NT and no number was dialed and overlapdial is set, we wait for the ISDN timeout instead of starting our own timer. added a comment for the misdn.conf.sample for the overlapdial config option. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89179 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Merged revisions 89172 via svnmerge from crichter1-3/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89172 | crichter | 2007-11-12 12:23:57 +0100 (Mo, 12 Nov 2007) | 1 line added restart all interfaces Restart_Indicator, to automatically send a RESTART after the L2 of a PTP Port comes up. Also fixed some places where we have send a RELEASE without need for it. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89178 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Merged revisions 89171 via svnmerge from crichter1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89171 | crichter | 2007-11-12 12:13:13 +0100 (Mo, 12 Nov 2007) | 1 line fixed a state/event issue with overlapdial=yes when no extension matched. removed the general sending of a RELEASE_COMPLETE when we receive a RELEASE, this is done by mISDNuser/mISDN. This makes it possible to use asterisk-1.4 with mISDN trunk, but requires users of mISDN/mISDNuser-1.1.X to upgrade to at least mISDNuser-1.1.6 (when using the NT mode at all) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89176 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-12Merged revisions 89169 via svnmerge from crichter1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89169 | crichter | 2007-11-12 10:45:36 +0100 (Mo, 12 Nov 2007) | 1 line aded ntkeepcalls option, to avoid droÃpping calls when the L2 goes down on a PTP link. There are some pbx which do turn off the L1 for a very short while and restart it immediately. normally T310 should be started and after 10 seconds or so the calls should be dropped, this is a simple fix wihtout this timer. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89174 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29Add autoconf checks for extra suppserv definitions that are not present in ↵file1-0/+8
releases yet. chan_misdn should now build against the latest release. (closes issue #11103) Reported by: IgorG git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87325 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former ↵qwell1-21/+21
didn't make much sense git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86820 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22Merged revisions 86598 via svnmerge from crichter1-4/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r86598 | crichter | 2007-10-22 11:21:15 +0200 (Mo, 22 Okt 2007) | 1 line we send DISCONNECT instead of RELEASE/RELEASE_COMPLETE if the dialplan does not match after an overlap call. Also added out_cause=1 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86617 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22started to add some basic support for supplementary services like ↵crichter1-71/+131
CallForwarding and so forth git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86616 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-19Convert NEW_CLI to AST_CLI.qwell1-21/+21
Closes issue #11039, as suggested by seanbright. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86536 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-19More changes to NEW_CLI.qwell1-306/+494
Also fixes a few cli messages and some minor formatting. (closes issue #11001) Reported by: seanbright Patches: newcli.1.patch uploaded by seanbright (license 71) newcli.2.patch uploaded by seanbright (license 71) newcli.4.patch uploaded by seanbright (license 71) newcli.5.patch uploaded by seanbright (license 71) newcli.6.patch uploaded by seanbright (license 71) newcli.7.patch uploaded by seanbright (license 71) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86534 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-09Remove redundant includes (patch by snuffy) (Closes issue #10922)tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85140 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Corydon posted this janitor project to the bug tracker and mvanbaak providedrussell1-1/+1
a patch for it. It replaces a bunch of simple calls to snprintf with ast_copy_string (closes issue #10843) Reported by: Corydon76 Patches: 2007092900_10843.diff uploaded by mvanbaak (license 7) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84173 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21Merged revisions 83432 via svnmerge from russell1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83432 | russell | 2007-09-21 09:37:20 -0500 (Fri, 21 Sep 2007) | 4 lines gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of changes gets all of Asterisk (minus chan_alsa for now) to compile with gcc 4.2. (closes issue #10774, patch from qwell) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83433 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19Merged revisions 83023-83024 via svnmerge from crichter1-5/+14
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-11Merged revisions 82249 via svnmerge from crichter1-4/+6
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-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 crichter1-14/+37
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-17Merged revisions 79833 via svnmerge from crichter1-1/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79833 | crichter | 2007-08-17 10:22:36 +0200 (Fr, 17 Aug 2007) | 1 line sometimes we don't need to signal dtmf tones to asterisk, we just want them to go through as inband. Otherwise they might be generated by the other channel partner and then there is a double tone. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79841 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16Don't reload a configuration file if nothing has changed.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79747 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-15Merged revisions 78936 via svnmerge from crichter1-0/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r78936 | crichter | 2007-08-10 15:24:03 +0200 (Fr, 10 Aug 2007) | 1 line fixed a bug with the useruser information element. We send them now also in the disconnect message. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79507 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-13Merged revisions 79174 via svnmerge from file1-7/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79174 | file | 2007-08-13 11:18:04 -0300 (Mon, 13 Aug 2007) | 4 lines (closes issue #10437) Reported by: haklin Don't set the callerid name and number a second time on a newly created channel. ast_channel_alloc itself already sets it and setting it twice would cause a memory leak. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79175 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-08Add support for using epoll instead of poll. This should increase ↵file1-1/+1
scalability and is done in such a way that we should be able to add support for other poll() replacements. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78683 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26Do a massive conversion for using the ast_verb() macrorussell1-5/+3
(closes issue #10277, patches by mvanbaak) Basically, this changes ... if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3, "Something\n"); to ... ast_verb(3, "Something\n"); git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77299 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05added general Jitterbuffer Implementation. #9960crichter1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73298 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-04Merged revisions 73208 via svnmerge from crichter1-1/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r73208 | crichter | 2007-07-04 10:27:44 +0200 (Mi, 04 Jul 2007) | 9 lines Merged revisions 73207 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r73207 | crichter | 2007-07-04 10:20:54 +0200 (Mi, 04 Jul 2007) | 1 line bad bug in overlapdial case, we called start_pbx multiple times, because the state wasn't changed.. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73209 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03Merged revisions 73005 via svnmerge from crichter1-5/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r73005 | crichter | 2007-07-03 10:17:06 +0200 (Di, 03 Jul 2007) | 9 lines Merged revisions 73004 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r73004 | crichter | 2007-07-03 10:04:35 +0200 (Di, 03 Jul 2007) | 1 line fixed issue, that misdn_l2l1_check could only be called from mISDN Source channels.. #9449 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73006 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Merged revisions 72852 via svnmerge from crichter1-51/+64
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72852 | crichter | 2007-07-02 10:41:08 +0200 (Mo, 02 Jul 2007) | 9 lines Merged revisions 72585 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72585 | crichter | 2007-06-29 15:08:26 +0200 (Fr, 29 Jun 2007) | 1 line check if the bchannel stack id is already used, if so don't use it a second time. Also added a release_chan lock, so that the same chan_list object cannot be freed twice. chan_misdn does not crash anymore on heavy load with these changes. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Merged revisions 72851 via svnmerge from crichter1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r72851 | crichter | 2007-07-02 10:27:19 +0200 (Mo, 02 Jul 2007) | 9 lines Merged revisions 72099 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72099 | crichter | 2007-06-27 15:22:37 +0200 (Mi, 27 Jun 2007) | 1 line simplified generation for dummy bchannels, also we mark them as dummies, so they are not used later as real-bchannels, optimized the RESTART mechanisms, we block a channel now on cause:44, and send out a RESTART automatically, then on reception of RESTART_ACKNOWLEDGE we unblock the channel again. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72868 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71214 via svnmerge from crichter1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71214 | crichter | 2007-06-23 00:44:42 +0200 (Sa, 23 Jun 2007) | 9 lines Merged revisions 70341 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70341 | crichter | 2007-06-20 17:29:09 +0200 (Mi, 20 Jun 2007) | 1 line fixed a bug that was introduced by copy and paste in the last commit ..bchannels weren't cleaned properly. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71500 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71123 via svnmerge from crichter1-1/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71123 | crichter | 2007-06-22 17:38:08 +0200 (Fr, 22 Jun 2007) | 9 lines Merged revisions 70672 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70672 | crichter | 2007-06-21 15:11:29 +0200 (Do, 21 Jun 2007) | 1 line we activate the bchannels in TE mode on incoming calls only when we want to connect the call. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71499 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71121 via svnmerge from crichter1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71121 | crichter | 2007-06-22 17:32:54 +0200 (Fr, 22 Jun 2007) | 9 lines Merged revisions 70311 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70311 | crichter | 2007-06-20 16:47:59 +0200 (Mi, 20 Jun 2007) | 1 line on receiption of cause:44 we mark the channel as in use and inform the user about the situation, we need to test the RESTART stuff then. Also shuffled the empty_chan_in_stack function after the bchannel cleaning functions, to avoid race conditions. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71497 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71120 via svnmerge from crichter1-2/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71120 | crichter | 2007-06-22 17:30:08 +0200 (Fr, 22 Jun 2007) | 9 lines Merged revisions 69887 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r69887 | crichter | 2007-06-19 15:23:04 +0200 (Di, 19 Jun 2007) | 1 line when we send out a SETUP, but get no response, we should cleanup everything after reception of a hangup. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71496 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71106 via svnmerge from crichter1-4/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71106 | crichter | 2007-06-22 17:22:06 +0200 (Fr, 22 Jun 2007) | 9 lines Merged revisions 68887 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68887 | crichter | 2007-06-12 10:35:22 +0200 (Di, 12 Jun 2007) | 1 line if the bridged partner is mISDN too we should not send dtmf tones, they are transmitted inband always ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71476 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Merged revisions 71096 via svnmerge from crichter1-7/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r71096 | crichter | 2007-06-22 17:17:04 +0200 (Fr, 22 Jun 2007) | 9 lines Merged revisions 68874 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68874 | crichter | 2007-06-12 09:48:52 +0200 (Di, 12 Jun 2007) | 1 line if we have already some digits, we just stop the tones. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71475 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14Convert uses of strdup() to ast_strdup()russell1-12/+12
(issue #9983, eliel) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69436 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14Add a massive set of changes for converting to use the ast_debug() macro.russell1-14/+8
(issue #9957, patches from mvanbaak, caio1982, critch, and dimas) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-11Merged revisions 68733 via svnmerge from crichter1-1/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r68733 | crichter | 2007-06-11 18:57:59 +0200 (Mo, 11 Jun 2007) | 9 lines Merged revisions 68732 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68732 | crichter | 2007-06-11 18:49:00 +0200 (Mo, 11 Jun 2007) | 1 line added check for NULL Pointer when calling misdn_new. Asterisk does not allow us to create channels anymore when stop gracefully is used :). also modified the restart_indicator to 0 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68740 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-11Merged revisions 68644 via svnmerge from crichter1-1/+23
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r68644 | crichter | 2007-06-11 12:29:18 +0200 (Mo, 11 Jun 2007) | 9 lines Merged revisions 68631 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r68631 | crichter | 2007-06-11 11:18:01 +0200 (Mo, 11 Jun 2007) | 1 line fixed problem that the dummybc chanels had no lock, checking for the lock now. Also fixed the channel restart stuff, we can now specify and restart particular channels too. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68661 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-09Fix compile errors in chan_misdn.cqwell1-9/+5
Reported by d1mas in #asterisk-bugs on IRC. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68575 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06Issue 9869 - replace malloc and memset with ast_calloc, and other coding ↵tilghman1-1883/+1722
guidelines changes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05Merged revisions 67329 via svnmerge from crichter1-161/+151
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r67329 | crichter | 2007-06-05 18:11:57 +0200 (Di, 05 Jun 2007) | 9 lines Merged revisions 67306 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r67306 | crichter | 2007-06-05 17:39:43 +0200 (Di, 05 Jun 2007) | 1 line simplified the EVENT_SETUP handling in the cb_events function a lot. Commented the different possibilities a bit and made functions of shared code. When the dialed extension does not exist in the extensions.conf we'll jump into the 'i' extension if this does exist, else we disconnect the call with the cause:1 = No Route to Destination. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67345 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05Merged revisions 67210 via svnmerge from crichter1-0/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r67210 | crichter | 2007-06-05 12:25:32 +0200 (Di, 05 Jun 2007) | 9 lines Merged revisions 67209 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r67209 | crichter | 2007-06-05 12:05:45 +0200 (Di, 05 Jun 2007) | 1 line added possibility to deactivate bridging per port ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67240 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24Merged revisions 65768 via svnmerge from crichter1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r65768 | crichter | 2007-05-24 11:37:32 +0200 (Do, 24 Mai 2007) | 9 lines Merged revisions 65767 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r65767 | crichter | 2007-05-24 11:19:58 +0200 (Do, 24 Mai 2007) | 1 line we should only activate the generator in chan_misdn, when asterisk hask not yet taken the call (WAITING4DIGS state). Alerting audio will be generated fomr asterisk for example. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65769 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22Merged revisions 65342 via svnmerge from crichter1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r65342 | crichter | 2007-05-22 10:12:20 +0200 (Di, 22 Mai 2007) | 9 lines Merged revisions 65328 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r65328 | crichter | 2007-05-22 09:46:39 +0200 (Di, 22 Mai 2007) | 1 line we stop the tones only when we're in the pre-call phase, otherwise e.g. when in CONNECTED state we should not stop tones when we receive an Information Message ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65343 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-18Merged revisions 64904 via svnmerge from crichter1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r64904 | crichter | 2007-05-18 10:58:51 +0200 (Fr, 18 Mai 2007) | 9 lines Merged revisions 64902 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r64902 | crichter | 2007-05-18 10:24:08 +0200 (Fr, 18 Mai 2007) | 1 line we *need* to send a PROCEEDING when sending_complete is set, even if need_more_infos is requested. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65006 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-18Merged revisions 64515 via svnmerge from crichter1-10/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r64515 | crichter | 2007-05-16 10:44:51 +0200 (Mi, 16 Mai 2007) | 9 lines Merged revisions 64513 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r64513 | crichter | 2007-05-16 10:23:42 +0200 (Mi, 16 Mai 2007) | 1 line in the case immediate=yes, we directly jump into the dialplan, where people can use PlayTones to indicate a Dialtone, so we don't need to to that by ourself. also we should not do a dialtone_indicate for incoming calls on a TE port in overlapdialmode. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64963 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-18Merged revisions 63534 via svnmerge from crichter1-16/+144
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r63534 | crichter | 2007-05-09 15:17:10 +0200 (Mi, 09 Mai 2007) | 17 lines Merged revisions 62945,63402,63519 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r62945 | crichter | 2007-05-03 17:39:21 +0200 (Do, 03 Mai 2007) | 1 line when we're in state WAITING4DIGS, we use the asterisk tone-generator which prods us, so we can't just return -1 in misdn_write in this case. Added a MISDN_KEYPAD channel variable, and fixed the sending of keypad. this enables us to modify the call forward parameters in the switch. ........ r63402 | crichter | 2007-05-08 17:07:37 +0200 (Di, 08 Mai 2007) | 1 line added application misdn_check_l2l1 which tries to pull up the L1/L2 on all ports that have the layers down in a group. It waits then for a timeout. This helps for scenarios where multiple PMP BRIs are grouped together, or where a provider has a faulty PTP Implementation, that looses the L2 after a while. ........ r63519 | crichter | 2007-05-09 13:26:16 +0200 (Mi, 09 Mai 2007) | 1 line release_chan frees ch, so we should never touch ch after release_chan, this may cause segfaults. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64957 f38db490-d61c-443f-a65b-d21fe96a405b