[OpenSIPS-Users] Change routing after 200OK
mickael at winlux.fr
mickael at winlux.fr
Wed Nov 2 17:31:55 CET 2011
Hi List !
I'm looking for a solution to a problem : some providers don't support
RFC2833 (Payload 101), but my architecture only support this payload.
So I'd like to route the call to another provider if the first one, to who
I've sent the call, doesn't support RFC2833.
I'd like to use the REPLY_ROUTES with a code like this :
if(t_check_status("200"))
{
if(has_body("application/sdp"))
{
if ! (codec_exists_re("telephone-event"))
{
// ROUTE TO ANOTHER PROVIDER
}
}
}
The best way is to use "use_next_gw()", but it's not possible in a
REPLY_ROUTE.
Have you got any idea, or solution ?
Feel free to ask me if you have some questions !
Thanks,
Best regards,
Mike
More information about the Users
mailing list