Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Number Plan

  Thread closed by the administrator, not accepting new replies.
  • 1.  Number Plan

    Posted 08-26-2020 07:38
    No replies, thread closed.
    Hello,

    Actually, I set up a new Dial Plan under Site settings to transform outbound numbers.

    for example: 

    if you dial the number : +4423456789 --> 0023456789.

     

    This is how Call Manager works, so I need to transform the outbound number first, then call manager can make the call.

    Everything is working fine, but this dial plan impacts also inbound calls.

    So, for an incoming call, the phone number is also transformed using the same rule applied for outbound dialing.

    I thought that the Number Plan will be applied only for outbound dialing !

    How can I keep incoming phone numbers without transformation and apply only number plan only for outbound calls ?

    Appreciate your help.


    Regards,
    #Implementation
    #Outbound
    #Telephony

    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------


  • 2.  RE: Number Plan

    Posted 08-26-2020 07:55
    No replies, thread closed.
    Hi Charaf,

    I usually use the Address Transformation for outbound calls on the trunk configuration to transform the called address. More information can be found at https://help.mypurecloud.com/articles/transform-outbound-addresses-with-regular-expressions/

    Kind regards,

    Dieter


    ------------------------------
    Dieter Wijnen
    Telenet BVBA
    ------------------------------



  • 3.  RE: Number Plan

    Posted 08-26-2020 08:06
    No replies, thread closed.
    Hi @Dieter Wijnen

    Thank you for your answer.

    I already implemented my Regular Expressions in the Calling & Called under Outound settings (External Trunk)

    but it doesn't work, when I simulate a call via Sites/SImulate a call, the number dialed is not transformed.

    As an example, I am using this Regular Expression in the Number Plan :

    When I simulate the call to check if the transfomation is ok : it is working when the Regular expression is implemented on the Site level.


    External Trunk settings, I put the same Regular Expression :



    But it doens't working when I simulate the call in this case using the External Trunk configuration.

    Am I missing something ?

    Appreciate your help.

    Regards,

    CHARAF

    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 4.  RE: Number Plan

    Posted 08-26-2020 08:18
    Edited by Dieter Wijnen 08-26-2020 08:18
    No replies, thread closed.
    Hello Charaf,

    I do not think that the manipulation at the trunk level is taken in account when doing a simulation, as the following information is available at the simulate call interface: "Simulate call will use settings from the "General", "Number Plans", and "Outbound Routes" tabs. You do not need to save before simulating a call. This allows you to test before applying the changes."

    Can you try the following regular expression?
    Match Regual Expression -->  ^(sip[s]?:|tel:)(\+81)(.*)
    FormatRegular Expression -->${1}00${3}

    You actually need to match the full SIP URI and build it up again in the format section.

    Kind regards,

    Dieter

    ------------------------------
    Dieter Wijnen
    Telenet BVBA
    ------------------------------



  • 5.  RE: Number Plan

    Posted 08-26-2020 08:20
    No replies, thread closed.
    I even changed the Regular Expression to : ^(sip[s]?:|tel:)(\+)(81)(.*), but when I simulate the call, it didn't change anything.

    I don't know why the regular expressions set on the External Trunk level are not applied ?!

    Any ideas ?

    Regards,


    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 6.  RE: Number Plan

    Posted 08-26-2020 08:28
    No replies, thread closed.
    Hello Charaf,

    With simulate call you mean the simulate call functionality available on the site configuration? Do you have the possibility to place an actual call? You should see the formatted number. As far as I know the "simulate call" doesn't take in account manipulations on the trunk configuration, it's just how the functionality was developed.

    I have a few regular expressions on the trunk level and they are working fine but are not visislble when doing a call simulation in PureCloud.

    Kind regards,

    Dieter

    ------------------------------
    Dieter Wijnen
    Telenet BVBA
    ------------------------------



  • 7.  RE: Number Plan

    Posted 08-26-2020 08:34
    No replies, thread closed.
    Alright, I understand better now.

    I actually chaned my Match Regular Expression to : ^(sip[s]?:|tel:)(\+81)(.*), Format Regular Expression to : ${1}00${3}

    But when I dialed a number using my softphone, still no change and the number is +81xxxxxxxx.

    in the call logs, I found

    So no changes after setting the Trunk outbound rules.

    Regards,



    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 8.  RE: Number Plan

    Posted 08-26-2020 09:01
    No replies, thread closed.
    Hello Charaf,

    I'm afraid you'll need to have a look at the actual SIP messages. I applied the same regular expression in my lab and I see the correct formatting of the number in the SIP Invite. When I have a look at the conversation I always see the following "dnis": "tel:+81879452455". 

    With the regular expression on the trunk (this is the result that you want):

    Without :





    ------------------------------
    Dieter Wijnen
    Telenet BVBA
    ------------------------------



  • 9.  RE: Number Plan

    Posted 08-26-2020 09:07
    No replies, thread closed.
    Alright,

    I will have a look on WireShark to make sure in the INVITE, the number was transformed.

    Have you added the Regular Expression for both Called & Calling ? because in my case, I just want to change ony the Called or dialed number.

    Tahnk you again Dieter.

    Regards,

    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 10.  RE: Number Plan

    Posted 08-26-2020 09:08
    No replies, thread closed.
    Another question @Dieter Wijnen

    How many Regular Expressions have you set on the Trunk ? is there any limitations ?

    Regards,​

    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 11.  RE: Number Plan

    Posted 08-26-2020 09:13
    Edited by Dieter Wijnen 08-26-2020 09:13
    No replies, thread closed.
    I've only applied it to the called section for my test.

    As far as I know there is no limitation. I usually do not set more than 5 regular expression.  
    ------------------------------
    Dieter Wijnen
    Telenet BVBA
    ------------------------------



  • 12.  RE: Number Plan

    Posted 08-26-2020 09:16
    No replies, thread closed.
    Alright,

    Thank you for your help and tests.

    I'll try to troubeshoot using wireShark and let you know if it is okay.

    Thank you again.

    Regards,

    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 13.  RE: Number Plan

    Posted 08-26-2020 11:34
    No replies, thread closed.
    hello,

    I have analysed SIP invite packets using WireShark and the number is not transformed.
    The Regular Expression I set was not applied.

    I am just wondering, since the National section under SItes settings is enabled, maybe it is applied took over what I have set in External Trunk.

    What did you put on the National section in Sites ?




    Regards,

    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 14.  RE: Number Plan

    Posted 08-27-2020 03:58
    No replies, thread closed.
    Hello Charaf,

    My setup in regards to the dial plan is different than yours as I didn't want to impact all international calls for my test. I route the call to country code 81 to a specific trunk that terminates on a desktop with Wireshark Installed.








    ------------------------------
    Dieter Wijnen
    Telenet BVBA
    ------------------------------



  • 15.  RE: Number Plan

    Posted 08-27-2020 05:52
    No replies, thread closed.
    Thank you Dieter for your answer.

    Unfortunately, I have the same Regex and settings as you but in WireShark, I still have the number not transformed.


    I don't know what is missing ?

    Regards,

    CHARAF


    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 16.  RE: Number Plan

    Posted 08-27-2020 06:21
    No replies, thread closed.
    Hi again @Dieter Wijnen,

    A quick update.

    I have now a strange behavior. The regex set on the Trunk level now is applied but only when I dial the number using the softphone.
    But when I dial the number ​using the dial pad on Calls panel via Chrome, It is not working !

    I don't know why using softphone the rules are applied, but not when using the web interface.

    Regards,

    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 17.  RE: Number Plan

    Posted 08-28-2020 04:14
    No replies, thread closed.
    Hi,

    I fixed the issue now. Thank you Dieter for your time and help.

    Regards,


    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------



  • 18.  RE: Number Plan

    Posted 08-28-2020 04:26
    No replies, thread closed.
    Hello Charaf,

    You have solved the issue that the manipulation is not applied when calling with the dial pad in PureCloud? How did you solve this? I was doing some tests but was unable to reproduce the issue.

    ------------------------------
    Dieter Wijnen
    Telenet BVBA
    ------------------------------



  • 19.  RE: Number Plan

    Posted 08-28-2020 04:58
    No replies, thread closed.
    Hi Dieter,

    During my tests, I was only testing using the Dial Plan in the web browser. Once I enabled "Address Omit + Prefix" it fixed the problem.

    Regarding the softphone, it was working from the beggining.(I analyzed Pcap files).

    Regards,

    CHARAF


    ------------------------------
    Charaf Eddine Chemlal
    NTT France
    ------------------------------