[OpenSIPS-Users] cpled - CPL script doesn't respect CPL grammar

Karl Harris karlh626 at gmail.com
Tue May 25 14:09:15 CEST 2010


I am trying out the CPLED java program which is available at

https://sourceforge.net/projects/cpled/

I have created the following xml using the above tool:


<?xml version="1.0" encoding="UTF-8"?>
<cpl xmlns="urn:ietf:params:xml:ns:cpl" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:cpl cpl.xsd" >
 <subaction id="overflow" >
   <location url="sip:990010004 at ...domain-hidden..." />
 </subaction>
 <incoming >
   <location clear="yes" url="sip:990010007 at ...domain-hidden..." >
     <proxy timeout="5" >
       <noanswer >
         <sub ref="overflow" />
       </noanswer>
     </proxy>
   </location>
 </incoming>
</cpl>


When I type the command

opensipsctl fifo LOAD_CPL "sip:<username>@domain" /path/xmlfile.cpl.xml

I get the error...

Log:: Error: CPL script doesn't respect CPL grammar

If I then remove all parameters from the cpl tag it compiles without
errors.

Has anyone run into this before?

Oh, I am running CPLED from windows xp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100525/e91b61c7/attachment.htm 


More information about the Users mailing list