Cisco CCIE Collaboration: Translation Profiles for SIP DID Modification

Translation Profiles for SIP DID Modification

Prev Question Next Question

Question

A SIP carried delivers DIDs to a Cisco Unified Border Element in the form of +155567810XX, where the last two digits could be anything from 00 to 99

To match the internal dial plan, that number must be changed to 6785XXX, where the last two digits should be retained.

Which two translation profiles create the required outcome? (Choose two)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

CE.

Sure, I'll explain each translation profile and how it achieves the desired outcome.

A. rule 1 /555..*.*..*/ /\150\2/ This translation profile attempts to match a pattern where the SIP DID starts with "555" and has any number of characters in between, followed by any number of characters, and then translates it to a string that starts with "150" and has the second set of characters as is. For example, it would translate "+15556781234" to "1501234". This translation profile does not retain the last two digits of the original number, so it does not create the desired outcome.

B. rule 1 /+ 1555.$/ /\15\2/ This translation profile attempts to match a pattern where the SIP DID starts with "+1555" followed by any three digits, then any two digits, and then translates it to a string that starts with "15" and has the second set of characters as is. For example, it would translate "+15556781234" to "156781234". This translation profile retains the last two digits of the original number, so it creates the desired outcome.

C. rule 1 /^+ 155567867810....$/ /\150\2/ This translation profile attempts to match a pattern where the SIP DID starts with "+155567810" followed by any two digits, and then translates it to a string that starts with "150" and has the second set of characters as is. For example, it would translate "+15556781234" to "1501234". This translation profile retains the last two digits of the original number, so it creates the desired outcome.

D. rule 1 /^15+678.… ./678\1/ This translation profile attempts to match a pattern where the SIP DID starts with "15" followed by one or more "7" or "8" digits, then any character, and then translates it to a string that starts with "678" and has the same characters as in the original number starting from the third position. For example, it would translate "+15556781234" to "67851234". This translation profile does not retain the last two digits of the original number, so it does not create the desired outcome.

E. rule 1 /.15+678?10?..../ /67850\1/ This translation profile attempts to match a pattern where the SIP DID contains any characters, then starts with "15" followed by an optional "678" and "10" digits, then any two digits, and then translates it to a string that starts with "67850" and has the second set of characters as is. For example, it would translate "+15556781234" to "678501234". This translation profile retains the last two digits of the original number, so it creates the desired outcome.

Therefore, the two translation profiles that create the required outcome are B and C.