[Kamailio-Users] ERROR:uac:replace_from

BERGANZ François francois at acropolistelecom.net
Mon Feb 16 14:03:44 CET 2009


Then, if it is automatic:

If I change with uac_replace_from() the INVITE, the bye have to be the same ?
In my case, it doesn't


Cordialement,
BERGANZ François


http://www.acropolistelecom.net
 Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.


-----Message d'origine-----
De : Daniel-Constantin Mierla [mailto:miconda at gmail.com] 
Envoyé : lundi 16 février 2009 12:39
À : BERGANZ François
Cc : users at lists.kamailio.org
Objet : Re: [Kamailio-Users] ERROR:uac:replace_from



On 02/16/2009 01:33 PM, BERGANZ François wrote:
> It is for a bye request
>   
BYE is withing dialog (practically ending the dialog). You do not need 
to replace the From for it. It is done automatically -- see my other post.

Cheers,
Daniel

>
> Cordialement,
> BERGANZ François
>
>
> http://www.acropolistelecom.net
>  Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
>
>
> -----Message d'origine-----
> De : Daniel-Constantin Mierla [mailto:miconda at gmail.com] 
> Envoyé : lundi 16 février 2009 12:25
> À : BERGANZ François
> Cc : users at lists.kamailio.org
> Objet : Re: [Kamailio-Users] ERROR:uac:replace_from
>
> 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