[Spce-user] R: R: International Call, problem with 00 on prefix

Alessandro Romano alessandro.romano at rpeng.it
Wed Nov 14 08:46:54 EST 2018


Hi daniel,

yes the roule is in the first position

 

and it works for local numbers the problemi s that the mobile number start
with 3 and if they are called without 0039 sipwise add the 00 end it is not
correct

 

when i call a italian fixed number with or without 0039 it works

when i call a italian mobile number with 0039 it works

when i call a italian mobile number wirhout 0039 spce add 00 and it not
works

when i call an international number it works

 

BR

Da: Spce-user <spce-user-bounces at lists.sipwise.com> Per conto di Daniel
Grotti
Inviato: mercoledì 14 novembre 2018 14.34
A: spce-user at lists.sipwise.com
Oggetto: Re: [Spce-user] R: International Call, problem with 00 on prefix

 

Alessandro,
be sure that rule

^39([0-9][0-9]+)$


comes FIRST in the list, before rule

^([1-9][0-9]+)$


otherwise 39 will match the ^([1-9][0-9]+)$ and call will be prefixed by 00.





-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge
 
Office: +43(0)130120332
Email: dgrotti at sipwise.com <mailto:dgrotti at sipwise.com> 
Website: https://www.sipwise.com

On 11/14/18 2:14 PM, Alessandro Romano wrote:

Hi Daniel,

i’ve created the rewrite roules for outboud calls for calee

 

^39([0-9][0-9]+)$

\1

E.164 to Italia National

yes

  

^([1-9][0-9]+)$

00\1

E.164 to International

Yes

 

Now i’ve the 00 on the internationall calls, but i’ve a problem with italian
mobile phones because 00 are added also in italian mobile phone numbers

 

Can you help me to write rewrite roules in correct way

 

BR

 

Da: Spce-user  <mailto:spce-user-bounces at lists.sipwise.com>
<spce-user-bounces at lists.sipwise.com> Per conto di Daniel Grotti
Inviato: mercoledì 14 novembre 2018 10.41
A: spce-user at lists.sipwise.com <mailto:spce-user at lists.sipwise.com> 
Oggetto: Re: [Spce-user] International Call, problem with 00 on prefix

 

Hi Alessandro,
The URI I see in the INVITE is not international format: INVITE
sip:330183770101 at 185.29.248.37:5060;transport=udp
<mailto:sip:330183770101 at 185.29.248.37:5060;transport=udp>  SIP/2.0

It looks like a E.164 format. The leading 00 or + is missing (if you were
calling +33xxx number).

BTW, what is exactly the problem. I don't get that. The trace is partial, it
shows a 183 and some PRACKs.

Cheers,





-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge
 
Office: +43(0)130120332
Email: dgrotti at sipwise.com <mailto:dgrotti at sipwise.com> 
Website: https://www.sipwise.com

On 11/14/18 10:33 AM, Alessandro Romano wrote:

Dear All

When i make international calls

 

I retreive: 

 

Nov 14 10:31:49 c5 proxy[1521]: NOTICE: <script>: NAT-Reply - S=100 -
Connecting M=INVITE IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='<null>'

Nov 14 10:31:50 c5 proxy[1525]: NOTICE: <script>: NAT-Reply - S=183 -
Session Progress M=INVITE IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='<null>'

Nov 14 10:31:50 c5 proxy[1523]: NOTICE: <script>: New request on proxy -
M=PRACK R=sip:127.0.0.1:5080;prxroute=1 F=sip:08118440101 at sip.positivonet.it
<mailto:F=sip:08118440101 at sip.positivonet.it>
T=sip:00330183770101 at sip.positivonet.it
<mailto:T=sip:00330183770101 at sip.positivonet.it>  IP=91.214.72.26:58742
(127.0.0.1:5060) ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='Bria iOS
release 3.9.7 stamp 38887.38893'

Nov 14 10:31:50 c5 proxy[1529]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=PRACK IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='<null>'

Nov 14 10:31:50 c5 proxy[1520]: NOTICE: <script>: NAT-Reply - S=183 -
Session Progress M=INVITE IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='<null>'

Nov 14 10:31:50 c5 proxy[1527]: NOTICE: <script>: New request on proxy -
M=PRACK R=sip:127.0.0.1:5080;prxroute=1 F=sip:08118440101 at sip.positivonet.it
<mailto:F=sip:08118440101 at sip.positivonet.it>
T=sip:00330183770101 at sip.positivonet.it
<mailto:T=sip:00330183770101 at sip.positivonet.it>  IP=91.214.72.26:58742
(127.0.0.1:5060) ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='Bria iOS
release 3.9.7 stamp 38887.38893'

Nov 14 10:31:50 c5 proxy[1533]: NOTICE: <script>: NAT-Reply - S=200 - OK
M=PRACK IP=91.214.72.26:58742 (127.0.0.1:5080)
ID=MmMyMmNkN2QxMGRlNTFmMDgxNmM3OGJkNjA4MjRlOGI UA='<null>'

 

But to my sbc used as peer the call is without 00 to the international
prefix as you can see in the pcap file, captured on sbc

 

BR 






_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com> 
https://lists.sipwise.com/listinfo/spce-user

 





_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com <mailto: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/20181114/b2d1bac9/attachment-0001.html>


More information about the Spce-user mailing list