[Spce-user] Callee is not local but its

Abel Alejandro aalejandro at alliedtechnologygrouppr.com
Tue Mar 7 07:33:04 EST 2017


Hey Andrew,

Did that changed recently and only affects new subscribers? I will speak
with my PSTN to make the change however.

However calls coming to other subscribers are working from the very same
PSTN and they use the IP, not the domain.

root at sip:/var/log/ngcp# grep 5435BC51 at 10.246.9.8 kamailio-proxy.log
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: New request on proxy -
M=INVITE R=sip:7877050555 at 74.85.156.17:5060;transport=udp F=
sip:7875868313 at 196.12.170.244:5060 T=sip:7877050555 at 74.85.156.17:5060 IP=
196.12.170.244:5060 (127.0.0.1:5060) ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Call from PSTN -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[5435BC51 at 10.246.9.8] -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: User-Provided CLI
'7875868313' taken from From-User -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Network-Provided CLI
'7875868313' taken from From-User -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Rewriting user-provided
CLI '7875868313' to '17875868313' -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Rewriting
network-provided CLI '7875868313' to '17875868313' -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting '
17875868313 at 196.12.170.244' as initiating user-provided CLI -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting '
17875868313 at 196.12.170.244' as initiating network-provided CLI -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Rewriting called party
'7877050555' to '17877050555' -
R=sip:7877050555 at 74.85.156.17:5060;transport=udp
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Callee was aliased with
base '17877050555' -
R=sip:fusetelecompbx at sip.fusetelecom.com:5060;transport=udp
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Callee is local,
uuid='f6005efc-9972-4d05-931d-d7b9680274ed' -
R=sip:fusetelecompbx at sip.fusetelecom.com:5060;transport=udp ID=
5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting acc source-leg
for uuid '0':
'0|7875868313|196.12.170.244|17875868313|||0|||0|call|196.12.170.244|1488889838.142228||||||||||||'
- R=sip:fusetelecompbx at 74.85.156.129:5060 ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting acc
destination-leg for uuid 'f6005efc-9972-4d05-931d-d7b9680274ed':
'0|17877054150|Fusetelecom
PBX|124|7877050555|f6005efc-9972-4d05-931d-d7b9680274ed|fusetelecompbx|
sip.fusetelecom.com|17877050555|74.85.156.17|0||||||||||||' - R=
sip:fusetelecompbx at 74.85.156.129:5060 ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Local user online, using
alias as user - R=sip:17877050555 at 74.85.156.129:5060 ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting
caller_cli_userprov/caller_domain_userprov '17875868313 at sip.fusetelecom.com'
for upn - R=sip:17877050555 at 74.85.156.129:5060 ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting From to '<
sip:17875868313 at sip.fusetelecom.com>' - R=sip:17877050555 at 74.85.156.129:5060
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting
caller_cli_netprov/caller_domain_netprov '17875868313 at sip.fusetelecom.com'
for npn - R=sip:17877050555 at 74.85.156.129:5060 ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting PAI to '<
sip:17875868313 at sip.fusetelecom.com>' - R=sip:17877050555 at 74.85.156.129:5060
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Setting
P-Called-Party-ID '<sip:17877050555 at sip.fusetelecom.com>' - R=
sip:17877050555 at 74.85.156.129:5060 ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Appending P-D-URI
'sip:127.0.0.1:5060;lr' - R=sip:17877050555 at 74.85.156.129:5060 ID=
5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Forcing request via
B2BUA 'sip:127.0.0.1:5080' - R=sip:17877050555 at 74.85.156.129:5060 ID=
5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3757]: NOTICE: <script>: Request leaving server,
D-URI='sip:127.0.0.1:5080' - R=sip:17877050555 at 74.85.156.129:5060 ID=
5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:38 sip proxy[3751]: NOTICE: <script>: NAT-Reply - S=100 -
Connecting M=INVITE IP=196.12.170.244:5060 (127.0.0.1:5080) ID=
5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:40 sip proxy[3757]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=INVITE IP=196.12.170.244:5060 (127.0.0.1:5080) ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:40 sip proxy[3757]: NOTICE: <script>: [dialog:start]
lua_dlg_callid:[5435BC51 at 10.246.9.8]  - R=<null> ID=5435BC51 at 10.246.9.8
UA='<null>'
Mar  7 08:30:40 sip proxy[3754]: NOTICE: <script>: New request on proxy -
M=ACK R=sip:127.0.0.1:5080;prxroute=1 F=sip:7875868313 at 196.12.170.244:5060
T=sip:7877050555 at 74.85.156.17:5060 IP=196.12.170.244:5060 (127.0.0.1:5060)
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:42 sip proxy[3743]: NOTICE: <script>: New request on proxy -
M=BYE R=sip:127.0.0.1:5080;prxroute=1 F=sip:7875868313 at 196.12.170.244:5060
T=sip:7877050555 at 74.85.156.17:5060 IP=196.12.170.244:5060 (127.0.0.1:5060)
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:42 sip proxy[3743]: NOTICE: <script>: [dialog:end] decreased
redis counters lua_dlg_callid:[5435BC51 at 10.246.9.8] -
R=sip:127.0.0.1:5080;prxroute=1
ID=5435BC51 at 10.246.9.8 UA='<null>'
Mar  7 08:30:42 sip proxy[3763]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=BYE IP=196.12.170.244:5060 (127.0.0.1:5080) ID=5435BC51 at 10.246.9.8
UA='<null>'



On Tue, Mar 7, 2017 at 8:13 AM, Andrew Pogrebennyk <apogrebennyk at sipwise.com
> wrote:

> 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
> <(787)%20921-7782>';
> +------+----------------+---------------------+-------------
> +---------------------+------------+
> | id   | alias_username | alias_domain        | username    | domain
>        | is_primary |
> +------+----------------+---------------------+-------------
> +---------------------+------------+
> | 1721 | 17879217782 <(787)%20921-7782>    | sip.fusetelecom.com |
> 17879217782 <(787)%20921-7782> | 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 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 T=sip:7879217782 at 74.85.156.17:5060 IP=
> 196.12.170.244:5060 (127.0.0.1:5060) ID=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
> 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 domain.
>
> Andrew
>



-- 
*Abel Alejandro*

787 586 8313 | 787 705 0555
<joquendo at alliedtechnologygrouppr.com>

400 Calle Calaf 477
San Juan, PR 00918
aalejandro at alliedtechnologygrouppr.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20170307/7538c95b/attachment-0001.html>


More information about the Spce-user mailing list