On 16 September 2013 21:30, Daniel-Constantin Mierla <miconda(a)gmail.com>wrote;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
Cheers,
Daniel
OK - thanks Daniel and Olle for the pointers, much appreciated.
Steve