Hi guys! <br><br>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.<br>
<br>I'm using OpenR2 version: 1.3.0, revision: (release) with elastix 2.0 and asterisk 1.6.2<br><br>I'm using Openr2 and all it's working fine except outbound callerid. This is the mfcr2 log.<br><br><br>[Nov 25 14:07:35] VERBOSE[15441] pbx.c: -- Executing [9016566230794@Accesolibre:1] Dial("SIP/750-000015bb", "DAHDI/g10/016566230794,30") in new stack<br>
[Nov 25 14:07:35] DEBUG[15441] chan_dahdi.c: Chan 1 - Requested to make call (ANI=750, DNIS=016566230794, category=National Subscriber)<br>[Nov 25 14:07:35] DEBUG[15441] chan_dahdi.c: Chan 1 - Outgoing call proceeding: ANI=750, DNIS=016566230794, Category=National Subscriber<br>
[Nov 25 14:07:35] DEBUG[15441] chan_dahdi.c: Chan 1 - CAS Tx >> [SEIZE] 0x00<br>[Nov 25 14:07:35] DEBUG[15441] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x01<br>[Nov 25 14:07:35] VERBOSE[15441] app_dial.c: -- Called g10/016566230794<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: bits changed in chan 1<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Bits changed from 0x08 to 0x0C<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - CAS Rx << [SEIZE ACK] 0x0C<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MFC/R2 call acknowledge!<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 0<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 0 [ON]<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 0 [OFF]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 1<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 6<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [OFF]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 5<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 5 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 5 [OFF]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 6<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [OFF]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 6<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:36] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 6 [OFF]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 2<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 2 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 2 [OFF]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 3<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 3 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 3 [OFF]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 0<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 0 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 0 [OFF]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 7<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 7 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 7 [OFF]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 9<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 9 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 9 [OFF]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending DNIS digit 4<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 4 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Group A DNIS request handled<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 3 [ON]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 4 [OFF]<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 3 [OFF]<br>
[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - Sending category National Subscriber<br>[Nov 25 14:07:37] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 1 [ON]<br>[Nov 25 14:07:38] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [ON]<br>
[Nov 25 14:07:38] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Tx >> 1 [OFF]<br>[Nov 25 14:07:38] DEBUG[15441] chan_dahdi.c: Chan 1 - MF Rx << 1 [OFF]<br>[Nov 25 14:07:38] VERBOSE[15441] chan_dahdi.c: MFC/R2 call has been accepted on forward channel 1<br>
[Nov 25 14:07:38] VERBOSE[15441] app_dial.c: -- DAHDI/1-1 is ringing<br>[Nov 25 14:07:40] DEBUG[15441] chan_dahdi.c: bits changed in chan 1<br>[Nov 25 14:07:40] DEBUG[15441] chan_dahdi.c: Chan 1 - Bits changed from 0x0C to 0x04<br>
[Nov 25 14:07:40] DEBUG[15441] chan_dahdi.c: Chan 1 - CAS Rx << [ANSWER] 0x04<br>[Nov 25 14:07:40] VERBOSE[15441] chan_dahdi.c: MFC/R2 call has been answered on channel 1<br>[Nov 25 14:07:40] VERBOSE[15441] app_dial.c: -- DAHDI/1-1 answered SIP/750-000015bb<br clear="all">
<br><br>My config on chan_dahdi.conf is<br><br>signalling=mfcr2<br>mfcr2_variant=mx<br>mfcr2_get_ani_first=yes<br>mfcr2_max_ani=10<br>mfcr2_max_dnis=15<br>mfcr2_category=national_subscriber<br>mfcr2_mfback_timeout=-1<br>mfcr2_metering_pulse_timeout=-1<br>
rxgain=0.0<br>txgain=0.0<br>;group=10<br>callgroup=1<br>pickupgroup=1<br>mfcr2_logging=all<br><br>and my dialplan is :<br><br>exten => _9XXXXXXXX,1,Set(DEST=${EXTEN})<br>exten => _9XXXXXXXX,n,Set(CONTEXTO=1)<br>exten => _9XXXXXXXX,n,Set(CALLERID(num)=8181234567)<br>
exten => _9XXXXXXXX,n,Gosub(check_block-custom,s,1)<br>exten => _9XXXXXXXX,n,Gosub(check_sin_clave-custom,s,1)<br>exten => _9XXXXXXXX,n,Dial(${ALESTRA}/${DEST:1},30)<br>exten => _9XXXXXXXX,n,Hangup<br>-- <br><br>
<br><br>any ideas?? thanks<br><br>Ing. Gustavo Chavira Valle<br>(Digium Certified Asterisk Professional)<br>Electrosystems S de RL de CV<br>Tel (656) 623-0794<br>