Re: How to access all branches in the failure_route
13715209697--- via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <[email protected]> |
The following route is now working:
···
failure_route[MANAGE_FAILURE] {
xlog("L_INFO", "Failure\n");
xlog("branch0=$(T_rpl($(hdr(via)[0])){re.subst,/(.*);branch=(.*)/\2/})\n");
xlog("branch1=$(T_rpl($(hdr(via)[1])){re.subst,/(.*);branch=(.*)/\2/})\n");
}
···
Are there any better way?
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!