[OpenSIPS-Users] question about drouting and uac_replace_from
pavel@eremina.net
eremina.net at gmail.com
Wed Apr 18 13:12:58 CEST 2012
Hi, i have some trouble with drouting and uac_replace_from.
I need to change FROM per each Gateway.
I do it like this:
route (1) {
...
uac_replace_from($var(new_from));
t_relay();
}
failure_route (1) {
if (use_next_gw()) route(1)
}
and if first gw fails then call was routed to next, when sip message
send to next GW header FROM has twice headers ("sip:...sip:....");
I know that i must use uac_replace_from once, but how cat solve my
problem in another way?
More information about the Users
mailing list