[Serusers] route to PSTN

McAvan, Troy-P29897 Troy.McAvan at gdc4s.com
Tue Mar 14 19:32:36 CET 2006


Would it be possible for someone to explain what each line means?
if(method=="INVITE")
{
   if(uri =~ "^sip9.*@.*")
   {
        rewritehostport("ipofmediatrix:port");
        if(!t_relay())
        {
            sl_reply_error();
        };
    };
};  

I am not a software guy and it would be great if someone could explain it line by line possibly.

Troy




More information about the sr-users mailing list