Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Prefixing Digits for SRST mode...

Hi all,

We have a callmanager system where users dial 7 digits internally (as oppose to the usual 4 digits). The PRI sends in 4 digit DID and we prefix them with 3 more digits in the callmanager gateway configuration page to make it 7 digits.

In SRST mode, I am trying to setup the PRI to do the same thing. I am using the translation-profile incoming prefix544 to try to accomplish this. However, when testing in SRST mode, it doesn't prefix it at all. Please see configuration below.

I verified the translation rule by using the test voice translation-pattern and that works fine. For example, when entering 1100, the test voice translation properly returns "5441100". When I go into SRST mode, I see the call come in the PRI (debug isdn q931) but it doesn't prefix the "544" so it can't match any of the SRST configured phone.

Any ideas or help would be appreciated. Is there anything obvious that I missed in the configuration below?

IOS version is 12.4(9)T enterprise voice running on a 3845.

Thanks in advance!

Van

----------snippet of configuration------------

voice translation-rule 1

rule 1 // /544/

!

!

voice translation-profile prefix544

translate called 1

!

!

!

application

global

service alternate default

!

!

!

controller T1 0/0/0

framing esf

linecode b8zs

pri-group timeslots 1-24 service mgcp

!

controller T1 0/0/1

framing esf

linecode b8zs

pri-group timeslots 1-24 service mgcp

!

controller T1 0/1/0

framing esf

linecode b8zs

!

controller T1 0/1/1

framing esf

linecode b8zs

!

!

!

!

!

!

!

interface Serial0/0/0:23

no ip address

encapsulation hdlc

isdn switch-type primary-dms100

isdn incoming-voice voice

isdn bind-l3 ccm-manager

no cdp enable

!

interface Serial0/0/1:23

no ip address

encapsulation hdlc

isdn switch-type primary-4ess

isdn incoming-voice voice

isdn bind-l3 ccm-manager

isdn nsf-service sdn

no cdp enable

!

router eigrp 2

passive-interface default

no passive-interface GigabitEthernet0/0

no passive-interface GigabitEthernet0/1

network 10.106.0.0 0.0.255.255

no auto-summary

!

!

!

no ip http server

no ip http secure-server

ip tacacs source-interface Loopback0

!

!

voice-port 0/0/0:23

!

voice-port 0/0/1:23

!

ccm-manager fallback-mgcp

ccm-manager redundant-host 153.7.43.64

ccm-manager mgcp

no ccm-manager fax protocol cisco

ccm-manager music-on-hold

ccm-manager config server 153.7.43.64

ccm-manager config

!

mgcp

mgcp call-agent 10.105.0.4 2427 service-type mgcp version 0.1

mgcp dtmf-relay voip codec all mode out-of-band

mgcp rtp unreachable timeout 1000 action notify

mgcp modem passthrough voip mode nse

mgcp package-capability rtp-package

no mgcp package-capability res-package

mgcp package-capability sst-package

no mgcp package-capability fxr-package

mgcp package-capability pre-package

mgcp package-capability srtp-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp fax t38 inhibit

mgcp rtp payload-type g726r16 static

mgcp bind control source-interface Loopback0

mgcp bind media source-interface Loopback0

!

mgcp profile default

!

!

dial-peer voice 1001 pots

preference 1

destination-pattern 9T

progress_ind alert enable 8

incoming called-number .

direct-inward-dial

port 0/0/0:23

!

dial-peer voice 1002 pots

preference 2

destination-pattern 9T

progress_ind alert enable 8

incoming called-number .

direct-inward-dial

port 0/0/1:23

!

!

!

!

!

call-manager-fallback

max-conferences 24 gain -6

transfer-system full-consult

limit-dn 7910 1

limit-dn 7935 1

limit-dn 7940 1

limit-dn 7960 3

limit-dn 7970 1

timeouts interdigit 6

ip source-address 10.106.32.28 port 2000

max-ephones 720

max-dn 960

voicemail 917149266827

translation-profile incoming prefix544

!

14 REPLIES

Re: Prefixing Digits for SRST mode...

Van,

I haven't personally done this but this might be like COR where you need to specify it outgoing to the ephone. Try using the below command.

translation-profile outgoing prefix544

Please rate any helpful posts

Thanks

Fred

New Member

Re: Prefixing Digits for SRST mode...

I'm not sure, but I think prefix544 is just a name, first you must create a voice translation-profile and all necessary translation rules.

look at

http://www.cisco.com/univercd/cc/td/doc/product/voice/its/cme33/cme33sa/cme33phn.htm#wp2317590

New Member

Re: Prefixing Digits for SRST mode...

Van:

Did you ever get this to work? I need to do the same exact thing. Have to prefix 47 in front of the 4-digit DID number.

Thanks

Rob

New Member

Re: Prefixing Digits for SRST mode...

Hi Rob,

Unfortunately, I never got a chance to test the solution offered. Once the network was in place, and since I'm a subcontractor or a contractor, I could not take the network down.

I opened a TAC case and TAC suggested I added the translation-profile to the voice-ports. As per TAC, the profile will only be in affect for H323 calls and not mgcp.

Try this and let me know.

voice-port 0/0/0

translation-profile prefix544 incoming

New Member

Re: Prefixing Digits for SRST mode...

I would like to know how this is done as well..please let us know if you can.

Bronze

Re: Prefixing Digits for SRST mode...

If I'm not mistaken you need h323 dial-peers when operating in SRST mode. That's where you can apply translation profiles.

Also, you might need service default command under ccm-manager fallback-mgcp.

http://www.cisco.com/en/US/products/sw/voicesw/ps2169/products_configuration_guide_chapter09186a00806674c3.html#wp1351962

New Member

Re: Prefixing Digits for SRST mode...

this is what i've got.

translation rule test gives me a 47 in front of the 4-digit number which is what i need.

waiting for a chance to test it:

translation-rule 1

Rule 1 ^7 477

!

call-manager-fallback

translate called 1

Rob

New Member

Re: Prefixing Digits for SRST mode...

Hey Vincent,

I started it out by placed the "translate called 1" under the call-manager-fallback and it never worked. TAC suggested I put the commands in the voice-port.

Van

New Member

Re: Prefixing Digits for SRST mode...

van

if this doesn't work, i'll put it under the voice port and give it a shot

thanks

rob

New Member

Re: Prefixing Digits for SRST mode...

rob,

in SRST mode, you have to put the translate statement under the pots dial-peer

EXAMPLE:

voice translation-rule 1

rule 1 /\(^1...$\)/ /1212222\1/

rule 2 /\(^3...$\)/ /1331322\1/

voice translation-profile APPEND

translate called 1

dial-peer voice 1 pots

incoming called-number .

direct-inward-dial

dial-peer voice 100 pots

destiantion-pattern [12]...

translation-profile outgoing APPEND

port 0/0:23

** this allows DIDs in the 1xxx and 3xxx to have the E164 info appended to their outbound dialing string.

(I have this working at a customer site, BTW....)

New Member

Re: Prefixing Digits for SRST mode...

Hi Vincent,

The configuration with the translation profile applied at the voice-port does work. I finally had a chance to test it at the customer.

Van

New Member

Re: Prefixing Digits for SRST mode...

van

so the translation profile needs to be under the voice-port, not under the fallback, in order to work?

thanks

Rob

New Member

Re: Prefixing Digits for SRST mode...

yes.

New Member

Re: Prefixing Digits for SRST mode...

You can try this under the call-manager-fallback instead:

dialplan-pattern 1 .... extension-length 7 extension-pattern 544....

Where the first set of dots is for the 4 digits being sent from the Telco, and the extension pattern adding the 544 onto the beginning of the 4 captured wildcard digits.

I have never done exactly what you are asking for but this may work.

HTH

Please rate helpful posts!

Best,

JG

218
Views
0
Helpful
14
Replies
CreatePlease to create content