[asterisk-r2] Some long distance numbers get congestion message every time

Raúl Torres-Duque RTorresDuque at finantek.com
Wed Dec 3 10:49:42 CST 2008


I have installed libopenr2 1.0.0 on Asterisk 1.4.22. I have some long distance numbers (national and international) that get the "all circuits are busy now" message every time. We know the numbers work because we've tried them from other lines. There is no restriction for such numbers so we are kind of lost here. This is the first DAHDI installation we made but we have several Asterisk 1.4.21.2 with the same system configuration (computer, Sangoma card, etc.) that do not present that issue.

 

Here is my system configuration:

 

Asterisk running version 1.4.22

Asterisk source version 1.4.21.2

CentOS 5.2

OpenR2 version: 1.0.0, revision:exported  ->got from mfcr2 show version

 

====chan_dahdi.conf====

 

;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit

;autogenrated on 2008-11-26

;Dahdi Channels Configurations 

;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

 

[trunkgroups]

 

[channels]

languaje=es

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

busydetect=yes

busycount=4

 

;Sangoma A101 port 1 [slot:0 bus:17 span:1] <wanpipe1>

context=from-pstn

group=0

signalling=mfcr2

mfcr2_variant=mx

mfcr2_get_ani_first=no

mfcr2_max_ani=10

mfcr2_max=4

mfcr2_category=national_subscriber

mfcr2_call_files=yes

mfcr2_logdir=span1

mfcr_logging=all

mfcr2_mfback_timeout=-1

mfcr2_metering_pulse_timeout=-1

 

channel =>1-10

 

====system.conf====

 

#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit

#autogenrated on 2008-11-26

#Dahdi Channels Configurations 

#For detailed Dahdi options, view /etc/dahdi/system.conf.bak

loadzone=mx

defaultzone=mx

 

#Sangoma A101 port 1 [slot:0 bus:17 span:1] <wanpipe1>

span=1,1,0,cas,hdb3

cas=1-15:1101

cas=17-31:1101

hardhdlc=16

 

==== debug file in /var/log/asterisk/mfcr2/span1/ chan-2-forward-16-20081202230746.call==== 

[23:07:46:889] [Thread: 3077782416] [Chan 2] - Call started at Tue Dec  2 23:07:46 2008 on chan 2

[23:07:46:889] [Thread: 3077782416] [Chan 2] - CAS Tx >> [SEIZE] 0x00

[23:07:46:889] [Thread: 3077782416] [Chan 2] - CAS Raw Tx >> 0x01

[23:07:46:944] [Thread: 3077782416] [Chan 2] - Bits changed from 0x08 to 0x0C

[23:07:46:944] [Thread: 3077782416] [Chan 2] - CAS Rx << [SEIZE ACK] 0x0C

[23:07:46:944] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 2

[23:07:46:944] [Thread: 3077782416] [Chan 2] - timer id 2 has been cancelled

[23:07:46:944] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 0

[23:07:46:944] [Thread: 3077782416] [Chan 2] - MF Tx >> 0 [ON]

[23:07:47:089] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:47:089] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:47:089] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:47:089] [Thread: 3077782416] [Chan 2] - MF Tx >> 0 [OFF]

[23:07:47:149] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:47:149] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 1

[23:07:47:149] [Thread: 3077782416] [Chan 2] - MF Tx >> 1 [ON]

[23:07:47:249] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:47:249] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:47:249] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:47:249] [Thread: 3077782416] [Chan 2] - MF Tx >> 1 [OFF]

[23:07:47:329] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:47:329] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 7

[23:07:47:329] [Thread: 3077782416] [Chan 2] - MF Tx >> 7 [ON]

[23:07:47:429] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:47:429] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:47:429] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:47:429] [Thread: 3077782416] [Chan 2] - MF Tx >> 7 [OFF]

[23:07:47:509] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:47:509] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 2

[23:07:47:509] [Thread: 3077782416] [Chan 2] - MF Tx >> 2 [ON]

[23:07:47:629] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:47:629] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:47:629] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:47:629] [Thread: 3077782416] [Chan 2] - MF Tx >> 2 [OFF]

[23:07:47:709] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:47:709] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 2

[23:07:47:709] [Thread: 3077782416] [Chan 2] - MF Tx >> 2 [ON]

[23:07:47:829] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:47:829] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:47:829] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:47:829] [Thread: 3077782416] [Chan 2] - MF Tx >> 2 [OFF]

[23:07:47:909] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:47:909] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 2

[23:07:47:909] [Thread: 3077782416] [Chan 2] - MF Tx >> 2 [ON]

[23:07:48:029] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:48:029] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:48:029] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:48:029] [Thread: 3077782416] [Chan 2] - MF Tx >> 2 [OFF]

[23:07:48:109] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:48:109] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 1

[23:07:48:109] [Thread: 3077782416] [Chan 2] - MF Tx >> 1 [ON]

[23:07:48:229] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:48:229] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:48:229] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:48:229] [Thread: 3077782416] [Chan 2] - MF Tx >> 1 [OFF]

[23:07:48:309] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:48:309] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 6

[23:07:48:309] [Thread: 3077782416] [Chan 2] - MF Tx >> 6 [ON]

[23:07:48:429] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:48:429] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:48:429] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:48:429] [Thread: 3077782416] [Chan 2] - MF Tx >> 6 [OFF]

[23:07:48:509] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:48:509] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 4

[23:07:48:509] [Thread: 3077782416] [Chan 2] - MF Tx >> 4 [ON]

[23:07:48:609] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:48:609] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:48:609] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:48:609] [Thread: 3077782416] [Chan 2] - MF Tx >> 4 [OFF]

[23:07:48:689] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:48:689] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 3

[23:07:48:689] [Thread: 3077782416] [Chan 2] - MF Tx >> 3 [ON]

[23:07:48:809] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:48:809] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:48:809] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:48:809] [Thread: 3077782416] [Chan 2] - MF Tx >> 3 [OFF]

[23:07:48:869] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:48:869] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 9

[23:07:48:869] [Thread: 3077782416] [Chan 2] - MF Tx >> 9 [ON]

[23:07:48:949] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [ON]

[23:07:48:949] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:48:949] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:48:949] [Thread: 3077782416] [Chan 2] - MF Tx >> 9 [OFF]

[23:07:49:009] [Thread: 3077782416] [Chan 2] - MF Rx << 1 [OFF]

[23:07:49:009] [Thread: 3077782416] [Chan 2] - Sending DNIS digit 3

[23:07:49:009] [Thread: 3077782416] [Chan 2] - MF Tx >> 3 [ON]

[23:07:49:109] [Thread: 3077782416] [Chan 2] - MF Rx << 4 [ON]

[23:07:49:109] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:49:109] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:49:109] [Thread: 3077782416] [Chan 2] - MF Tx >> 3 [OFF]

[23:07:49:169] [Thread: 3077782416] [Chan 2] - MF Rx << 4 [OFF]

[23:07:49:169] [Thread: 3077782416] [Chan 2] - Far end disconnected. Reason: Network Congestion

[23:07:49:169] [Thread: 3077782416] [Chan 2] - Attempting to cancel timer timer 0

[23:07:49:169] [Thread: 3077782416] [Chan 2] - Cannot cancel timer 0

[23:07:49:169] [Thread: 3077782416] [Chan 2] - CAS Tx >> [CLEAR FORWARD] 0x08

[23:07:49:169] [Thread: 3077782416] [Chan 2] - CAS Raw Tx >> 0x09

[23:07:49:217] [Thread: 3084491664] [Chan 2] - Bits changed from 0x0C to 0x08

[23:07:49:217] [Thread: 3084491664] [Chan 2] - CAS Rx << [IDLE] 0x08

[23:07:49:217] [Thread: 3084491664] [Chan 2] - Call ended

[23:07:49:217] [Thread: 3084491664] [Chan 2] - Attempting to cancel timer timer 0

[23:07:49:217] [Thread: 3084491664] [Chan 2] - Cannot cancel timer 0

 

 

Any help would be appreciated.

 

Regards,

 

Raul Torres Duque

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20081203/4b65bf17/attachment-0001.htm 


More information about the asterisk-r2 mailing list