friday afternoon inbound number normalization question!

Steel Contributor

SItuation:  Trying to get sim ring working between Cisco and Skype for Business

SfB 2015 On Premise

Cisco On Premise

 

Cisco is sending me ten digits with 5 pre-arranged digits prepended (don't ask, it's just how it has to work).  I have a rule in my global dial plan to remove the five digits and normalize the remaining ten to E.164 (+18245551212).  The LineURI on the account I'm trying to call is tel:+18245551212;ext=51212;ms-skip-rnl.  I'm adding ms-skip-rnl because I want all dialed calls from Skype to hit Cisco first, then sim ring as configured.

 

If I remove the ms-skip-rnl, the call routes correctly into the Skype account.

If I add the ms-skip-rnl, the call does not route correctly into the Skype account and fails.

 

Since ms-skip-rnl seems to be the issue, I thought that only applied when the dialed number call originates within the Skype environment.  Am I wrong about that?  Should I be using a different dial plan type?

9 Replies

Instead of the global dial plan, why not a pool dial plan based upon the IP or FQDN of the Cisco PSTN Gateways.  Also, when you normalize to E.164, are you adding the EXT= still?

Would normalizing using a pool dial plans do something differently than a rule in the global plan?

I’m not really able to normalize the extension. I didn’t think I would need that in the rule. Can ext= be blank, we really don’t use extension dialing in Skype?

It wouldn't do anything different, but the global dial plan would be used for outbound normalization of other things, so I typically keep them separate. 

 

I think I misread the post the first time through, though I try to keep the normalization rule as close to the LineURI as possible.  For if the 5 prepended digits were 55555, you could have the pattern to match be ^55555(\d{5})(\d{5})$ and the translation rule be +1$1$2;ext=$2;ms-skip-rnl


@Anthony Caragol wrote:

It wouldn't do anything different, but the global dial plan would be used for outbound normalization of other things, so I typically keep them separate. 

 

I think I misread the post the first time through, though I try to keep the normalization rule as close to the LineURI as possible.  For if the 5 prepended digits were 55555, you could have the pattern to match be ^55555(\d{5})(\d{5})$ and the translation rule be +1$1$2;ext=$2;ms-skip-rnl


This is brilliant.  I envy you guys that can write regex.  So adding ms-skip-rnl to the normalized LineURI means it won't actually skip the number, like it's doing now without it?

I don't have a environment handy where I can test, but if it's not working anyway, I'd say just give it a shot.

I'll give it a try.  One more question - in that scenario, once the call is set up when the receiving Skype client answers, does the media traffic stay on the Skype side, or does it traverse the PBX?  Media bypass is not present.

 

Calling client > trunk > pbx > trunk > answering client

 

or

 

Calling client > answering client

 

The media for the Skype client will connect with the mediation server on the Skype side.  It won't go all the way to the other PBX.

I'm sorry - I meant:

 

Calling client > mediation server > trunk > pbx > trunk (forked to Cisco and back to Skype) > mediation server > answering client

 

The voice guys want to know if a call originating in Skype is taking up more voice resources than necessary.

Ohhhhh Skype to Skype.  If they dial the number, then that's possible yes they could use up 2 channels on the trunk, if they right-click call in Skype then no it would be P2P and not touch Cisco.

 

But, it's a SIP trunk with Cisco, so it shouldn't matter much if an extra channel is used unless you're passing it through an SBC that limits concurrent sessions due to licensing.