[asterisk-r2] outbound calls only sent a D like callerID
Gustavo Chavira
gchavira at e-electrosystems.com
Thu Nov 25 14:28:55 CST 2010
Hi guys!
I have a problem with the callerid that is sent by my asterisk. The person
that receive my call, just receive one letter "D" like callerid. It
produces that some times some carrier doesn't accept the call. I have this
problem with two carriers in Mexico (Alestra and Axtel) In this log, my
carrier is Alestra but I have other client with the same problem using
axtel.
I'm using OpenR2 version: 1.3.0, revision: (release) with elastix 2.0 and
asterisk 1.6.2
I'm using Openr2 and all it's working fine except outbound callerid. This
is the mfcr2 log.
[Nov 25 14:07:35] VERBOSE[15441] pbx.c: -- Executing
[9016566230794 at Accesolibre:1] Dial("SIP/750-000015bb",
"DAHDI/g10/016566230794,30") in new stack
[Nov 25 14:07:35] DEBUG[15441] chan_dahdi.c: Chan 1 - Requested to make call
(ANI=750, DNIS=016566230794, category=National Subscriber)
[Nov 25 14:07:35] DEBUG[15441] chan_dahdi.c: Chan 1 - Outgoing call
proceeding: ANI=750, DNIS=016566230794, Category=National Subscriber
[Nov 25 14:07:35] DEBUG[15441] chan_dahdi.c: Chan 1 - CAS Tx >> [SEIZE] 0x00
[Nov 25 14:07:35] DEBUG[15441] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x01
[Nov 25 14:07:35] VERBOSE[15441] app_dial.c: -- Called g10/016566230794
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: bits changed in chan 1
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Bits changed from 0x08
to 0x0C
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - CAS Rx << [SEIZE ACK]
0x0C
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MFC/R2 call
acknowledge!
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 0
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 0 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 0 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 1
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 6
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 5
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 6
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 6
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 2
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 2 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 2 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 3
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 3 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 3 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 0
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 0 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 0 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 7
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 7 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 7 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 9
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 9 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 9 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 4
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 4 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request
handled
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 3 [ON]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 4 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 3 [OFF]
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending category
National Subscriber
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]
[Nov 25 14:07:38] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]
[Nov 25 14:07:38] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]
[Nov 25 14:07:38] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]
[Nov 25 14:07:38] VERBOSE[15441] chan_dahdi.c: MFC/R2 call has been accepted
on forward channel 1
[Nov 25 14:07:38] VERBOSE[15441] app_dial.c: -- DAHDI/1-1 is ringing
[Nov 25 14:07:40] DEBUG[15441] chan_dahdi.c: bits changed in chan 1
[Nov 25 14:07:40] DEBUG[15441] chan_dahdi.c: Chan 1 - Bits changed from 0x0C
to 0x04
[Nov 25 14:07:40] DEBUG[15441] chan_dahdi.c: Chan 1 - CAS Rx << [ANSWER]
0x04
[Nov 25 14:07:40] VERBOSE[15441] chan_dahdi.c: MFC/R2 call has been answered
on channel 1
[Nov 25 14:07:40] VERBOSE[15441] app_dial.c: -- DAHDI/1-1 answered
SIP/750-000015bb
My config on chan_dahdi.conf is
signalling=mfcr2
mfcr2_variant=mx
mfcr2_get_ani_first=yes
mfcr2_max_ani=10
mfcr2_max_dnis=15
mfcr2_category=national_subscriber
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
rxgain=0.0
txgain=0.0
;group=10
callgroup=1
pickupgroup=1
mfcr2_logging=all
and my dialplan is :
exten => _9XXXXXXXX,1,Set(DEST=${EXTEN})
exten => _9XXXXXXXX,n,Set(CONTEXTO=1)
exten => _9XXXXXXXX,n,Set(CALLERID(num)=8181234567)
exten => _9XXXXXXXX,n,Gosub(check_block-custom,s,1)
exten => _9XXXXXXXX,n,Gosub(check_sin_clave-custom,s,1)
exten => _9XXXXXXXX,n,Dial(${ALESTRA}/${DEST:1},30)
exten => _9XXXXXXXX,n,Hangup
--
any ideas?? thanks
Ing. Gustavo Chavira Valle
(Digium Certified Asterisk Professional)
Electrosystems S de RL de CV
Tel (656) 623-0794
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20101125/3d306eff/attachment.htm
More information about the asterisk-r2
mailing list