19 dec 2012 kl. 19:35 skrev Daniel-Constantin
Mierla <miconda(a)gmail.com>om>:
On 12/19/12 7:20 PM, Andreas Granig wrote:
Hi Olle,
On 12/19/2012 02:43 PM, Olle E. Johansson wrote:
> Yeah, I already have Kamailio sending all kinds of crazy stuff while
> testing a new platform,
> using the UAC module. But I wanted to be lazy and change on the fly...
>
> Evil stuff happening here. Kamailio is a good test-tool.
>
> Now I fail to change Contact: headers. The docs for textops say that
> remove_hf can remove
> contact and Remove_hf(Contact) returns true - but the old contact is
> still there!
Is this about generic operation of removing the contact header,
or in the context of taking it from old request and adding it to the new one generated by
uac_req()? For the second, Andreas pointed to the right direction.
No, changing one
and send it away. Like changing a Contact: in a register that's forwarded.