[asterisk-r2] asterisk-r2 Digest, Vol 53, Issue 16

Ramon Velasquez ramvel99 at gmail.com
Tue Jan 22 15:59:45 CST 2013


Saludos,

Estoy observando la configuración que tienen y les comento lo siguiente
para tomar en cuenta:

En Venezuela la señalización DTMF para R2 , solo aplica en canales
salientes (outbound).
Para canales entrantes (inbound) la telefónica siempre entrega señalización
R2 / R2.

No se si existe una version para Openr2 que permita aplicar en un E1
dividido 15 salientes en DTMF y los 15 entrantes solo R2. hasta donde tengo
entendido,( habría que revisar el cogido o preguntar a Moises), OpenR2 solo
permite seleccionar una de las dos opciones, mas no la combinación de
ambas, por lo menos un un E1 compartido, espero alguien nos pueda ayudar a
aclarar las dudas. Creo que allí es donde tienen el problema.

No se si existe algún otro país a parte de Venezuela que use R2 / DTMF , lo
que si sé es que UNICALL no soportaba DMTF, solo OpenR2 lo permite.

Yo tengo 5 E1 de CANTV de los cuales un E1 es compartido R2 R2 y funcionan
los entrantes y salientes perfectamente.

Saludos y Suerte !!!

Ramón Velásquez

2013/1/22 <asterisk-r2-request at lists.digium.com>

> Send asterisk-r2 mailing list submissions to
>         asterisk-r2 at lists.digium.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.digium.com/mailman/listinfo/asterisk-r2
> or, via email, send a message with subject or body 'help' to
>         asterisk-r2-request at lists.digium.com
>
> You can reach the person managing the list at
>         asterisk-r2-owner at lists.digium.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-r2 digest..."
>
>
> Today's Topics:
>
>    1. Re: dtmf r2 Venezuela (Rabih Bou Orm) (Gustavo Yanes)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 22 Jan 2013 11:14:03 -0500
> From: Gustavo Yanes <gustavoy at hotmail.com>
> Subject: Re: [asterisk-r2] dtmf r2 Venezuela (Rabih Bou Orm)
> To: Rabih Bou Orm <rabihbouorm at gmail.com>
> Cc: "asterisk-r2 at lists.digium.com" <asterisk-r2 at lists.digium.com>
> Message-ID: <BAY002-W1219F8799B6936E309CA8BBDB160 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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.htm
> >
>
> ------------------------------
>
> _______________________________________________
> --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
>
> End of asterisk-r2 Digest, Vol 53, Issue 16
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20130122/f96e1752/attachment-0001.htm>


More information about the asterisk-r2 mailing list