10-14-2011 10:27 AM
LMS 3.2.1
Can someone help me with the correct baseline template syntax to accomplish the requirement 2:
Requirement 1
• Check if the router is running H323: You can do it looking for the command “h323-gateway voip interface”. If that command is found on a router then it is an H323 voice gateway
• Configure the global command:
voice class h323 1
h225 timeout tcp establish 3
I have done this already.
Requirement 2
• Check for any “dial-peer voice XXXX voip” that has any of the following destination patterns:
session target ipv4:192.168.188.12
session target ipv4:192.168.188.13
session target ipv4:192.168.188.17
session target ipv4:10.10.188.20
session target ipv4:10.10.188.21
session target ipv4:10.10.188.23
session target ipv4:10.10.188.24
If a dial-peer has any of those targets then add the following command under that particular dial-peer :
voice class h323 1
Solved! Go to Solution.
10-16-2011 07:22 AM
The second template could be done like this:
Name: CheckDialPeer
IsPrereq: true
Submode: dial-peer voice [PEER] voip
Body:
+ session target [#ipv4:(192\.168\.188\.12|192\.168\.188\.13|192\.168\.118\.17|10\.10\.188\.20|10\.10\.188\.21|10\.10\.188\.23|10\.10\.188\.24)#]
Name: AddDPH323
Prereq: CheckDialPeer
Parent: CheckDialPeer
Body:
+ voice class h323 1
10-16-2011 07:22 AM
The second template could be done like this:
Name: CheckDialPeer
IsPrereq: true
Submode: dial-peer voice [PEER] voip
Body:
+ session target [#ipv4:(192\.168\.188\.12|192\.168\.188\.13|192\.168\.118\.17|10\.10\.188\.20|10\.10\.188\.21|10\.10\.188\.23|10\.10\.188\.24)#]
Name: AddDPH323
Prereq: CheckDialPeer
Parent: CheckDialPeer
Body:
+ voice class h323 1
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