[OpenSIPS-Users] uac_replace_from() problem in INVITE

Vlad Paiu vladpaiu at opensips.org
Fri Jul 22 12:04:57 CEST 2011


Hello,

Are you trying to modify the From header for more than one time in your 
script ? Because of the OpenSIPS internal handling of SIP messages, 
multiple modifications to the same message part can lead to inconsistent 
behaviour.

Can you please post a snippet of your script ?

Regards,

-- 
Vlad Paiu
OpenSIPS Developer



On 07/22/2011 07:01 AM, sammy wrote:
> Hi, guys
> I just try to use remove_hf() and append_hf() to replace From part in 
> the INVITE message, and from the captured sip package, the old From 
> part is still there(Not removed by remove_hf function, like the result 
> : use uac_replace_from ) but new From part can be added to the end of 
> the INVITE message(append_hf function works).
> Is there any other setting must be include in the opensips.cfg file?
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110722/2dedfa07/attachment.htm>


More information about the Users mailing list