I have been using Trixbox for quite some time. I decided to give FreePBX a shot an I am having a seemingly simple problem, but I can not figure out what is going on.
I have an inbound trunk setup (Exactly as I do in my production Trixbox system) and I am directing an inboud route to my only extension. It fails every time… The debug below shows the inbound call attempting to dail 5128 resulting in ==Everyone is busy…
Debug
– Executing [s@macro-dial:10] Dial(“SIP/dire_fvw3g-09dd8248”, “SIP/5128|15|tr”) in new stack
– Couldn’t call 5128
== Everyone is busy/congested at this time (0:0/0/0)
– Executing [s@macro-dial:11] Set(“SIP/dire_fvw3g-09dd8248”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-exten-vm:10] Set(“SIP/dire_fvw3g-09dd8248”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-exten-vm:11] GosubIf(“SIP/dire_fvw3g-09dd8248”, “0?docfu|1”) in new stack
– Executing [s@macro-exten-vm:12] GosubIf(“SIP/dire_fvw3g-09dd8248”, “0?docfb|1”) in new stack
– Executing [s@macro-exten-vm:13] Set(“SIP/dire_fvw3g-09dd8248”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-exten-vm:14] NoOp(“SIP/dire_fvw3g-09dd8248”, “Voicemail is 5128”) in new stack
– Executing [s@macro-exten-vm:15] GotoIf(“SIP/dire_fvw3g-09dd8248”, “0?s-CHANUNAVAIL|1”) in new stack
– Executing [s@macro-exten-vm:16] NoOp(“SIP/dire_fvw3g-09dd8248”, “Sending to Voicemail box 5128”) in new stack
– Executing [s@macro-exten-vm:17] Macro(“SIP/dire_fvw3g-09dd8248”, “vm|5128|CHANUNAVAIL”) in new stack
– Executing [s@macro-vm:1] Macro(“SIP/dire_fvw3g-09dd8248”, “user-callerid|SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“SIP/dire_fvw3g-09dd8248”, “user-callerid: 2396455991 2396455991”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/dire_fvw3g-09dd8248”, “AMPUSER=2396455991”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/dire_fvw3g-09dd8248”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] GotoIf(“SIP/dire_fvw3g-09dd8248”, “1?start”) in new stack
– Goto (macro-user-callerid,s,6)
– Executing [s@macro-user-callerid:6] NoOp(“SIP/dire_fvw3g-09dd8248”, “REALCALLERIDNUM is 2396455991”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/dire_fvw3g-09dd8248”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/dire_fvw3g-09dd8248”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:9] GotoIf(“SIP/dire_fvw3g-09dd8248”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] NoOp(“SIP/dire_fvw3g-09dd8248”, “TTL: 64 ARG1: SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/dire_fvw3g-09dd8248”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“SIP/dire_fvw3g-09dd8248”, “Using CallerID “2396455991” <2396455991>”) in new stack
– Executing [s@macro-vm:2] Set(“SIP/dire_fvw3g-09dd8248”, “VMGAIN=”"") in new stack
– Executing [s@macro-vm:3] GotoIf(“SIP/dire_fvw3g-09dd8248”, “1?vmx|1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [vmx@macro-vm:1] GotoIf(“SIP/dire_fvw3g-09dd8248”, “0?s-CHANUNAVAIL|1”) in new stack
– Executing [vmx@macro-vm:2] Set(“SIP/dire_fvw3g-09dd8248”, “MODE=unavail”) in new stack
– Executing [vmx@macro-vm:3] GotoIf(“SIP/dire_fvw3g-09dd8248”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,5)
– Executing [vmx@macro-vm:5] NoOp(“SIP/dire_fvw3g-09dd8248”, "Checking if ext 5128 is enabled: ") in new stack
– Executing [vmx@macro-vm:6] GotoIf(“SIP/dire_fvw3g-09dd8248”, “1?s-CHANUNAVAIL|1”) in new stack
– Goto (macro-vm,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-vm:1] Macro(“SIP/dire_fvw3g-09dd8248”, “get-vmcontext|5128”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“SIP/dire_fvw3g-09dd8248”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/dire_fvw3g-09dd8248”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“SIP/dire_fvw3g-09dd8248”, “”) in new stack
– Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail(“SIP/dire_fvw3g-09dd8248”, “5128@default|u”) in new stack
== Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on ‘SIP/dire_fvw3g-09dd8248’ in macro ‘vm’
== Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on ‘SIP/dire_fvw3g-09dd8248’ in macro ‘exten-vm’
== Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on 'SIP/dire_fvw3g-09dd8248’
trixbox1*CLI>
trixbox1*CLI>
TRUNK PEER DETAILS
allow=g729
call-limit=50
canreinvite=no
context=from-trunk
disallow=all
host=xxxx.com
insecure=very
secret=xxxxx
type=friend
username=xxxxxx
Reg string is good: xxx:[email protected]
INBOUND ROUTE
DID Number: XXXXXXXXXX
CID: Blank
Destination: Extension 5128
I can not figure out what I am missing - this is the exact setting I use in Trixbox… Can anyone advise me as to whats going on?
Thanks and Happy New Year!
Seth