[OpenSIPS-Users] Location info when using OpenSIPS as outbound proxy
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Sun Aug 1 17:21:24 CEST 2010
Hi Nauman,
The registration functionality is available for requests only. So, you
can not register contacts at reply time.
In your case, you have 2 problems:
1) if you do the registration processing (save(location)) at request
time (UAC->opensips->proxy), you will not know if the proxy will accept
the registration and if it will not change the expire time (a registrar
can do that).
2) ideally, for an outbound proxy, you should do the registration
processing at reply time, once the main registrar accepted the
registration and eventually made all the changes over it. But right now
opensips does not accept registration processing for replies.
Nevertheless, I have on my TODO list to make possible registration
handling at reply time.
Regards,
Bogdan
Nauman Sulaiman wrote:
> Hi, using opensips 1.6.2. We are using Opensips as an outbound proxy which also does local routing of 302 responses. IF we have a client UAC1 which registers with a provider using OpenSIPS only as an outbound proxy is it possible to save the location info of UAC1, reason being if there is a call
> to UAC2 for instance from the provider which is redirected with 302, then our Opensips can handle the redirection because it knows where UAC1 is without having it to go back to the provider's proxy server.
>
> Maybe we need to do 2 registrations one with OpenSIPS and one with the provider but if we can do this with just the one it would be a neat solution.
>
> Secondly if we do save the location info of UAC1 at the opensips proxy, what url would need to go in contact field of the 302, would it be user at provider.com - opensips needs soemthing ot be able to send to UAC1
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro
More information about the Users
mailing list