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

Mc GRATH Ricardo mcgrathr at mail2web.com
Mon Jan 21 15:25:43 CST 2013


Gustavo
El Guru quien podría explicar sobre los aspectos de configuracion como otros, es el que diseño el parche R2 para Asterisk, yo me recuerdo  haber consultado algo al respecto y no  recibí respuesta alguna.
Saludos

Mc GRATH Ricardo
E-Mail mcgrathr at mail2web.com<mailto:mcgrathr at mail2web.com>

________________________________
From: asterisk-r2-bounces at lists.digium.com [asterisk-r2-bounces at lists.digium.com] On Behalf Of Gustavo Yanes [gustavoy at hotmail.com]
Sent: 21 January 2013 18:16
To: maycolalvarez at gmail.com; asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] dtmf r2 Venezuela (Rabih Bou Orm)

Lo de 10  en 10 al parecer es un tema de la configruacion de r2 no de cantv lo que he descubierto es que si se tiene 30 canales y configuras del 1 al 10 la configuracion "A" del 11 al 15 la "B" del 16 al 20 no podras poner la "C" o cualquier otra configuracion que desees ya que al parece al configurar el canal 11 agarra la misma configuracion para todo el bloque del 11 al 20. No se si me explico. Habra algun GURU de R2 que nos pueda aclarar esto?

Anexo el tail que piden gracias

[root at e1 asterisk]# tail -f /var/log/asterisk/full
[Jan 21 16:20:01] VERBOSE[20313] asterisk.c:     -- Remote UNIX connection disconnected
[Jan 21 16:25:01] VERBOSE[20206] asterisk.c:     -- Remote UNIX connection
[Jan 21 16:25:01] VERBOSE[20320] asterisk.c:     -- Remote UNIX connection disconnected
[Jan 21 16:30:01] VERBOSE[20206] asterisk.c:     -- Remote UNIX connection
[Jan 21 16:30:01] VERBOSE[20328] asterisk.c:     -- Remote UNIX connection disconnected
[Jan 21 16:35:01] VERBOSE[20206] asterisk.c:     -- Remote UNIX connection
[Jan 21 16:35:01] VERBOSE[20335] asterisk.c:     -- Remote UNIX connection disconnected
[Jan 21 16:39:10] VERBOSE[20297] asterisk.c:     -- Remote UNIX connection disconnected
[Jan 21 16:40:01] VERBOSE[20206] asterisk.c:     -- Remote UNIX connection
[Jan 21 16:40:01] VERBOSE[20344] asterisk.c:     -- Remote UNIX connection disconnected
[Jan 21 16:44:12] VERBOSE[20234] chan_sip.c:     -- Registered SIP '151' at 192.168.10.221:5060
[Jan 21 16:44:12] NOTICE[20234] chan_sip.c: Peer '151' is now Reachable. (69ms / 2000ms)
^[[A[Jan 21 16:44:21] VERBOSE[20234] netsock2.c:   == Using SIP RTP TOS bits 184
[Jan 21 16:44:21] VERBOSE[20234] netsock2.c:   == Using SIP RTP CoS mark 5
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [92560819 at from-internal:1] Macro("SIP/151-00000000", "user-callerid,SKIPTTL,") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:1] Set("SIP/151-00000000", "AMPUSER=151") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:2] GotoIf("SIP/151-00000000", "0?report") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:3] ExecIf("SIP/151-00000000", "1?Set(REALCALLERIDNUM=151)") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:4] Set("SIP/151-00000000", "AMPUSER=151") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:5] Set("SIP/151-00000000", "AMPUSERCIDNAME=gus") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:6] GotoIf("SIP/151-00000000", "0?report") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:7] Set("SIP/151-00000000", "AMPUSERCID=151") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:8] Set("SIP/151-00000000", "CALLERID(all)="gus" <151>") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:9] ExecIf("SIP/151-00000000", "0?Set(CHANNEL(language)=)") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:10] GotoIf("SIP/151-00000000", "1?continue") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Goto (macro-user-callerid,s,19)
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:19] Set("SIP/151-00000000", "CALLERID(number)=151") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:20] Set("SIP/151-00000000", "CALLERID(name)=gus") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-user-callerid:21] NoOp("SIP/151-00000000", "Using CallerID "gus" <151>") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [92560819 at from-internal:2] NoOp("SIP/151-00000000", "Calling Out Route: 9_outside") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [92560819 at from-internal:3] Set("SIP/151-00000000", "_NODEST=") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [92560819 at from-internal:4] Macro("SIP/151-00000000", "record-enable,151,OUT,") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-record-enable:1] GotoIf("SIP/151-00000000", "1?check") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Goto (macro-record-enable,s,4)
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-record-enable:4] ExecIf("SIP/151-00000000", "0?MacroExit()") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-record-enable:5] GotoIf("SIP/151-00000000", "0?Group:OUT") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Goto (macro-record-enable,s,15)
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-record-enable:15] GotoIf("SIP/151-00000000", "0?IN") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-record-enable:16] ExecIf("SIP/151-00000000", "1?MacroExit()") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [92560819 at from-internal:5] Macro("SIP/151-00000000", "dialout-trunk,1,2560819,") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:1] Set("SIP/151-00000000", "DIAL_TRUNK=1") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:2] GosubIf("SIP/151-00000000", "0?sub-pincheck,s,1") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:3] GotoIf("SIP/151-00000000", "0?disabletrunk,1") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:4] Set("SIP/151-00000000", "DIAL_NUMBER=2560819") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:5] Set("SIP/151-00000000", "DIAL_TRUNK_OPTIONS=tr") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:6] Set("SIP/151-00000000", "OUTBOUND_GROUP=OUT_1") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:7] GotoIf("SIP/151-00000000", "1?nomax") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Goto (macro-dialout-trunk,s,9)
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:9] GotoIf("SIP/151-00000000", "0?skipoutcid") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:10] Set("SIP/151-00000000", "DIAL_TRUNK_OPTIONS=") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:11] Macro("SIP/151-00000000", "outbound-callerid,1") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:1] ExecIf("SIP/151-00000000", "0?Set(CALLERPRES()=)") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:2] ExecIf("SIP/151-00000000", "0?Set(REALCALLERIDNUM=151)") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:3] GotoIf("SIP/151-00000000", "1?normcid") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Goto (macro-outbound-callerid,s,6)
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:6] Set("SIP/151-00000000", "USEROUTCID=") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:7] Set("SIP/151-00000000", "EMERGENCYCID=") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:8] Set("SIP/151-00000000", "TRUNKOUTCID=9557211") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:9] GotoIf("SIP/151-00000000", "1?trunkcid") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Goto (macro-outbound-callerid,s,12)
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:12] ExecIf("SIP/151-00000000", "1?Set(CALLERID(all)=9557211)") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:13] ExecIf("SIP/151-00000000", "0?Set(CALLERID(all)=)") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:14] ExecIf("SIP/151-00000000", "0?Set(CALLERID(all)=)") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-outbound-callerid:15] ExecIf("SIP/151-00000000", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:12] GosubIf("SIP/151-00000000", "0?sub-flp-1,s,1") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:13] Set("SIP/151-00000000", "OUTNUM=2560819") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:14] Set("SIP/151-00000000", "custom=DAHDI/g3") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:15] ExecIf("SIP/151-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:16] Macro("SIP/151-00000000", "dialout-trunk-predial-hook,") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk-predial-hook:1] MacroExit("SIP/151-00000000", "") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:17] GotoIf("SIP/151-00000000", "0?bypass,1") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:18] GotoIf("SIP/151-00000000", "0?customtrunk") in new stack
[Jan 21 16:44:21] VERBOSE[20349] pbx.c:     -- Executing [s at macro-dialout-trunk:19] Dial("SIP/151-00000000", "DAHDI/g3/2560819,300,") in new stack
[Jan 21 16:44:21] VERBOSE[20349] app_dial.c:     -- Called DAHDI/g3/2560819
[Jan 21 16:44:21] DEBUG[20349] chan_dahdi.c: bits changed in chan 17
[Jan 21 16:44:22] VERBOSE[20349] chan_dahdi.c: MFC/R2 call has been accepted on forward channel 17
[Jan 21 16:44:22] VERBOSE[20349] app_dial.c:     -- DAHDI/17-1 is ringing
[Jan 21 16:44:22] DEBUG[20349] chan_dahdi.c: Enqueuing progress frame after R2 accept in chan 17
[Jan 21 16:44:22] VERBOSE[20349] app_dial.c:     -- DAHDI/17-1 is making progress passing it to SIP/151-00000000

[Jan 21 16:44:31] DEBUG[20349] chan_dahdi.c: bits changed in chan 17
[Jan 21 16:44:31] VERBOSE[20349] chan_dahdi.c: MFC/R2 call has been answered on channel 17
[Jan 21 16:44:31] VERBOSE[20349] app_dial.c:     -- DAHDI/17-1 answered SIP/151-00000000
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [h at macro-dialout-trunk:1] Macro("SIP/151-00000000", "hangupcall,") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:1] GotoIf("SIP/151-00000000", "1?endmixmoncheck") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Goto (macro-hangupcall,s,9)
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:9] NoOp("SIP/151-00000000", "End of MIXMON check") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:10] GotoIf("SIP/151-00000000", "1?nomeetmemon") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Goto (macro-hangupcall,s,28)
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:28] NoOp("SIP/151-00000000", "End of MEETME check") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:29] GotoIf("SIP/151-00000000", "1?noautomon") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Goto (macro-hangupcall,s,34)
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:34] NoOp("SIP/151-00000000", "TOUCH_MONITOR_OUTPUT=") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:35] GotoIf("SIP/151-00000000", "1?noautomon2") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Goto (macro-hangupcall,s,41)
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:41] NoOp("SIP/151-00000000", "MONITOR_FILENAME=") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:42] GotoIf("SIP/151-00000000", "1?skiprg") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Goto (macro-hangupcall,s,45)
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:45] GotoIf("SIP/151-00000000", "1?skipblkvm") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Goto (macro-hangupcall,s,48)
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:48] GotoIf("SIP/151-00000000", "1?theend") in new stack
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Goto (macro-hangupcall,s,50)
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:50] AGI("SIP/151-00000000", "hangup.agi") in new stack
[Jan 21 16:44:36] VERBOSE[20349] res_agi.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
[Jan 21 16:44:36] VERBOSE[20349] res_agi.c:     -- <SIP/151-00000000>AGI Script hangup.agi completed, returning 0
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:     -- Executing [s at macro-hangupcall:51] Hangup("SIP/151-00000000", "") in new stack
[Jan 21 16:44:36] VERBOSE[20349] app_macro.c:   == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/151-00000000' in macro 'hangupcall'
[Jan 21 16:44:36] VERBOSE[20349] features.c:   == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/151-00000000'
[Jan 21 16:44:36] DEBUG[20349] chan_dahdi.c: disconnecting MFC/R2 call on chan 17
[Jan 21 16:44:36] DEBUG[20349] chan_dahdi.c: ast cause 16 resulted in openr2 cause 6/Normal Clearing
[Jan 21 16:44:36] VERBOSE[20349] chan_dahdi.c:     -- Hungup 'DAHDI/17-1'
[Jan 21 16:44:36] VERBOSE[20349] app_macro.c:   == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/151-00000000' in macro 'dialout-trunk'
[Jan 21 16:44:36] VERBOSE[20349] pbx.c:   == Spawn extension (from-internal, 92560819, 5) exited non-zero on 'SIP/151-00000000'
[Jan 21 16:44:36] VERBOSE[20236] chan_dahdi.c: MFC/R2 call end on channel 17


________________________________
Date: Mon, 21 Jan 2013 16:35:52 -0430
From: maycolalvarez at gmail.com
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] dtmf r2 Venezuela (Rabih Bou Orm)

Mi configuración es la siguiente (2 E1 solo salientes):

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
channel => 32-46
channel => 48-62

me parece extraño eso de 10 en 10, cuando lo usual de CANTV es 15/15 entrantes/salientes o 30 (solo entrantes o 30 solo salientes como en mi caso) y siempre el de la mitad (16 y 47) para la señalización, tal cual lo tengo en system.conf de dahdi:

span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101

span=2,2,0,cas,hdb3
cas=32-46:1101
cas=48-62:1101

# Global data
loadzone        = ve
defaultzone     = ve

El 21/01/13 16:30, Rabih Bou Orm escribió:
Tal como indica Maycol debería funcionarte ya que allí esta asignando al Grupo 2 los canales 1-15 y el Grupo 3 del 17-31

Podrías el resultado de tail -f /var/log/asterisk/full de una llamada saliente funcional, por favor?

...
--
Maycol Alvarez

TSU Informática
maycolalvarez at gmail.com<mailto:maycolalvarez at gmail.com>
http://maycolalvarez.com
Caracas, Venezuela.

-- _____________________________________________________________________ -- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20130121/48a1f10c/attachment-0001.htm>


More information about the asterisk-r2 mailing list