[Spce-user] Callee is not local but its

Andrew Pogrebennyk apogrebennyk at sipwise.com
Tue Mar 7 07:13:35 EST 2017


Hi Abel,

this is a issue with different domain vs R-URI when call comes from
PSTN, see below:

Abel Alejandro wrote:
> According to MySQL its on the database:
>
> mysql> select * from dbaliases where alias_username='17879217782';
> +------+----------------+---------------------+-------------+---------------------+------------+
> | id   | alias_username | alias_domain        | username    | domain  
>            | is_primary |
> +------+----------------+---------------------+-------------+---------------------+------------+
> | 1721 | 17879217782    | sip.fusetelecom.com
> <http://sip.fusetelecom.com> | 17879217782 | sip.fusetelecom.com
> <http://sip.fusetelecom.com> |          1 |
> +------+----------------+---------------------+-------------+---------------------+------------+
> 1 row in set (0.00 sec)
>
> mysql> 
>
> Log from proxy:
>
> root at sip:/var/log/ngcp# grep 2A7EACF0 at 10.246.9.8
> <mailto:2A7EACF0 at 10.246.9.8> kamailio-proxy.log 
> Mar  5 00:20:28 sip proxy[3757]: NOTICE: <script>: New request on
> proxy - M=INVITE R=sip:7879217782 at 74.85.156.17:5060;transport=udp
> F=sip:17875868313 at 196.12.170.244:5060
> <http://sip:17875868313@196.12.170.244:5060>
> T=sip:7879217782 at 74.85.156.17:5060
> <http://sip:7879217782@74.85.156.17:5060> IP=196.12.170.244:5060
> <http://196.12.170.244:5060> (127.0.0.1:5060 <http://127.0.0.1:5060>)
> ID=2A7EACF0 at 10.246.9.8 <mailto:2A7EACF0 at 10.246.9.8> UA='<null>'
> Mar  5 00:20:28 sip proxy[3757]: NOTICE: <script>: Call from PSTN -
> R=sip:7879217782 at 74.85.156.17:5060;transport=udp
> ID=2A7EACF0 at 10.246.9.8 <mailto:2A7EACF0 at 10.246.9.8> UA='<null>'
The difference is that the failed call is coming from PSTN and has an IP
address in request line.
In that case you should add 74.85.156.17 as an empty domain for the
proxy to be able to find the subscriber.

In working call you have @ sip.fusetelecom.com
<http://sip.fusetelecom.com> domain.

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20170307/2aec79bb/attachment-0001.html>


More information about the Spce-user mailing list