I found the solution.
I just had to do do record-route!
I am sorry, I could think about that.
Thank you for answers
Cordialement,
BERGANZ François
Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
-----Message d'origine-----
De : users-bounces(a)lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] De la part
de Iñaki Baz Castillo
Envoyé : lundi 23 février 2009 16:07
Cc : users(a)lists.kamailio.org
Objet : Re: [Kamailio-Users] problem with 200ok
2009/2/23 BERGANZ François <francois(a)acropolistelecom.net>et>:
Hello,
I have Asterisk1---SER---Asterisk2.
When I do INVITE from the left,
--the asterisk2 send 200ok to the SER
--the SER forward to the Asterisk1
--but the asterisk1 directly send the ACK to Asterisk2
Asterisk2 retransmit the 200ok… and error.
I think that it need that the ACK come from the SER and not directly from
the Asterisk1.
So, how can I detect a 200ok and reply a ACK with my SER?
ACK to 200 OK is an in-dialog request (while ACK to [3456]XX response
is part of the INVITE transaction).
And to force all SIP messages through the proxy, it must insert
Record-Route header in the first INVITE. This is clearly explained in
RFC 3261 Section 16.
Read the "rr" module documentation, the function you need is very easy
and comes enabled in the default config script.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users