Hi everybody,
It works now
I no longer understand how to use Phone-context in french dial plan, so i used the command "pattern" that match with the entire URI (so you don't have to split phone number and phone context).
To make the transfer, CVP "dial" with an TEL URI. We need to match the destination URI with an outgoing pots dial-peer to PSTN. It is important to put a + in the tel URI but i don't know why.
The CVP keep the call active (bridged) , then you could play an other prompt or tranfer to an other agent...
thanks!!!!
this is my configuration: CVP Transfer box:
tel
+0611111111
bridged: yes
Gateway:
service SERVICE flash:CVPSelfService.tclparamspace english index 0
paramspace english language en
paramspace english location flash
param CVPSelfService-port 7000
param CVPSelfService-app
SERVICEparamspace english prefix en
param CVPPrimaryVXMLServer 172.11.11.11 voice class uri TEL6 telpattern ^06 dial-peer voice 1 pots */outgoingdial-peer that match my cvp aplication and the URI*/
preference 1
destination-pattern 0T
progress_ind setup enable 3
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
destination uri TEL6direct-inward-dial
port 0/0/0:15forward-digits all
dial-peer voice 2222 pots */incoming pots dial-peer from pstn that trigger my cvp aplication*/
service SERVICEincoming called-number 2222
no digit-strip
direct-inward-dial
forward-digits all