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@voip.nufone.net:5060"); ??
Barry