[Serusers] ser cpl-c, dont work fine!
jacky
jacklyman at sohu.com
Fri Sep 24 03:55:50 CEST 2004
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ser.cfg
Type: application/octet-stream
Size: 11348 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040924/b66c51a6/attachment.obj>
More information about the sr-users
mailing list