Help! Brand new installation will not transfer calls

Hi,

Incoming calls from my ITSP are working and the calls hit my inbound route, and I can call between extensions, and terminate the call to an application such as an echo test, HOWEVER I cannot seem to get the extensions to ring for the incoming call. Here is a debug log. Can someone please tell me why FreePBX’s dial macros are not ringing my extension 9999?

This is an incoming call to my number (1780XXXXXXX) from a mobile phone. (1780YYYYYYY) numbers hidden to protect the innocent. :slight_smile:

If anyone can assist, I would really appreciate it as I cannot see from the debug log why it is happening. Someone more familiar with FreePBX would probably know.

Here is the SIP + Console debug of an inbound call:

<— SIP read from UDP:69.147.236.18:5060 —>
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 69.147.236.18;rport;branch=z9hG4bKUZyBQBa8c1UKj
Max-Forwards: 18
From: “THIRTYTWENTY” sip:[email protected];tag=SUSSy1mDc4K2D
To: sip:[email protected]
Call-ID: a5c89603-1490-1230-cea1-e5374ea19f81
CSeq: 27953058 INVITE
Contact: sip:[email protected]:5060
User-Agent: <My ITSP’s custom User Agent>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 230
X-FS-Support: update_display,send_info
Remote-Party-ID: “THIRTYTWENTY” sip:[email protected];party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1336546296 1336546297 IN IP4 69.147— (18 headers 10 lines) —
== Using UDPTL TOS bits 184
Sending to 69.147.236.18:5060 (no NAT)
Using INVITE request as basis request - a5c89603-1490-1230-cea1-e5374ea19f81
Found peer ‘spout’ for ‘780YYYYYYY’ from 69.147.236.18:5060
== Using SIP RTP TOS bits 184
Found RTP audio format 0
Found RTP audio format 18
Found RTP audio format 101
Found audio description format telephone-event for ID 101
Capabilities: us - 0x4 (ulaw), peer - audio=0x104 (ulaw|g729)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 69.147.236.18:31948
Looking for 1780XXXXXXX in from-trunk (domain 199.167.17.197)
list_route: hop: sip:[email protected]:5060

<— Transmitting (no NAT) to 69.147.236.18:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 69.147.236.18;branch=z9hG4bKUZyBQBa8c1UKj;received=69.147.236.18;rport=5060
From: “THIRTYTWENTY” sip:[email protected];tag=SUSSy1mDc4K2D
To: sip:[email protected]
Call-ID: a5c89603-1490-1230-cea1-e5374ea19f81
CSeq: 27953058 INVITE
Server: FPBX-2.10.0(1.8.9.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:[email protected]:5060
Content-Length: 0

<------------>
– Executing [[email protected]:1] Set(“SIP/spout-00000015”, “__FROM_DID=1780XXXXXXX”) in new stack
– Executing [[email protected]:2] Set(“SIP/spout-00000015”, “CDR(did)=1780XXXXXXX”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/spout-00000015”, “0 ?Set(CALLERID(name)=780YYYYYYY)”) in new stack
– Executing [[email protected]:4] Set(“SIP/spout-00000015”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:5] Set(“SIP/spout-00000015”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [[email protected]:6] Goto(“SIP/spout-00000015”, “from-did-direct,9999,1”) in new stack
– Goto (from-did-direct,9999,1)
– Executing [[email protected]:1] Set(“SIP/spout-00000015”, “__RINGTIMER=”) in new stack
– Executing [[email protected]:2] Macro(“SIP/spout-00000015”, “exten-vm,novm,9999,0,0,0”) in new stack
– Executing [[email protected]:1] Macro(“SIP/spout-00000015”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“SIP/spout-00000015”, “AMPUSER=780YYYYYYY”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/spout-00000015”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/spout-00000015”, “1?Set(REALCALLERIDNUM=780YYYYYYY)”) in new stack
– Executing [[email protected]:4] Set(“SIP/spout-00000015”, “AMPUSER=”) in new stack
– Executing [[email protected]:5] Set(“SIP/spout-00000015”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/spout-00000015”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing [[email protected]:11] GotoIf(“SIP/spout-00000015”, “0?continue”) in new stack
– Executing [[email protected]:12] Set(“SIP/spout-00000015”, “__TTL=64”) in new stack
– Executing [[email protected]:13] GotoIf(“SIP/spout-00000015”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,24)
– Executing [[email protected]:24] Set(“SIP/spout-00000015”, “CALLERID(number)=780YYYYYYY”) in new stack
– Executing [[email protected]:25] Set(“SIP/spout-00000015”, “CALLERID(name)=THIRTYTWENTY”) in new stack
– Executing [[email protected]:26] Set(“SIP/spout-00000015”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“SIP/spout-00000015”, “RingGroupMethod=none”) in new stack
– Executing [[email protected]:3] Set(“SIP/spout-00000015”, “__EXTTOCALL=9999”) in new stack
– Executing [[email protected]:4] Set(“SIP/spout-00000015”, “__PICKUPMARK=9999”) in new stack
– Executing [[email protected]:5] Set(“SIP/spout-00000015”, “RT=”) in new stack
– Executing [[email protected]:6] Gosub(“SIP/spout-00000015”, “sub-record-check,s,1(exten,9999,)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/spout-00000015”, “1?check”) in new stack
– Goto (sub-record-check,s,6)
– Executing [[email protected]:6] Set(“SIP/spout-00000015”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/spout-00000015”, “1?next”) in new stack
– Goto (sub-record-check,s,10)
– Executing [[email protected]:10] ExecIf(“SIP/spout-00000015”, “0?Return()”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/spout-00000015”, “0?exten,1”) in new stack
– Executing [[email protected]:12] Set(“SIP/spout-00000015”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/spout-00000015”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:14] Set(“SIP/spout-00000015”, “NOW=1336578334”) in new stack
– Executing [[email protected]:15] Set(“SIP/spout-00000015”, “__DAY=09”) in new stack
– Executing [[email protected]:16] Set(“SIP/spout-00000015”, “__MONTH=05”) in new stack
– Executing [[email protected]:17] Set(“SIP/spout-00000015”, “__YEAR=2012”) in new stack
– Executing [[email protected]:18] Set(“SIP/spout-00000015”, “__TIMESTR=20120509-154534”) in new stack
– Executing [[email protected]:19] Set(“SIP/spout-00000015”, “__FROMEXTEN=780YYYYYYY”) in new stack
– Executing [[email protected]:20] Set(“SIP/spout-00000015”, “__CALLFILENAME=exten-9999-780YYYYYYY-20120509-154534-1336578334.21”) in new stack
– Executing [[email protected]:21] Goto(“SIP/spout-00000015”, “exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [[email protected]:1] GotoIf(“SIP/spout-00000015”, “0?callee”) in new stack
– Executing [[email protected]:2] Set(“SIP/spout-00000015”, “__REC_POLICY_MODE=”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/spout-00000015”, “0?caller”) in new stack
– Executing [[email protected]:4] GotoIf(“SIP/spout-00000015”, “1?callee”) in new stack
– Goto (sub-record-check,exten,8)
– Executing [[email protected]:8] GosubIf(“SIP/spout-00000015”, “0?record,1(exten,9999,780YYYYYYY)”) in new stack
– Executing [[email protected]:9] Return(“SIP/spout-00000015”, “”) in new stack
– Executing [[email protected]:7] Macro(“SIP/spout-00000015”, “dial-one,tr,9999”) in new stack
– Executing [[email protected]:1] Set(“SIP/spout-00000015”, “DEXTEN=9999”) in new stack
– Executing [[email protected]:2] Set(“SIP/spout-00000015”, “DIALSTATUS_CW=”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/spout-00000015”, “0?screen,1()”) in new stack
– Executing [[email protected]:4] GosubIf(“SIP/spout-00000015”, “0?cf,1()”) in new stack
– Goto (macro-dial-one,s,8)
– Goto (macro-dial-one,s,12)
== Spawn extension (macro-exten-vm, s-NOANSWER, 3) exited non-zero on ‘SIP/spout-00000015’ in macro ‘exten-vm’
== Spawn extension (from-did-direct, 9999, 2) exited non-zero on ‘SIP/spout-00000015’
– Executing [[email protected]:1] Macro(“SIP/spout-00000015”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/spout-00000015”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] Hangup(“SIP/spout-00000015”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘SIP/spout-00000015’ in macro ‘hangupcall’
== Spawn extension (from-did-direct, h, 1) exited non-zero on ‘SIP/spout-00000015’

Please note this is FreePBX latest (up to date) and Asterisk 1.8.9.3.

Can anyone identify this issue?

I deleted the entire system and reinstalled, it works now. No idea what happened.