[asterisk-r2] Problems with an Asterisk PBX connected with a NEC PBX via E1-R2

Oscar Rocha orochamty at hotmail.com
Mon Jul 1 11:24:34 CDT 2013


Hi everyone,

I have problems with a Xorcom PBX connected to a NEC PBX using an E1 with R2 signaling. I am writing this mail to request for help on a topic related to OpenR2, The scenario is: Xorcom is working like a gateway, I mean, users dial in NEC PBX a number, the call is sent to a Xorcom via E1 and the Xorcom dial the number using SIP trunks, all that work, the problem is that  sometimes when a number is dialed in NEC, the Xorcom receives repeated digits, for example, in NEC dial 01 238 345 7654 and Xorcom receives 01 233 834 5765 or some other combination and this number is dialed through SIP trunks but is an error, this is happened frequently. We put a protocol analyzer between 2 devices and saw that for example the NEC sends 01 238 345 7654 but suddennly Xorcom adds a digit, apparently because the NEC does not respond fast the ACK and then Xorcom repeat the previous tone received, the question is: can I change the "times" in Xorcom side for "delay" to give to NEC opportunity to respond? How can I resolve this? The elastix version is 2.2.0, asterisk 1.8, Dahdi 2.5.0.2 and OpenR2 1.3.1.

I attach the "dahdi_channels.conf" file. Next, the output console for a call, the number dialed from the NEC is 017797969220 and marked as 017797969922 in Xorcom:

[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Bits changed from 0x08 to 0x00
[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - CAS Rx << [SEIZE] 0x00
[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Call started at Wed Jun 26 17:51:50 2013 on chan 5 [openr2 version 1.3.1, revision exported]
[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Initialized R2 MF detector
[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - CAS Tx >> [SEIZE ACK] 0x0C
[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - CAS Raw Tx >> 0x0D
New MFC/R2 call detected on chan 5.
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 0 [ON]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 0
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0, expected length: 13
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 0 [OFF]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 1 [ON]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 1
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 01, expected length: 13
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 1 [OFF]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 7 [ON]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 7
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017, expected length: 13
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 7 [OFF]
[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 7 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 7
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0177, expected length: 13
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 7 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 9 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 01779, expected length: 13
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 9 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 7 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 7
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017797, expected length: 13
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 7 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 9 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0177979, expected length: 13
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 9 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 6 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 6
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 01779796, expected length: 13
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 6 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 9 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017797969, expected length: 13
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 9 [OFF]
[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 9 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0177979699, expected length: 13
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 9 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 2 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 2
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 01779796992, expected length: 13
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 2 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 2 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 2
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017797969922, expected length: 13
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - User requested us to stop getting DNIS!
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 6 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 2 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 6 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 2 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 2 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << F [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Got end of ANI
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting change to Group II with signal 0x33
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 3 [ON]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << F [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 3 [OFF]
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 2 [ON]
MFC/R2 call offered on chan 5. ANI = , DNIS = 017797969922, Category = National Priority Subscriber
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:3957 dahdi_r2_on_call_offered: Accepting MFC/R2 call with charge on chan 5
[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [ON]
[Jun 26 17:51:54] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx << 2 [OFF]
[Jun 26 17:51:54] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx >> 1 [OFF]
[Jun 26 17:51:54] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - calling timer 17 (r2_answer_delay) callback
MFC/R2 call has been accepted on backward channel 5
    -- Executing [017797969922 at from-internal:1] Macro("DAHDI/5-1", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s at macro-user-callerid:1] Set("DAHDI/5-1", "AMPUSER=") in new stack
    -- Executing [s at macro-user-callerid:2] GotoIf("DAHDI/5-1", "0?report") in new stack
    -- Executing [s at macro-user-callerid:3] ExecIf("DAHDI/5-1", "1?Set(REALCALLERIDNUM=)") in new stack
    -- Executing [s at macro-user-callerid:4] Set("DAHDI/5-1", "AMPUSER=") in new stack
    -- Executing [s at macro-user-callerid:5] Set("DAHDI/5-1", "AMPUSERCIDNAME=") in new stack
    -- Executing [s at macro-user-callerid:6] GotoIf("DAHDI/5-1", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s at macro-user-callerid:10] GotoIf("DAHDI/5-1", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s at macro-user-callerid:19] Set("DAHDI/5-1", "CALLERID(number)=") in new stack
    -- Executing [s at macro-user-callerid:20] Set("DAHDI/5-1", "CALLERID(name)=") in new stack
    -- Executing [s at macro-user-callerid:21] NoOp("DAHDI/5-1", "Using CallerID "" <>") in new stack
    -- Executing [017797969922 at from-internal:2] NoOp("DAHDI/5-1", "Calling Out Route: LDNacional") in new stack
    -- Executing [017797969922 at from-internal:3] Set("DAHDI/5-1", "MOHCLASS=default") in new stack
    -- Executing [017797969922 at from-internal:4] Set("DAHDI/5-1", "_NODEST=") in new stack
    -- Executing [017797969922 at from-internal:5] Macro("DAHDI/5-1", "record-enable,,OUT,") in new stack
    -- Executing [s at macro-record-enable:1] GotoIf("DAHDI/5-1", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s at macro-record-enable:4] ExecIf("DAHDI/5-1", "1?MacroExit()") in new stack
    -- Executing [017797969922 at from-internal:6] Macro("DAHDI/5-1", "dialout-trunk,2,017797969922,") in new stack
    -- Executing [s at macro-dialout-trunk:1] Set("DAHDI/5-1", "DIAL_TRUNK=2") in new stack
    -- Executing [s at macro-dialout-trunk:2] GosubIf("DAHDI/5-1", "0?sub-pincheck,s,1") in new stack
    -- Executing [s at macro-dialout-trunk:3] GotoIf("DAHDI/5-1", "0?disabletrunk,1") in new stack
    -- Executing [s at macro-dialout-trunk:4] Set("DAHDI/5-1", "DIAL_NUMBER=017797969922") in new stack
    -- Executing [s at macro-dialout-trunk:5] Set("DAHDI/5-1", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s at macro-dialout-trunk:6] Set("DAHDI/5-1", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s at macro-dialout-trunk:7] GotoIf("DAHDI/5-1", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s at macro-dialout-trunk:9] GotoIf("DAHDI/5-1", "0?skipoutcid") in new stack
    -- Executing [s at macro-dialout-trunk:10] Set("DAHDI/5-1", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s at macro-dialout-trunk:11] Macro("DAHDI/5-1", "outbound-callerid,2") in new stack
    -- Executing [s at macro-outbound-callerid:1] ExecIf("DAHDI/5-1", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s at macro-outbound-callerid:2] ExecIf("DAHDI/5-1", "1?Set(REALCALLERIDNUM=)") in new stack
    -- Executing [s at macro-outbound-callerid:3] GotoIf("DAHDI/5-1", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s at macro-outbound-callerid:6] Set("DAHDI/5-1", "USEROUTCID=") in new stack
    -- Executing [s at macro-outbound-callerid:7] Set("DAHDI/5-1", "EMERGENCYCID=") in new stack
    -- Executing [s at macro-outbound-callerid:8] Set("DAHDI/5-1", "TRUNKOUTCID=5511647072") in new stack
    -- Executing [s at macro-outbound-callerid:9] GotoIf("DAHDI/5-1", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s at macro-outbound-callerid:12] ExecIf("DAHDI/5-1", "1?Set(CALLERID(all)=5511647072)") in new stack
    -- Executing [s at macro-outbound-callerid:13] ExecIf("DAHDI/5-1", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s at macro-outbound-callerid:14] ExecIf("DAHDI/5-1", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s at macro-outbound-callerid:15] ExecIf("DAHDI/5-1", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s at macro-dialout-trunk:12] GosubIf("DAHDI/5-1", "1?sub-flp-2,s,1") in new stack
    -- Executing [s at sub-flp-2:1] ExecIf("DAHDI/5-1", "0?Set(TARGET_FLP_2=55017797969922)") in new stack
    -- Executing [s at sub-flp-2:2] GotoIf("DAHDI/5-1", "0?match") in new stack
    -- Executing [s at sub-flp-2:3] Return("DAHDI/5-1", "") in new stack
    -- Executing [s at macro-dialout-trunk:13] Set("DAHDI/5-1", "OUTNUM=017797969922") in new stack
    -- Executing [s at macro-dialout-trunk:14] Set("DAHDI/5-1", "custom=SIP/D5511647072") in new stack
    -- Executing [s at macro-dialout-trunk:15] ExecIf("DAHDI/5-1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s at macro-dialout-trunk:16] Macro("DAHDI/5-1", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s at macro-dialout-trunk-predial-hook:1] MacroExit("DAHDI/5-1", "") in new stack
    -- Executing [s at macro-dialout-trunk:17] GotoIf("DAHDI/5-1", "0?bypass,1") in new stack
    -- Executing [s at macro-dialout-trunk:18] GotoIf("DAHDI/5-1", "0?customtrunk") in new stack
    -- Executing [s at macro-dialout-trunk:19] Dial("DAHDI/5-1", "SIP/D5511647072/017797969922,300,") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/D5511647072/017797969922
    -- SIP/D5511647072-00000088 is ringing
    -- SIP/D5511647072-00000088 is making progress passing it to DAHDI/5-1
    -- SIP/D5511647072-00000088 answered DAHDI/5-1


I tried to change everything but failed to stop repeated tones. Thanks in advance for your time and help.

Oscar Rocha
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20130701/12324e0c/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dahdi-channels.conf
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20130701/12324e0c/attachment-0001.asc>


More information about the asterisk-r2 mailing list