[asterisk-r2] dtmf r2 Venezuela (Rabih Bou Orm)

Gustavo Yanes gustavoy at hotmail.com
Tue Jan 22 10:14:03 CST 2013


se queda en espera hasta que uno cuelga efectivamente el colgadono sale te lo puedo poner pero es la accion que toma uno
 Date: Tue, 22 Jan 2013 11:06:20 -0500
From: rabihbouorm at gmail.com
To: gustavoy at hotmail.com
CC: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] dtmf r2 Venezuela (Rabih Bou Orm)



No veo que se cuelgue, 
creo que no me enviaste el output completo... Te pedí esa configuración 
porque en la llamada funcional saliente no se utilizó en ningún momento 
DTMF y me tiene confundido eso. De allí tanta duda.



Gustavo Yanes wrote:

  
  Buenas anexo el resultado sin embargo veo que en la 
configuracion que me enviaste esta desactivado el dtmf por lo que como 
dice el log la llamada no sale..
 
saludos
 

[root at e1 
asterisk]# tail -f /var/log/asterisk/full
[Jan 22 11:18:44] 
VERBOSE[22405] res_agi.c:     -- <SIP/151-00000000>AGI Script 
hangup.agi completed, returning 0
[Jan 22 11:18:44] VERBOSE[22405] 
pbx.c:     -- Executing [s at macro-hangupcall:51] 
Hangup("SIP/151-00000000", "") in new stack
[Jan 22 11:18:44] 
VERBOSE[22405] app_macro.c:   == Spawn extension (macro-hangupcall, s, 
51) exited non-zero on 'SIP/151-00000000' in macro 'hangupcall'
[Jan 
22 11:18:44] VERBOSE[22405] pbx.c:   == Spawn extension (from-internal, 
h, 1) exited non-zero on 'SIP/151-00000000'
[Jan 22 11:18:44] 
DEBUG[22306] chan_dahdi.c: Chan 17 - Bits changed from 0x0C to 0x08
[Jan
 22 11:18:44] DEBUG[22306] chan_dahdi.c: Chan 17 - CAS Rx << 
[IDLE] 0x08
[Jan 22 11:18:44] DEBUG[22306] chan_dahdi.c: Chan 17 - 
Call ended
[Jan 22 11:18:44] DEBUG[22306] chan_dahdi.c: Chan 17 - CAS
 Tx >> [IDLE] 0x08
[Jan 22 11:18:44] DEBUG[22306] chan_dahdi.c:
 Chan 17 - CAS Raw Tx >> 0x09
[Jan 22 11:18:44] VERBOSE[22306] 
chan_dahdi.c: MFC/R2 call end on channel 17
[Jan 22 11:19:01] 
VERBOSE[22304] netsock2.c:   == Using SIP RTP TOS bits 184
[Jan 22 
11:19:01] VERBOSE[22304] netsock2.c:   == Using SIP RTP CoS mark 5
[Jan
 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[92560819 at from-internal:1] Macro("SIP/151-00000001", 
"user-callerid,SKIPTTL,") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing [s at macro-user-callerid:1] 
Set("SIP/151-00000001", "AMPUSER=151") in new stack
[Jan 22 11:19:01]
 VERBOSE[22416] pbx.c:     -- Executing [s at macro-user-callerid:2] 
GotoIf("SIP/151-00000001", "0?report") in new stack
[Jan 22 11:19:01]
 VERBOSE[22416] pbx.c:     -- Executing [s at macro-user-callerid:3] 
ExecIf("SIP/151-00000001", "1?Set(REALCALLERIDNUM=151)") in new stack
[Jan
 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-user-callerid:4] Set("SIP/151-00000001", "AMPUSER=151") in new 
stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-user-callerid:5] Set("SIP/151-00000001", "AMPUSERCIDNAME=gus") 
in new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing
 [s at macro-user-callerid:6] GotoIf("SIP/151-00000001", "0?report") in new
 stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-user-callerid:7] Set("SIP/151-00000001", "AMPUSERCID=151") in 
new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-user-callerid:8] Set("SIP/151-00000001", "CALLERID(all)="gus" 
<151>") in new stack
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-user-callerid:9] 
ExecIf("SIP/151-00000001", "0?Set(CHANNEL(language)=)") in new stack
[Jan
 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-user-callerid:10] GotoIf("SIP/151-00000001", "1?continue") in 
new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Goto 
(macro-user-callerid,s,19)
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-user-callerid:19] 
Set("SIP/151-00000001", "CALLERID(number)=151") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-user-callerid:20] Set("SIP/151-00000001", "CALLERID(name)=gus")
 in new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- 
Executing [s at macro-user-callerid:21] NoOp("SIP/151-00000001", "Using 
CallerID "gus" <151>") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing [92560819 at from-internal:2] 
NoOp("SIP/151-00000001", "Calling Out Route: 9_outside") in new stack
[Jan
 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[92560819 at from-internal:3] Set("SIP/151-00000001", "_NODEST=") in new 
stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[92560819 at from-internal:4] Macro("SIP/151-00000001", 
"record-enable,151,OUT,") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing [s at macro-record-enable:1] 
GotoIf("SIP/151-00000001", "1?check") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Goto (macro-record-enable,s,4)
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-record-enable:4] ExecIf("SIP/151-00000001", "0?MacroExit()") in
 new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-record-enable:5] GotoIf("SIP/151-00000001", "0?Group:OUT") in 
new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Goto 
(macro-record-enable,s,15)
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-record-enable:15] 
GotoIf("SIP/151-00000001", "0?IN") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing [s at macro-record-enable:16] 
ExecIf("SIP/151-00000001", "1?MacroExit()") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[92560819 at from-internal:5] Macro("SIP/151-00000001", 
"dialout-trunk,1,2560819,") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing [s at macro-dialout-trunk:1] 
Set("SIP/151-00000001", "DIAL_TRUNK=1") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:2] GosubIf("SIP/151-00000001", 
"0?sub-pincheck,s,1") in new stack
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-dialout-trunk:3] 
GotoIf("SIP/151-00000001", "0?disabletrunk,1") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:4] Set("SIP/151-00000001", "DIAL_NUMBER=2560819")
 in new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- 
Executing [s at macro-dialout-trunk:5] Set("SIP/151-00000001", 
"DIAL_TRUNK_OPTIONS=tr") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing [s at macro-dialout-trunk:6] 
Set("SIP/151-00000001", "OUTBOUND_GROUP=OUT_1") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:7] GotoIf("SIP/151-00000001", "1?nomax") in new 
stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Goto 
(macro-dialout-trunk,s,9)
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:    
 -- Executing [s at macro-dialout-trunk:9] GotoIf("SIP/151-00000001", 
"0?skipoutcid") in new stack
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-dialout-trunk:10] 
Set("SIP/151-00000001", "DIAL_TRUNK_OPTIONS=") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:11] Macro("SIP/151-00000001", 
"outbound-callerid,1") in new stack
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-outbound-callerid:1] 
ExecIf("SIP/151-00000001", "0?Set(CALLERPRES()=)") in new stack
[Jan 
22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-outbound-callerid:2] ExecIf("SIP/151-00000001", 
"0?Set(REALCALLERIDNUM=151)") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing [s at macro-outbound-callerid:3] 
GotoIf("SIP/151-00000001", "1?normcid") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Goto 
(macro-outbound-callerid,s,6)
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-outbound-callerid:6] 
Set("SIP/151-00000001", "USEROUTCID=") in new stack
[Jan 22 11:19:01]
 VERBOSE[22416] pbx.c:     -- Executing [s at macro-outbound-callerid:7] 
Set("SIP/151-00000001", "EMERGENCYCID=") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-outbound-callerid:8] Set("SIP/151-00000001", 
"TRUNKOUTCID=9557211") in new stack
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-outbound-callerid:9] 
GotoIf("SIP/151-00000001", "1?trunkcid") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Goto 
(macro-outbound-callerid,s,12)
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-outbound-callerid:12] 
ExecIf("SIP/151-00000001", "1?Set(CALLERID(all)=9557211)") in new stack
[Jan
 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-outbound-callerid:13] ExecIf("SIP/151-00000001", 
"0?Set(CALLERID(all)=)") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing [s at macro-outbound-callerid:14] 
ExecIf("SIP/151-00000001", "0?Set(CALLERID(all)=)") in new stack
[Jan
 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-outbound-callerid:15] ExecIf("SIP/151-00000001", 
"0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:12] GosubIf("SIP/151-00000001", 
"0?sub-flp-1,s,1") in new stack
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-dialout-trunk:13] 
Set("SIP/151-00000001", "OUTNUM=2560819") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:14] Set("SIP/151-00000001", "custom=DAHDI/g0") in
 new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:15] ExecIf("SIP/151-00000001", 
"0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:16] Macro("SIP/151-00000001", 
"dialout-trunk-predial-hook,") in new stack
[Jan 22 11:19:01] 
VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk-predial-hook:1] MacroExit("SIP/151-00000001", "")
 in new stack
[Jan 22 11:19:01] VERBOSE[22416] pbx.c:     -- 
Executing [s at macro-dialout-trunk:17] GotoIf("SIP/151-00000001", 
"0?bypass,1") in new stack
[Jan 22 11:19:01] VERBOSE[22416] 
pbx.c:     -- Executing [s at macro-dialout-trunk:18] 
GotoIf("SIP/151-00000001", "0?customtrunk") in new stack
[Jan 22 
11:19:01] VERBOSE[22416] pbx.c:     -- Executing 
[s at macro-dialout-trunk:19] Dial("SIP/151-00000001", 
"DAHDI/g0/2560819,300,") in new stack
[Jan 22 11:19:01] DEBUG[22416] 
chan_dahdi.c: Chan 17 - Requested to make call (ANI=9557211, 
DNIS=2560819, category=National Subscriber)
[Jan 22 11:19:01] 
DEBUG[22416] chan_dahdi.c: Chan 17 - Call started at Tue Jan 22 11:19:01
 2013 on chan 17 [openr2 version 1.3.1, revision exported]
[Jan 22 
11:19:01] DEBUG[22416] chan_dahdi.c: Chan 17 - Outgoing call proceeding:
 ANI=9557211, DNIS=2560819, Category=National Subscriber
[Jan 22 
11:19:01] DEBUG[22416] chan_dahdi.c: Chan 17 - CAS Tx >> [SEIZE] 
0x00
[Jan 22 11:19:01] DEBUG[22416] chan_dahdi.c: Chan 17 - CAS Raw 
Tx >> 0x01
[Jan 22 11:19:01] VERBOSE[22416] app_dial.c:     -- 
Called DAHDI/g0/2560819
[Jan 22 11:19:02] DEBUG[22416] chan_dahdi.c: 
bits changed in chan 17
[Jan 22 11:19:02] DEBUG[22416] chan_dahdi.c: 
Chan 17 - Bits changed from 0x08 to 0x0C
[Jan 22 11:19:02] 
DEBUG[22416] chan_dahdi.c: Chan 17 - CAS Rx << [SEIZE ACK] 0x0C
[Jan
 22 11:19:02] DEBUG[22416] chan_dahdi.c: Chan 17 - MFC/R2 call 
acknowledge!
[Jan 22 11:19:02] DEBUG[22416] chan_dahdi.c: Chan 17 - 
Sending DNIS digit 2
[Jan 22 11:19:02] DEBUG[22416] chan_dahdi.c: 
Chan 17 - MF Tx >> 2 [ON]

 
> Date: Mon, 21 Jan 
2013 16:21:10 -0500
> From: rabihbouorm at gmail.com
> To: 
gustavoy at hotmail.com
> Subject: Re: [asterisk-r2] dtmf r2 
Venezuela (Rabih Bou Orm)
> 
> Gustavo,
> 
> 
Puedes por favor intentar lo siguiente:
> 
> group=1
>
 signalling=mfcr2
> mfcr2_dtmf_detection=0
> 
mfcr2_dtmf_dialing=0
> mfcr2_variant=ve
> 
mfcr2_get_ani_first=yes
> mfcr2_max_ani=10
> 
mfcr2_max_dnis=4
> mfcr2_category=national_subscriber
> 
mfcr2_logdir=log
> mfcr2_logging=all
> mfcr2_call_files=yes
>
 mfcr2_mfback_timeout=-1
> mfcr2_metering_pulse_timeout=-1
>
 channel => 1-15
> 
> group=0
> signalling=mfcr2
>
 mfcr2_dtmf_detection=0
> mfcr2_dtmf_dialing=0
> 
mfcr2_variant=ve
> mfcr2_get_ani_first=yes
> 
mfcr2_max_ani=10
> mfcr2_max_dnis=4
> 
mfcr2_category=national_subscriber
> mfcr2_logdir=log
> 
mfcr2_logging=all
> mfcr2_call_files=yes
> 
mfcr2_mfback_timeout=-1
> mfcr2_metering_pulse_timeout=-1
> 
channel => 17-31
> 
> 
>   Y validar que sucede? 
Sea cual sea el resultado de una llamada 
> saliente, copiame el 
output de tail -f /var/log/asterisk/full
> Gustavo Yanes wrote:
>
 > group=0
> > signalling=mfcr2
> > 
mfcr2_dtmf_detection=1
> > mfcr2_dtmf_dialing=1
> > 
mfcr2_variant=ve
> > mfcr2_get_ani_first=yes
> > 
mfcr2_max_ani=10
> > mfcr2_max_dnis=4
> > 
mfcr2_category=national_subscriber
> > mfcr2_logdir=log
>
 > mfcr2_logging=all
> > mfcr2_call_files=yes
> > 
mfcr2_mfback_timeout=-1
> > mfcr2_metering_pulse_timeout=-1
>
 > channel => 1-15
> > channel => 17-31
 		 	
   		  
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20130122/c5514c53/attachment-0001.htm>


More information about the asterisk-r2 mailing list