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

John Murray john.murray at skyracktelecom.com
Fri Mar 1 04:52:42 EST 2013


Jon hi,

Yes it looks like the subscriber is there.

>From admin interface:

SIP URI: a001002 at skyrack.net

And from mysql:
mysql> use kamailio;
Database changed
mysql> select * from subscriber where username='a001002';
+----+----------+-------------+----------+---------------+----------------------------------+----------------------------------+------+--------------------------------------+----------+---------------------+
| id | username | domain      | password | email_address | ha1                              | ha1b                             | rpid | uuid                                 | timezone | datetime_created    |
+----+----------+-------------+----------+---------------+----------------------------------+----------------------------------+------+--------------------------------------+----------+---------------------+
| 21 | a001002  | skyrack.net | xxxxxxxx |               | 90370930c7c47557f23cb76c4bce0f80 | e64a7fc0f08bc93569e556bc18df0b38 | NULL | 3978f230-c438-4e81-b6a3-7ddb90324777 |          | 2013-02-14 11:52:42 |
+----+----------+-------------+----------+---------------+----------------------------------+----------------------------------+------+--------------------------------------+----------+---------------------+
1 row in set (0.00 sec)

Thanks

John
-----Original Message-----
From: spce-user-bounces at lists.sipwise.com [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Jon Bonilla (Manwe)
Sent: 01 March 2013 09:30
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] inbound PSTN peer routing to local sip uri

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?






More information about the Spce-user mailing list