<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; BACKGROUND-COLOR: #ffffff"
bgColor=#ffffff>
<DIV>Hi,</DIV>
<DIV> See inline. Please try.</DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=CM0002@aol.com href="mailto:CM0002@aol.com">CM0002@aol.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=Serusers@lists.iptel.org
href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, July 06, 2006 4:30
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] Authentication
prefix</DIV>
<DIV><BR></DIV>
<DIV>I need to cut leading "00" and ad a prefix "123" to an outgoing call to
allow authentication to provider. I tried several scripts but non of them
works. Can somebody help me? Thanks from a SER novize! Regards
Christian</DIV>
<DIV> </DIV>
<DIV><U>Last one:</U></DIV>
<DIV> </DIV>
<DIV><BR> # send out 00 prefix to
wholesale psnt termination
VOIP<BR> if
(uri=~"^sip:00[0-9].*@.*") {</DIV>
<DIV><STRONG>
strip(2);
<<<<<<<<<<move it
there</STRONG><BR>
if (!is_user_in("From", "ld"))
{<BR>
sl_send_reply("403", "Payment
required");<BR>
break;<BR><STRONG><BR> };
<BR></STRONG>
setflag(1);<BR><STRONG>
prefix("123");
<<<<<<<<<<<<<<move
it here</STRONG><BR>
rewritehostport("64.xxx.xxx.76:5060");<BR>
if (!t_relay())
{<BR>
sl_reply_error();<BR>
};<BR>
break;<BR>
}; </DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>