04-21-2011 08:25 AM - edited 03-16-2019 04:38 AM
Hi,
I am working on a TCL script and would like to test it. I have a 2811 and CUCM with two cisco phones and one analog phone. This is in a lab environment. I am attempting to trigger the TCL script by calling the dial peer with the script attached to it, but it doesn't seem to work. I need to trigger it from inside the network.
This is the dial peer I am calling extension 2002 to from attempting to trigger the script.
Router#sh run | s dial-peer
dial-peer voice 2000 voip
destination-pattern 2...
session target ipv4:10.10.25.254
dtmf-relay h245-alphanumeric
codec g711ulaw
This is the dial peer that has the script in it. I have tried both incoming called number and destination pattern with no luck.
dial-peer voice 2002 voip
service disa
session target ipv4:10.10.25.254
incoming called-number 2002
dtmf-relay h245-alphanumeric
Any help would be greatly appreciated.
04-21-2011 08:30 AM
Just curious to know who authored your disa script, and if mine, who gave to you.
04-21-2011 08:35 AM
The script was given to me by my boss, but It can be downloaded from the cisco website I think.
04-22-2011 10:11 AM
Moises,
Whats the calling and called number?
Whats the DN on the IP Phone?
How is the IP Phone registered to the CUCM calling the DISA dial-peer?
try debug voip ccapi inout to figure out what dial-peers are being matched. Inbound dial-peer should be the DISA dial-peer.
Link to understand how dial-peers are matched
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml
/divin
PS: Rate useful posts!
04-22-2011 10:12 AM
in a nutshell, for an incoming dial-peer match
Incoming-called number is DNIS
destination-pattern is ANI
04-22-2011 10:15 AM
This doc will definiely help
https://supportforums.cisco.com/docs/DOC-9795#Does_the_UC500_support_Dial_Inward_System_Access_DISA
04-25-2011 07:22 AM
Thanks, i will give it a shot today.
04-25-2011 07:44 AM
dijohn,
Whats the calling and called number?
I have three phones set up, 2000, 2002 and 2003.
The called number is 2002 and calling is 2000. I am trying to call from ext 2000 to 2002 andd
trigger the script.
Whats the DN on the IP Phone?
the dn is the extension, int this case 2002
How is the IP Phone registered to the CUCM calling the DISA dial-peer?
The ip phon is registered through dhcp and tftp. I also have an analog phone hooked up to an fxs port
and I have tried triggering from that one too but no luck.
try debug voip ccapi inout to figure out what dial-peers are being matched. Inbound dial-peer should be the DISA dial-peer.
I only have three dial peers. It hits the dial peers but it does not trigger the script.
04-25-2011 07:54 AM
Hello,
Okay here's what I propose,
1) Create a loopback interface on the router
2)
dial-peer voice 222 voip
service disa
destination-pattern 2002
session target ipv4:
incoming called-number 2002
codec g711ulaw
no vad
This should take care of all the calls voip/pots.
I am using the same strategy as described for BACD
http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/bacd/configuration/guide/40bacd.html#wp1003143
Let me know if you need any more help on this one!
/divin
04-25-2011 08:17 AM
Thanks for your help. I gave it a shot and when i call from extenstion 2000 to 2002 the phone rings as it normally would. Is the loopback address supposed to be used for the session target? Thanks again, I will look more closly at the links you gave me.
dial-peer voice 2000 voip
destination-pattern 2...
session target ipv4:10.10.25.254
dtmf-relay h245-alphanumeric
codec g711ulaw
dial-peer voice 2003 pots
destination-pattern 2003
port 0/3/0
dial-peer voice 222 voip
service disa
destination-pattern 2002
session target ipv4:
incoming called-number 2002
codec g711ulaw
no vad
04-25-2011 09:01 AM
Is 2002 a Phone?
Try a random number which isn't associated with a ephone.
04-25-2011 10:20 AM
I tried that but only get a busy ring. I am starting to think that I perhaps did not load the script and audio files correctly.
04-25-2011 12:47 PM
I am a dork, I was attaching the script to the dial peer that belongs to the phone. The script should just be attached to a dial peer that is not a phone. Anyhow, I tried this an now I just get a fast busy.
For the loop back address, it doesnt matter what address I give it right? Also, the loop back would be used for the session target correct? Thanks again for all your help!
04-25-2011 01:41 PM
Can you do a debug voip ccapi inout?
Post the output as an attachment here
04-25-2011 01:47 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide