Skip to main content

Outgoing call problem

Posted by basisit on Wed, 11/19/2014

Good Morning to all,

I have a problem with outgoing call.

I have created 1 trunk as IAX.
then I have created a Outgoing rules with _X. that point to the tl-dialout-1-trunk

I have also configured some inbound routes, that work fine.

instead with outbound rule I have some problem, infact if I try to make some external call I have the following error:

Executing [onetrunk@macro-tl-dialout-base:15] Set("SIP/200-00000170", "TRUNK_PREPEND=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:16] Set("SIP/200-00000170", "TRUNK_DIALING_OPTIONS=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:17] Set("SIP/200-00000170", "CALLERID(num)=200") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:18] GotoIf("SIP/200-00000170", "1?end_did_chk") in new stack
-- Goto (macro-tl-dialout-base,onetrunk,22)
-- Executing [onetrunk@macro-tl-dialout-base:22] NoOp("SIP/200-00000170", "DID checking mechanism is disabled or DID does not belong to this server") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:23] GotoIf("SIP/200-00000170", "0?dial-CUSTOM,1") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:24] Goto("SIP/200-00000170", "dial-IAX,1") in new stack
-- Goto (macro-tl-dialout-base,dial-IAX,1)
-- Executing [dial-IAX@macro-tl-dialout-base:1] Dial("SIP/200-00000170", "IAX2/gwpri01/0CALLEDNUMBER,60,") in new stack
-- Called IAX2/gwpri01/0CALLEDNUMBER
[2014-11-19 11:32:00] WARNING[3270]: chan_iax2.c:3592 __attempt_transmit: Max retries exceeded to host 10.0.103.6 on IAX2/gwpri01-547 (type = 6, subclass = 1, ts=14, seqno=0)
-- Hungup 'IAX2/gwpri01-547'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [dial-IAX@macro-tl-dialout-base:2] Goto("SIP/200-00000170", "dial-CHANUNAVAIL,1") in new stack
-- Goto (macro-tl-dialout-base,dial-CHANUNAVAIL,1)
-- Executing [dial-CHANUNAVAIL@macro-tl-dialout-base:1] Goto("SIP/200-00000170", "next,1") in new stack
-- Goto (macro-tl-dialout-base,next,1)
-- Executing [next@macro-tl-dialout-base:1] Set("SIP/200-00000170", "i=6") in new stack
-- Executing [next@macro-tl-dialout-base:2] Goto("SIP/200-00000170", "onetrunk,1") in new stack
-- Goto (macro-tl-dialout-base,onetrunk,1)
-- Executing [onetrunk@macro-tl-dialout-base:1] Set("SIP/200-00000170", "FULLNAME=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:2] Set("SIP/200-00000170", "CDR(trunk)=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:3] Set("SIP/200-00000170", "TRUNK_NAME=") in new stack
-- Executing [onetrunk@macro-tl-dialout-base:4] GotoIf("SIP/200-00000170", "1?failed,1") in new stack
-- Goto (macro-tl-dialout-base,failed,1)
-- Executing [failed@macro-tl-dialout-base:1] PlayTones("SIP/200-00000170", "congestion") in new stack
-- Executing [failed@macro-tl-dialout-base:2] Busy("SIP/200-00000170", "10") in new stack
== Spawn extension (macro-tl-dialout-base, failed, 2) exited non-zero on 'SIP/200-00000170' in macro 'tl-dialout-base'
== Spawn extension (macro-tl-dialout-1-trunk, s, 3) exited non-zero on 'SIP/200-00000170' in macro 'tl-dialout-1-trunk'
== Spawn extension (from-inside-redir, 0CALLEDNUMBER, 1) exited non-zero on 'SIP/200-00000170'
-- Executing [h@from-inside-redir:1] Hangup("SIP/200-00000170", "") in new stack
== Spawn extension (from-inside-redir, h, 1) exited non-zero on 'SIP/200-00000170'

can sombody help me?

Regards
Giuliano