Sangoma A101 E1 line All circuits are busy

Gunjan.j
Posts: 1
Member Since:
2007-10-26

Hi,
I am using trixbox with Sangoma A101 card with Airtel E1 line. Outgoing calls does not happen. Running zttool shows no alarm. Also, all the 31 channels are configured with 16 as D channel. However, everthing was working fine with Digium X101 card.Please suggest the possible solution. Thanks in advance.
The output of asterisk -v r is as follows:

-- Executing Macro("SIP/222-086009c0", "dialout-trunk|2|9800098000||") in new stack
-- Executing Set("SIP/222-086009c0", "DIAL_TRUNK=2") in new stack
-- Executing Set("SIP/222-086009c0", "_NODEST=") in new stack
-- Executing Set("SIP/222-086009c0", "DIAL_NUMBER=9800098000") in new stack
-- Executing Set("SIP/222-086009c0", "ROUTE_PASSWD=") in new stack
-- Executing Set("SIP/222-086009c0", "DIAL_TRUNK_OPTIONS=tro") in new stack
-- Executing GotoIf("SIP/222-086009c0", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,8)
-- Executing Set("SIP/222-086009c0", "GROUP()=OUT_2") in new stack
-- Executing Macro("SIP/222-086009c0", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("SIP/222-086009c0", "user-callerid: device 222") in new stack
-- Executing GotoIf("SIP/222-086009c0", "0?report") in new stack
-- Executing GotoIf("SIP/222-086009c0", "0?start") in new stack
-- Executing Set("SIP/222-086009c0", "REALCALLERIDNUM=222") in new stack
-- Executing NoOp("SIP/222-086009c0", "REALCALLERIDNUM is 222") in new stack
-- Executing Set("SIP/222-086009c0", "AMPUSER=222") in new stack
-- Executing Set("SIP/222-086009c0", "AMPUSERCIDNAME=gj") in new stack
-- Executing GotoIf("SIP/222-086009c0", "0?report") in new stack
-- Executing Set("SIP/222-086009c0", "CALLERID(all)=gj ") in new stack
-- Executing Set("SIP/222-086009c0", "REALCALLERIDNUM=222") in new stack
-- Executing NoOp("SIP/222-086009c0", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("SIP/222-086009c0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,21)
-- Executing NoOp("SIP/222-086009c0", "Using CallerID "gj" ") in new stack
-- Executing Macro("SIP/222-086009c0", "record-enable|222|OUT") in new stack
-- Executing GotoIf("SIP/222-086009c0", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("SIP/222-086009c0", "recordingcheck|20071026-170700|1193398619.4") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20071026-170700|1193398619.4: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/222-086009c0", "No recording needed") in new stack
-- Executing GotoIf("SIP/222-086009c0", "0?skipoutcid") in new stack
-- Executing Set("SIP/222-086009c0", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing Macro("SIP/222-086009c0", "outbound-callerid|2") in new stack
-- Executing GotoIf("SIP/222-086009c0", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/222-086009c0", "REALCALLERIDNUM is 222") in new stack
-- Executing GotoIf("SIP/222-086009c0", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("SIP/222-086009c0", "USEROUTCID=") in new stack
-- Executing Set("SIP/222-086009c0", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/222-086009c0", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/222-086009c0", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("SIP/222-086009c0", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing GotoIf("SIP/222-086009c0", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("SIP/222-086009c0", "CallerID set to "gj" ") in new stack
-- Executing GotoIf("SIP/222-086009c0", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,16)
-- Executing DeadAGI("SIP/222-086009c0", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/222-086009c0", "OUTNUM=9800098000") in new stack
-- Executing Set("SIP/222-086009c0", "custom=ZAP/1") in new stack
-- Executing GotoIf("SIP/222-086009c0", "0?customtrunk") in new stack
-- Executing AGI("SIP/222-086009c0", "call_log.agi|s") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("SIP/222-086009c0", "ZAP/1/9800098000|300|") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called 1/9800098000
-- Zap/1-1 is proceeding passing it to SIP/222-086009c0
-- Channel 0/1, span 1 got hangup request, cause 3
Oct 26 17:07:00 WARNING[6181]: app_dial.c:722 wait_for_answer: Unable to forward voice
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/222-086009c0", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/222-086009c0", "Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing Macro("SIP/222-086009c0", "outisbusy|") in new stack
-- Executing Playback("SIP/222-086009c0", "all-circuits-busy-now|noanswer") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
-- Executing Playback("SIP/222-086009c0", "pls-try-call-later|noanswer") in new stack
-- Playing 'pls-try-call-later' (language 'en')

-- Executing Macro("SIP/222-086009c0", "hangupcall") in new stack
-- Executing ResetCDR("SIP/222-086009c0", "w") in new stack
-- Executing NoCDR("SIP/222-086009c0", "") in new stack
Oct 26 17:07:04 NOTICE[6181]: cdr.c:443 ast_cdr_free: CDR on channel 'SIP/222-086009c0' not posted
Oct 26 17:07:04 NOTICE[6181]: cdr.c:445 ast_cdr_free: CDR on channel 'SIP/222-086009c0' lacks end
-- Executing GotoIf("SIP/222-086009c0", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("SIP/222-086009c0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Wait("SIP/222-086009c0", "5") in new stack
-- Executing Hangup("SIP/222-086009c0", "") in new stack



jpatel
Posts: 57
Member Since:
2007-05-24
Follow PRI debugging instructions

Hi Gunjan,

Asterisk PRI Span Debugging

Please follow these steps when faced with dead span:
Record the stdout to file for each command.

1. wanrouter status
Check that wanpipe status is Connected
2. wanpipemon -i w1g1 -c Ta
Check the physical T1/E1 Alarms
3. Run: ifconfig
Make sure that tx/rx counters are incrementing.
4. tail -f -n 100 /var/log/messages
Check for any wanpipe errors in messages
5. wanpipemon -i w1g1 -c trd
Run a dchan trace and check that you are seeing incoming and outgoing traffic.
(Note: this option only works with TDMV_DCHAN option enabled, which should be enabled by default.)
6. From asterisk CLI
run: pri show span 1
Check that spans are UP and Active.

run: pri intense debug span 1
Confirm that in/out messages match the trace messages in
step 5: from wanpipemon dchan trace.

--

Jignesh Patel - Sangoma Technologies Inc.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.