[OpenSIPS-Users] Problem with setup radius accounting and redirect INVITE to Asterisk

Akhat Yeshmaganbetov akhat at ymail.com
Mon Apr 12 07:08:02 CEST 2010


Dear opensips users,

  I cant understand where to include accounting and redirect to Asterisk routes in  routing logic. 

In my understand I put it in following piece of routing logic:

route[1] {
# for INVITEs enable some additional helper routes
if (is_method("INVITE")) {
rewritehostport("192.168.152.148:5060");
                    route(1);
                    }
if (!t_relay()) {
    sl_reply_error();
};
exit;
}

(Sorry for this kind of question, but Bogdan sayed don't be shame to ask in one of the webinar)


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100411/843f8ec4/attachment.htm 


More information about the Users mailing list