aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn
AgeCommit message (Collapse)AuthorFilesLines
2007-07-04Merged revisions 73252 via svnmerge from crichter1-0/+20
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r73252 | crichter | 2007-07-04 16:50:58 +0200 (Mi, 04 Jul 2007) | 1 line bchannel configurations like echocancel and volume control, need to be setuped on inbound calls too. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73253 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Merged revisions 72585 via svnmerge from crichter1-2/+11
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/branches/1.4@72852 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Merged revisions 72099 via svnmerge from crichter3-32/+36
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/branches/1.4@72851 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02Merged revisions 72087 via svnmerge from crichter2-99/+68
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72087 | crichter | 2007-06-27 11:26:53 +0200 (Mi, 27 Jun 2007) | 1 line simplified channel finding and locking a lot. removed unnecessary #ifdefed areas. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72850 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27Merged revisions 72040-72041 via svnmerge from crichter1-45/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r72040 | crichter | 2007-06-27 09:49:27 +0200 (Mi, 27 Jun 2007) | 1 line for inbound TE calls, we setup the bchannel when we get the CONNECT_ACKNOWLEDGE, to make sure mISDN has everything ready. removed some #if 0 areas which weren't used anymore. ........ r72041 | crichter | 2007-06-27 09:54:30 +0200 (Mi, 27 Jun 2007) | 1 line isdn_lib.c didn't compile ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72042 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 70341 via svnmerge from crichter2-12/+29
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/branches/1.4@71214 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 70672 via svnmerge from crichter1-0/+2
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/branches/1.4@71123 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 70342 via svnmerge from crichter1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70342 | crichter | 2007-06-20 17:42:39 +0200 (Mi, 20 Jun 2007) | 1 line forgot one place .. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71122 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 70311 via svnmerge from crichter2-22/+50
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/branches/1.4@71121 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 69053 via svnmerge from crichter1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r69053 | crichter | 2007-06-13 11:55:54 +0200 (Mi, 13 Jun 2007) | 1 line restart indicator 0x80 is correct, at least that's what libpri does. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71118 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-11Merged revisions 68732 via svnmerge from crichter1-1/+1
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/branches/1.4@68733 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-11Merged revisions 68631 via svnmerge from crichter4-9/+35
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/branches/1.4@68644 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05Merged revisions 67307 via svnmerge from crichter1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r67307 | crichter | 2007-06-05 17:42:03 +0200 (Di, 05 Jun 2007) | 1 line briding is a bool, fixed copy and paste issue. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67334 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05Merged revisions 67209 via svnmerge from crichter1-0/+1
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/branches/1.4@67210 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-18Merged revisions 65007 via svnmerge from crichter2-7/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r65007 | crichter | 2007-05-18 13:23:11 +0200 (Fr, 18 Mai 2007) | 1 line fixed a warning regarding Keypad encoding. encode the IE sending_complete at the right position. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65039 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-09Merged revisions 62945,63402,63519 via svnmerge from crichter2-4/+4
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/branches/1.4@63534 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-03Merged revisions 61357,61770,62885 via svnmerge from crichter5-43/+78
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61357 | crichter | 2007-04-11 14:05:57 +0200 (Mi, 11 Apr 2007) | 1 line some fixes for PMP Hold/Retrieve, it should work now, when briding=no ........ r61770 | crichter | 2007-04-24 15:50:05 +0200 (Di, 24 Apr 2007) | 1 line added lock for sending messages to avoid double sending. shuffled some empty_chans after the cb_event calls, this avoids that a release_complete from a quite different call releases a fresh created setup by accident. ........ r62885 | crichter | 2007-05-03 15:59:00 +0200 (Do, 03 Mai 2007) | 1 line fixed the problem that misdn_write did not return -1 when called with 0 samples in a frame this resultet in a deadlock in some circumstances, when the call ended because of a busy extension. added encoding of keypad. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@62912 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03Merged revisions 59788,59803 via svnmerge from nadi1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59788 | nadi | 2007-04-03 11:37:00 +0200 (Di, 03 Apr 2007) | 2 lines Use the new sysfs way of mISDN 1.2 to check if a port is NT or not. ........ r59803 | nadi | 2007-04-03 12:40:58 +0200 (Di, 03 Apr 2007) | 2 lines ptp is the 5th bit, not the 4th. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59804 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03Merged revisions 59623-59624,59639 via svnmerge from crichter2-2/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59623 | crichter | 2007-04-02 09:12:24 +0200 (Mo, 02 Apr 2007) | 1 line we can now make 30 channels on a PRI (before we forgot chan 31..) ........ r59624 | crichter | 2007-04-02 09:25:54 +0200 (Mo, 02 Apr 2007) | 1 line don't be verbose if no need ........ r59639 | crichter | 2007-04-02 14:08:12 +0200 (Mo, 02 Apr 2007) | 1 line added option which allows us to accept incoming SETUP Messages without automatically sending Proceeding or Setup Acknowledge, this is useful with some broken switches and if you want to Release incoming calls without previously having acknowledged them. The new option is noautorespond_on_setup=yes|no default is no, so we don't break the existing behaviour ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59774 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26* mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, ↵nadi4-19/+34
make chan_misdn use it. * add a check for linux/mISDNdsp.h to configure.ac and update the autogenerated files: 'configure', 'autoconfig.h.in' (the 'configure' script was not in sync with the latest configure.ac, so the diff is a bit bigger than expected). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59202 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-20Merged revisions 58849-58850,59062-59063 via svnmerge from crichter3-31/+57
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r58849 | crichter | 2007-03-13 12:58:16 +0100 (Di, 13 Mär 2007) | 1 line added method standard_dec for dialing out on groups, to avoid conflicts, which caused issues with some ISDN providers ........ r58850 | crichter | 2007-03-13 13:58:32 +0100 (Di, 13 Mär 2007) | 1 line fixed the crypt_keys stuff ........ r59062 | crichter | 2007-03-20 10:18:06 +0100 (Di, 20 Mär 2007) | 1 line avoid sending a disconnect when we already received one. ........ r59063 | crichter | 2007-03-20 10:23:22 +0100 (Di, 20 Mär 2007) | 1 line modified a loglevel ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59064 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-12Merged revisions 57034,57523,57753,58558 via svnmerge from crichter1-1/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r57034 | crichter | 2007-02-28 17:09:27 +0100 (Mi, 28 Feb 2007) | 1 line fixed bugs.digium.com bugs: #9157 and bugs.beronet.com bugs: #302, #303, #304 ........ r57523 | crichter | 2007-03-02 19:32:51 +0100 (Fr, 02 Mar 2007) | 1 line fixed typo ........ r57753 | crichter | 2007-03-04 11:39:50 +0100 (So, 04 Mar 2007) | 1 line fixed another place where the out_cause was hardcoded to 16 ........ r58558 | crichter | 2007-03-09 15:43:58 +0100 (Fr, 09 Mar 2007) | 1 line we can free channel 31 as well, since we can occupy it ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58826 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-12added UU transceiving and corect handling for rdniscrichter4-3/+26
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58825 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Merged revisions 52843 via svnmerge from crichter1-34/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r52843 | crichter | 2007-01-30 15:38:08 +0100 (Di, 30 Jan 2007) | 1 line fixed some possible segfaults. also fixed an very important bug which occurs on high load (when calls are very fast generated) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53324 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23Merged revisions 50495,50506 via svnmerge from crichter2-4/+23
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r50495 | crichter | 2007-01-11 14:27:52 +0100 (Do, 11 Jan 2007) | 6 lines * more additions to make the RESTART message work * added fix for misdn_call to allow SETUPs with empty extensions, replaced the strtok_r functions with strsep for that (inspired by Sandro Cappellazzo, thanks) ........ r50506 | crichter | 2007-01-11 15:45:38 +0100 (Do, 11 Jan 2007) | 1 line when we get L2 UP, the L1 is UP definitely too, so we set the L1 state up as well. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51649 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-23manually merged r49922 and r50335, because of conflicts. this commint ↵crichter2-0/+26
includes addition of the ISDN RESTART Message git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51648 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-03Merged revisions 48319,48321,48467,48552,48576,49135,49303 via svnmerge from crichter4-53/+83
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48319 | crichter | 2006-12-06 15:35:25 +0100 (Mi, 06 Dez 2006) | 1 line changed a few debugs to higher debug levels ........ r48321 | crichter | 2006-12-06 16:48:45 +0100 (Mi, 06 Dez 2006) | 1 line added the export and import of the MISDN_ADDRESS_COMPLETE Variable to inidcate wether the extension is already completely dialed or if there might come additional digits by information elements. also added some docs for that. ........ r48467 | crichter | 2006-12-14 14:03:49 +0100 (Do, 14 Dez 2006) | 1 line removed FIXUP state. added check for channel allocation conflict when we create a setup while the other site creates a setup on the same channel, besides the check we resolve this conflict. ........ r48552 | crichter | 2006-12-18 11:19:39 +0100 (Mo, 18 Dez 2006) | 1 line when our PTP Partner sends us a SETUP with a preselected channel we just accept it, even when we're NT. added some checks for segfaults. ........ r48576 | crichter | 2006-12-19 14:08:51 +0100 (Di, 19 Dez 2006) | 1 line when we reject a channel, because it's in use already, we shouldn't process the setup anymore. made the channel allocation a bit easier and more understandable, removed a few unused lines ........ r49135 | crichter | 2007-01-02 11:07:22 +0100 (Di, 02 Jan 2007) | 1 line added check for channel ranges in the set/empty channel functions. set pmp_l1_check default to no. added misdn restart pid cli command. added cleaning of channel when we send a RELEASE_COMPLETE. ........ r49303 | crichter | 2007-01-03 09:24:00 +0100 (Mi, 03 Jan 2007) | 9 lines * Added check for bridging in misdn_call to avoid setting echocancellation when 2 mISDN channels are involved and when bridging is set. That lead to a kernel panic before under different situations, because we switched about 2 times between hardware bridging and echocancelation * readded MISDN_URATE variable which got lost before, this should make app_v110 work again * fixed typo ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49313 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-24Merged revisions 47968 via svnmerge from crichter1-18/+16
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r47968 | crichter | 2006-11-23 17:10:23 +0100 (Do, 23 Nov 2006) | 1 line fixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some loglevels. changed the default value of block_on_alarm ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15silence compiler warning on 64-bit platforms (this variable is an 'int' ↵kpfleming1-1/+1
anyway, comparing it to 'signed long' is not useful) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47635 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02find_free_chan_in_stack usage fixnadi1-16/+12
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46963 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27Merged revisions 46350 via svnmerge from crichter3-30/+30
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r46350 | crichter | 2006-10-27 11:24:01 +0200 (Fr, 27 Okt 2006) | 1 line fixed a bug which caused chan_misdn to try to allocate 2 times the same channel on high load, which then caused instability of mISDN. removed a useless function from isdn_lib.c ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46353 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27Merged revisions 46176 via svnmerge from crichter1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r46176 | crichter | 2006-10-25 10:41:59 +0200 (Mi, 25 Okt 2006) | 1 line added nttimeout option to configure wether we disconnect calls on NT timeouts or not during an overlapdial session ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46351 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13Merged revisions 45020 via svnmerge from crichter1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r45020 | crichter | 2006-10-13 15:11:13 +0200 (Fr, 13 Okt 2006) | 1 line fixed some echocandisable issues when bridged. this caused a kernel panic sometimes..also some minor formatting fixes ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45026 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13Merged revisions 44993 via svnmerge from crichter1-5/+12
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44993 | crichter | 2006-10-13 09:40:07 +0200 (Fr, 13 Okt 2006) | 1 line fixed issue, that the hangupcause got a wrong isdn cause at RELEASE_COMPLETE ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44994 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-11removed warning because of missing prototype declarationcrichter1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44854 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-10Merged revisions 44785 via svnmerge from crichter1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44785 | crichter | 2006-10-10 15:34:33 +0200 (Di, 10 Okt 2006) | 1 line (re)added support of dynamical enabling hdlc on bchannels ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44786 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06Merged revisions 44334 via svnmerge from crichter3-22/+71
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44334 | crichter | 2006-10-04 17:13:58 +0200 (Mi, 04 Okt 2006) | 1 line added the option 'reject_cause' to make it possible to set the RELEASE_COMPLETE - cause on the 3. incoming PMP channel, which is automatically rejected because chan_misdn does not support that kind of callwaiting. Therefore chan_misdn supports now 3 incoming channels on a PMP BRI Port. misdn_lib_get_free_bc now gets the info if the requested channel is incoming or outgoing to make the 3. channel possible ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06Merged revisions 44149 via svnmerge from crichter2-25/+59
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44149 | crichter | 2006-10-02 15:28:14 +0200 (Mo, 02 Okt 2006) | 1 line fixed the hold/retrieve/transfer issues, removed a useless bc field, added setting of frame.delivery fields, some minor code cleanups ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44559 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Merged revisions 43764 via svnmerge from crichter2-18/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r43764 | crichter | 2006-09-27 14:51:03 +0200 (Mi, 27 Sep 2006) | 1 line fixed a bug which led to chan_list zombies, when the call could not be properly established in misdn_call. also removed the ACK_HDLC stuff which is not really needed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43852 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming6-176/+205
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16adding support for AOCD facility messages.nadi3-10/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39987 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15removed libbnec dependencies.crichter2-55/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39864 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15moved the asn1 and facility portions of code to mISDNuser, so removing the ↵nadi9-611/+65
files here. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39807 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-09fixing compile warnings, renaming config option "overlap_dial" to "overlapdial"nadi6-56/+56
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08* first bits of decoding facility information elementsnadi9-283/+528
* fail on misdn_cfg_init() if elements in the config enum don't match with the config structs in misdn_config.c * implemented first bits for encoding ISDN facility information elements via ASN.1 descriptions * using unnamed semaphore for syncing in misdn_thread * advanced fax detection: configurable detect timeout and context to jump into git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08* added possibility to change echocancel settings during callscrichter4-148/+162
* removed the holded element from the chan_list struct, we know this from the state already * added a few tweaks to make HOLD/RETRIEVE work again (TRANSFER does not work yet) * added possibility to debug mISDN frames via syslog * added misdn_lib_port_is_blocked function to check if a port is blocked * removed ec_training=1 from empty_bc, we don't use ec_training anymore * removed unused misdn_lib_get_l2_status function * added the nt bit to dummy misdn_bchannel objects * setting bc->out_fac_type to FACILITY_NONE defaultly * removed HANDLER_DEBUG stuff for better readability git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39295 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-07changed naming of mISDN channels, so that hinting works propercrichter2-0/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39131 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-03* removed pp_l2_check (fixed L2 bug in mISDNuser)crichter6-146/+325
* added blocking flag to stack object. A port can be blocked/unblocked from the cli * added EVENT_PORT_ALARM to send alarm infos to the chan_misdn.c layer (later we can add a manager event for that) * added block_on_alarm option, to block the port whenever a ALARM occurs * added need_busy flag to indicate if we've sended a CONTROL_BUSY already * changed a bunch of cb_log(-1,..) to cb_log(0,..) due to funny behaviour in recent asterisk ast_log messages.. * fixed a few ETSI state violations, especially when finishing calls in different seldom states * changed debug levels a lot to make the log more readable in low debuglevels * some first fixes for the HOLD/RETRIEVE stuff (doesn't work totally still) * removed the PRECONNECTED state stuff * added cause 27 when we get a CLEANUP directly after a outgoing SETUP, this creates a CHANISUNAVAIL instead of a NOANSWER * removed the addr pointer from "misdn show stacks" that's not needed anymore and makes the output more unreadable * added cause saving on RELEASE/RELEASE_COMPLETE * set cause to 16 on prepare_bc * removed stack getting from ph_control functions, we don't really need it there * added beroec api git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38801 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-13added even more statefulness for sending out ↵crichter2-0/+4
disconnect/release/release_complete messages. added support for incoming presentation/screening. fixed a bug that we generate TONE_EVENTS on hanguptone_indicatem, which caused asterisk to write blocking thread messages. added nodialtone option to prevent dialtone for always_immediate git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37508 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-11* Introducing a new way for the l1watcher thread using the ast_sched way. ↵crichter3-60/+27
Now l1watcher timeouts can be configured separately for every portgroup. * added a signal handler to allow waking up the misdn task thread (that may sleep in a poll call) via misdn_tasks_wakeup(). * overlap_dial functionality implemented. * fixes a bug which leads to a segfault after reordering config elements in the enum or struct git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37382 f38db490-d61c-443f-a65b-d21fe96a405b