[SR-Users] cr default route

caio elcaio at gmail.com
Tue Sep 13 13:56:04 CEST 2011


> if(!cr_route("default", "1", "$rU", "$rU", "call_id")){
>     if(!cr_route("default", "2", "$rU", "$rU", "call_id")) #here rule 3
> would be selected because domain is 2, not 1
>         send_reply("403", "Not allowed");
> }
>
> So you can have a special domain for each carrier that has no flags set and
> just acts like a catch all construct. Performance should not be impacted.
>
> Hope this helps.
> Marius
>
>
Hi Marius, sure, I think it helps by now...
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110913/a93c047e/attachment.htm>


More information about the sr-users mailing list