No i do not have that inbound route I only have 2 inbound routes 1 for voice line and 1 for fax, I have only ever had these 2 and they have worked fine for months.
I did try creating a 7777 one and it still got the same problem. I set the callerID and DID to 7777 and it did nothing. Now I could have left them both blank but then as I said earlier my different lines will not rings in different places.
Edit:
when I have an empty inbound route 7777 will give me a CLI dump of
– Executing [7777@from-internal:1] Goto(“SIP/13-08caee30”, “from-pstn|s|1”) in new stack
– Goto (from-pstn,s,1)
– Executing [s@from-pstn:1] Set(“SIP/13-08caee30”, “__FROM_DID=s”) in new stack
– Executing [s@from-pstn:2] GotoIf(“SIP/13-08caee30”, “1 ?cidok”) in new stack
– Goto (from-pstn,s,4)
– Executing [s@from-pstn:4] NoOp(“SIP/13-08caee30”, “CallerID is “device” <13>”) in new stack
– Executing [s@from-pstn:5] Goto(“SIP/13-08caee30”, “from-did-direct|12|1”) in new stack
– Goto (from-did-direct,12,1)
– Executing [12@from-did-direct:1] Macro(“SIP/13-08caee30”, “exten-vm|12|12”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/13-08caee30”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“SIP/13-08caee30”, “user-callerid: device 13”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/13-08caee30”, “AMPUSER=13”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/13-08caee30”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/13-08caee30”, “1|Set|REALCALLERIDNUM=13”) in new stack
– Executing [s@macro-user-callerid:5] NoOp(“SIP/13-08caee30”, “REALCALLERIDNUM is 13”) in new stack
– Executing [s@macro-user-callerid:6] Set(“SIP/13-08caee30”, “AMPUSER=13”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/13-08caee30”, “AMPUSERCIDNAME=Eric”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/13-08caee30”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/13-08caee30”, “AMPUSERCID=13”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/13-08caee30”, “CALLERID(all)=“Eric” <13>”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/13-08caee30”, “REALCALLERIDNUM=13”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“SIP/13-08caee30”, “0|Set|CHANNEL(language)=”) in new stack
– Executing [s@macro-user-callerid:13] NoOp(“SIP/13-08caee30”, “TTL: ARG1: 12”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/13-08caee30”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:15] Set(“SIP/13-08caee30”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/13-08caee30”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“SIP/13-08caee30”, “Using CallerID “Eric” <13>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/13-08caee30”, “FROMCONTEXT=exten-vm”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/13-08caee30”, “VMBOX=12”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/13-08caee30”, “EXTTOCALL=12”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/13-08caee30”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“SIP/13-08caee30”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“SIP/13-08caee30”, “RT=45”) in new stack
– Executing [s@macro-exten-vm:8] Macro(“SIP/13-08caee30”, “record-enable|12|IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/13-08caee30”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/13-08caee30”, “recordingcheck|20080605-084147|1212673307.72”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080605-084147|1212673307.72: Inbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] NoOp(“SIP/13-08caee30”, “No recording needed”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“SIP/13-08caee30”, “dial|45|tTr|12”) in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/13-08caee30”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“SIP/13-08caee30”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘Eric’ number is '13’
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 12 to extension map
– dialparties.agi: Extension 12 cf is disabled
– dialparties.agi: Extension 12 do not disturb is disabled
– dialparties.agi: dbset CALLTRACE/12 to 13
– dialparties.agi: Filtered ARG3: 12
== Manager ‘admin’ logged off from 127.0.0.1
– AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/13-08caee30”, “SIP/12|45|tTr”) in new stack
– Called 12
– SIP/12-08ce3c00 is ringing
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/13-08caee30’ in macro ‘dial’
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/13-08caee30’ in macro ‘exten-vm’
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/13-08caee30’
– Executing [h@macro-dial:1] Macro(“SIP/13-08caee30”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/13-08caee30”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/13-08caee30”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/13-08caee30”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/13-08caee30”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/13-08caee30”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/13-08caee30”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/13-08caee30’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/13-08caee30’
Looking at this and comparing it to the non working mode it looks like this line is the magic one
-- Executing [s@from-pstn:5] Goto("SIP/13-08caee30", "from-did-direct|12|1") in new stack
This is not happening without the empty route. I don’t know what that tells us but I hope others understand it.