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

Unanswered Question
Mar 8th, 2008

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
marahman78 Mon, 03/10/2008 - 07:28

Hi,

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

sdekooter Sat, 03/08/2008 - 05:20

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?

marahman78 Mon, 03/10/2008 - 05:20

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.

Paolo Bevilacqua Mon, 03/10/2008 - 08:06

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

Actions

This Discussion