[asterisk-r2] asterisk-r2 Digest, Vol 34, Issue 11

Benjamín Garzón benjagarzon at gmail.com
Sun Jun 19 21:48:27 CDT 2011


Fernando, yo tengo conf una trama R2 de Telmex Argentina y funciona de diez!
Habla con Brian de Telmex(Claro), el guaso es picante y va a ver donde tenes
el problema.
Por otro lado comproba el tema del cable, balún o lo que uses, eso es
principal. Otra cosa, cuidado porque Telmex te dicen que es R2 y por ahí es
PRI, me ha pasado en muuuuuuuuuuchas oportunidades.Probala con Pri! te
cuento que te muestra OK igual.


La tengo asi:


system.conf

span=1,1,0,cas,hdb3
cas=1-15:1101
dchan=16
cas=17-31:1101
echocanceller=mg2,1-15,17-31



chan_dahdi.conf

group=1
mfcr2_max_dnis=5
context=inbound_r2
signalling=mfcr2
mfcr2_variant=ar
channel=>1-15,17-31



Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
MFC/R2 Call: No
MFC/R2 Blocked: Yes
MFC/R2 MF State: MF Engine Off
MFC/R2 MF Group: No Group
MFC/R2 State: Idle
MFC/R2 Call State: Idle
MFC/R2 Call Files Enabled: No
MFC/R2 Variant: AR
MFC/R2 Max ANI: 10
MFC/R2 Max DNIS: 5
MFC/R2 DTMF Dialing: No
MFC/R2 DTMF Detection: No
MFC/R2 Get ANI First: Yes
MFC/R2 Skip Category: No
MFC/R2 Immediate Accept: No
MFC/R2 Accept On Offer: Yes
MFC/R2 Charge Calls: Yes
MFC/R2 Allow Collect Calls: No
MFC/R2 Forced Release: Yes
MFC/R2 MF Back Timeout: 5000ms
MFC/R2 R2 Metering Pulse Timeout: 400ms
MFC/R2 Rx CAS: BLOCK
MFC/R2 Tx CAS : IDLE
MFC/R2 MF Tx Signal: 0
MFC/R2 MF Rx Signal: 0
MFC/R2 Call Files Directory: /tmp
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Offhook






On Sat, Jun 18, 2011 at 9:15 PM, <asterisk-r2-request at lists.digium.com>wrote:

> 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: Telmex Argentina R2 (Fernando Berretta)
>   2. Re: Telmex Argentina R2 (Fernando Berretta)
>   3. R2 Channels blocked in CLEAR FORWARD state (Hedi Khalouaoui)
>   4. Re: Telmex Argentina R2 (Fernando Berretta)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 18 Jun 2011 14:23:57 -0300
> From: Fernando Berretta <fernando.berretta at gmail.com>
> Subject: Re: [asterisk-r2] Telmex Argentina R2
> To: asterisk-r2 at lists.digium.com
> Message-ID: <4DFCDF2D.4090109 at gmail.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hola Moises,
>
> Gracias por tu pronta respuesta.
>
> El problema es que no sale ni entra ninguna, y a nivel senalizacion se
> la ve arriba a la trama, la gente de telmex me dice que no salen ni
> entras las llamadas por una alarma en la central. Es la primera que
> configuro R2 de Telmex, he configurado R2 de Telecom sin problemas.
>
> la configuracion es:
>
> system.conf
>
> # Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)
> span=1,1,0,cas,hdb3
> cas=1-15:1101
> dchan=16
> cas=17-31:1101
> echocanceller=oslec,1-15,17-31
>
> chan_dahdi
>
> ;MFCR2 Parameters
>
> resetinterval=never
> context=from-pstn
> group=0
> echocancel=yes
> signalling=mfcr2
> mfcr2_variant=ar
> mfcr2_max_ani=10
> mfcr2_max_dnis=4
> mfcr2_category=national_subscriber
> mfcr2_mfback_timeout= 5000
> mfcr2_metering_pulse_timeout=200
>
> ;Log Related Files
> mfcr2_call_files =yes
> mfcr2_logdir = telmex
> mfcr2_logging=all
>
> channel =>1-15,17-31
>
>
> En los logs de mfcr2 no queda nada grabado.
>
> Asterisk pareciera ver la trama bien ya que los canales estan como IDLE,
> el log de asterisk de configuracion de los canales es:
>
> http://pastebin.com/bkpkX00a
>
> Si en lugar de poner la variante ar pongo la mx la situacion mejora un
> poco y recibe al menos el DNIS, y luego da un error
>
> [12:33:16:071] [Thread: 45919120] [Chan 28] - Protocol error. Reason =
> Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF
> state = Category Request Transmitted, MF Group = Backward Group C, CAS =
> 0x00
> DNIS = 5521, ANI = , MF = 0x20
>
> Pero... no deberia tener que estar en mx sino en ar
>
> Cualquier ayuda sera bienvenida.
>
> Saludos,
>
> On 6/18/2011 12:33 PM, Moises Silva wrote:
> > 2011/6/18 Fernando Berretta <fernando.berretta at gmail.com
> > <mailto:fernando.berretta at gmail.com>>
> >
> >     Hola,
> >
> >     Alguien ha puesto a andar una trama E1 MFCR2 de telmex Argentina ?
> >
> >     Tengo configurada la trama, veo la trama arriba sin alarmas y los
> >     bits tx en 1001 y los rx en 1001 y sin embargo no puedo hacer ni
> >     recibir llamadas. Alguien sabe que puede ser ?
> >
> >
> > Primero por favor lee esto:
> > http://www.catb.org/~esr/faqs/smart-questions.html
> > <http://www.catb.org/%7Eesr/faqs/smart-questions.html>
> >
> > Necesitas proveer mas informacion, principalmente los logs de debug
> > relevantes de las llamadas que no salen. Usa pastebin.com
> > <http://pastebin.com>
> >
> > Moises Silva
> > Senior Software Engineer, Software Development Manager
> > Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
> > L3R 9R6 Canada
> > t. 1 905 474 1990 x128 | e. moy at sangoma.com <mailto:moy at sangoma.com>
> >
> >
> > --
> > _____________________________________________________________________
> > -- 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/20110618/df36bdbd/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Sat, 18 Jun 2011 14:34:08 -0300
> From: Fernando Berretta <fernando.berretta at gmail.com>
> Subject: Re: [asterisk-r2] Telmex Argentina R2
> To: asterisk-r2 at lists.digium.com
> Message-ID: <4DFCE190.40701 at gmail.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Sin hacer ningun cambio.. solo habiendo pasado tiempo (1h aprox).. sola
> de golpe.. funciona y atiende, todo.. pero si reinicio la maquina deja
> de funcionar de nuevo.
>
> El log de la llamada que pude recibir es:
>
> http://pastebin.com/utLFPx7E
>
> que puede ser ? alqo que entra en conflicto cuando arranca y luego se
> desbloquea solo por un tema de tiempo ?
>
> On 6/18/2011 12:33 PM, Moises Silva wrote:
> > 2011/6/18 Fernando Berretta <fernando.berretta at gmail.com
> > <mailto:fernando.berretta at gmail.com>>
> >
> >     Hola,
> >
> >     Alguien ha puesto a andar una trama E1 MFCR2 de telmex Argentina ?
> >
> >     Tengo configurada la trama, veo la trama arriba sin alarmas y los
> >     bits tx en 1001 y los rx en 1001 y sin embargo no puedo hacer ni
> >     recibir llamadas. Alguien sabe que puede ser ?
> >
> >
> > Primero por favor lee esto:
> > http://www.catb.org/~esr/faqs/smart-questions.html
> > <http://www.catb.org/%7Eesr/faqs/smart-questions.html>
> >
> > Necesitas proveer mas informacion, principalmente los logs de debug
> > relevantes de las llamadas que no salen. Usa pastebin.com
> > <http://pastebin.com>
> >
> > Moises Silva
> > Senior Software Engineer, Software Development Manager
> > Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
> > L3R 9R6 Canada
> > t. 1 905 474 1990 x128 | e. moy at sangoma.com <mailto:moy at sangoma.com>
> >
> >
> > --
> > _____________________________________________________________________
> > -- 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/20110618/b1df83bf/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Sat, 18 Jun 2011 19:54:40 +0200
> From: Hedi Khalouaoui <hkhalouaoui at gmail.com>
> Subject: [asterisk-r2] R2 Channels blocked in CLEAR FORWARD state
> To: asterisk-r2 at lists.digium.com
> Message-ID: <3684BC14-BD15-450E-BD1A-7775E1AE2C09 at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hello,
>
> Newby in this list  and in R2 protocol,
> I have some problem with channels blocked in "CLEAR FORWARD" state.
>
> asterisk -rx "mfcr2 show channels"
>
> Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS   Rx CAS
>    1 ITU     10      4        No        No               SEIZE
> ANSWER
>    2 ITU     10      4        No        No               SEIZE
> ANSWER
>    3 ITU     10      4        No        No               SEIZE
> ANSWER
>    4 ITU     10      4        No        No               SEIZE
> ANSWER
>    5 ITU     10      4        No        No               SEIZE
> SEIZE AC
>    6 ITU     10      4        No        No               SEIZE
> SEIZE AC
>    7 ITU     10      4        No        No               SEIZE
> SEIZE AC
>    8 ITU     10      4        No        No               SEIZE
> ANSWER
>    9 ITU     10      4        No        No               SEIZE
> SEIZE AC
>   10 ITU     10      4        No        No               SEIZE
> SEIZE AC
>   11 ITU     10      4        No        No               CLEAR FO
> SEIZE AC
>   12 ITU     10      4        No        No               CLEAR FO
> SEIZE AC
>   13 ITU     10      4        No        No               CLEAR FO
> ANSWER
>   14 ITU     10      4        No        No               CLEAR FO
> ANSWER
>   15 ITU     10      4        No        No               CLEAR FO
> FORCED R
>   17 ITU     10      4        No        No               CLEAR FO
> ANSWER
>
> I tried to google about this subject, but didn't find solution.
>
> Thank you for you help.
>
> Hedi
>
> This is our configuration :
>
> asterisk-1.6.2.18
> dahdi-linux-complete-2.4.1.2+2.4.1
> openr2-1.3.1
>
> Installation done in Algeria
>
> r2proto.conf file :
> --------------------------------------------------------------------
> # Group A tones
> mf_ga_tones.request_next_dnis_digit=1
> mf_ga_tones.request_dnis_minus_1=2
> mf_ga_tones.request_dnis_minus_2=7
> mf_ga_tones.request_dnis_minus_3=8
> mf_ga_tones.request_all_dnis_again=X
> mf_ga_tones.request_next_ani_digit=5
> mf_ga_tones.request_category=5
> mf_ga_tones.request_category_and_change_to_gc=X
> mf_ga_tones.request_change_to_g2=3
> mf_ga_tones.address_complete_charge_setup=6
> mf_ga_tones.network_congestion=4
>
> # Group B tones
> mf_gb_tones.accept_call_with_charge=6
> mf_gb_tones.accept_call_no_charge=7
> mf_gb_tones.busy_number=3
> mf_gb_tones.network_congestion=4
> mf_gb_tones.unallocated_number=5
> mf_gb_tones.line_out_of_order=8
> mf_gb_tones.special_info_tone=2
> mf_gb_tones.reject_collect_call=X
> mf_gb_tones.number_changed=X
>
> # Group C tones (just Mexico use Group C signals)
> mf_gc_tones.request_next_ani_digit=X
> mf_gc_tones.request_change_to_g2=X
> mf_gc_tones.request_next_dnis_digit_and_change_to_ga=X
>
> # Group I tones
> mf_g1_tones.no_more_dnis_available=F
> mf_g1_tones.no_more_ani_available=F
> mf_g1_tones.caller_ani_is_restricted=C
>
> # Group II tones
> mf_g2_tones.national_subscriber=1
> mf_g2_tones.national_priority_subscriber=2
> mf_g2_tones.international_subscriber=7
> mf_g2_tones.international_priority_subscriber=9
> mf_g2_tones.collect_call=X
>
> # Timers in milliseconds
> # Use -1 to leave default, or just comment it out for that matter
> timers.mf_back_cycle=1500
> timers.mf_back_resume_cycle=150
> timers.mf_fwd_safety=10000
> timers.r2_seize=8000
> timers.r2_answer=80000
> timers.r2_metering_pulse=0
> timers.r2_double_answer=400
> timers.r2_answer_delay=150
> timers.cas_persistence_check=500
> timers.dtmf_start_dial=100
>
> ## misc settings ##
>
> # time that a MF tone should persist before handling it
> mf_threshold=0
>
> chan_dahdi.conf file :
> --------------------------------------------------------------------
> [channels]
> signalling=mfcr2
> usecallerid=yes
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
>
> group=1
> callgroup=1
> pickupgroup=1
>
> mfcr2_variant=itu
> mfcr2_max_ani=10
> mfcr2_max_dnis=4
> mfcr2_get_ani_first=no
> mfcr2_category=national_subscriber
> mfcr2_logdir=span1
> mfcr2_call_files=no
> mfcr2_logging=all
> mfcr2_mfback_timeout=1000
> mfcr2_metering_pulse_timeout=500
> mfcr2_allow_collect_calls=no
> mfcr2_double_answer=yes
>
> mfcr2_advanced_protocol_file=/etc/asterisk/r2proto.conf
>
>
> group = 1
> context = from-pstn
> channel => 1-15,17-31
> channel => 32-46,48-62
> channel => 63-77,79-93
> channel => 94-108,110-124
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 18 Jun 2011 21:12:36 -0300
> From: Fernando Berretta <fernando.berretta at gmail.com>
> Subject: Re: [asterisk-r2] Telmex Argentina R2
> To: asterisk-r2 at lists.digium.com
> Message-ID: <4DFD3EF4.7010102 at gmail.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> A alguien se le ocurre que puede ser ? pude verificar que luego de estar
> 35 minutos (Aprox) prendida la central, sin hacer absolutamente nada,
> sin modificar ninguna configuracion de la trama, las llamadas comienzan
> a fluir sin ningun tipo de problema y queda estable hasta que se la
> reinicia nuevamente a la maquina.
>
> On 6/18/2011 2:34 PM, Fernando Berretta wrote:
> > Sin hacer ningun cambio.. solo habiendo pasado tiempo (1h aprox)..
> > sola de golpe.. funciona y atiende, todo.. pero si reinicio la maquina
> > deja de funcionar de nuevo.
> >
> > El log de la llamada que pude recibir es:
> >
> > http://pastebin.com/utLFPx7E
> >
> > que puede ser ? alqo que entra en conflicto cuando arranca y luego se
> > desbloquea solo por un tema de tiempo ?
> >
> > On 6/18/2011 12:33 PM, Moises Silva wrote:
> >> 2011/6/18 Fernando Berretta <fernando.berretta at gmail.com
> >> <mailto:fernando.berretta at gmail.com>>
> >>
> >>     Hola,
> >>
> >>     Alguien ha puesto a andar una trama E1 MFCR2 de telmex Argentina ?
> >>
> >>     Tengo configurada la trama, veo la trama arriba sin alarmas y los
> >>     bits tx en 1001 y los rx en 1001 y sin embargo no puedo hacer ni
> >>     recibir llamadas. Alguien sabe que puede ser ?
> >>
> >>
> >> Primero por favor lee esto:
> >> http://www.catb.org/~esr/faqs/smart-questions.html
> >> <http://www.catb.org/%7Eesr/faqs/smart-questions.html>
> >>
> >> Necesitas proveer mas informacion, principalmente los logs de debug
> >> relevantes de las llamadas que no salen. Usa pastebin.com
> >> <http://pastebin.com>
> >>
> >> Moises Silva
> >> Senior Software Engineer, Software Development Manager
> >> Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
> >> L3R 9R6 Canada
> >> t. 1 905 474 1990 x128 | e. moy at sangoma.com <mailto:moy at sangoma.com>
> >>
> >>
> >> --
> >> _____________________________________________________________________
> >> -- Bandwidth and Colocation Provided byhttp://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/20110618/f8df8ea1/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 34, Issue 10
> *******************************************
>



-- 
Benjamín Garzón
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20110619/413edef1/attachment-0001.htm>


More information about the asterisk-r2 mailing list