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

Daniel Grotti dgrotti at sipwise.com
Wed Nov 14 08:44:21 EST 2018


Hi,
That's described quite well in the Handbook, how you should manage your RR.



-- 
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
Website: https://www.sipwise.com

On 11/14/18 2:40 PM, Alessandro Romano wrote:
>
> Hi Daniel
>
> I need to call italian fixed and mobile number with and without 0039, 
> i need to send to sbc , with or without the national prefix 0039 is 
> not a problem
>
> When i call the international numbers i need to send to sbc with 00< 
> international prefix >
>
> If you want i can give you all my rewrite roules.
>
> BR
>
> *Da:*Spce-user <spce-user-bounces at lists.sipwise.com> *Per conto di 
> *Daniel Grotti
> *Inviato:* mercoledì 14 novembre 2018 14.21
> *A:* spce-user at lists.sipwise.com
> *Oggetto:* Re: [Spce-user] R: International Call, problem with 00 on 
> prefix
>
> Hi,
> depends what do you need to set for 39XX calls?
> Assuming that you are correcly rewrinting the call to E164 (when they 
> come in), you need to rewrite 39xxxx E164 into a local or 
> international format in the peering outbound RR for callee.
>
> So you can have
>
>
> ^39([1-9][0-9]+)$  --> \1   (this will rewrite E164 39 011 1234 into 
> 011 1234)
>
>
> or you still may want to call numbers in international format:
>
>
> ^([1-9][0-9]+)$  --> +\1   (this will rewrite ANY E164 into +CC AC SN)
>
>
>
>
>
>
>
> -- 
> 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 <spce-user-bounces at lists.sipwise.com>
>     <mailto: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
>
>
> _______________________________________________
> 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/20181114/7bc5aaa9/attachment-0001.html>


More information about the Spce-user mailing list