[Freeswitch-users] Copy all sip headers between two legs
Mickael Hubert
m.hubert at hexanet.fr
Thu Dec 5 11:36:42 MSK 2013
Hi list,
have you an idea ?
2013/11/28 Mickael Hubert <m.hubert at hexanet.fr>
> hi list,
> I want copy all sip headers between two legs, but I don't obtain a good
> result.
>
> example:
> P-Asserted-identity, P-Preferred-Identity, Diversion, etc ... aren't
> copied for leg B.
>
> I have found "sip_copy_custom_headers=true" but it's just for X-Header.
>
>
> Actually, I use this code below, but it is not easy :(
>
>
>
> *<condition field="${sip_P-Asserted-Identity}" expression="\+(\d+)"
> break="never"> <action application="log"
> data="LOG Modifying PAI sip:+33xxxxxxxxx at DOMAIN"
> /> <action application="export"
> data="sip_h_P-Asserted-Identity=<sip:+$1 at 3008LI.hexavoip.fr
> <1 at 3008LI.hexavoip.fr>>" />*
>
>
> Have you an idea for me ?
>
> Thanks in advance
>
> --
> Cordialement
>
> HUBERT Mickaël
> Ingénieur VOIP - Hexanet
>
--
Cordialement
HUBERT Mickaël
Ingénieur VOIP - Hexanet
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131205/c4e5d286/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list