@kwriley87 wrote:
Hello
I have Server A and Server B. I want to configure a SIP trunk between the two servers so that all outbound calls on Server A route through Server B which is connected to my carrier.
I've got a SIP trunk registered between them both, but when I attempt a call, it never hits Server B. Server A provides the following output:
-- Executing [s@macro-dialout-trunk-predial-hook:1] SIPAddHeader("SIP/652-00001aec", "P-Asserted-Identity:sip:4698503805@bt.voipdnsservers.com") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:2] MacroExit("SIP/652-00001aec", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/652-00001aec", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/652-00001aec", "1?Set(CONNECTEDLINE(num,i)=2146749682)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/652-00001aec", "1?Set(CONNECTEDLINE(name,i)=CID:4698503805)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/652-00001aec", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/652-00001aec", "SIP/Call-Router-A/2146749682,300,Tt") in new stack
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/652-00001aec", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/652-00001aec", "0?continue,1:s-CONGESTION,1") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/652-00001aec", "RC=21") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/652-00001aec", "21,1") in new stack
-- Executing [21@macro-dialout-trunk:1] Goto("SIP/652-00001aec", "continue,1") in new stack
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/652-00001aec", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 21 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/652-00001aec", "CALLERID(number)=652") in new stack
-- Executing [2146749682@restrictedroute-9bf31c7ff062936a96d3c8bd1f8f2ff3:7] Macro("SIP/652-00001aec", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/652-00001aec", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/652-00001aec", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/652-00001aec", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/652-00001aec", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- Playing 'all-circuits-busy-now.ulaw' (language 'en')
-- Playing 'pls-try-call-later.ulaw' (language 'en')Here are my trunk config's for both servers..
Server A
type=friend
context=from-internal
qualify=yes
host=IP ADDRESS OF SERVER B
insecure=invite
allow=allServer B
type=friend
context=from-internal
qualify=yes
insecure=port,invite
host=CARRIER IP
fromdomain=CARRIER IP
disallow=all
allow=g729,ulawCan someone please help me understand what is wrong with my trunk config?
Thank you so much!
Posts: 5
Participants: 1