Unable to make outbound calls

Hi All,

I am a new bee to *. I just installed Asterisk@home on FC3. I hv a FXO card. I hv configured two extensions one x-lite and other iaxComm. I configured * using AMP. The following setup works

  • x-lite (x 200) to iaxComm (x 201)
  • PSTN to x-lite
  • PSTN to iaxComm
    Voice mail, weather etc work fine.

When i try to make an external call i am getting message “All routes are busy”. In the asterisk console i am seeing “Everyone is busy/congested at this time”.

In AMP - Outbound dialing i hv configured a route which i call ‘local’. The dial pattern is
1NXXNXXXXXX
NXXNXXXXXX
NXXXXXX
and using trunk ZAP/g1.

Any idea why i am unable to make outbound call.

thanks for your help.
-B

That’s not enough information!

If you post all the messages from the asterisk console that are associated with one call that gives you the “Everyone is busy…” message, it will be easier to work out what’s happenining.

Set the asterisk console verbosity level to 4 before you do it - to give a reasonable amount of information.

For example, you need to show at least this amount of information:

-- Executing Dial("SIP/swaggie-9380", "IAX2/12345678@freshtel/015751234") in new stack
-- Called 12345678@freshtel/015751234
-- Call accepted by 203.22.251.220 (format ulaw)
-- Format for call is ulaw
-- Hungup 'IAX2/freshtel/11'

== No one is available to answer at this time

i hv set the verbose level to 4 and this is the output.


Accepting AUTHENTICATED call from 192.168.0.64, requested format = 2, act
ual format = 2
– Executing Macro(“IAX2/201@201/4”, “dialout-trunk|1|7857303|”) in new stac
k
– Executing GotoIf(“IAX2/201@201/4”, “1?3:2)”) in new stack
– Goto (macro-dialout-trunk,s,3)
– Executing Macro(“IAX2/201@201/4”, “record-enable|201|OUT”) in new stack
– Executing GotoIf(“IAX2/201@201/4”, “0 > 0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing GotoIf(“IAX2/201@201/4”, “1?5:8”) in new stack
– Goto (macro-record-enable,s,5)
– Executing DBget(“IAX2/201@201/4”, “RecEnable=RECORD-OUT/201”) in new stac
k
– DBget: varname=RecEnable, family=RECORD-OUT, key=201
– DBget: Value not found in database.
– Executing SetVar(“IAX2/201@201/4”, “CALLFILENAME=OUT201-20050619-112719-1
119205639.21”) in new stack
– Executing Goto(“IAX2/201@201/4”, “s|14”) in new stack
– Goto (macro-record-enable,s,14)
– Executing GotoIf(“IAX2/201@201/4”, “0?15:99”) in new stack
– Goto (macro-record-enable,s,99)
– Executing NoOp(“IAX2/201@201/4”, “NO RECORDING NEEDED”) in new stack
– Executing GotoIf(“IAX2/201@201/4”, “1?7”) in new stack
– Goto (macro-dialout-trunk,s,7)
– Executing GotoIf(“IAX2/201@201/4”, “0?9”) in new stack
– Executing SetCallerID(“IAX2/201@201/4”, “14253926763”) in new stack
– Executing SetGroup(“IAX2/201@201/4”, “OUT_1”) in new stack
– Executing CheckGroup(“IAX2/201@201/4”, “1”) in new stack
– Executing SetVar(“IAX2/201@201/4”, “DIAL_NUMBER=7857303”) in new stack
– Executing SetVar(“IAX2/201@201/4”, “DIAL_TRUNK=1”) in new stack
– Executing AGI(“IAX2/201@201/4”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
– AGI Script fixlocalprefix completed, returning 0
– Executing SetVar(“IAX2/201@201/4”, “OUTNUM=7857303”) in new stack
– Executing Cut(“IAX2/201@201/4”, “custom=OUT_1|:|1”) in new stack
– Executing GotoIf(“IAX2/201@201/4”, “0?19”) in new stack
– Executing Dial(“IAX2/201@201/4”, “ZAP/g1/7857303”) in new stack
== Everyone is busy/congested at this time
– Executing Goto(“IAX2/201@201/4”, “s-CHANUNAVAIL|1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing NoOp(“IAX2/201@201/4”, “Dial failed due to CHANUNAVAIL”) in new
stack
– Executing Macro(“IAX2/201@201/4”, “outisbusy”) in new stack
– Executing Playback(“IAX2/201@201/4”, “allison7/all-circuits-busy-now”) in
new stack
– Playing ‘allison7/all-circuits-busy-now’ (language ‘en’)
– Executing Playback(“IAX2/201@201/4”, “allison7/pls-try-call-later”) in ne w stack
– Playing ‘allison7/pls-try-call-later’ (language ‘en’)
– Executing Macro(“IAX2/201@201/4”, “hangupcall”) in new stack
– Executing ResetCDR(“IAX2/201@201/4”, “w”) in new stack
– Executing NoCDR(“IAX2/201@201/4”, “”) in new stack
– Executing Wait(“IAX2/201@201/4”, “5”) in new stack
– Executing Hangup(“IAX2/201@201/4”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'IAX2/201@201/4 ’ in macro ‘hangupcall’
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on ‘IAX2/201@201/4’


Some more info

asterisk1*CLI> zap show channels
Chan Extension Context Language MusicOnHold
pseudo from-pstn en
1 from-pstn en

zap show channel 1

asterisk1*CLI> zap show channel 1
Channel: 1CLI>
File Descriptor: 15
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID string:
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Owner:
Real:
Callwait:
Threeway:
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Actual Hookstate: Offhook

asterisk1*CLI>show modules
chan_zap.so Zapata Telephony w/PRI 0