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?
Thank you
Cordialement,
BERGANZ François
P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
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
I don't really understand
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@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
Hello,
the uac module has built in capability to detect and update requests within dialogs whose initial INVITE had the From replaced. This is controlled by the parameter from_restore_mode: http://kamailio.org/docs/modules/devel/uac.html#id2454161
So, if you replace the From for initial INVITE and replace mode is set to auto, then you do not need to do anything to requests within dialog (like re-INVITE, BYE).
If you try to do it, then it throws the error.
Cheers, Daniel
On 02/16/2009 01:29 PM, BERGANZ François wrote:
I don't really understand
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@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
It is for a bye request
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@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
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@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
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@gmail.com] Envoyé : lundi 16 février 2009 12:39 À : BERGANZ François Cc : users@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@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
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@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@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
Now, I have modparam("uac","from_restore_mode","none")
I control everything! Nothing in automatic!
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@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@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@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
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@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@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@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