[OpenSIPS-Users] variable "counter" parameter to diversion Header
Saúl Ibarra Corretgé
saul at ag-projects.com
Thu May 2 15:06:38 CEST 2013
On May 2, 2013, at 1:51 PM, Mickael HUBERT wrote:
> Hi list,
> I would like parse Diversion header and to have in variable counter parameter.
> I have alredy $dip to privacy parameter, etc ... , but I don't have counter para.
>
> how can I do have the parameter please ?
>
You can use the following transformation:
var counter = $(hdr(Diversion){param.value,counter}{s.int});
That will give you the integer value of the counter.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
More information about the Users
mailing list