|
Thanks for quick reply. Do you think in
this case is bettr to use return or break function? if
(method=="INVITE") { route(7); return; } else if
(method=="ACK") { route(8); return; } else if
(method=="CANCEL") { route(9); return; } else if
(method=="BYE") { route(10); return; }; if (loose_route()) { xlog("L_INFO","Eseguo
loose_route"); # mark routing
logic in request append_hf("P-hint:
rr-enforced\r\n"); route(1); return; }; if (uri==myself) { if
(method=="REGISTER") { #
Uncomment this if you want to use digest authentication #if
(!www_authorize("138.132.167.240", "subscriber")) { # www_challenge("138.132.167.240",
"0"); # exit; #}; save("location"); #exit; return; }; }; Thanks Davide Da:
raviprakash sunkara [mailto:[EMAIL PROTECTED] Hi Davide , On 6/26/06, D'Addelfio
Davide <Davide.D'[EMAIL PROTECTED]>
wrote: Hi to all, i
need to understand the difference in usage between return, break and exit. Could
someone help me, maybe with some example? Thanks Davide
|
_______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
