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