Hello,
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
On 9/16/13 9:08 PM, Steve Davies wrote:
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
- more details about Kamailio trainings at http://www.asipto.com -