Sending calls to IP address from TCL

Answered Question
Nov 20th, 2009
User Badges:

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.

Correct Answer by paolo bevilacqua about 7 years 5 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
paolo bevilacqua Fri, 11/20/2009 - 04:25
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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

chesebrgr Tue, 11/24/2009 - 01:51
User Badges:

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.

Actions

This Discussion