adding prefix to DN depending on extension

Answered Question
Jun 23rd, 2008
User Badges:

Hello all!


Is there a nice way to do the prefixing on the CallManager depending on the extension that I have on the phone?

For example I have extensions 1XX and 2XX. When 1XX is calling out I want to add prefix 1111-1XX and when 2XX is calling it should be 2222-2XX. They are both using the same MGCP GW with PRI on.


I have an idea with multiple Calling search spaces and double route patterns which would apply prefixes each to its DN's but I would like to know if there is an easier way to do this.


regards,


Goran Pilat


Correct Answer by Jaime Valencia about 9 years 1 month ago

unfortunately with that setup; what you mention is the only option, if you were using H323 then you could use translation rules on the GW to modify the calling party. but that's not possible with MGCP


since CUCM cannot make calls based on the calling number then the only way is to create a route pattern for each set of numbers


HTH


javalenc


if this helps, please rate

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jaime Valencia Mon, 06/23/2008 - 18:13
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    2011

unfortunately with that setup; what you mention is the only option, if you were using H323 then you could use translation rules on the GW to modify the calling party. but that's not possible with MGCP


since CUCM cannot make calls based on the calling number then the only way is to create a route pattern for each set of numbers


HTH


javalenc


if this helps, please rate

goranpilat Mon, 06/23/2008 - 22:12
User Badges:

Unfortunately, I thought so myself :( It will have to be then double route patterns... This functionality doesn't seem so complicated to deploy and sure would be useful..


thanks&regards,


Goran

Jaime Valencia Tue, 06/24/2008 - 05:32
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    2011

that would be the only option if you don't want to change to h323 for the gateways to use translation rules


HTH


javalenc


if this helps, please rate

Actions

This Discussion