[Spce-user] inbound PSTN peer routing to local sip uri

John Murray john.murray at skyracktelecom.com
Thu Feb 28 08:00:19 EST 2013


Hello,

 

I am trying to get calls coming from a PSTN peer (it's a PBX) to route to a
local user with the sip uri.

The local user is a001002 at skyrack.net which is in the To: field but SPCE
doesn't find it as a local user.

 

The RURI contains the user part but the domain part is the ip address of our
server. Can I route this?

 

The incoming INVITE

 

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: New
request - M=INVITE R=sip:a001002 at 100.100.100.182:5060
F=sip:07979755161 at skyracktelecom.com;user=phone T=sip:a001002 at skyrack.net
IP=91.100.100.26:5060 (10.239.110.182:5060)
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: Call
from PSTN - R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: Load
peer preferences for peer host '151' - R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: Load
dialplan IDs for peer host '151' - R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>:
Fetched dialplan IDs caller_in='<null>', callee_in='<null>' -
R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: Dialog
set mark total - R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: Dialog
set mark peer to '151' - R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: IP
authorization for caller not provisioned, allow call -
R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>:
User-Provided CLI '07979755161' taken from From-User -
R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>:
Network-Provided CLI '07979755161' taken from From-User -
R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>:
Setting '07979755161 at skyracktelecom.com' as initiating user-provided CLI -
R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>:
Setting '07979755161 at skyracktelecom.com' as initiating network-provided CLI
- R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>:
Searching for callee - R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: Clear
callee preferences - R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

Feb 28 11:55:43 skt-salem02 /usr/sbin/kamailio[2499]: INFO: <script>: Callee
is not local - R=sip:a001002 at 100.100.100.182:5060
ID=BW115543276280213-1824721248 at 192.168.30.10

 

Thanks

 

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130228/c7c43d49/attachment.html>


More information about the Spce-user mailing list