[Serusers] terminating to nufone or other providers

Barry Murphy barry at unix.co.nz
Sun Mar 20 23:58:02 CET 2005


Ok, so i'm tryin to get ser to work with Long distance calling, however I
dont know how to authenticate to nufone...

# send out 00 prefix to wholesale voip.brujula.net termination
      if (uri=~"^sip:00[0-9].*@.*") {
             if (!is_user_in("From", "ld")) {
                     sl_send_reply("403", "Payment required");
                     break;
              };
              setflag(1);
              rewritehostport("voip.nufone.net:5060");
              if (!t_relay()) {
                      sl_reply_error();
              };
              break;
        };


Should this be:
rewritehostport("user:pass at voip.nufone.net:5060"); ??

Barry




More information about the sr-users mailing list