Hello,
I just recently got my FreePBX server all up and running including my polycom phones. Were using a 40 channel sip trunk to place and receive outside calls. The outbound routes worked fine, but I’m having problems getting my in bound route to work. When I called the number I got a “This number is not in service message”. I decided to check the Asterisk log to see if it was asterisk saying that our our trunk. So i connect to the asterisk console and placed the call again and saw this:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [[email protected]:1] NoOp("SIP/XXX.XXX.XXX.XXX-00000027", "Received incoming SIP connection from unknown peer to XXXXXXXXXX") in new stack
-- Executing [[email protected]:2] Set("SIP/XXX.XXX.XXX.XXX-00000027", "DID=XXXXXXXXXX") in new stack
-- Executing [[email protected]:3] Goto("SIP/XXX.XXX.XXX.XXX-00000027", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [[email protected]:1] GotoIf("SIP/XXX.XXX.XXX.XXX-00000027", "0?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,5)
-- Executing [[email protected]:5] Set("SIP/XXX.XXX.XXX.XXX-00000027", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2012-08-28 08:28:27.127 EDT.
-- Executing [[email protected]:6] Answer("SIP/XXX.XXX.XXX.XXX-00000027", "") in new stack
-- Executing [[email protected]:7] Wait("SIP/XXX.XXX.XXX.XXX-00000027", "2") in new stack
Really destroying SIP dialog '[email protected]' Method: OPTIONS
-- Executing [[email protected]:8] Playback("SIP/XXX.XXX.XXX.XXX-00000027", "ss-noservice") in new stack
-- <SIP/XXX.XXX.XXX.XXX-00000027> Playing 'ss-noservice.ulaw' (language 'en')
-- Executing [[email protected]:9] PlayTones("SIP/XXX.XXX.XXX.XXX-00000027", "congestion") in new stack
-- Executing [[email protected]:10] Congestion("SIP/XXX.XXX.XXX.XXX-00000027", "5") in new stack
== Spawn extension (from-sip-external, s, 10) exited non-zero on 'SIP/XXX.XXX.XXX.XXX-00000027'
-- Executing [[email protected]:1] Hangup("SIP/XXX.XXX.XXX.XXX-00000027", "") in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/XXX.XXX.XXX.XXX-00000027'
So I know the call made it into the server, but my inbound route for that DID is not working.
The settings on the inbound route are as follows:
Description: Main
DID: XXXXXXXXXX (matches the DID the trunk is reporting)
CallerID Number: (blank)
CID Priority Route: unchecked
Alert Info: (blank)
CID name prefix: (blank)
Music On Hold: default
Signal RINGING: checked
Pause Before Answer: (blank)
Privacy Manager: no
Detect Faxes: yes
Fax Detection type: sip
Fax Detection Time: 4
Call Recording: allow
CID Lookup Source: none
Language: (blank)
Destination: IVR Main
Whats the next steps I should be doing to figure out why it’s not wanting to route the inbound calls?