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