[asterisk-r2] caso extraño MFCR/R2 Venezuela

Yuliesky Bello yulitico at gmail.com
Wed Apr 11 07:52:35 CDT 2012


buenas esto es lo que estoy usando

asterisk 1.6
libopenr2 1.3.0
dadhi 2.4

saludos

El día 10 de abril de 2012 18:59, Loris Santamaria <loris at lgs.com.ve> escribió:
> Parece un bug.
>
> ¿Qué versiones de asterisk, dahdi y libopenr2 estás usando?
>
> Saludos
>
> El mar, 10-04-2012 a las 15:17 -0430, Yuliesky Bello escribió:
>> Coloque esta configuración.
>>
>> dahdi_channel
>>
>> group=1
>> signalling=mfcr2
>> mfcr2_variant=ve
>> mfcr2_get_ani_first=yes
>> mfcr2_immediate_accept=no
>> mfcr2_max_ani=10
>> mfcr2_max_dnis=4
>> mfcr2_category=national_subscriber
>> mfcr2_logdir=cantv
>> mfcr2_logging=all
>> channel => 1-15
>> ;CANTV ENTRANTE GRUPO1
>>
>>
>> group=2
>> signalling=mfcr2
>> mfcr2_variant=ve
>> mfcr2_dtmf_detection=1
>> mfcr2_dtmf_dialing=1
>> mfcr2_get_ani_first=yes
>> mfcr2_immediate_accept=yes
>> mfcr2_max_ani=10
>> mfcr2_max_dnis=4
>> mfcr2_category=national_subscriber
>> mfcr2_logdir=cantv
>> mfcr2_logging=all
>> mfcr2_mfback_timeout=-1
>> channel => 17-31
>> ;CANTV SALIENTE GRUPO 2
>>
>> este es log de una llamada saliente realizada que no se efectua
>>
>> [Mar 30 17:04:22] WARNING[3233] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:04:22] VERBOSE[3224] netsock.c:   == Using SIP RTP TOS bits 184
>> [Mar 30 17:04:22] VERBOSE[3224] netsock.c:   == Using SIP RTP CoS mark 5
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [04166836337 at from-internal:1] Macro("SIP/6802-00000001",
>> "user-callerid,SKIPTTL,") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:1] Set("SIP/6802-00000001", "AMPUSER=6802") in
>> new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:2] GotoIf("SIP/6802-00000001", "0?report") in
>> new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:3] ExecIf("SIP/6802-00000001",
>> "1?Set(REALCALLERIDNUM=6802)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:4] Set("SIP/6802-00000001", "AMPUSER=6802") in
>> new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:5] Set("SIP/6802-00000001",
>> "AMPUSERCIDNAME=6802") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:6] GotoIf("SIP/6802-00000001", "0?report") in
>> new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:7] Set("SIP/6802-00000001", "AMPUSERCID=6802")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:8] Set("SIP/6802-00000001",
>> "CALLERID(all)="6802" <6802>") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:9] ExecIf("SIP/6802-00000001",
>> "0?Set(CHANNEL(language)=)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:10] GotoIf("SIP/6802-00000001", "1?continue")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Goto (macro-user-callerid,s,19)
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-user-callerid:19] NoOp("SIP/6802-00000001", "Using CallerID
>> "6802" <6802>") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [04166836337 at from-internal:2] Set("SIP/6802-00000001", "_NODEST=") in
>> new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [04166836337 at from-internal:3] Macro("SIP/6802-00000001",
>> "record-enable,6802,OUT,") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-record-enable:1] GotoIf("SIP/6802-00000001", "1?check") in
>> new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Goto (macro-record-enable,s,4)
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-record-enable:4] ExecIf("SIP/6802-00000001", "0?MacroExit()")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-record-enable:5] GotoIf("SIP/6802-00000001", "0?Group:OUT")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Goto (macro-record-enable,s,15)
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-record-enable:15] GotoIf("SIP/6802-00000001", "0?IN") in new
>> stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-record-enable:16] ExecIf("SIP/6802-00000001",
>> "1?MacroExit()") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [04166836337 at from-internal:4] Macro("SIP/6802-00000001",
>> "dialout-trunk,1,04166836337,,") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:1] Set("SIP/6802-00000001", "DIAL_TRUNK=1") in
>> new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:2] GosubIf("SIP/6802-00000001",
>> "0?sub-pincheck,s,1") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:3] GotoIf("SIP/6802-00000001",
>> "0?disabletrunk,1") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:4] Set("SIP/6802-00000001",
>> "DIAL_NUMBER=04166836337") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:5] Set("SIP/6802-00000001",
>> "DIAL_TRUNK_OPTIONS=tr") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:6] Set("SIP/6802-00000001",
>> "OUTBOUND_GROUP=OUT_1") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:7] GotoIf("SIP/6802-00000001", "1?nomax") in
>> new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Goto (macro-dialout-trunk,s,9)
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:9] GotoIf("SIP/6802-00000001", "0?skipoutcid")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:10] Set("SIP/6802-00000001",
>> "DIAL_TRUNK_OPTIONS=") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:11] Macro("SIP/6802-00000001",
>> "outbound-callerid,1") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:1] ExecIf("SIP/6802-00000001",
>> "0?Set(CALLERPRES()=)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:2] ExecIf("SIP/6802-00000001",
>> "0?Set(REALCALLERIDNUM=6802)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:3] GotoIf("SIP/6802-00000001", "1?normcid")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Goto (macro-outbound-callerid,s,6)
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:6] Set("SIP/6802-00000001", "USEROUTCID=")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:7] Set("SIP/6802-00000001",
>> "EMERGENCYCID=") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:8] Set("SIP/6802-00000001", "TRUNKOUTCID=")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:9] GotoIf("SIP/6802-00000001",
>> "1?trunkcid") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Goto
>> (macro-outbound-callerid,s,12)
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:12] ExecIf("SIP/6802-00000001",
>> "0?Set(CALLERID(all)=)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:13] ExecIf("SIP/6802-00000001",
>> "0?Set(CALLERID(all)=)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:14] ExecIf("SIP/6802-00000001",
>> "0?Set(CALLERID(all)=)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outbound-callerid:15] ExecIf("SIP/6802-00000001",
>> "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:12] ExecIf("SIP/6802-00000001",
>> "0?AGI(fixlocalprefix)") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:13] Set("SIP/6802-00000001",
>> "OUTNUM=04166836337") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:14] Set("SIP/6802-00000001", "custom=DAHDI/g0")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:15] ExecIf("SIP/6802-00000001",
>> "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:16] Macro("SIP/6802-00000001",
>> "dialout-trunk-predial-hook,") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6802-00000001",
>> "") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:17] GotoIf("SIP/6802-00000001", "0?bypass,1")
>> in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:18] GotoIf("SIP/6802-00000001",
>> "0?customtrunk") in new stack
>> [Mar 30 17:04:22] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:19] Dial("SIP/6802-00000001",
>> "DAHDI/g0/04166836337,300,") in new stack
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - Requested to
>> make call (ANI=6802, DNIS=04166836337, category=National Subscriber)
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - Outgoing call
>> proceeding: ANI=6802, DNIS=04166836337, Category=National Subscriber
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - CAS Tx >> [SEIZE] 0x00
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - CAS Raw Tx >> 0x01
>> [Mar 30 17:04:22] VERBOSE[3319] app_dial.c:     -- Called g0/04166836337
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: bits changed in chan 17
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - Bits changed
>> from 0x08 to 0x0C
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - CAS Rx << [SEIZE ACK] 0x0C
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - MFC/R2 call acknowledge!
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - Sending DNIS digit 0
>> [Mar 30 17:04:22] DEBUG[3319] chan_dahdi.c: Chan 17 - MF Tx >> 0 [ON]
>> [Mar 30 17:04:26] WARNING[3233] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:05:01] VERBOSE[2995] asterisk.c:     -- Remote UNIX connection
>> [Mar 30 17:05:01] VERBOSE[3323] asterisk.c:     -- Remote UNIX
>> connection disconnected
>> [Mar 30 17:05:02] WARNING[3233] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:05:06] WARNING[3233] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:05:09] DEBUG[3319] chan_dahdi.c: bits changed in chan 17
>> [Mar 30 17:05:09] DEBUG[3319] chan_dahdi.c: Chan 17 - Bits changed
>> from 0x0C to 0x08
>> [Mar 30 17:05:09] DEBUG[3319] chan_dahdi.c: Chan 17 - CAS Rx << [0x08] 0x08
>> [Mar 30 17:05:09] ERROR[3319] chan_dahdi.c: Chan 17 - Protocol error.
>> Reason = Invalid CAS, R2 State = Seize ACK Received, MF state = DNIS
>> Digit Transmitted, MF Group = Forward Group I, CAS = 0x08
>> DNIS = 04166836337, ANI = 6802, MF = 0x20
>> [Mar 30 17:05:09] DEBUG[3319] chan_dahdi.c: Chan 17 - CAS Tx >> [IDLE] 0x08
>> [Mar 30 17:05:09] DEBUG[3319] chan_dahdi.c: Chan 17 - CAS Raw Tx >> 0x09
>> [Mar 30 17:05:09] ERROR[3319] chan_dahdi.c: MFC/R2 protocol error on
>> chan 17: Invalid CAS
>> [Mar 30 17:05:09] VERBOSE[3319] chan_dahdi.c:     -- Hungup 'DAHDI/17-1'
>> [Mar 30 17:05:09] VERBOSE[3319] app_dial.c:   == Everyone is
>> busy/congested at this time (1:0/0/1)
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:20] NoOp("SIP/6802-00000001", "Dial failed for
>> some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 111") in
>> new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:21] Goto("SIP/6802-00000001",
>> "s-CHANUNAVAIL,1") in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Goto
>> (macro-dialout-trunk,s-CHANUNAVAIL,1)
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [s-CHANUNAVAIL at macro-dialout-trunk:1] Set("SIP/6802-00000001",
>> "RC=111") in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [s-CHANUNAVAIL at macro-dialout-trunk:2] Goto("SIP/6802-00000001",
>> "111,1") in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Goto (macro-dialout-trunk,111,1)
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [111 at macro-dialout-trunk:1] Goto("SIP/6802-00000001", "continue,1") in
>> new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Goto
>> (macro-dialout-trunk,continue,1)
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [continue at macro-dialout-trunk:1] GotoIf("SIP/6802-00000001",
>> "1?noreport") in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Goto
>> (macro-dialout-trunk,continue,3)
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [continue at macro-dialout-trunk:3] NoOp("SIP/6802-00000001", "TRUNK Dial
>> failed due to CHANUNAVAIL HANGUPCAUSE: 111 - failing through to other
>> trunks") in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [continue at macro-dialout-trunk:4] Set("SIP/6802-00000001",
>> "CALLERID(number)=6802") in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [04166836337 at from-internal:5] Macro("SIP/6802-00000001", "outisbusy,")
>> in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outisbusy:1] Progress("SIP/6802-00000001", "") in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outisbusy:2] GotoIf("SIP/6802-00000001", "0?emergency,1") in
>> new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outisbusy:3] GotoIf("SIP/6802-00000001", "0?intracompany,1")
>> in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outisbusy:4] Playback("SIP/6802-00000001",
>> "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
>> [Mar 30 17:05:09] VERBOSE[3319] file.c:     -- <SIP/6802-00000001>
>> Playing 'all-circuits-busy-now.gsm' (language 'en')
>> [Mar 30 17:05:10] WARNING[3233] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:05:11] VERBOSE[3319] file.c:     -- <SIP/6802-00000001>
>> Playing 'pls-try-call-later.gsm' (language 'en')
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-outisbusy:5] Congestion("SIP/6802-00000001", "20") in new
>> stack
>> [Mar 30 17:05:13] WARNING[3319] channel.c: Prodding channel
>> 'SIP/6802-00000001' failed
>> [Mar 30 17:05:13] VERBOSE[3319] app_macro.c:   == Spawn extension
>> (macro-outisbusy, s, 5) exited non-zero on 'SIP/6802-00000001' in
>> macro 'outisbusy'
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:   == Spawn extension
>> (from-internal, 04166836337, 5) exited non-zero on 'SIP/6802-00000001'
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Executing
>> [h at from-internal:1] Macro("SIP/6802-00000001", "hangupcall") in new
>> stack
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-hangupcall:1] GotoIf("SIP/6802-00000001", "1?noautomon") in
>> new stack
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Goto (macro-hangupcall,s,3)
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-hangupcall:3] NoOp("SIP/6802-00000001",
>> "TOUCH_MONITOR_OUTPUT=") in new stack
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-hangupcall:4] GotoIf("SIP/6802-00000001", "1?skiprg") in new
>> stack
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Goto (macro-hangupcall,s,7)
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-hangupcall:7] GotoIf("SIP/6802-00000001", "1?skipblkvm") in
>> new stack
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Goto (macro-hangupcall,s,10)
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-hangupcall:10] GotoIf("SIP/6802-00000001", "1?theend") in new
>> stack
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Goto (macro-hangupcall,s,12)
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:     -- Executing
>> [s at macro-hangupcall:12] Hangup("SIP/6802-00000001", "") in new stack
>> [Mar 30 17:05:13] VERBOSE[3319] app_macro.c:   == Spawn extension
>> (macro-hangupcall, s, 12) exited non-zero on 'SIP/6802-00000001' in
>> macro 'hangupcall'
>> [Mar 30 17:05:13] VERBOSE[3319] pbx.c:   == Spawn extension
>> (from-internal, h, 1) exited non-zero on 'SIP/6802-00000001'
>> [Mar 30 17:05:14] WARNING[3233] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>>
>> Sin embargo cuando coloco esta configuración
>>
>> dahdi_channel
>>
>> group=1
>> context=from-pstn
>> signalling=mfcr2
>> mfcr2_variant=ve
>> mfcr2_get_ani_first=yes
>> mfcr2_immediate_accept=yes
>> mfcr2_max_ani=10
>> mfcr2_max_dnis=4
>> mfcr2_category=national_subscriber
>> mfcr2_logging=all
>> mfcr2_metering_pulse_timeout=-1
>> mfcr2_allow_collect_calls=yes
>> mfcr2_charge_calls=yes
>> mfcr2_dtmf_detection=0
>> mfcr2_dtmf_dialing=0
>> ;channel => 1-15  esta linea
>> comentada!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>
>> group=0
>> mfcr2_dtmf_detection=1
>> mfcr2_dtmf_dialing=1
>> channel => 17-31
>>
>> Se ejecuta la llamada sin problemas
>>
>> [Mar 30 17:07:09] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6802-00000004",
>> "") in new stack
>> [Mar 30 17:07:09] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:17] GotoIf("SIP/6802-00000004", "0?bypass,1")
>> in new stack
>> [Mar 30 17:07:09] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:18] GotoIf("SIP/6802-00000004",
>> "0?customtrunk") in new stack
>> [Mar 30 17:07:09] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-dialout-trunk:19] Dial("SIP/6802-00000004",
>> "DAHDI/g0/04166836337,300,") in new stack
>> [Mar 30 17:07:09] DEBUG[3332] chan_dahdi.c: Chan 17 - Requested to
>> make call (ANI=6802, DNIS=04166836337, category=National Subscriber)
>> [Mar 30 17:07:09] DEBUG[3332] chan_dahdi.c: Chan 17 - Outgoing call
>> proceeding: ANI=6802, DNIS=04166836337, Category=National Subscriber
>> [Mar 30 17:07:09] DEBUG[3332] chan_dahdi.c: Chan 17 - CAS Tx >> [SEIZE] 0x00
>> [Mar 30 17:07:09] DEBUG[3332] chan_dahdi.c: Chan 17 - CAS Raw Tx >> 0x01
>> [Mar 30 17:07:09] VERBOSE[3332] app_dial.c:     -- Called g0/04166836337
>> [Mar 30 17:07:09] DEBUG[3332] chan_dahdi.c: bits changed in chan 17
>> [Mar 30 17:07:09] DEBUG[3332] chan_dahdi.c: Chan 17 - Bits changed
>> from 0x08 to 0x0C
>> [Mar 30 17:07:09] DEBUG[3332] chan_dahdi.c: Chan 17 - CAS Rx << [SEIZE ACK] 0x0C
>> [Mar 30 17:07:09] DEBUG[3332] chan_dahdi.c: Chan 17 - DTMF/R2 call acknowledge!
>> [Mar 30 17:07:10] WARNING[3327] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:07:10] DEBUG[3332] chan_dahdi.c: Chan 17 - calling timer 3
>> (start_dialing_dtmf) callback
>> [Mar 30 17:07:10] VERBOSE[3332] chan_dahdi.c: Chan 17 - Dialing
>> 04166836337 with DTMF/R2 (tone on = 50, tone off = 100)
>> [Mar 30 17:07:11] DEBUG[3332] chan_dahdi.c: Chan 17 - Done with DTMF generation
>> [Mar 30 17:07:11] DEBUG[3332] chan_dahdi.c: Chan 17 - DTMF R2 call is
>> done generating DTMF, forcing accept signal
>> [Mar 30 17:07:11] VERBOSE[3332] chan_dahdi.c: MFC/R2 call has been
>> accepted on forward channel 17
>> [Mar 30 17:07:11] VERBOSE[3332] app_dial.c:     -- DAHDI/17-1 is ringing
>> [Mar 30 17:07:14] WARNING[3327] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:07:18] WARNING[3327] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:07:21] DEBUG[3332] chan_dahdi.c: bits changed in chan 17
>> [Mar 30 17:07:21] DEBUG[3332] chan_dahdi.c: Chan 17 - Bits changed
>> from 0x0C to 0x04
>> [Mar 30 17:07:21] DEBUG[3332] chan_dahdi.c: Chan 17 - CAS Rx << [ANSWER] 0x04
>> [Mar 30 17:07:21] VERBOSE[3332] chan_dahdi.c: Chan 17 - DTMF/R2 call answered
>> [Mar 30 17:07:21] VERBOSE[3332] chan_dahdi.c: MFC/R2 call has been
>> answered on channel 17
>> [Mar 30 17:07:21] VERBOSE[3332] app_dial.c:     -- DAHDI/17-1 answered
>> SIP/6802-00000004
>> [Mar 30 17:07:22] WARNING[3327] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:07:26] WARNING[3327] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>> [Mar 30 17:07:29] DEBUG[3332] chan_dahdi.c: bits changed in chan 17
>> [Mar 30 17:07:29] DEBUG[3332] chan_dahdi.c: Chan 17 - Bits changed
>> from 0x04 to 0x0C
>> [Mar 30 17:07:29] DEBUG[3332] chan_dahdi.c: Chan 17 - CAS Rx << [CLEAR
>> BACK] 0x0C
>> [Mar 30 17:07:29] VERBOSE[3332] chan_dahdi.c: Chan 17 - Far end
>> disconnected. Reason: Normal Clearing
>> [Mar 30 17:07:29] VERBOSE[3332] chan_dahdi.c: MFC/R2 call disconnected
>> on channel 17
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [h at macro-dialout-trunk:1] Macro("SIP/6802-00000004", "hangupcall,") in
>> new stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:1] GotoIf("SIP/6802-00000004", "1?noautomon") in
>> new stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Goto (macro-hangupcall,s,3)
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:3] NoOp("SIP/6802-00000004",
>> "TOUCH_MONITOR_OUTPUT=") in new stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:4] GotoIf("SIP/6802-00000004", "1?skiprg") in new
>> stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Goto (macro-hangupcall,s,7)
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:7] GotoIf("SIP/6802-00000004", "1?skipblkvm") in
>> new stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Goto (macro-hangupcall,s,10)
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:10] GotoIf("SIP/6802-00000004", "1?theend") in new
>> stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Goto (macro-hangupcall,s,12)
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:12] Hangup("SIP/6802-00000004", "") in new stack
>> [Mar 30 17:07:29] VERBOSE[3332] app_macro.c:   == Spawn extension
>> (macro-hangupcall, s, 12) exited non-zero on 'SIP/6802-00000004' in
>> macro 'hangupcall'
>> [Mar 30 17:07:29] VERBOSE[3332] features.c:   == Spawn extension
>> (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/6802-00000004'
>> [Mar 30 17:07:29] DEBUG[3332] chan_dahdi.c: disconnecting MFC/R2 call on chan 17
>> [Mar 30 17:07:29] DEBUG[3332] chan_dahdi.c: ast cause 16 resulted in
>> openr2 cause 6/Normal Clearing
>> [Mar 30 17:07:29] DEBUG[3332] chan_dahdi.c: Chan 17 - CAS Tx >> [CLEAR
>> FORWARD] 0x08
>> [Mar 30 17:07:29] DEBUG[3332] chan_dahdi.c: Chan 17 - CAS Raw Tx >> 0x09
>> [Mar 30 17:07:29] VERBOSE[3332] chan_dahdi.c:     -- Hungup 'DAHDI/17-1'
>> [Mar 30 17:07:29] VERBOSE[3332] app_macro.c:   == Spawn extension
>> (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/6802-00000004' in
>> macro 'dialout-trunk'
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:   == Spawn extension
>> (from-internal, 04166836337, 4) exited non-zero on 'SIP/6802-00000004'
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [h at from-internal:1] Macro("SIP/6802-00000004", "hangupcall") in new
>> stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:1] GotoIf("SIP/6802-00000004", "1?noautomon") in
>> new stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Goto (macro-hangupcall,s,3)
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:3] NoOp("SIP/6802-00000004",
>> "TOUCH_MONITOR_OUTPUT=") in new stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:4] GotoIf("SIP/6802-00000004", "1?skiprg") in new
>> stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Goto (macro-hangupcall,s,7)
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:7] GotoIf("SIP/6802-00000004", "1?skipblkvm") in
>> new stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Goto (macro-hangupcall,s,10)
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:10] GotoIf("SIP/6802-00000004", "1?theend") in new
>> stack
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Goto (macro-hangupcall,s,12)
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:     -- Executing
>> [s at macro-hangupcall:12] Hangup("SIP/6802-00000004", "") in new stack
>> [Mar 30 17:07:29] VERBOSE[3332] app_macro.c:   == Spawn extension
>> (macro-hangupcall, s, 12) exited non-zero on 'SIP/6802-00000004' in
>> macro 'hangupcall'
>> [Mar 30 17:07:29] VERBOSE[3332] pbx.c:   == Spawn extension
>> (from-internal, h, 1) exited non-zero on 'SIP/6802-00000004'
>> [Mar 30 17:07:29] DEBUG[3328] chan_dahdi.c: Chan 17 - calling timer 5
>> (dtmf_r2_set_call_down) callback
>> [Mar 30 17:07:29] DEBUG[3328] chan_dahdi.c: Chan 17 - Call ended
>> [Mar 30 17:07:29] DEBUG[3328] chan_dahdi.c: Chan 17 - CAS Tx >> [IDLE] 0x08
>> [Mar 30 17:07:29] DEBUG[3328] chan_dahdi.c: Chan 17 - CAS Raw Tx >> 0x09
>> [Mar 30 17:07:29] VERBOSE[3328] chan_dahdi.c: MFC/R2 call end on channel 17
>> [Mar 30 17:07:29] DEBUG[3328] chan_dahdi.c: Chan 17 - Bits changed
>> from 0x0C to 0x08
>> [Mar 30 17:07:29] DEBUG[3328] chan_dahdi.c: Chan 17 - CAS Rx << [IDLE] 0x08
>> [Mar 30 17:07:29] NOTICE[3328] chan_dahdi.c: Far end unblocked on chan 17
>> [Mar 30 17:07:30] WARNING[3327] chan_dahdi.c: No D-channels available!
>>  Using Primary channel 55 as D-channel anyway!
>>
>> saludos
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-r2 mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-r2
>
> --
> Loris Santamaria   linux user #70506   xmpp:loris at lgs.com.ve
> Links Global Services, C.A.            http://www.lgs.com.ve
> Tel: 0286 952.06.87  Cel: 0414 095.00.10  sip:103 at lgs.com.ve
> ------------------------------------------------------------
> "If I'd asked my customers what they wanted, they'd have said
> a faster horse" - Henry Ford
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2



-- 
Saludos.

Ing. Yuliesky Bello Chávez.



More information about the asterisk-r2 mailing list