On 01.08.2010 20:37, Bogdan-Andrei Iancu wrote:
> 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.

Just in case - some time ago I did something like:

onreply_route[3] {
        # Here we handle REGISTER replies
        xlog("L_INFO", "[$mi] [$rs $rr]\n");
        if (status=~"200") {
                route(3);
        };

route[3] {
        # workaround for location saving
        xlog("L_INFO", "saving location\n");
        save("location","0x02");
}


0x02 - do not generate a SIP reply to the current REGISTER request.

-- 
Sincerely,
Andrew Pogrebennyk

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to