cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
328
Views
0
Helpful
5
Replies

Call cannot be transfer to an IP Phone through WAN using Tcl Script

marahman78
Level 1
Level 1

IPPhone--CCM--Voice GW(HQ)--WAN--Voice GW(Branch)---PSTN

When a call arrives from the PSTN, Tcl script will run but when the user enter the extension it will not transfer to an IP Phone

Following are the dialpeers configured on Voice GW(Branch) Router

dial-peer voice 111 pots

service aa --------------> (AA Tcl Script)

incoming called-number 100 ----> (100 IS Tcl Pilot number)

direct-inward-dial

port 0/0/0

!

dial-peer voice 3000 voip

service aa --------------> (AA Tcl Script)

incoming called-number 100 ----> (100 IS Tcl Pilot number)

dtmf-relay h245-alphanumeric

codec g711ulaw

!

dial-peer voice 3001 voip

destination-pattern 100 ----> (100 IS Tcl Pilot number)

session target ipv4:10.120.150.2 ---> (IP Address of Voice GW(Branch Router)

dtmf-relay h245-alphanumeric

codec g711ulaw

!

dial-peer voice 3004 voip

destination-pattern ....

session target ipv4:10.120.200.11 ---> (IP Address of CCM)

dtmf-relay h245-alphanumeric

codec g711ulaw

I have also included the following commands in VoiceGW(Branch) but it's not working

voice service voip

allow-connections h323 to h323

-----

Thanks

5 Replies 5

paolo bevilacqua
Hall of Fame
Hall of Fame

Hi,

You need special code in tcl/ivr to handle transfers. For example, look at one script that I wrote:

http://pbevila.fastmail.fm/public/number2name.tcl

hope this helps, please rate post if it does!

Hi,

I have checked but it didn't work according to my requirement. If you have any other suggestions feel free to help.

sdekooter
Level 1
Level 1

Hi,

I am not sure wheter your config is OK; I always use the same dialpeer for POTS and VOIP matching to AA:

dial-peer voice 500001 voip

service aa

destination-pattern 70

session target ipv4:

incoming called-number 70

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

What do you see when entering 'debug voip dialpeer'? Is the right dialpeer matched?

Hi,

What i've seen, Tcl script is running but when i enter the extension it will not transfer the call to an IPPhone(No Match). I create a voip dial-peer with destination pattern .... and session target ipv4:(CCM IP) but it's not working.

Hi, as mentioned above, transfers from tcl/ivr scripts requires special code. In the code is not there, transfer will not work.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: