[asterisk-r2] Problem Get ANI Number

Roelee fauzi_roeli at gratika.co.id
Sat Oct 30 08:01:58 CDT 2010


Hi, i has tried to compile openr2 from your svn  and change it to 'id'
variant, but I still got problem.
this is output from CLI :
 143 ID      20      4        No        Yes              IDLE
IDLE    
 144 ID      20      4        No        Yes              IDLE
IDLE    
 145 ID      20      4        No        Yes              IDLE
IDLE    
 146 ID      20      4        No        Yes              IDLE
IDLE    
 147 ID      20      4        No        Yes              IDLE
IDLE    
 148 ID      20      4        No        Yes              IDLE
IDLE    
 149 ID      20      4        No        Yes              IDLE
IDLE    
 150 ID      20      4        No        Yes              IDLE
IDLE    
 151 ID      20      4        No        Yes              IDLE
IDLE    
 152 ID      20      4        No        Yes              IDLE
IDLE    
 153 ID      20      4        No        Yes              IDLE
IDLE    
 154 ID      20      4        No        Yes              IDLE
IDLE    
 155 ID      20      4        No        Yes              IDLE
IDLE    
New MFC/R2 call detected on chan 143.
[Oct 30 20:30:28] WARNING[9728]: chan_dahdi.c:1925 dahdi_r2_write_log:
Chan 143 - MF back cycle timed out!
[Oct 30 20:30:28] ERROR[9728]: chan_dahdi.c:1928 dahdi_r2_write_log:
Chan 143 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2
State = Seize ACK Transmitted, MF state = ANI Request Transmitted, MF
Group = Backward Group A, CAS = 0x00
DNIS = 109, ANI = , MF = 0x20
[Oct 30 20:30:28] ERROR[9728]: chan_dahdi.c:1713
dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 143: Multi
Frequency Cycle Timeout
[Oct 30 20:30:44] NOTICE[9728]: chan_dahdi.c:1959 dahdi_r2_on_line_idle:
Far end unblocked on chan 143
vrs01*CLI> 

the latest my chan_dahdi.conf is :
[channels]
language=en
group=1
relaxdtmf=yes
usecallerid=yes
cidsignalling=dtmf
cidstart=ring
hidecallerid=no
sendcalleridafter=2
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocancel=yes
echocancelwhenbridged=yes
immediate=no
amaflags=default
musiconhold=random
faxdetect=both

signalling=mfcr2
mfcr2_variant=id
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all
mfcr2_call_files=yes
mfcr2_skip_category=no
mfcr2_mfback_timeout=-1
mfcr2_allow_collect_calls=no
mfcr2_double_answer=yes
mfcr2_metering_pulse_timeout=-1
mfcr2_immediate_accept=yes

context=incoming
;group=1
callgroup=1
pickupgroup=1
callerid=asreceived
useincomingcalleridondahditransfer=yes
rxgain=0.0
txgain=0.0
cid_rxgain=5.0
;callerid=1234
channel =>
1-15,17-31,32-46,48-62,63-77,79-93,94-108,110-124,125-139,141-155

.
thanks.

 regards,

roelee

On Fri, 2010-10-29 at 09:52 -0400, Moises Silva wrote:

> Try
> 
> svn checkout https://openr2.googlecode.com/svn/branches/release-1
> 
> I added some changes for Indonesian variant.
> 
> Now the variant "id" is accepted, please use it and let me know if that works.
> 
> Moises Silva
> Senior Software Engineer
> Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
> L3R 9R6 Canada
> t. 1 905 474 1990 x128 | e. moy at sangoma.com
> 
> 
> 
> On Fri, Oct 29, 2010 at 5:24 AM, Roelee <fauzi_roeli at gratika.co.id> wrote:
> > Hi, if I am not wrong, the process of send or receive is using digit,
> > they told me that our server was not sending a digit A-6 or something
> > like that. Do you know about it ?
> > well, what do you think if I change our asterisk server with
> > astunicall-1.6 ? I read the document that unicall have mfrc2 variant of
> > indonesia ?
> >
> > thanks.
> > regards,
> >
> > roelee
> >
> >
> > On Thu, 2010-10-28 at 09:49 -0400, Moises Silva wrote:
> >> It may be they use a different variant than ITU. Ask them which MF
> >> tone do they expect from us to request them ANI.
> >>
> >> Moises Silva
> >> Senior Software Engineer
> >> Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
> >> L3R 9R6 Canada
> >> t. 1 905 474 1990 x128 | e. moy at sangoma.com
> >>
> >>
> >>
> >> On Thu, Oct 28, 2010 at 2:30 AM, fauzi_roeli at gratika.co.id
> >> <fauzi_roeli at gratika.co.id> wrote:
> >> > a couple day ago, the telcos sure me that they always sent ANI digit to our
> >> > server. but i don't know how to approve it. because we don't have any tool
> >> > for it except test call by ourself and until now we just get empty string
> >> > ANI. :(
> >> >
> >> > btw, thanks for advice :)
> >> >
> >> > regards,
> >> >
> >> > roelee
> >> >
> >> >
> >> >
> >> > Original Message:
> >> > -----------------
> >> > From: Moises Silva moises.silva at gmail.com
> >> > Date: Thu, 28 Oct 2010 01:10:14 -0400
> >> > To: fauzi_roeli at gratika.co.id, asterisk-r2 at lists.digium.com
> >> > Subject: Re: [asterisk-r2] Problem Get ANI Number
> >> >
> >> >
> >> > If at the other end you have a telco, then yes, the telco probably is
> >> > not sending caller id. Make sure they enabled caller id in your line
> >> > (in some countries and telcos you have to pay extra for this).
> >> >
> >> > Moises Silva
> >> > Senior Software Engineer
> >> > Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
> >> > L3R 9R6 Canada
> >> > t. 1 905 474 1990 x128 | e. moy at sangoma.com
> >> >
> >> >
> >> >
> >> > On Thu, Oct 28, 2010 at 1:00 AM, fauzi_roeli at gratika.co.id
> >> > <fauzi_roeli at gratika.co.id> wrote:
> >> >> sory, i don't understand what do you mean about the other end. it's about
> >> >> from telco switch or my other mfcr2 configuration in chan_dahdi.conf ?
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Original Message:
> >> >> -----------------
> >> >> From: Moises Silva moises.silva at gmail.com
> >> >> Date: Thu, 28 Oct 2010 00:35:24 -0400
> >> >> To: fauzi_roeli at gratika.co.id, asterisk-r2 at lists.digium.com
> >> >> Subject: Re: [asterisk-r2] Problem Get ANI Number
> >> >>
> >> >>
> >> >> On Thu, Oct 28, 2010 at 12:28 AM, fauzi_roeli at gratika.co.id
> >> >> <fauzi_roeli at gratika.co.id> wrote:
> >> >>> hi..
> >> >>>
> >> >>> i have change mfcr2_skip_category to no, but it make error in CLI like
> >> >> this:
> >> >>>
> >> >>> New MFC/R2 call detected on chan 139.
> >> >>> [Oct 28 11:47:41] WARNING[11700]: chan_dahdi.c:1925 dahdi_r2_write_log:
> >> >>> Chan 139 - MF back cycle timed out!
> >> >>> [Oct 28 11:47:41] ERROR[11700]: chan_dahdi.c:1928 dahdi_r2_write_log:
> >> > Chan
> >> >>> 139 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State =
> >> >>> Seize ACK Transmitted, MF state = Category Request Transmitted, MF Group
> >> > =
> >> >>> Backward Group A, CAS = 0x00
> >> >>> DNIS = 109, ANI = , MF = 0x20
> >> >>> [Oct 28 11:47:41] ERROR[11700]: chan_dahdi.c:1713
> >> >>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 139: Multi
> >> >>> Frequency Cycle Timeout
> >> >>> [Oct 28 11:47:47] NOTICE[11700]: chan_dahdi.c:1959 dahdi_r2_on_line_idle:
> >> >>> Far end unblocked on chan 139
> >> >>> vrs01*CLI>
> >> >>
> >> >> That most likely means that the other end is not configured to send
> >> >> caller id (ANI).
> >> >>
> >> >>
> >> >> Moises Silva
> >> >> Senior Software Engineer
> >> >> Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
> >> >> L3R 9R6 Canada
> >> >> t. 1 905 474 1990 x128 | e. moy at sangoma.com
> >> >>
> >> >> --------------------------------------------------------------------
> >> >> mail2web.com – What can On Demand Business Solutions do for you?
> >> >> http://link.mail2web.com/Business/SharePoint
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> _____________________________________________________________________
> >> >> -- 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
> >> >>
> >> >
> >> > --------------------------------------------------------------------
> >> > mail2web - Check your email from the web at
> >> > http://link.mail2web.com/mail2web
> >> >
> >> >
> >> >
> >> > --
> >> > _____________________________________________________________________
> >> > -- 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
> >> >
> >
> >
> >
> >
> > --
> > _____________________________________________________________________
> > -- 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
> 
> -- 
> _____________________________________________________________________
> -- 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/20101030/49a99761/attachment-0001.htm 


More information about the asterisk-r2 mailing list