[Spce-user] error 404

stefanormc stefanormc at gmail.com
Fri May 26 01:37:58 EDT 2017


problem occurs when I apply the following rewrite rules in Outbound for
Callee in Domain settings fon inbound calls

^0([1-9][0-9]+)$  —> 390\1
^3([1-9][0-9]+)$  —> 393\1
^(00|\+)([1-9][0-9]+)$ —> \2

shouldn’t they be ignored for inbound calls?

thanks



On 23 May 2017 at 20:38:51, stefanormc (stefanormc at gmail.com) wrote:

I am a bit puzzled and slightly worried…

it now works but no substantial changes were made except removing and then
re-applying a rewrite rule set to domain. I pasted one example but it was
happening on all subscribers on c.voceblu.it domain. Below is a recent log
and I can’t see any difference (but I am a bit tired…)

Thanks for the help

ciao

stefano

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Call from PSTN - R=sip:0119369402 at 94.125.235.56 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
User-Provided CLI '3355416588' taken from From-User as fallback, should be
from 'pai_user' - R=sip:0119369402 at 94.125.235.56 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Network-Provided CLI '3355416588' taken from From-User as fallback, should
be from 'pai_user' - R=sip:0119369402 at 94.125.235.56 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting '3355416588 at 213.204.31.10' as initiating user-provided CLI - R=
sip:0119369402 at 94.125.235.56 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting '3355416588 at 213.204.31.10' as initiating network-provided CLI - R=
sip:0119369402 at 94.125.235.56 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Rewriting called party '0119369402' to '390119369402' - R=
sip:0119369402 at 94.125.235.56 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Callee was aliased with base '390119369402' - R=sip:0119369402 at c.voceblu.it
ID=0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Callee is local, uuid='e63120a1-c7fd-49c4-b1c1-eecdcd1d8c14' - R=
sip:0119369402 at c.voceblu.it ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting acc source-leg for uuid '0':
'0|3355416588|213.204.31.10|3355416588|||0|||0|call|213.204.31.10|1495564358.265994|||||||||||'
- R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting acc destination-leg for uuid
'e63120a1-c7fd-49c4-b1c1-eecdcd1d8c14':
'0||Eutron|59|0119369402|e63120a1-c7fd-49c4-b1c1-eecdcd1d8c14|0119369402|
c.voceblu.it|390119369402|94.125.235.56|8|||||||||||' -
R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting caller_cli_userprov/caller_domain_userprov '3355416588 at c.voceblu.it'
for upn - R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942
ID=0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting caller_cli_userprov/caller_domain_userprov '3355416588 at c.voceblu.it'
for upn - R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942
ID=0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting From to '3355416588 <sip:3355416588 at c.voceblu.it>' -
R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting caller_cli_userprov/caller_domain_userprov '3355416588 at c.voceblu.it'
for upn - R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942
ID=0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting PAI to '<sip:3355416588 at c.voceblu.it>' -
R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting caller_cli_netprov/caller_domain_netprov '3355416588 at c.voceblu.it'
for npn - R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942
ID=0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting PPI to '<sip:3355416588 at c.voceblu.it>' -
R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Rewriting called party '0119369402' to '390119369402' -
R=sip:0119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Setting P-Called-Party-ID '<sip:390119369402 at c.voceblu.it>' -
R=sip:390119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Appending P-D-URI 'sip:lb at 127.0.0.1;lr;socket=sip:94.125.235.56:5060' -
R=sip:390119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Forcing request via B2BUA 'sip:127.0.0.1:5080' -
R=sip:390119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7020]: NOTICE: <script>:
Request leaving server, D-URI='sip:127.0.0.1:5080' -
R=sip:390119369402 at 185.28.83.208:53402;rinstance=ce984636a57ec942 ID=
0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='TELES-SBC'

May 23 20:32:38 centrale03 (local7.notice) proxy[7021]: NOTICE: <script>:
NAT-Reply - S=100 - Connecting M=INVITE IP=213.204.31.10:5060 (
127.0.0.1:5080) ID=0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1
UA='<null>'

May 23 20:32:38 centrale03 (local7.notice) proxy[7024]: NOTICE: <script>:
NAT-Reply - S=180 - Ringing M=INVITE IP=213.204.31.10:5060 (127.0.0.1:5080)
ID=0e15e0000ef5-59248044-3a58ecaa-d8522c8-86820c at 127.0.0.1 UA='X-Lite
release 4.9.8 stamp 84254'




On 23 May 2017 at 14:03:14, Danilo Smaldone - sip:wise (
dsmaldone at sipwise.com) wrote:

I agree with Leighton
May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
Request leaving server, D-URI='sip:127.0.0.1:5080' - R=
sip:390119369402 at 172.26.66.61:5060 ID=
0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
May 23 12:01:51 centrale03 (local7.notice) proxy[7021]: NOTICE: <script>:
NAT-Reply - S=100 - Connecting M=INVITE IP=213.204.31.10:5060 (
127.0.0.1:5080) ID=0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1
UA='<null>'
May 23 12:01:52 centrale03 (local7.notice) proxy[7026]: NOTICE: <script>:
NAT-Reply - S=404 - Not Found M=INVITE IP=213.204.31.10:5060 (127.0.0.1:5080)
ID=0e15e0000ef5-5924088d-a736f9a-
<0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1>


The requested number  390119369402 was not found on 172.26.66.61:5060
Danilo

On 2017-05-23 12:46, Leighton Brennan wrote:

Looks like you are rewriting the number to 390119369402 make sure this is
matched against a subscriber.

On Tue, May 23, 2017 at 11:37 AM, stefanormc <stefanormc at gmail.com> wrote:

>
> Hello all,
>
> I’m getting a 404 error for inbound calls to users that were working up
> until yesterday that I can’t get a grip on. Seems to me from the logs that
> apart from the ending, everything is fine… But I guess I’m not looking well
> enough…
>
> phone is registered and outbound calls work.
>
> Any help please?
> Thanks
> stefano
>
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Call from PSTN - R=sip:0119369402 at 94.125.235.56 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> User-Provided CLI '3355416588' taken from From-User - R=
> sip:0119369402 at 94.125.235.56 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Network-Provided CLI '3355416588' taken from From-User - R=
> sip:0119369402 at 94.125.235.56 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting '3355416588 at 213.204.31.10' as initiating user-provided CLI - R=
> sip:0119369402 at 94.125.235.56 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting '3355416588 at 213.204.31.10' as initiating network-provided CLI - R=
> sip:0119369402 at 94.125.235.56 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Rewriting called party '0119369402' to '390119369402' - R=
> sip:0119369402 at 94.125.235.56 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Callee was aliased with base '390119369402' - R=
> sip:0119369402 at c.voceblu.it ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Callee is local, uuid='e63120a1-c7fd-49c4-b1c1-eecdcd1d8c14' - R=
> sip:0119369402 at c.voceblu.it ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting acc source-leg for uuid '0': '0|3355416588|213.204.31.10|
> 3355416588|||0|||0|call|213.204.31.10|1495533711.933306|||||||||||' - R=
> sip:0119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting acc destination-leg for uuid 'e63120a1-c7fd-49c4-b1c1-eecdcd1d8c14':
> '0||Eutron|59|0119369402|e63120a1-c7fd-49c4-b1c1-eecdcd1d8c14|0119369402|
> c.voceblu.it|390119369402|94.125.235.56|8|||||||||||' - R=
> sip:0119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting caller_cli_userprov/caller_domain_userprov '
> 3355416588 at c.voceblu.it' for upn - R=sip:0119369402 at 172.26.66.61:5060 ID=
> 0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting caller_cli_userprov/caller_domain_userprov '
> 3355416588 at c.voceblu.it' for upn - R=sip:0119369402 at 172.26.66.61:5060 ID=
> 0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting From to '3355416588 <sip:3355416588 at c.voceblu.it>' - R=
> sip:0119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting caller_cli_userprov/caller_domain_userprov '
> 3355416588 at c.voceblu.it' for upn - R=sip:0119369402 at 172.26.66.61:5060 ID=
> 0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting PAI to '<sip:3355416588 at c.voceblu.it>' - R=
> sip:0119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting caller_cli_netprov/caller_domain_netprov '3355416588 at c.voceblu.it'
> for npn - R=sip:0119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting PPI to '<sip:3355416588 at c.voceblu.it>' - R=
> sip:0119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Rewriting called party '0119369402' to '390119369402' - R=
> sip:0119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Setting P-Called-Party-ID '<sip:390119369402 at c.voceblu.it>' - R=
> sip:390119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Appending P-D-URI 'sip:lb at 127.0.0.1;lr;received=sip:172.26.66.61:5060
> ;socket=sip:94.125.235.56:5060' - R=sip:390119369402 at 172.26.66.61:5060 ID=
> 0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Forcing request via B2BUA 'sip:127.0.0.1:5080' - R=
> sip:390119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7027]: NOTICE: <script>:
> Request leaving server, D-URI='sip:127.0.0.1:5080' - R=
> sip:390119369402 at 172.26.66.61:5060 ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:51 centrale03 (local7.notice) proxy[7021]: NOTICE: <script>:
> NAT-Reply - S=100 - Connecting M=INVITE IP=213.204.31.10:5060 (
> 127.0.0.1:5080) ID=0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1
> UA='<null>'
> May 23 12:01:52 centrale03 (local7.notice) proxy[7026]: NOTICE: <script>:
> NAT-Reply - S=404 - Not Found M=INVITE IP=213.204.31.10:5060 (
> 127.0.0.1:5080) ID=0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1
> UA='A540 IP/42.241.00.000.000'
> May 23 12:01:52 centrale03 (local7.notice) proxy[7026]: NOTICE: <script>:
> Failure route for local call - R=sip:0119369402 at 172.26.66.61:5060 ID=
> 0e15e0000ef5-5924088d-a736f9a-35a85bd0-80668d at 127.0.0.1 UA='TELES-SBC'
> May 23 12:01:52 centrale03 (local7.notice) proxy[7023]: NOTICE: <script>:
> New request on proxy - M=ACK R=sip:0119369402 at 94.125.235.56 F=
> sip:3355416588 at 213.204.31.10;user=phone T=sip:0119369402 at 94.125.235.56 IP=
> 213.204.31.10:5060 (127.0.0.1:5060) ID=0e15e0000ef5-5924088d-
> a736f9a-35a85bd0-80668d at 127.0.0.1 UA='<null>'
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
>


--
Best Regards
Leighton


_______________________________________________
Spce-user mailing
listSpce-user at lists.sipwise.comhttps://lists.sipwise.com/listinfo/spce-user


--
Danilo Smaldone
Operations Engineer

Sipwise GmbH , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Phone:  +43 (0)1 3012059
Email:  dsmaldone at sipwise.com
Website:  www.sipwise.com

Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206

_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
https://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20170525/d932e67b/attachment-0001.html>


More information about the Spce-user mailing list