Okay specific question where I stuck.
Why I can do sip trunk between SPA 3000 and Asterisk successfully only with port 5060?
I can’t do it with 5061 or 5062 or 5090?
First I create EXTENTION number 6010 for sip trunk between spa 3000 and asterisk:
Now I create sip trunk between asterisk and spa 3000:
Now I create outgoing calling rules for 112:
Now I create dial plan1 where my rule for 112 is there:
And this is for my Linksys SPA 3000 PSTN LINE:
The result is:
[Jan 18 10:59:21] WARNING[6991]: netsock2.c:216 ast_sockaddr_split_hostport: Port disallowed in 192.168.0.30:5060
When I trying to call 112 from extention number 6001 the log says:
== Using SIP RTP CoS mark 5
> 0x68a93d30 – Strict RTP learning after remote address set to: 192.168.0.22:25116
– Executing [112@DLPN_DialPlan1:1] Macro(“SIP/6001-00000059”, “trunkdial-failover-0.3,SIP/trunk_1/12,trunk_1,”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:1] GotoIf(“SIP/6001-00000059”, “0?1-fmsetcid,1”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:2] GotoIf(“SIP/6001-00000059”, “0?1-setgbobname,1”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:3] Set(“SIP/6001-00000059”, “CALLERID(num)=6001”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:4] Set(“SIP/6001-00000059”, “CALLERID(all)=”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:5] GotoIf(“SIP/6001-00000059”, “0?1-dial,1”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:6] Set(“SIP/6001-00000059”, “CALLERID(all)=”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:7] Set(“SIP/6001-00000059”, “CALLERID(all)=”) in new stack
– Executing [s@macro-trunkdial-failover-0.3:8] Goto(“SIP/6001-00000059”, “1-dial,1”) in new stack
– Goto (macro-trunkdial-failover-0.3,1-dial,1)
– Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial(“SIP/6001-00000059”, “SIP/trunk_1/12”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/trunk_1/12
[Jan 18 12:51:24] WARNING[12792][C-0000024a]: channel.c:6530 ast_channel_make_compatible_helper: No path to translate from SIP/trunk_1-0000005a to SIP/6001-00000059
== Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 1) exited non-zero on ‘SIP/6001-00000059’ in macro ‘trunkdial-failover-0.3’
== Spawn extension (DLPN_DialPlan1, 112, 1) exited non-zero on ‘SIP/6001-00000059’