[Serusers] RE: ser cpl-c, dont work fine!
Christopher Crawford
crawford_c at pannaway.com
Fri Sep 24 16:38:31 CEST 2004
Can you send a trace of the REGISTER message with the cpl script in the
body?
Upon uploading a cpl script that is in the body of the message, REGISTER
requires the following header:
Content-Type: application/cpl+xml
When downloading a cpl script, the REGISTER requires the following
header:
Accept: application/cpl+xml or *
Chris
> -----Original Message-----
> From: jacky [mailto:jacklyman at sohu.com]
> Sent: Thursday, September 23, 2004 9:56 PM
> To: Christopher Crawford
> Cc: serusers at lists.iptel.org
> Subject: ser cpl-c, dont work fine!
>
> help!
>
> I builded ser from cvs. installed cpl-c module. Use followed command
for
> ser subscriber
>
> /usr/local/sbin/serctl fifo LOAD_CPL 100001 at 10.0.0.77 /tmp/test.xml
>
> serctl print OK.
>
> database table cpl:
> -----------------------
> | 100001 at 10.0.0.77 | <?xml version="1.0" encoding="UTF-8"?>
>
> <!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL 1.0//EN' 'cpl.dtd'>
>
> <cpl>
> <incoming>
> <location url="sip:100002 at 10.0.0.77">
> <redirect/>
> </location>
> </incoming>
> </cpl>
> -----------------------
>
> in my ser.cfg:
>
> -----------------------------------------------------------
> log(1, "About to register cpl script\n");
> # register cpl
> if(!cpl_process_register()) {
> log(1, "Error: fail cpl
registering\n");
> break;
> }
> -----------------------------------------------------------
>
> but when I use ua 100003 call 100001, 100001 ring not 100002. and in
ser
> log file, can find "About to register cpl script", not "Error: fail
cpl
> registering".
>
>
> So I dont know I can do what or debug it. please help me!
More information about the sr-users
mailing list