I am really trying to get calls to work between ShoreTel 12.3 and FreePBX. I have the trunks set up, and they appear to be working, however when I call from Shoretel to a asterisk extension I get the following recorded message:
“The number you have dialed is not in service. Please check the number and dial again.”
This is a asterisk message and I can see the call is hitting the asterisk system, but for some reason it is not going to the extension I am dialing. Do any of you have any idea what might be causing this?
I am considering updating ShoreTel to 13.2, as my re-seller told me the sip handling is greatly improved.
Here are the log messages I am getting for this call.
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Executing [2901@from-sip-external:1] NoOp(“SIP/anonymous.invalid-00000170”, “Received incoming SIP connection from unknown peer to 2901”) in new stack
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Executing [2901@from-sip-external:2] Set(“SIP/anonymous.invalid-00000170”, “DID=2901”) in new stack
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Executing [2901@from-sip-external:3] Goto(“SIP/anonymous.invalid-00000170”, “s,1”) in new stack
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Goto (from-sip-external,s,1)
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Executing [s@from-sip-external:1] GotoIf(“SIP/anonymous.invalid-00000170”, “0?checklang:noanonymous”) in new stack
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Goto (from-sip-external,s,5)
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Executing [s@from-sip-external:5] Set(“SIP/anonymous.invalid-00000170”, “TIMEOUT(absolute)=15”) in new stack
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] func_timeout.c: – Channel will hangup at 2013-05-24 15:45:53.705 MDT.
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Executing [s@from-sip-external:6] Answer(“SIP/anonymous.invalid-00000170”, “”) in new stack
[2013-05-24 15:45:38] VERBOSE[20588][C-000000c3] pbx.c: – Executing [s@from-sip-external:7] Wait(“SIP/anonymous.invalid-00000170”, “2”) in new stack
[2013-05-24 15:45:40] VERBOSE[20588][C-000000c3] pbx.c: – Executing [s@from-sip-external:8] Playback(“SIP/anonymous.invalid-00000170”, “ss-noservice”) in new stack
[2013-05-24 15:45:40] VERBOSE[20588][C-000000c3] file.c: – <SIP/anonymous.invalid-00000170> Playing ‘ss-noservice.ulaw’ (language ‘en’)
[2013-05-24 15:45:45] VERBOSE[20588][C-000000c3] pbx.c: – Executing [s@from-sip-external:9] PlayTones(“SIP/anonymous.invalid-00000170”, “congestion”) in new stack
[2013-05-24 15:45:45] VERBOSE[20588][C-000000c3] pbx.c: – Executing [s@from-sip-external:10] Congestion(“SIP/anonymous.invalid-00000170”, “5”) in new stack
[2013-05-24 15:45:50] VERBOSE[20588][C-000000c3] pbx.c: == Spawn extension (from-sip-external, s, 10) exited non-zero on ‘SIP/anonymous.invalid-00000170’
[2013-05-24 15:45:50] VERBOSE[20588][C-000000c3] pbx.c: – Executing [h@from-sip-external:1] Hangup(“SIP/anonymous.invalid-00000170”, “”) in new stack
[2013-05-24 15:45:50] VERBOSE[20588][C-000000c3] pbx.c: == Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/anonymous.invalid-00000170’
I have been working on this for a week, so hopefully someone here has some ideas. Thanks in advance for any pointers you can offer.