[Kamailio-Users] ERROR:uac:replace_from

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 16 12:24:37 CET 2009


Hello,

On 02/16/2009 01:10 PM, BERGANZ François wrote:
>
> Hello,
>
> I have an error with uac_replace_from() function.
>
> I want to do uac_replace_from(“$fn”,” sip:181812012 at 217.64.x.x”);
>
> I have that error: ERROR:uac:replace_from: decline FROM replacing in 
> sequential request in auto mode (has TO tag)
>
> Have you an idea?
>

you call uac_replace_from() for SIP messages within dialog and the 
replace mode is auto (which means is done automatically by kamailio) - 
therefore will be a duplicate.

Either check for to-tag when you do the replacement or set replace mode 
to manual.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list