locked
Modify calling number RRS feed

  • Question

  • Hi all, I've integrated, by SIP TRUNK a lync server 2010 and a SIP PBX.

    What I would like to achieve is modify calling number when Lync client calls toward a SIP PBX. Lync client that are enterprise voice are compiled with E164 number ( es +390522xxxxxx). When it makes an outbound calls, lync server passes to SIP PBX +390522xxxxxx as Calling number ( FROM ). What i need is strip +39 and just pass to PBX 0522xxxxxx. Is that possible? I know that with Lync server 2013 you can manipulate Calling number ( that's great ) but this is not present in Lync server 2010.

    Any idea? maybe MSPL script ??

    Regards

    Thursday, January 31, 2013 11:39 PM

Answers

  • Hi,

    Lync server can't create a normalization rule for the from number. You need to do it in the gateway. Or change the user's number in the Lin URI with the format you want.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Sean Xiao
    TechNet Community Support

    • Marked as answer by Sean_Xiao Monday, February 25, 2013 2:43 AM
    Sunday, February 3, 2013 3:59 AM

All replies

  • Why don't you strip the digest on the SIP PBX side?

    regards Holger Technical Specialist UC

    Friday, February 1, 2013 12:31 PM
  • Because it can't.

    Friday, February 1, 2013 12:52 PM
  • So you want to strip the +39 from the phone number before handing it to the PBX? If so, then this can easily be done using Trunk Configuration in the Voice Routing section of Control Panel. Add a Translation Rule such as this one:

    ^\+39(\d*)$

    $1


    Have you visited Lync News lately? All of the latest Lync news, articles, and tips collected in one giant aggregator. http://lyncne.ws

    Friday, February 1, 2013 2:55 PM
  • So you want to strip the +39 from the phone number before handing it to the PBX? If so, then this can easily be done using Trunk Configuration in the Voice Routing section of Control Panel. Add a Translation Rule such as this one:

    ^\+39(\d*)$

    $1


    Have you visited Lync News lately? All of the latest Lync news, articles, and tips collected in one giant aggregator. http://lyncne.ws

    Hi, this is not possible! It should work ONLY for the "called" number, not for the "calling" number. Lync server 2013 can do that, not Lync server 2010.

    I need to work to the calling number ( FROM )

    Any other idea ?

    Thanks

    Friday, February 1, 2013 3:02 PM
  • OK, I'm confused. In your initial quesiton you asked "What i need is strip +39 and just pass to PBX 0522xxxxxx. Is that possible?"

    This is exactly what the Trunk Configuration translation rules do. A user dials a number (say 0522 123456). Lync Dial plan converts it to e.164 (+39 0522 123456). Lync then determines that it needs to route the call to the PBX. But before it does that the Translation Rule on the Trunk configuration strips the +39 so Lync only passes 0522 123456 to the PBX. So in essence, the Trunk configuration reverts the number back to what the user initally dialed.

    What am I missing in your request?


    Have you visited Lync News lately? All of the latest Lync news, articles, and tips collected in one giant aggregator. http://lyncne.ws

    Friday, February 1, 2013 3:10 PM
  • I need to modify the "calling number", NOT che "called number" ( what lync client dialed ).

    Calling number is the telephone number that you compile in "tel field" when you deploy a "enterprise user" ( into Lync Control Panel ).

    Hope is more clear now. If not I will explain you better. 

    Thank you for your time

    Friday, February 1, 2013 3:21 PM
  • Hi,

    Lync server can't create a normalization rule for the from number. You need to do it in the gateway. Or change the user's number in the Lin URI with the format you want.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Sean Xiao
    TechNet Community Support

    • Marked as answer by Sean_Xiao Monday, February 25, 2013 2:43 AM
    Sunday, February 3, 2013 3:59 AM
  • Hi Sean, thank you for reply. I know that Lync server 2010 can't do it ( Lync server 2013 CAN do that ) and in my case I can't do it at gateway side. 

    What I was looking for is a sort of work around like MSPL or Managed Code to do that.

    Any Idea?

    Regards.... 

    Monday, February 4, 2013 9:32 AM
  • Hi,

    Maybe you can try using the Lync server SDK to customize it. I suggest you post your question to Lync server development forum to get help.

    http://social.msdn.microsoft.com/Forums/en-US/category/lync


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Sean Xiao
    TechNet Community Support

    Monday, February 4, 2013 1:38 PM