[asterisk-r2] Elastix cutting call after 4 digits
Patrick Mugabeni
mugabenp at coppernet.zm
Wed Feb 29 04:36:35 CST 2012
Mc Grath,
I managed to get over the dropped digits. I needed to move the mfcr2
parameters above or on top of the channel definitions in the
chan_dahdi.conf.
I still have a problem making outbound call though. The trunk reports " all
circuits are busy now, please try your call later"
Any ideas
Regards
PKM
From: asterisk-r2-bounces at lists.digium.com
[mailto:asterisk-r2-bounces at lists.digium.com] On Behalf Of Mc GRATH Ricardo
Sent: 28 February 2012 18:25
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] Elastix cutting call after 4 digits
Patrick
It seems if change DNIS length from 4 to 6, is my understanding correct?
DNIS send to Asterisk is 245121, but only assume 2451 as DNIS.
By the way it strange but if you prefom reload chan_dahdi.so it will
indicated warning message as these one:
WARNING[2608]: chan_dahdi.c:18119 process_dahdi: Ignoring any changes to
'mfcr2_max_dnis' (on reload) at line yyyy..
It you displayed other message too, I found these mesage is associated when
you set #include dahdi-channels.conf , unfortunately I can't said which is
solution may be Moises or Digium, they can provide more information.
Mc GRATH Ricardo
E-Mail mcgrathr at mail2web.com
_____
From: asterisk-r2-bounces at lists.digium.com
[asterisk-r2-bounces at lists.digium.com] On Behalf Of Patrick Mugabeni
[mugabenp at coppernet.zm]
Sent: 28 February 2012 02:32
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] Elastix cutting call after 4 digits
Mcgrath,
Before I send the log file, see the CLI output once I call 245121
MFC/R2 call offered on chan 1. ANI = , DNIS = 2451, Category = National
Subscriber
MFC/R2 call has been accepted on backward channel 1
-- Executing [2451 at from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=2451") in
new stack
-- Executing [2451 at from-pstn:2] NoOp("DAHDI/1-1", "Received an unknown
call with DID set to 2451") in new stack
-- Executing [2451 at from-pstn:3] Goto("DAHDI/1-1", "s,a2") in new stack
-- Goto (from-pstn,s,2)
-- Executing [s at from-pstn:2] Answer("DAHDI/1-1", "") in new stack
-- Executing [s at from-pstn:3] Wait("DAHDI/1-1", "2") in new stack
-- Executing [s at from-pstn:4] Playback("DAHDI/1-1", "ss-noservice") in
new stack
-- <DAHDI/1-1> Playing 'ss-noservice.gsm' (language 'en')
From: asterisk-r2-bounces at lists.digium.com
[mailto:asterisk-r2-bounces at lists.digium.com] On Behalf Of Mc GRATH Ricardo
Sent: 27 February 2012 15:34
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] Elastix cutting call after 4 digits
Hi Patricia
log is written according to mfcr2_logdir= defalut is span1 and files with
trace dump should be at /var/log/asterisk/mfxr2/span1
BR
Mc GRATH Ricardo
E-Mail mcgrathr at mail2web.com
_____
From: asterisk-r2-bounces at lists.digium.com
[asterisk-r2-bounces at lists.digium.com] On Behalf Of Patrick Mugabeni
[mugabenp at coppernet.zm]
Sent: 27 February 2012 10:25
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] Elastix cutting call after 4 digits
Mc GRATH,
Where is the log written? I can send it immediately.
Regards
PKM
From: asterisk-r2-bounces at lists.digium.com
[mailto:asterisk-r2-bounces at lists.digium.com] On Behalf Of Mc GRATH Ricardo
Sent: 27 February 2012 14:52
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] Elastix cutting call after 4 digits
Patricia
It will help you if you can provide more details as E1 trace log
information, just needed to enable:
For your references for capture information you have to set onto
chan_dahdi.conf (mfcr2_logdir= , mfcr2_call_files= ,mfcr2_logging=all).
If you check log file recorder on mfcr2_logdir you will see if system is
processing dnis 6 or 4 digits.
Best regards
Mc GRATH Ricardo
E-Mail mcgrathr at mail2web.com
_____
From: asterisk-r2-bounces at lists.digium.com
[asterisk-r2-bounces at lists.digium.com] On Behalf Of Patrick Mugabeni
[mugabenp at coppernet.zm]
Sent: 27 February 2012 09:15
To: asterisk-r2 at lists.digium.com
Subject: [asterisk-r2] Elastix cutting call after 4 digits
Hello,
[Patrick Mugabeni]
Could someone help. I have the chan_dahdi.conf setup with the following, but
incoming call from E1 only has four digits even after changing
mfcr2_max_dnis=6 from 4
[root at coppercom ~]# cat /etc/asterisk/chan_dahdi.conf
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2012-02-23
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;Sangoma A101 port 1 [slot:4 bus:5 span:1] <wanpipe1>
context=from-pstn
group=0
echocancel=yes
faxdetect=incoming
channel => 1-15
channel => 17-31
signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=6
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20120229/c28cc65b/attachment-0001.htm>
More information about the asterisk-r2
mailing list