<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [Serusers] CPL</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hello Bogdan,</FONT>
</P>

<P><FONT SIZE=2>How can we do a &quot;rewriteuri&quot; in a CPL way?</FONT>
</P>

<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>Toni</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Bogdan-Andrei IANCU [<A HREF="mailto:iancu@fokus.fraunhofer.de">mailto:iancu@fokus.fraunhofer.de</A>]</FONT>
<BR><FONT SIZE=2>Sent: quarta-feira, 11 de Fevereiro de 2004 9:16</FONT>
<BR><FONT SIZE=2>To: serusers@lists.iptel.org</FONT>
<BR><FONT SIZE=2>Subject: Re: [Serusers] CPL tags problem</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>&gt; Hi Bogdan,</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; You are right about the lookup issue.</FONT>
<BR><FONT SIZE=2>&gt; Now the script is uploaded successfully.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Many thanks,</FONT>
<BR><FONT SIZE=2>&gt; Toni</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: Bogdan-Andrei IANCU [<A HREF="mailto:iancu@fokus.fraunhofer.de">mailto:iancu@fokus.fraunhofer.de</A>]</FONT>
<BR><FONT SIZE=2>&gt; Sent: terça-feira, 10 de Fevereiro de 2004 18:02</FONT>
<BR><FONT SIZE=2>&gt; To: Toni Barata</FONT>
<BR><FONT SIZE=2>&gt; Cc: serusers@lists.iptel.org</FONT>
<BR><FONT SIZE=2>&gt; Subject: Re: [Serusers] CPL tags problem</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Hi Toni,</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Your CPL script is wrong - some attributes are broken.</FONT>
<BR><FONT SIZE=2>&gt; Here is what SER reports when trying to upload the script:</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; 2(15675) DEBUG:cpl-c:load_file: file size = 635</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; 2(15675) WARNING:cpl_c:encode_lookup_attr: unsupported param TIMEOUT;</FONT>
<BR><FONT SIZE=2>&gt; skipping</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; 2(15675) ERROR:cpl_c:encode_location_attr: unsupported value</FONT>
<BR><FONT SIZE=2>&gt; &lt;sip:crear02&gt; in SOURCE param</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; 2(15675) ERROR:cpl-c:encodeCPL: Encoding of the CPL script failed</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; The only value that is supported in lookup node is &quot;registration&quot; - as</FONT>
<BR><FONT SIZE=2>&gt; you used in the first lookup node. If you whant to add just a SIP</FONT>
<BR><FONT SIZE=2>&gt; address, use location tag.</FONT>
<BR><FONT SIZE=2>&gt; Looking into SER logs is very usefull for finding the reason for upload</FONT>
<BR><FONT SIZE=2>&gt; failure.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Regards,</FONT>
<BR><FONT SIZE=2>&gt; Bogdan</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Toni Barata wrote:</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; Hi Bogdan,</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; Yes, we get the errors when uploading the script.</FONT>
<BR><FONT SIZE=2>&gt; &gt; See the script file we are trying to upload (using cpled)in attach.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; Thanks,</FONT>
<BR><FONT SIZE=2>&gt; &gt; Toni</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; &gt; From: Bogdan-Andrei IANCU [<A HREF="mailto:iancu@fokus.fraunhofer.de">mailto:iancu@fokus.fraunhofer.de</A>]</FONT>
<BR><FONT SIZE=2>&gt; &gt; Sent: terça-feira, 10 de Fevereiro de 2004 17:22</FONT>
<BR><FONT SIZE=2>&gt; &gt; To: Toni Barata</FONT>
<BR><FONT SIZE=2>&gt; &gt; Cc: serusers@lists.iptel.org</FONT>
<BR><FONT SIZE=2>&gt; &gt; Subject: Re: [Serusers] CPL tags problem</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; Hi Toni,</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; &quot;otherwise&quot; is a subtag of a multiple tag, like address-switch,</FONT>
<BR><FONT SIZE=2>&gt; &gt; language-switch, and other switch nodes. Both the otherwise subtag and</FONT>
<BR><FONT SIZE=2>&gt; &gt; lookup tag where successfully used.</FONT>
<BR><FONT SIZE=2>&gt; &gt; Do you get error when uploading the script or when running it?</FONT>
<BR><FONT SIZE=2>&gt; &gt; Some output will be very useful to trace down your problem. Use debug=9</FONT>
<BR><FONT SIZE=2>&gt; &gt; into your config script to enable full debug.</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; Best regards,</FONT>
<BR><FONT SIZE=2>&gt; &gt; Bogdan</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; Toni Barata wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; Hi All,</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; We are using the CPL module by uploading the CPL scripts with the</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; CPLed tool.</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; But we are experiencing some problems (errors) when using the </FONT>
<BR><FONT SIZE=2>&gt; &quot;lookup&quot;</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; and the &quot;otherwise&quot; tags.</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; And what is the most strange is that the problem with the &quot;lookup&quot; </FONT>
<BR><FONT SIZE=2>&gt; tag</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; is happening in one PC and the &quot;otherwise&quot; problem in other PC and</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; they are both pointing to the same DTD location.</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; Anyone could help us with this issue? did someone used this tags</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; together on a successfuly uploaded script?</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; Best Regards,</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; Toni</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt;------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;_______________________________________________</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;Serusers mailing list</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;serusers@lists.iptel.org</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;<A HREF="http://lists.iptel.org/mailman/listinfo/serusers" TARGET="_blank">http://lists.iptel.org/mailman/listinfo/serusers</A></FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
</P>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Serusers mailing list</FONT>
<BR><FONT SIZE=2>serusers@lists.iptel.org</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.iptel.org/mailman/listinfo/serusers" TARGET="_blank">http://lists.iptel.org/mailman/listinfo/serusers</A></FONT>
</P>

</BODY>
</HTML>