[Users] Hijack 'Move Temporarily'
Carsten Bock
lists at bock.info
Fri Jan 26 10:35:23 CET 2007
Hi Sam,
Take a look at the uac_redirect-Module. This does exactly, what you want
to.
Here are the docs:
http://openser.org/docs/modules/1.1.x/uac_redirect.html
In the routing-logic, you just have to define the following
failure-route:
failure_route[1] {
if (t_check_status("3[0-9][0-9]")) {
get_redirects("*");
t_relay();
exit;
}
}
An of course, in the route to the forwarder a "t_on_failure("1");".
Carsten
Am Freitag, den 26.01.2007, 12:02 +0800 schrieb Sam Lee:
> Hey Guys,
>
> Normally if the SIP-UA is call-forwarded to a different number , it
> will send a 'Move Temporarily' to the proxy , which in turn relay this
> message to the originating gateway.
>
> The problem is , if they call forward to a number which the
> originating gateway doesn't know what to do with it , it will just
> kill the call.
>
> Can i hijack 'Move Temporarily' directly in the proxy and sending this
> call to a different gateway rather than relaying it to the originating
> gateway ?
>
> Please let me know if you can't understand me.
> Thanks!
>
> Regards,
> Sam
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list