03-08-2008 03:17 AM - edited 03-15-2019 09:18 AM
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
03-08-2008 05:08 AM
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!
03-10-2008 07:28 AM
Hi,
I have checked but it didn't work according to my requirement. If you have any other suggestions feel free to help.
03-08-2008 05:20 AM
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?
03-10-2008 05:20 AM
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.
03-10-2008 08:06 AM
Hi, as mentioned above, transfers from tcl/ivr scripts requires special code. In the code is not there, transfer will not work.
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: