SIP dialpeer to CUE IVR

Answered Question
Apr 7th, 2014
User Badges:

 

Hi,

I have a SIP trunk configured in VG to land incomming calls. Calls from outside are able to receive directly on DID extensions successfully. 

Want to configure the DID number to be forwarded to IVR so i can hear welcome greeting. 

 like if someone calling on 7700(DID) the call should be forwarded to IVR (CUE-1119). 

Quick response is highly appreciated.

 

 

 

 

Thank You

Sam

Correct Answer by Manish Prasad about 3 years 4 months ago

Hi Sam,

 

Modify your dial-peer 100 and then test a call.

 

dial-peer voice 100 voip

destination-pattern 228....

 

Now what happen is VG will send called number as 2281119 to CUCM and you need translation pattern on CUCM to convert this called number to 1119.

 

If you don't need translation pattern on  CUCM , you can use translation rule to convert this number.

 

Let me know

Thanks

Manish

Correct Answer by Suresh Subramanian about 3 years 4 months ago

Hi Sam, it is better to create a Translation Pattern in CUCM with 2287700 with partition same as other IP phones and modify the called party number to 1119.

if you dial 1119 from any ip phone, does it work without any issues now?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Brian Meade Mon, 04/07/2014 - 10:51
User Badges:
  • Silver, 250 points or more

You could make 7700 a trigger for the IVR or you could make 7700 a directory number and set forward-all to the IVR or you could make 7700 a translation pattern and translate the called number to the IVR.

mohammed samiuddin Tue, 04/08/2014 - 00:38
User Badges:

Hi Brain,

 

Thanks for reply.

I have CUCM 9. I someone calls on DID 7700 it should prompt welcome message. And if anyone trying to call internally to 7700 it should ring without prompting welcome message. So, in above it works with external calls but not internal. Correct me if m wrong!

- I created a system call handler- recorded a message- extension 1119. When i dial 1119 it prompts welcome message. So, far call handler is done. Thing left is external incomming calls landing on VG  DID 7700 should be translated to 1119. 

- Created translate rule.

voice translation-rule 1
 rule 1 /7700/ /1119/
!
!
voice translation-profile for_7700_1119
 translate called 1

- Figured that call is hitting incomming dial-peer 5001.So, i configured translation-profile  incomming for_7700_1119.

Still no luck. I suspect there is something very simple i am missing here. So if anyone could point me to the right direction is would be very much appreciated.

 

Thank U

Sam

 

 

 

Suresh Subramanian Tue, 04/08/2014 - 00:49
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, October 2015

do you have the outgoing dial-peer for 1119 on your GW? you may collect "debug voice ccapi inout" to check the incoming & outgoing dial-peer matching & number translation? Was there a configuration in CUCM to accept the call with called number 1119 & send the same to IVR?

 

mohammed samiuddin Tue, 04/08/2014 - 01:07
User Badges:

Hello Suresh,

I checked incomming & outgoing dial-peers. Outgoing is 100 & incomming 5001. Below configuration example.

voice translation-rule 1
 rule 1 /7700/ /1119/
!
!
voice translation-profile for_7700_1119
 translate called 1

dial-peer voice 100 voip
 description *** VOIP DIAL-PEER To IP-PHONES ***
 translation-profile outgoing for_7700_1119
 destination-pattern 22877..
 session protocol sipv2
 session target ipv4:172.22.240.100
 voice-class codec 1
 dtmf-relay h245-alphanumeric h245-signal rtp-nte
 fax protocol none
 no vad
 supplementary-service pass-through

 

dial-peer voice 5001 voip
 description **Incoming calls to STC SIP Trunk**
 translation-profile incoming for_7700_1119
 session protocol sipv2
 incoming called-number .T
 voice-class codec 1
 dtmf-relay rtp-nte
 no vad

 

 

 

Could you please help me with sample templates of below:

- Configuration in CUCM to accpet the call 1119 & send to IVR.

Thank You for reply.

Sam

Suresh Subramanian Tue, 04/08/2014 - 02:05
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, October 2015

Hello Sam,

 

in the dial-peer 5001, you are changing the called number from 7700 to 1119, but it would not match the outgoing dial-peer 100 because the destination pattern configured there is 22877..

what is number you would receive from provider? 22877XX or 77XX? how would the other calls match the dial-peer 100 as it has the destination pattern as 2277..?

what is the significant digit configured on the sip trunk for inbound call settings?

except the IVR calls, other inbound calls to IP phones are working fine? We would need to modify all your dial-peers to make it working.

mohammed samiuddin Tue, 04/08/2014 - 02:17
User Badges:

Hi Suresh,

Below answers fro ur questions:

- DID numbers we received from provider are 22877XX.

- Inbound calls significant digits . ALL

- Yes, except IVR call all other calls are absolutely working fine.

Kindly, let me know the configuration in order to make it worked. Would be great if it is not interrupting the current setup.

Thank U

Sam

Correct Answer
Suresh Subramanian Tue, 04/08/2014 - 02:25
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, October 2015

Hi Sam, it is better to create a Translation Pattern in CUCM with 2287700 with partition same as other IP phones and modify the called party number to 1119.

if you dial 1119 from any ip phone, does it work without any issues now?

mohammed samiuddin Tue, 04/08/2014 - 03:03
User Badges:

HI Suresh,

I did create the Translation pattern in CUCM as above.And tried calling on 2287700 from my mobile, it just hangedup. (call got disconnected).

yes, it absolutely works fine when i dial 1119 from any internal IP phones.

Manish Prasad Tue, 04/08/2014 - 03:18
User Badges:

Hi Sam,

 

Please attach "debug ccsip message" and "debug voice ccapi inout" when you call from your mobile to 2287700.

 

Thanks

Manish

Manish Prasad Tue, 04/08/2014 - 04:53
User Badges:

  Call Params(Calling Number=583125185,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
   Called Number=2281119(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
   Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=5000, Call Count On=FALSE,

 

Its not matching the correct outgoing dial-peer towards CUCM. If you see the logs its matching outgoing dial-peer 5000 and the second leg SIP Invite sent to 10.208.9.69 which is not CUCM ip address.

 

Please share your GW config of dial-peer section. We need to correct it first

 

Thanks

Manish

Correct Answer
Manish Prasad Tue, 04/08/2014 - 05:45
User Badges:

Hi Sam,

 

Modify your dial-peer 100 and then test a call.

 

dial-peer voice 100 voip

destination-pattern 228....

 

Now what happen is VG will send called number as 2281119 to CUCM and you need translation pattern on CUCM to convert this called number to 1119.

 

If you don't need translation pattern on  CUCM , you can use translation rule to convert this number.

 

Let me know

Thanks

Manish

Manish Prasad Tue, 04/08/2014 - 06:20
User Badges:

Thank you and don't forget to rate helpful post of other engineers.

Thanks

Manish

Suresh Subramanian Tue, 04/08/2014 - 03:25
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, October 2015

how many digits are your internal extensions? have you configured the correct CSS in the translation pattern?

mohammed samiuddin Tue, 04/08/2014 - 04:39
User Badges:

Hello suresh,

 

Internal extension are 4 digits.

yes, correct CSS. 
Do i need to configure any on Voice gateway? as call is landing on VG.

 

Sam

mohammed samiuddin Tue, 04/08/2014 - 06:45
User Badges:

Thank you much suresh for your support.

Actually, translation rule is must at CUCM.

 

 

Thank U

Sam

Actions

This Discussion

Related Content