Are you sure uac_replace_from() was called for initial invite? There has
to be a new param (vsf) in the Recor-Route header and it is not there.
Cheers,
Daniel
On 02/16/2009 04:50 PM, BERGANZ François wrote:
No. Time Source Destination
Protocol Info
[...]
There is no 200OK because, the bye isn't good!
Thank you
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@gmail.com]
Envoyé : lundi 16 février 2009 15:37
À : BERGANZ François
Cc : users(a)lists.kamailio.org
Objet : Re: [Kamailio-Users] ERROR:uac:replace_from
On 02/16/2009 04:07 PM, BERGANZ François wrote:
Now, I have
modparam("uac","from_restore_mode","none")
I control everything! Nothing in automatic!
:-) -- the power in your hands -- as said in the previous email, if you
send me the invite and appropriate 200ok, I can tell whose fault is.
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@gmail.com]
Envoyé : lundi 16 février 2009 14:07
À : BERGANZ François
Cc : users(a)lists.kamailio.org
Objet : Re: [Kamailio-Users] ERROR:uac:replace_from
On 02/16/2009 03:03 PM, BERGANZ François wrote:
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
Paste the BYE here, maybe the Route parameter used for auto-update is
missing...
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@gmail.com]
Envoyé : lundi 16 février 2009 12:39
À : BERGANZ François
Cc : users(a)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@gmail.com]
Envoyé : lundi 16 février 2009 12:25
À : BERGANZ François
Cc : users(a)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@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