[Serusers] retargeting - rerouting - redirecting
.:: Francesco la Torre ::.
francesco.latorre at studenti.ing.unipi.it
Mon Jul 28 17:42:02 CEST 2008
I help myself :-)
the function is t_forward_noack example
if (method=="...") { # here put method name which should be
forwarded
if (!t_newtran()) {
log(1, "newtran error\n");
sl_reply_error();
break;
};
if (!t_forward_nonack("machine.domain.com", 5060)) {
log(1, "forward failed\n");
t_reply("500", "Forward failed");
}
break;
}
Regards,
Flt
Il giorno lun, 28/07/2008 alle 15.45 +0200, .:: Francesco la Torre ::.
ha scritto:
> Dear all,
> few days ago I found in a script posted in this mail-list a function
> that allow to forward a sip message to another host in this way
>
> function_name("ip.host.target.message","port");
>
> Is there anyone that know the name of this function ?
>
> Thank a lot,
> Flt
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list