cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
5
Helpful
2
Replies

Sending calls to IP address from TCL

chesebrgr
Level 1
Level 1

Hi,
I am running TCL code on AS5350. I have a requirement to send a call to an IP address which is stored in a database. My TCL has extracted the IP address from the database, into a TCL variable. But how can I pass this variable IP address on to the outbound dial-peer?

The only way I know to send VoIP calls to an IP address is using the "session target" command in the dial-peer, but this only lets me send the call to a fixed IP address. It is not practical for me to have a separate dial-peer for each IP address. Can the TCL code modify the IP address of the session target?
Thanks.

1 Accepted Solution

Accepted Solutions

paolo bevilacqua
Hall of Fame
Hall of Fame

Unfortunately, that is not possible with TCL/IVR.

The alternative would be to send the call to an ENUM, H.323 GK, or SIP server, that can resolve the number to an IP address.

Enum:

http://www.cisco.com/en/US/products/sw/voicesw/ps5640/products_configuration_example09186a0080ad7b94.shtml

View solution in original post

2 Replies 2

paolo bevilacqua
Hall of Fame
Hall of Fame

Unfortunately, that is not possible with TCL/IVR.

The alternative would be to send the call to an ENUM, H.323 GK, or SIP server, that can resolve the number to an IP address.

Enum:

http://www.cisco.com/en/US/products/sw/voicesw/ps5640/products_configuration_example09186a0080ad7b94.shtml

Hi P,

Thanks for the info. I've managed to do it with 1 dial peer by using "session target dns:$u$.mydomain" and inserting a DNS record for each client.