Path feature would solve this issue, but it requires that the main
proxy/registrar supports Path too and unfortunately Asterisk does not
support it.
Conclusion: there is currently no way to implement the contact rewriting
and saving in the reply route with Openser
klaus
Vadim Berezniker schrieb:
I don't believe it would help in my case as I need
it for a different
purpose.
Problem is you can't always share registration between PBXs. For example
Asterisk doesn't support it.
So if you want to reach a UA on a PBX where it's not registered, one
possibility is to route the call through kamailio which knows where all
the UAs are.
I realize that's it's a limitation of the PBXs, but this is something
that could certainly be addressed in kamailio until PBXs catch up.
Of course you do not want to store the information until an OK is
received for the registration.
Also the expiration in the OK might be different in the OK than in the
initial REGISTER.
This is not possible right now because you can only use save() on the
initial register, not on the successful reply.
If there are better ways to do this, I'm happy to learn.
I know there are many things I do not know.
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: Tuesday, August 26, 2008 7:54 AM
To: Vadim Berezniker
Cc: users(a)lists.kamailio.org
Subject: Re: [Kamailio-Users] AVP to store user contact information
Vadim Berezniker schrieb:
I'm actually interested in similar behavior.
I believe I saw a thread on this topic before, but I haven't been able
to locate it.
One of the problems is that you can only use the save() registrar
function from the request route.
I wish to save the information after the registrar have accepted the
registration.
Can't you use the "path" feature?
klaus