[Freeswitch-users] add variable in dialplan

Mickael Hubert m.hubert at hexanet.fr
Thu Mar 7 17:33:17 MSK 2013


Hi list,
I want add a sip header in specific variable

Ex: ${sip_h_X-Provider-ID} in other variable "Provider"
because, I want unset "X-Provider-ID" header in leg-B (command bridge), If
I unset "${sip_h_X-Provider-ID}" before bridge command,  this command is
logicaly not ok => "<action application="bridge" data="sofia/gateway/GW*
${sip_h_X-Provider-ID}*/${destination_number}"/>"


I would like :

1) set new variable: ${sip_h_X-Provider-ID} ==> Provider variable
2) unset sip_h_X-Provider-ID
3) bridge with sofia/gateway/GW*${Provider}*/${destination_number}

thanks in advance

-- 
Cordialement

Hubert Mickaël
Hexanet

-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130307/2b5e3907/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list