[SR-Users] Registering "upstream" with the uac module, but with authentication
steve-lists-srusers at connection-telecom.com
Mon Sep 16 21:33:18 CEST 2013
On 16 September 2013 21:30, Daniel-Constantin Mierla <miconda at gmail.com>wrote:
> you can call save() for 200ok received from downstream. In case you deal
> with nat or multiple local sockets, you need to call the functions for
> fixing the registration as well as storing the local socket.
> The processing can be like:
> - forward register
> - if getting 200ok, call save() for it
> - if local timeout, call save in failure route -- you will have to call it
> via a sub-route, because save() is only allowed in request route and reply
> route, although failure_route should be safe for it
> - if other reply from downstram, let it go to the phone
OK - thanks Daniel and Olle for the pointers, much appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users