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