[Serusers] cpl-c en sample script

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Mon Jul 26 14:27:38 CEST 2004


Arne Scheffer wrote:

>Bogdan,
>
>This may be stupid question from my side but how do I upload the binary version / how do I make the binary version ?
>  
>
>At present I have uploaden the text directly into the table column cpl_bin.
>  
>
don't work directly with the cpl-c table! use the fifo commands to 
upload the cpl scripts; see:
    http://lists.iptel.org/pipermail/serdev/2004-May/002048.html
bogdan

>thanks in advance,
>
>Arne.
>
>-----Original Message-----
>From: Bogdan-Andrei IANCU [mailto:iancu at fokus.fraunhofer.de]
>Sent: maandag 26 juli 2004 14:18
>To: Arne Scheffer
>Cc: serusers at lists.iptel.org
>Subject: Re: [Serusers] cpl-c en sample script
>
>
>Arne Scheffer wrote:
>
>  
>
>>Hello all,
>>
>>I am trying to setup cpl-c.
>>
>>I am using latest cvs head. 
>>
>>I have setup ser with cpl-c and this seems to run.
>>
>>I now try to do some test with the cpl script but the cpl-c engine reports:
>>
>>Jul 26 13:54:09 localhost ser: cpl: start script processing now
>>Jul 26 13:54:09 localhost ser: DEBUG:cpl-c:get_dest_user: tring to get user from new_uri
>>Jul 26 13:54:09 localhost ser: DEBUG:cpl-c:get_dest_user: tring to get user from R_uri
>>Jul 26 13:54:09 localhost ser: DEBUG:get_user_script: fetching script for user <200 at 212.x.x.x>
>>Jul 26 13:54:09 localhost ser: DEBUG:get_user_script: we got the script len=311
>>Jul 26 13:54:09 localhost ser: ERROR:build_cpl_interpreter: first node is not CPL!!
>>Jul 26 13:54:09 localhost ser: cpl: script processing has been finished
>>
>>Is there a sample script that will do call forward on busy /no answer ?
>>
>>I have tried different scripts from the draft-ietf-iptel-cpl-09.pdf but all give this errors.
>>
>>tested with:
>><?xml version="1.0" encoding="UTF-8"?>
>><!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL 1.0//EN' 'cpl.dtd'>
>><cpl>
>> <incoming>
>>   <location url="sip:200 at 212.x.x.x">
>>     <proxy timeout="10">
>>       <noanswer>
>>         <location url="sip:800 at 212.x.x.x" clear="yes" />
>>       </noanswer>
>>     </proxy>
>>   </location>
>> </incoming>
>></cpl>
>>
>>
>>any ideas are welcome ?
>> 
>>
>>    
>>
>one idea - probably you didn't upload properly the CPL script into DB- 
>you need also the binary format into DB!
>bogdan
>
>  
>
>>Arne
>>
>>
>> 
>>
>>    
>>
>
>
>  
>




More information about the sr-users mailing list