Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

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
Hall of Fame Super Gold

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

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!

New Member

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

Hi,

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

New Member

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

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?

New Member

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

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.

Hall of Fame Super Gold

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

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

138
Views
0
Helpful
5
Replies