[asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO

Mc GRATH Ricardo mcgrathr at mail2web.com
Sat Feb 25 21:20:28 CST 2012


Carlos

At first I have to said sorry, I found on Asterisk as i mentioned if duplicated context (copy and paste) it will assume the first one, I just mean can't duplicate MFCR2 and set different value, it will take valid the first one, second no meaning.
Again very sorry my apologize, I can suggested to used PRI mode you can send one or more digit, or other add another E1 card.
Sorry for confuse.
Best regards

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 Mc GRATH Ricardo [mcgrathr at mail2web.com]
Sent: 25 February 2012 20:27
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO

Carlos

problem in E1 MFCR2 mode as it a compeller you must send digit mfcr2 max digit, after complete MFCR2 signal  process (B6 or whatever) system will exchange speech, all these according to  MFCR2 DNIS.
So the only way, is to partitioned channel according to 3, 6, 7 digits, but you should test beforehand, it need to work together with Nortel PBX, could let me know Nortel Model to try look information?
Best regards


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 Carlos Rodriguez Alcala [carlos.rav at gmail.com]
Sent: 25 February 2012 20:00
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO

Thanks again Ricardo,

When I dial a code to take the E1 from PBX they PBX connect me to a Channel of the E1(give me tone) , in a round robin method, start with 62, the next call 61... to 32  .
So I ´ll talk with the Nortel Technical sopport in order to do that ( to take and speficic channel 48-62 or 32- 47)
The other way I ´m thinking its to change mfcr2_max_dnis=1, and then colect in asterisk the number that the users whants to dial ( it´s no a clean way, but probably works).

So, the only way to said sendme the number that you have to asterisk it´s from the PBX side??

Thanks one more.

2012/2/25 Mc GRATH Ricardo <mcgrathr at mail2web.com<mailto:mcgrathr at mail2web.com>>
Carlos

When from PBX (Nortel) you dial an xx number on Asterisk it's always through channel 57.
Well it need to change on Nortel when it perform a call to Asterisk according dial number to be router to channel where it can process call ac cording to digit number length.
So according to my suggestion the first 15 channels (32 to 46) will process call where PBX Nortel will send digit length of 4 digits, and the  channels 48 to 62 will process call of 7 digits.
By the way to dial digits that you send after some timeout (Nortel to Asterisk), it could be possible but it's depend of the PBX (Nortel) and configured onto system.
Try to when make a call if a possibility on Nortel to choose channel by someway possible by a code or key on extension so in these way you can test manually.
Best regards

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

________________________________
From: asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com> [asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com>] On Behalf Of Carlos Rodriguez Alcala [carlos.rav at gmail.com<mailto:carlos.rav at gmail.com>]
Sent: 25 February 2012 18:24

To: asterisk-r2 at lists.digium.com<mailto:asterisk-r2 at lists.digium.com>
Subject: Re: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO

Thanks Ricardo,
I try the configuration that you sugest me. but I have this problem:

 The thing is than I can´t choose the channel I use, for example when I call through PBX, I dial de code to take the E1, and The PBX give for example one channel and tone  ( appear on asterisk
"New MFC/R2 call detected on chan 57.
localhost*CLI>" but change on every call the chan XX) and the I have to Dial the number of 3 , 6 or 7 digits)

So, there´s no way to say to E1 dialthe digits that I send you after some timeout parameter ???

2012/2/23 Mc GRATH Ricardo <mcgrathr at mail2web.com<mailto:mcgrathr at mail2web.com>>
Carlos
Good sounds, great! congratulations!

Well MFCR2 have these kind of issues and it look limited, and becomes from compelled digit length number, well at these stage I couldn't said  exactly how to resolve, but I have an idea.
Basically I think to divide  E1 trunk channels on both side in order to send different digit length number, in case of Asterisk on dahdi-channels.conf  you can set channels it could be see bottom of configuration so it could be on the same span 2 context applied to different channel and digit length.
In the other side should have to do call routing table to redirect digit length to the right channels otherwise, could happens incorrect disconnection causes.
If these it work it have a limitation of quantity call routes, but if work you can adjust according to traffic measurement and analysis.

Configuration for less quantity digits numbers

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
mfcr2_skip_category=yes
group=2
;switchtype = euroisdn
signalling =mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=yes
mfcr2_max_ani=4
mfcr2_max_dnis=4
callerid=asreceived
mfcr2_category=national_priority_subscribe
mfcr2_logdir=span1
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
mfcr2_allow_collect_calls=no
mfcr2_double_answer=no
mfcr2_forced_release=no
mfcr2_charge_calls=yes
mfcr2_skip_category=no
callerid=asreceived
context=salida
channel => 32-46

Configuration for 7 digits number length

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
mfcr2_skip_category=yes
group=2
;switchtype = euroisdn
signalling =mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=yes
mfcr2_max_ani=4
mfcr2_max_dnis=7
callerid=asreceived
mfcr2_category=national_priority_subscribe
mfcr2_logdir=span1
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
mfcr2_allow_collect_calls=no
mfcr2_double_answer=no
mfcr2_forced_release=no
mfcr2_charge_calls=yes
mfcr2_skip_category=no
callerid=asreceived
context=salida
channel => 48-62

Please check dialplan if you have assign context (DAHDI/g/${EXTEN})

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

________________________________
From: asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com> [asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com>] On Behalf Of Carlos Rodriguez Alcala [carlos.rav at gmail.com<mailto:carlos.rav at gmail.com>]
Sent: 23 February 2012 22:20

To: asterisk-r2 at lists.digium.com<mailto:asterisk-r2 at lists.digium.com>
Subject: Re: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO

Hi Ricardo,

It works!! thanks.

I still have a problem... I have to call to numbers with 6 or 7 digits(sometimes 3 numbers), but if I put 6 on mfcr2_max_dnis it only allow me to dial 6 digits and then send the call.
If I put 7 digits(on mfcr2_max_dnis=7) I only can call to numbers 7 digits, if I call  6 digits (with mfcr2_max_dnis=7) sound me like busy after few seconds.
This is the configuration of de E1 (side pbx) and then the log of a sucefull call(7 digits, on chanel 46) and a fail log (6 digits, on channel 45).

In the debug it like always expect "expected length: 7" no less than that!!
How can I do?

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
mfcr2_skip_category=yes
group=2
;switchtype = euroisdn
signalling =mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=yes
mfcr2_max_ani=4
mfcr2_max_dnis=7
callerid=asreceived
mfcr2_category=national_priority_subscribe
mfcr2_logdir=span1
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
mfcr2_allow_collect_calls=no
mfcr2_double_answer=no
mfcr2_forced_release=no
mfcr2_charge_calls=yes
mfcr2_skip_category=no
callerid=asreceived
context=salida
channel => 32-46,48-62
#################################################
channel 46

http://pastebin.com/iASqWrSP
#############

channel 45
http://pastebin.com/gLV38UbT

2012/2/22 Mc GRATH Ricardo <mcgrathr at mail2web.com<mailto:mcgrathr at mail2web.com>>
Carlos

I probably sure problem it becomes from the rule setting on dialplan that you have assign, just in case of your settings of " .," is not a good setting it mean Asterisk can dial one or more digits, by the way  it can causes great potential to cause problems, these last is not from me.
So I have an idea to test dialplan  if working properly.
Could assign context [salida] to one Asterisk SIP device and use for test of dialplan rules?
By the other way I change salida rules to the following, it should work.
[salida]
exten => _x.,1,Progress()
exten => _X.,n,Dial(DAHDI/g1/${EXTEN})

Try it and let me know the test result

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

________________________________
From: asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com> [asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com>] On Behalf Of Carlos Rodriguez Alcala [carlos.rav at gmail.com<mailto:carlos.rav at gmail.com>]
Sent: 22 February 2012 11:50

To: asterisk-r2 at lists.digium.com<mailto:asterisk-r2 at lists.digium.com>
Subject: Re: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO

Ok I will set asterisk -vvvr !! :D
For now there´s no way, I´ll ask for PBX tech, But If I connect directly TELCO-PBX works well.

2012/2/22 Mc GRATH Ricardo <mcgrathr at mail2web.com<mailto:mcgrathr at mail2web.com>>
Thanks

Well how about to set core set verbose 3 to see what's  going on when call is performing?
No way to get a trace from Nortel?

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

________________________________
From: asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com> [asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com>] On Behalf Of Carlos Rodriguez Alcala [carlos.rav at gmail.com<mailto:carlos.rav at gmail.com>]
Sent: 22 February 2012 11:08

To: asterisk-r2 at lists.digium.com<mailto:asterisk-r2 at lists.digium.com>
Subject: Re: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO

Hi Ricardo,


I have a digium card with 2 E1, I want to record the calls, so I have  PBX ----E1 ----Elastix-----E1 ---- TELCO.
As you can see in my chan_dahdi.conf:
context= salida

and

extensions.conf

[salida]
exten => .,1,Answer
exten => .,2,set(calltime=${STRFTIME(${EPOCH},,%C%y-%m-%d--%H\:%M\:%S)})
exten => .,3,MixMonitor(E_${calltime}_from_${CALLERID(num)}to__${EXTEN}.wav)
exten => .,n,Dial(DAHDI/g1/${EXTEN})
exten => h,1,Hangup



2012/2/22 Mc GRATH Ricardo <mcgrathr at mail2web.com<mailto:mcgrathr at mail2web.com>>
Hi

What kind of connection you have between PBX (nortel) to Asterisk?
If a E1 could you get a trace from Nortel to Asterisk?
It probably you have to review your dialplan for call rerouting from external device via Asterisk, it will help to get trace from external device from Asterisk to let you know the call disconnection cause.
Best regards

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

________________________________
From: asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com> [asterisk-r2-bounces at lists.digium.com<mailto:asterisk-r2-bounces at lists.digium.com>] On Behalf Of omar ivan perez vargas [o_i_p_v at hotmail.com<mailto:o_i_p_v at hotmail.com>]
Sent: 22 February 2012 09:40
To: asterisk-r2 at lists.digium.com<mailto:asterisk-r2 at lists.digium.com>
Subject: Re: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO




--
Atentamente,

Carlos Rodríguez Alcalá Villagra


--
_____________________________________________________________________
-- 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



--
Atentamente,

Carlos Rodríguez Alcalá Villagra


--
_____________________________________________________________________
-- 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



--
Atentamente,

Carlos Rodríguez Alcalá Villagra

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20120225/d0768ed2/attachment-0001.htm>


More information about the asterisk-r2 mailing list