Forum Discussion

godril_'s avatar
godril_
Brass Contributor
Oct 28, 2022

Extension Dialplan

Hello, 

 

The story is, I am deploying a tenant with lot of users, but single DID. I assigned each of them with same base DID but different ext. E.g

User A -> +622139700000;ext=1001

User B -> +622139700000;ext=1002

USer C -> +622139700000;ext=1003

 

and so on...

 

Then I created dialplan that accomodates a user dialing an extension number (YES, such user still exists in MSTeams realm) with regex ^(\d{4})$ that translates to +622139700000;ext=$1.

 

On the Android mobile and Teams phone, dialing 4 digit will translate as expected. But on iOS, it will only translate to base DID only (i.e +622139700000), hence call will directed to Auto attendant. Is this a bug? Or I missed something when creating dialplan?

 

For desktop app, when dialing from keyboard, there will be a pop up that translate to full DID, and when clicked, the call goes as expected. But dialing on the app button itself, the pop up wont show, and the dial will failed. Does the app have its own dialplan somewhere that I need to look at? 

 

Thank you in advance

godriL_

  • Hi,

    Can you test one configuration for me? Can you test the same from the MAC devices if you are running the same issue on the MAC Devices as well?
    Is there any specific IOS version the users are using?
    What is the version of the Teams Mobile device on the IOS Device?

    With Regards,
    Satish Upadhyaya
    • godril_'s avatar
      godril_
      Brass Contributor

      Hi RealTime_M365 

       

      Thank you for responding. There is no mac device on the location, so I am afraid I cant produce this problem on it. But there are iPhone and iPad users experiencing the same. I will be back at you for the versions. 

      But I think I just learned something.

      I have to get out regular ip pbx mentality, that dialplans are processed in the call control/ip pbx itself.

      In Microsoft Teams, I think the dialplans are "fetched" into the client apps. On windows pc, when dialing, there will be autocompletion for full translation shows up after we type the extension like this:

       

      Although on desktop this works by typing number on keybord instead, but not when clicking onscreen dialpad buttons. When clicking the onscreen dialpad it will be translated as 1103;ext=1103 like following:

       

      The Androids seem able to process the dialplans perfectly. Some androids at first cant process the dialplans assigned to them. But after logout and login back, the dialplan can be processed perfectly. Hence my guess that the dialplans are fetched to the client apps. But I may be wrong too. 

      • godril_'s avatar
        godril_
        Brass Contributor

        RealTime_M365 

         

        Finally we opened ticket and they stated

        Quote:

         

        ...what we got from our team is that it is a by-design setting because of the IOS's special processing mechanism of the phone number. We also found that there is already a submission of this issue in our back up system waiting to be taken. So, for the current stage, this function cannot be applied to IOS devices. 

         

        So, I guess we have to wait and see.

         

    • godril_'s avatar
      godril_
      Brass Contributor

      My newest suspicion is that everyone on Microsoft Teams Version 1.5.00.28567 (64-bit) windows app cant process such translation -> $(\d{4})$ to +123456789;ext=$1. It will be translated to base DID e.g dialing 2222 will result to +123456789 instead +123456789;ext=2222. Already  more than 20 users found in my tenant site after updating. 

      New ticket was opened, but in the meanwhile I hope someone with current and previous version would confirm this.

    • godril_'s avatar
      godril_
      Brass Contributor

      Hi, it's been awhile. Currently everything works fine after updating. Hope you'd solve yours.

      • ernestoedx's avatar
        ernestoedx
        Copper Contributor

        godril_ If you don't mind sharing, which updates you did?

         

        The issue I'm having is that even normalization rule generates the destination with the <DIDnumber>;ext=<EXTnumber> format, the iphone dials only the DID and consequently the call fails.

         

        I am running latest Teams Client IOS.

         

        Thanks in advance

  • hjan-22's avatar
    hjan-22
    Copper Contributor

    Hi godril_ ,

     

    I know I'm jumping onto the bandwagon quite late, but can you please elaborate on how you assigned a single DID (of an MS developer tenant account) to multiple extensions for multiple users?

     

    As per my knowledge, the most we can do is use the command:

    Set-CsPhoneNumberAssignment -Identity "hidden due to privacy concerns" -PhoneNumber "+123456789;ext=0001"

     

    Thank you for your guidance in advance.

    Hjan-22

    • godril_'s avatar
      godril_
      Brass Contributor
      Yes, that is how I added the same DDI to multiple users, with various ext number. Although currently there is a more easy way to do it on TAC.
      • hjan-22's avatar
        hjan-22
        Copper Contributor

        Hi, godril_ 


        Thank you for your prompt reply. 

         

        Can you guide me on how to assign multiple extensions using the same DID using TAC? 

         

        I have exercised almost all the options on TAC, but did not come across assigning multiple extensions using the same DID part..

         

        TIA,

        hjan-22

  • hjan-22's avatar
    hjan-22
    Copper Contributor

    Hi godril_ ,

     

    Is your account attached to an SBC and using Direct Routing?

     

    If yes, how does your call land on your SBC when you dial the relevant extension number, let's say 1003?

    Do you have a dial plan written that is hit as soon as 1003 is dialled from your MS Teams dial pad?

     

    I anticipate your reply.

     

    Hisham

Resources