[Spce-user] Callee is not local but its
Abel Alejandro
aalejandro at alliedtechnologygrouppr.com
Sat Mar 4 23:29:46 EST 2017
Hello,
I am having calls to a specific number being rejected with 404 Not found,
however the number is on the subscriber database. Calls from other
subscribers does work however.
I tried to the following:
1. Updating from 4.4.4 to 4.5.4
2. Terminating subscriber and adding it again
The number is 17879217782 but it comes as 7879217782 from our PSTN peer.
The rewrite rule is basically from pattern ^([1-9][0-9]{9})$ to 1\1.
Version:
root at sip:/var/log/ngcp# cat /etc/ngcp_version
mr4.5.4
root at sip:/var/log/ngcp#
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 | 17879217782 |
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>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[2A7EACF0 at 10.246.9.8] -
R=sip:7879217782 at 74.85.156.17:5060;transport=udp
ID=2A7EACF0 at 10.246.9.8 UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: User-Provided CLI
'17875868313' taken from From-User -
R=sip:7879217782 at 74.85.156.17:5060;transport=udp
ID=2A7EACF0 at 10.246.9.8 UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Network-Provided CLI
'17875868313' taken from From-User -
R=sip:7879217782 at 74.85.156.17:5060;transport=udp
ID=2A7EACF0 at 10.246.9.8 UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Setting '
17875868313 at 196.12.170.244' as initiating user-provided CLI -
R=sip:7879217782 at 74.85.156.17:5060;transport=udp ID=2A7EACF0 at 10.246.9.8
UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Setting '
17875868313 at 196.12.170.244' as initiating network-provided CLI -
R=sip:7879217782 at 74.85.156.17:5060;transport=udp ID=2A7EACF0 at 10.246.9.8
UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Rewriting called party
'7879217782' to '17879217782' -
R=sip:7879217782 at 74.85.156.17:5060;transport=udp
ID=2A7EACF0 at 10.246.9.8 UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Callee is not local -
R=sip:17879217782 at 74.85.156.17:5060;transport=udp ID=2A7EACF0 at 10.246.9.8
UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Call to unknown user -
R=sip:17879217782 at 74.85.156.17:5060;transport=udp ID=2A7EACF0 at 10.246.9.8
UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Setting acc source-leg
for uuid '0':
'0|17875868313|196.12.170.244|17875868313|||0|||0|call|196.12.170.244|1488687628.503950||||||||||||'
- R=sip:17879217782 at 74.85.156.17:5060;transport=udp ID=2A7EACF0 at 10.246.9.8
UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: Setting acc
destination-leg for uuid '0':
'0|||0|7879217782|0|17879217782|74.85.156.17|17879217782|74.85.156.17|0||||||||||||'
- R=sip:17879217782 at 74.85.156.17:5060;transport=udp ID=2A7EACF0 at 10.246.9.8
UA='<null>'
Mar 5 00:20:28 sip proxy[3757]: NOTICE: <script>: [dialog:failed]
decreased redis counters lua_dlg_callid:[2A7EACF0 at 10.246.9.8] - R=
sip:you at kamailio.org ID=123 UA='<null>'
Mar 5 00:20:28 sip proxy[3751]: NOTICE: <script>: New request on proxy -
M=ACK 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>'
root at sip:/var/log/ngcp#
Log from a call that does connect when coming from another subscriber:
Mar 5 00:28:01 sip proxy[3751]: NOTICE: <script>: New request on proxy -
M=INVITE R=sip:17879217782 at sip.fusetelecom.com:5060 F=
sip:17879190810 at sip.fusetelecom.com T=
sip:17879217782 at sip.fusetelecom.com:5060 IP=74.85.156.129:5060 (
127.0.0.1:5060) ID=725304e964b4e725698921006a1ef476 at sip.fusetelecom.com
UA='Asterisk PBX 13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3751]: NOTICE: <script>: Authentication failed,
no credentials - R=sip:17879217782 at sip.fusetelecom.com:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: New request on proxy -
M=INVITE R=sip:17879217782 at sip.fusetelecom.com:5060 F=
sip:17879190810 at sip.fusetelecom.com T=
sip:17879217782 at sip.fusetelecom.com:5060 IP=74.85.156.129:5060 (
127.0.0.1:5060) ID=725304e964b4e725698921006a1ef476 at sip.fusetelecom.com
UA='Asterisk PBX 13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[725304e964b4e725698921006a1ef476 at sip.fusetelecom.com] - R=
sip:17879217782 at sip.fusetelecom.com:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: User-Provided CLI
'17879190810' taken from From-User - R=
sip:17879217782 at sip.fusetelecom.com:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: User-provided CLI
'17879190810' accepted (matched user preference) - R=
sip:17879217782 at sip.fusetelecom.com:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting '
17879190810 at sip.fusetelecom.com' as initiating user-provided CLI - R=
sip:17879217782 at sip.fusetelecom.com:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting '
17877054150 at sip.fusetelecom.com' as initiating network-provided CLI - R=
sip:17879217782 at sip.fusetelecom.com:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Callee is local,
uuid='9381a4b2-638e-4e25-a26d-de814cd40072' - R=
sip:17879217782 at sip.fusetelecom.com:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting acc source-leg
for uuid 'f6005efc-9972-4d05-931d-d7b9680274ed':
'f6005efc-9972-4d05-931d-d7b9680274ed|17879190810|sip.fusetelecom.com|17879190810|17877054150|Fusetelecom
PBX|124|||0|call|74.85.156.129|1488688081.365854||||||||||||' - R=
sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting acc
destination-leg for uuid '9381a4b2-638e-4e25-a26d-de814cd40072':
'0|17879217782|Conextel Las
Vegas|174|17879217782|9381a4b2-638e-4e25-a26d-de814cd40072|17879217782|
sip.fusetelecom.com|17879217782|sip.fusetelecom.com|0||||||||||||' - R=
sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting
caller_cli_userprov/caller_domain_userprov '17879190810 at sip.fusetelecom.com'
for upn - R=sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting From to '<
sip:17879190810 at sip.fusetelecom.com>' - R=sip:17879217782 at 192.168.1.101:5060
ID=725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting
caller_cli_netprov/caller_domain_netprov '17877054150 at sip.fusetelecom.com'
for npn - R=sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting PAI to '<
sip:17877054150 at sip.fusetelecom.com>' - R=sip:17879217782 at 192.168.1.101:5060
ID=725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Setting
P-Called-Party-ID '<sip:17879217782 at sip.fusetelecom.com>' - R=
sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Appending P-D-URI '
sip:lb at 127.0.0.1;lr;received=sip:67.203.210.39:56731;socket=sip:
74.85.156.17:5060' - R=sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Forcing request via
B2BUA 'sip:127.0.0.1:5080' - R=sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3748]: NOTICE: <script>: Request leaving server,
D-URI='sip:127.0.0.1:5080' - R=sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3757]: NOTICE: <script>: NAT-Reply - S=100 -
Connecting M=INVITE IP=74.85.156.129:5060 (127.0.0.1:5080) ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='<null>'
Mar 5 00:28:01 sip proxy[3754]: NOTICE: <script>: NAT-Reply - S=415 -
Unsupported Media Type M=INVITE IP=74.85.156.129:5060 (127.0.0.1:5080) ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='<null>'
Mar 5 00:28:01 sip proxy[3754]: NOTICE: <script>: Failure route for local
call - R=sip:17879217782 at 192.168.1.101:5060 ID=
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com UA='Asterisk PBX
13.12.0-rc1'
Mar 5 00:28:01 sip proxy[3754]: NOTICE: <script>: [dialog:failed]
decreased redis counters lua_dlg_callid:[
725304e964b4e725698921006a1ef476 at sip.fusetelecom.com] - R=
sip:you at kamailio.org ID=123 UA='<null>'
Mar 5 00:28:01 sip proxy[3760]: NOTICE: <script>: New request on proxy -
M=ACK R=sip:17879217782 at sip.fusetelecom.com:5060 F=
sip:17879190810 at sip.fusetelecom.com T=
sip:17879217782 at sip.fusetelecom.com:5060 IP=74.85.156.129:5060 (
127.0.0.1:5060) ID=725304e964b4e725698921006a1ef476 at sip.fusetelecom.com
UA='Asterisk PBX 13.12.0-rc1'
--
*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/mailman/private/spce-user_lists.sipwise.com/attachments/20170305/5a0835f2/attachment.html>
More information about the Spce-user
mailing list