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

Jon Bonilla (Manwe) jbonilla at sipwise.com
Fri Mar 1 04:30:21 EST 2013


El Thu, 28 Feb 2013 13:00:19 -0000
"John Murray" <john.murray at skyracktelecom.com> escribió:

> 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
> 
> 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
> 
>  

That should work. I usually route based on the username but as subscriber.
There shouldn't be any differences if the call comes from a peer.

You sure that you have an 'a001002' subscriber?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20130301/22e8ff5e/attachment.asc>


More information about the Spce-user mailing list