Hi,
I have a simple CPL script. However I can't make it work. Can someone help me please?
Besides, if someone can provide some sample working scripts, that would be really appreciated.
I attached ser debug log, part of ser.cfg, and cpl script. It does unconditional forwarding which is the first example in the cpl rfc draft. It is uploaded via SIP successfully.
Thanks, Richard
================================================ The ser debug log is, 0(3474) about to creat new transaction 0(3474) DEBUG: t_newtran: msg id=243 , global msg id=29 , T on entrance=0xffffffff 0(3474) parse_headers: flags=-1 0(3474) parse_headers: flags=60 0(3474) t_lookup_request: start searching: hash=12601, isACK=0 0(3474) DEBUG: RFC3261 transaction matching failed 0(3474) DEBUG: t_lookup_request: no transaction found 0(3474) DBG: trans=0xbd6c8088, callback type 1, id 0 entered 0(3474) about to run script 0(3474) DEBUG:cpl-c:get_dest_user: tring to get user from new_uri 0(3474) DEBUG:cpl-c:get_dest_user: tring to get user from R_uri 0(3474) DEBUG:get_user_script: fetching script for user 3560071@o-matrix.org 0(3474) DEBUG:get_user_script: we got the script len=52 0(3474) DEBUG:cpl_run_script: processing CPL node 0(3474) DEBUG:cpl_run_script: processing location node 0(3474) DEBUG:cpl_run_script: processing redirect node 0(3474) DEBUG: t_newtran: msg id=243 , global msg id=243 , T on entrance=0xbd6c8088 0(3474) ERROR: t_newtran: transaction already in process 0xbd6c8088 0(3474) ERROR:cpl-c:run_redirect: failed to build new transaction! 0(3474) ERROR:cpl_c:cpl_run_script: runtime error 0(3474) DEBUG: t_check: msg id=243 global id=243 T start=0xbd6c8088 0(3474) DEBUG: t_check: T alredy found! 0(3474) parse_headers: flags=-1 0(3474) check_via_address(66.135.241.189, 66.135.241.189, 0) 0(3474) WARNING:vqm_resize: resize(0) called 0(3474) DEBUG: cleanup_uac_timers: RETR/FR timers reset 0(3474) DEBUG: add_timer_unsafe[4]: 0xbd6c8134 0(3474) DEBUG: add_timer_unsafe[0]: 0xbd6c8144 0(3474) DEBUG: reply sent out. buf=0x80ff240: SIP/2.0 5..., shmem=0xbd6c7d70: SIP/2.0 5 0(3474) DEBUG: _reply_light: finished 0(3474) receive_msg: cleaning up
================================================ ser.cfg if (method=="INVITE") { # cpl interpreter requires a pre-created transaction for # the processed INVITE log(1, "about to creat new transaction\n"); if ( !t_newtran() ) { # it'a a retransmission break; }; log(1, "about to run script\n"); if ( !cpl_run_script("incoming", "force_stateful") ) { # script execution failed t_reply("500","CPL script execution failed"); break; }; # we get here only if the CPL interpreter decided that server # should follow it default behavior
# mark that there is already a created # transaction for current INVITE setflag(3); };
=================================== cpl script <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL 1.0//EN' 'cpl.dtd'>
<cpl> <incoming> <location url="sip:2303940@o-matrix.org"> <redirect /> </location> </incoming> </cpl>
__________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/
Hi Richard,
The problem is in your ser configuration. You create the transaction (t_newtran) before cpl script execution and when you do so, you tell the interpreter to "force_stateful" (force_stateful means there is no transaction yet, but if signalling is done from script, switch to statefull mode). So basically, you try to create twice a transaction for the same request.
so, either remove the t_newtran from script and let cpl interpreter to create the transaction, either call cpl_run_script() with "is_stateful". Please read more carefully the README file from cpl-c modules - there are more info about this.
and, btw, your script doesn't do a forward, but a redirect. if you what forward, use proxy not instead of redirect.
Regards, Bogdan
Richard wrote:
Hi,
I have a simple CPL script. However I can't make it work. Can someone help me please?
Besides, if someone can provide some sample working scripts, that would be really appreciated.
I attached ser debug log, part of ser.cfg, and cpl script. It does unconditional forwarding which is the first example in the cpl rfc draft. It is uploaded via SIP successfully.
Thanks, Richard
================================================ The ser debug log is, 0(3474) about to creat new transaction 0(3474) DEBUG: t_newtran: msg id=243 , global msg id=29 , T on entrance=0xffffffff 0(3474) parse_headers: flags=-1 0(3474) parse_headers: flags=60 0(3474) t_lookup_request: start searching: hash=12601, isACK=0 0(3474) DEBUG: RFC3261 transaction matching failed 0(3474) DEBUG: t_lookup_request: no transaction found 0(3474) DBG: trans=0xbd6c8088, callback type 1, id 0 entered 0(3474) about to run script 0(3474) DEBUG:cpl-c:get_dest_user: tring to get user from new_uri 0(3474) DEBUG:cpl-c:get_dest_user: tring to get user from R_uri 0(3474) DEBUG:get_user_script: fetching script for user 3560071@o-matrix.org 0(3474) DEBUG:get_user_script: we got the script len=52 0(3474) DEBUG:cpl_run_script: processing CPL node 0(3474) DEBUG:cpl_run_script: processing location node 0(3474) DEBUG:cpl_run_script: processing redirect node 0(3474) DEBUG: t_newtran: msg id=243 , global msg id=243 , T on entrance=0xbd6c8088 0(3474) ERROR: t_newtran: transaction already in process 0xbd6c8088 0(3474) ERROR:cpl-c:run_redirect: failed to build new transaction! 0(3474) ERROR:cpl_c:cpl_run_script: runtime error 0(3474) DEBUG: t_check: msg id=243 global id=243 T start=0xbd6c8088 0(3474) DEBUG: t_check: T alredy found! 0(3474) parse_headers: flags=-1 0(3474) check_via_address(66.135.241.189, 66.135.241.189, 0) 0(3474) WARNING:vqm_resize: resize(0) called 0(3474) DEBUG: cleanup_uac_timers: RETR/FR timers reset 0(3474) DEBUG: add_timer_unsafe[4]: 0xbd6c8134 0(3474) DEBUG: add_timer_unsafe[0]: 0xbd6c8144 0(3474) DEBUG: reply sent out. buf=0x80ff240: SIP/2.0 5..., shmem=0xbd6c7d70: SIP/2.0 5 0(3474) DEBUG: _reply_light: finished 0(3474) receive_msg: cleaning up
================================================ ser.cfg if (method=="INVITE") { # cpl interpreter requires a pre-created transaction for # the processed INVITE log(1, "about to creat new transaction\n"); if ( !t_newtran() ) { # it'a a retransmission break; }; log(1, "about to run script\n"); if ( !cpl_run_script("incoming", "force_stateful") ) { # script execution failed t_reply("500","CPL script execution failed"); break; }; # we get here only if the CPL interpreter decided that server # should follow it default behavior
# mark that there is already a created # transaction for current INVITE setflag(3); };
=================================== cpl script
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL 1.0//EN' 'cpl.dtd'>
<cpl> <incoming> <location url="sip:2303940@o-matrix.org"> <redirect /> </location> </incoming> </cpl>
__________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi Bogdan,
Thanks for your help. I removed the t_newtran. It works now. What is the best approach to run cpl script? I found the original segment of ser.cfg script from the archieve. But I can't find it now...
You are right. It is call redirect.
Thanks, Richard
--- Bogdan-Andrei IANCU iancu@fokus.fraunhofer.de wrote:
Hi Richard,
The problem is in your ser configuration. You create the transaction (t_newtran) before cpl script execution and when you do so, you tell the interpreter to "force_stateful" (force_stateful means there is no transaction yet, but if signalling is done from script, switch to statefull mode). So basically, you try to create twice a transaction for the same request.
so, either remove the t_newtran from script and let cpl interpreter to create the transaction, either call cpl_run_script() with "is_stateful". Please read more carefully the README file from cpl-c modules - there are more info about this.
and, btw, your script doesn't do a forward, but a redirect. if you what forward, use proxy not instead of redirect.
Regards, Bogdan
Richard wrote:
Hi,
I have a simple CPL script. However I can't make it work. Can someone help me please?
Besides, if someone can provide some sample working scripts, that would be really appreciated.
I attached ser debug log, part of ser.cfg, and cpl script. It does unconditional forwarding which is
the
first example in the cpl rfc draft. It is uploaded
via
SIP successfully.
Thanks, Richard
================================================ The ser debug log is, 0(3474) about to creat new transaction 0(3474) DEBUG: t_newtran: msg id=243 , global msg id=29 , T on entrance=0xffffffff 0(3474) parse_headers: flags=-1 0(3474) parse_headers: flags=60 0(3474) t_lookup_request: start searching: hash=12601, isACK=0 0(3474) DEBUG: RFC3261 transaction matching failed 0(3474) DEBUG: t_lookup_request: no transaction
found
0(3474) DBG: trans=0xbd6c8088, callback type 1, id
0
entered 0(3474) about to run script 0(3474) DEBUG:cpl-c:get_dest_user: tring to get
user
from new_uri 0(3474) DEBUG:cpl-c:get_dest_user: tring to get
user
from R_uri 0(3474) DEBUG:get_user_script: fetching script for user 3560071@o-matrix.org 0(3474) DEBUG:get_user_script: we got the script len=52 0(3474) DEBUG:cpl_run_script: processing CPL node 0(3474) DEBUG:cpl_run_script: processing location node 0(3474) DEBUG:cpl_run_script: processing redirect node 0(3474) DEBUG: t_newtran: msg id=243 , global msg id=243 , T on entrance=0xbd6c8088 0(3474) ERROR: t_newtran: transaction already in process 0xbd6c8088 0(3474) ERROR:cpl-c:run_redirect: failed to build
new
transaction! 0(3474) ERROR:cpl_c:cpl_run_script: runtime error 0(3474) DEBUG: t_check: msg id=243 global id=243 T start=0xbd6c8088 0(3474) DEBUG: t_check: T alredy found! 0(3474) parse_headers: flags=-1 0(3474) check_via_address(66.135.241.189, 66.135.241.189, 0) 0(3474) WARNING:vqm_resize: resize(0) called 0(3474) DEBUG: cleanup_uac_timers: RETR/FR timers reset 0(3474) DEBUG: add_timer_unsafe[4]: 0xbd6c8134 0(3474) DEBUG: add_timer_unsafe[0]: 0xbd6c8144 0(3474) DEBUG: reply sent out. buf=0x80ff240:
SIP/2.0
5..., shmem=0xbd6c7d70: SIP/2.0 5 0(3474) DEBUG: _reply_light: finished 0(3474) receive_msg: cleaning up
================================================ ser.cfg if (method=="INVITE") { # cpl interpreter requires a pre-created
transaction
for # the processed INVITE log(1, "about to creat new transaction\n"); if ( !t_newtran() ) { # it'a a retransmission break; }; log(1, "about to run script\n"); if ( !cpl_run_script("incoming", "force_stateful")
)
{ # script execution failed t_reply("500","CPL script execution failed"); break; }; # we get here only if the CPL interpreter decided that server # should follow it default behavior
# mark that there is already a created # transaction for current INVITE setflag(3); };
=================================== cpl script
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL 1.0//EN' 'cpl.dtd'>
<cpl> <incoming> <location url="sip:2303940@o-matrix.org"> <redirect /> </location> </incoming> </cpl>
__________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/
Hello all,
I tried to run SER 0.8.12 on Redhat Linux 9 but i couldnt even make it executable. Every time i run it. it gives me error as below: --------------- ERROR --------------------------------------- 0(12455) loading module /usr/local/lib/ser/modules/mysql.so 0(12455) loading module /usr/local/lib/ser/modules/sl.so 0(12455) loading module /usr/local/lib/ser/modules/tm.so 0(12455) ERROR: load_module: could not open module </usr/local/lib/ser/modules/tm.so>: /usr/local/l ib/ser/modules/tm.so: undefined symbol: run_failure_handlers -------------- END ERROR ---------------------------
Most of you guys have successfully installed SER with C-CPL and running it. Please help me with step by step direction so that i can make it work for me.
Note1: I have also downloaded SER form CVS and then compiled it then execute it. The error is same.
Note2:I have also downloaded SER from CVS HEAD and then compiled and then execute. Error is still there.
Am i choosing wrokg version of RedHat or do i need to do something else to make it work. Please help me!!
Thanks in advance!!
Hi, I am also just trying to add the cpl-c module.
One thing I have seen in my research is this:
"you are using 0.8.12 release. In that release, cpl-c is not fully supported - in order to make it work, you have to apply a patch to tm module (the patch is in modules/cpl-c/tm.patch). I'm not sure if the patch still works - there were some changes in the code and the patching can fail."
I am trying this as I write this, I will let you know how I get on..
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Avkash Sent: Wednesday 19 May 2004 19:33 To: Richard Cc: serusers@lists.iptel.org Subject: Re: [Serusers] unconditional forwarding cpl script
Hello all,
I tried to run SER 0.8.12 on Redhat Linux 9 but i couldnt even make it executable. Every time i run it. it gives me error as below: --------------- ERROR --------------------------------------- 0(12455) loading module /usr/local/lib/ser/modules/mysql.so 0(12455) loading module /usr/local/lib/ser/modules/sl.so 0(12455) loading module /usr/local/lib/ser/modules/tm.so 0(12455) ERROR: load_module: could not open module </usr/local/lib/ser/modules/tm.so>: /usr/local/l ib/ser/modules/tm.so: undefined symbol: run_failure_handlers -------------- END ERROR ---------------------------
Most of you guys have successfully installed SER with C-CPL and running it. Please help me with step by step direction so that i can make it work for me.
Note1: I have also downloaded SER form CVS and then compiled it then execute it. The error is same.
Note2:I have also downloaded SER from CVS HEAD and then compiled and then execute. Error is still there.
Am i choosing wrokg version of RedHat or do i need to do something else to make it work. Please help me!!
Thanks in advance!!
-- Avkash Chauhan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
You are absolutely right steve!!
I tried to patch but i had errors during patch. Any one has any idea to get correct patch (tm.patch) and the patch it error free. Any help would be greately appreciated!!
Thanks,
Hi,
if you are using the CVS HEAD of whole ser, you don't need any patch - everything complies.
Bogdan
steve wrote:
Hi, I am also just trying to add the cpl-c module.
One thing I have seen in my research is this:
"you are using 0.8.12 release. In that release, cpl-c is not fully supported - in order to make it work, you have to apply a patch to tm module (the patch is in modules/cpl-c/tm.patch). I'm not sure if the patch still works - there were some changes in the code and the patching can fail."
I am trying this as I write this, I will let you know how I get on..
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Avkash Sent: Wednesday 19 May 2004 19:33 To: Richard Cc: serusers@lists.iptel.org Subject: Re: [Serusers] unconditional forwarding cpl script
Hello all,
I tried to run SER 0.8.12 on Redhat Linux 9 but i couldnt even make it executable. Every time i run it. it gives me error as below: --------------- ERROR --------------------------------------- 0(12455) loading module /usr/local/lib/ser/modules/mysql.so 0(12455) loading module /usr/local/lib/ser/modules/sl.so 0(12455) loading module /usr/local/lib/ser/modules/tm.so 0(12455) ERROR: load_module: could not open module </usr/local/lib/ser/modules/tm.so>: /usr/local/l ib/ser/modules/tm.so: undefined symbol: run_failure_handlers -------------- END ERROR ---------------------------
Most of you guys have successfully installed SER with C-CPL and running it. Please help me with step by step direction so that i can make it work for me.
Note1: I have also downloaded SER form CVS and then compiled it then execute it. The error is same.
Note2:I have also downloaded SER from CVS HEAD and then compiled and then execute. Error is still there.
Am i choosing wrokg version of RedHat or do i need to do something else to make it work. Please help me!!
Thanks in advance!!
-- Avkash Chauhan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
The compile and install did not seem to go to well with the latest off the CVS.
There seems to be a problem with compiling the cpl-c module, I see this on the compile:
make[1]: Entering directory `/root/ser-cvs/sip_router/modules/cpl-c' ../../Makefile.rules:77: cpl.d: No such file or directory ../../Makefile.rules:77: cpl_db.d: No such file or directory ../../Makefile.rules:77: cpl_loader.d: No such file or directory ../../Makefile.rules:77: cpl_log.d: No such file or directory ../../Makefile.rules:77: cpl_nonsig.d: No such file or directory ../../Makefile.rules:77: cpl_parser.d: No such file or directory ../../Makefile.rules:77: cpl_run.d: No such file or directory ../../Makefile.rules:77: cpl_sig.d: No such file or directory ../../Makefile.rules:77: cpl_time.d: No such file or directory ../../Makefile.rules:77: sub_list.d: No such file or directory make[1]: Leaving directory `/root/ser-cvs/sip_router/modules/cpl-c' make[1]: Entering directory `/root/ser-cvs/sip_router/modules/cpl-c'
Then this on the install. (Did not catch the compile errors until after the install attempt)
cpl.c: In function `cpl_run_script': cpl.c:118: `sock_info' undeclared (first use in this function) cpl.c:118: (Each undeclared identifier is reported only once cpl.c:118: for each function it appears in.) cpl.c: In function `cpl_update_contact': cpl.c:204: warning: implicit declaration of function `build_lump_rpl' cpl.c:204: warning: assignment makes pointer from integer without a cast cpl.c:211: warning: passing arg 2 of `add_lump_rpl' from incompatible pointer type cpl.c:211: too few arguments to function `add_lump_rpl' make[1]: *** [cpl.o] Error 1 make[1]: Leaving directory `/root/ser-cvs/sip_router/modules/cpl'
Anyone else seen those problems?
-----Original Message----- From: Bogdan-Andrei IANCU [mailto:iancu@fokus.fraunhofer.de] Sent: Wednesday 19 May 2004 20:07 To: steve Cc: 'Avkash'; 'Richard'; serusers@lists.iptel.org Subject: Re: [Serusers] unconditional forwarding cpl script
Hi,
if you are using the CVS HEAD of whole ser, you don't need any patch - everything complies.
Bogdan
steve wrote:
Hi, I am also just trying to add the cpl-c module.
One thing I have seen in my research is this:
"you are using 0.8.12 release. In that release, cpl-c is not fully supported - in order to make it work, you have to apply a
patch to tm
module (the patch is in modules/cpl-c/tm.patch). I'm not sure if the patch still works - there were some changes in the code and the patching can fail."
I am trying this as I write this, I will let you know how I get on..
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Avkash Sent: Wednesday 19 May 2004 19:33 To: Richard Cc: serusers@lists.iptel.org Subject: Re: [Serusers] unconditional forwarding cpl script
Hello all,
I tried to run SER 0.8.12 on Redhat Linux 9 but i couldnt
even make it
executable. Every time i run it. it gives me error as below: --------------- ERROR --------------------------------------- 0(12455) loading module /usr/local/lib/ser/modules/mysql.so 0(12455) loading module /usr/local/lib/ser/modules/sl.so 0(12455) loading module /usr/local/lib/ser/modules/tm.so 0(12455) ERROR: load_module: could not open module </usr/local/lib/ser/modules/tm.so>: /usr/local/l ib/ser/modules/tm.so: undefined symbol: run_failure_handlers -------------- END ERROR ---------------------------
Most of you guys have successfully installed SER with C-CPL and running it. Please help me with step by step direction so
that i can
make it work for me.
Note1: I have also downloaded SER form CVS and then
compiled it then
execute it. The error is same.
Note2:I have also downloaded SER from CVS HEAD and then
compiled and
then execute. Error is still there.
Am i choosing wrokg version of RedHat or do i need to do something else to make it work. Please help me!!
Thanks in advance!!
-- Avkash Chauhan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the
CitC Virus
Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Just update cvs, don't have the same problem.
Looks like your error came from cpl module, not cpl-c.
Make sure that you use cpl-c.
--- steve sgsubs@intechnology.co.uk wrote:
The compile and install did not seem to go to well with the latest off the CVS.
There seems to be a problem with compiling the cpl-c module, I see this on the compile:
make[1]: Entering directory `/root/ser-cvs/sip_router/modules/cpl-c' ../../Makefile.rules:77: cpl.d: No such file or directory ../../Makefile.rules:77: cpl_db.d: No such file or directory ../../Makefile.rules:77: cpl_loader.d: No such file or directory ../../Makefile.rules:77: cpl_log.d: No such file or directory ../../Makefile.rules:77: cpl_nonsig.d: No such file or directory ../../Makefile.rules:77: cpl_parser.d: No such file or directory ../../Makefile.rules:77: cpl_run.d: No such file or directory ../../Makefile.rules:77: cpl_sig.d: No such file or directory ../../Makefile.rules:77: cpl_time.d: No such file or directory ../../Makefile.rules:77: sub_list.d: No such file or directory make[1]: Leaving directory `/root/ser-cvs/sip_router/modules/cpl-c' make[1]: Entering directory `/root/ser-cvs/sip_router/modules/cpl-c'
Then this on the install. (Did not catch the compile errors until after the install attempt)
cpl.c: In function `cpl_run_script': cpl.c:118: `sock_info' undeclared (first use in this function) cpl.c:118: (Each undeclared identifier is reported only once cpl.c:118: for each function it appears in.) cpl.c: In function `cpl_update_contact': cpl.c:204: warning: implicit declaration of function `build_lump_rpl' cpl.c:204: warning: assignment makes pointer from integer without a cast cpl.c:211: warning: passing arg 2 of `add_lump_rpl' from incompatible pointer type cpl.c:211: too few arguments to function `add_lump_rpl' make[1]: *** [cpl.o] Error 1 make[1]: Leaving directory `/root/ser-cvs/sip_router/modules/cpl'
Anyone else seen those problems?
-----Original Message----- From: Bogdan-Andrei IANCU
[mailto:iancu@fokus.fraunhofer.de]
Sent: Wednesday 19 May 2004 20:07 To: steve Cc: 'Avkash'; 'Richard'; serusers@lists.iptel.org Subject: Re: [Serusers] unconditional forwarding
cpl script
Hi,
if you are using the CVS HEAD of whole ser, you
don't need
any patch - everything complies.
Bogdan
steve wrote:
Hi, I am also just trying to add the cpl-c module.
One thing I have seen in my research is this:
"you are using 0.8.12 release. In that release,
cpl-c is not fully
supported - in order to make it work, you have to
apply a
patch to tm
module (the patch is in modules/cpl-c/tm.patch).
I'm not sure if the
patch still works - there were some changes in
the code and the
patching can fail."
I am trying this as I write this, I will let you
know how I get on..
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of
Avkash
Sent: Wednesday 19 May 2004 19:33 To: Richard Cc: serusers@lists.iptel.org Subject: Re: [Serusers] unconditional forwarding
cpl script
Hello all,
I tried to run SER 0.8.12 on Redhat Linux 9 but
i couldnt
even make it
executable. Every time i run it. it gives me
error as below:
--------------- ERROR
0(12455) loading module
/usr/local/lib/ser/modules/mysql.so
0(12455) loading module
/usr/local/lib/ser/modules/sl.so
0(12455) loading module
/usr/local/lib/ser/modules/tm.so
0(12455) ERROR: load_module: could not open
module
</usr/local/lib/ser/modules/tm.so>: /usr/local/l ib/ser/modules/tm.so: undefined symbol:
run_failure_handlers
-------------- END ERROR
Most of you guys have successfully installed SER
with C-CPL and
running it. Please help me with step by step
direction so
that i can
make it work for me.
Note1: I have also downloaded SER form CVS and
then
compiled it then
execute it. The error is same.
Note2:I have also downloaded SER from CVS HEAD
and then
compiled and
then execute. Error is still there.
Am i choosing wrokg version of RedHat or do i
need to do something
else to make it work. Please help me!!
Thanks in advance!!
-- Avkash Chauhan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known
viruses by the
CitC Virus
Scanning Service powered by SkyLabs. For further
information visit
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
______________________________________________________________
This message has been checked for all known
viruses by the
CitC Virus Scanning Service powered by SkyLabs.
For further
information visit http://www.citc.it
=== message truncated ===
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Turns out it did create the module, just did not copy it over ?
It was cpl-c..
make[1]: Entering directory
`/root/ser-cvs/sip_router/modules/cpl-c'
Still got some other issues but I know about those... Hopefully.
Thanks...
-----Original Message----- From: Richard [mailto:mypop3mail@yahoo.com] Sent: Wednesday 19 May 2004 21:04 To: steve Cc: serusers@lists.iptel.org Subject: RE: [Serusers] CPL cvs
Just update cvs, don't have the same problem.
Looks like your error came from cpl module, not cpl-c.
Make sure that you use cpl-c.
--- steve sgsubs@intechnology.co.uk wrote:
The compile and install did not seem to go to well with the
latest off
the CVS.
There seems to be a problem with compiling the cpl-c module, I see this on the compile:
make[1]: Entering directory `/root/ser-cvs/sip_router/modules/cpl-c' ../../Makefile.rules:77: cpl.d: No such file or directory ../../Makefile.rules:77: cpl_db.d: No such file or directory ../../Makefile.rules:77: cpl_loader.d: No such file or directory ../../Makefile.rules:77: cpl_log.d: No such file or directory ../../Makefile.rules:77: cpl_nonsig.d: No such file or directory ../../Makefile.rules:77: cpl_parser.d: No such file or directory ../../Makefile.rules:77: cpl_run.d: No such file or directory ../../Makefile.rules:77: cpl_sig.d: No such file or directory ../../Makefile.rules:77: cpl_time.d: No such file or directory ../../Makefile.rules:77: sub_list.d: No such file or directory make[1]: Leaving directory `/root/ser-cvs/sip_router/modules/cpl-c' make[1]: Entering directory `/root/ser-cvs/sip_router/modules/cpl-c'
Then this on the install. (Did not catch the compile errors until after the install attempt)
cpl.c: In function `cpl_run_script': cpl.c:118: `sock_info' undeclared (first use in this function) cpl.c:118: (Each undeclared identifier is reported only once cpl.c:118: for each function it appears in.) cpl.c: In function `cpl_update_contact': cpl.c:204: warning: implicit declaration of function
`build_lump_rpl'
cpl.c:204: warning: assignment makes pointer from integer without a cast cpl.c:211: warning: passing arg 2 of `add_lump_rpl' from incompatible pointer type cpl.c:211: too few arguments to function `add_lump_rpl' make[1]: *** [cpl.o] Error 1 make[1]: Leaving directory `/root/ser-cvs/sip_router/modules/cpl'
Anyone else seen those problems?
-----Original Message----- From: Bogdan-Andrei IANCU
[mailto:iancu@fokus.fraunhofer.de]
Sent: Wednesday 19 May 2004 20:07 To: steve Cc: 'Avkash'; 'Richard'; serusers@lists.iptel.org Subject: Re: [Serusers] unconditional forwarding
cpl script
Hi,
if you are using the CVS HEAD of whole ser, you
don't need
any patch - everything complies.
Bogdan
steve wrote:
Hi, I am also just trying to add the cpl-c module.
One thing I have seen in my research is this:
"you are using 0.8.12 release. In that release,
cpl-c is not fully
supported - in order to make it work, you have to
apply a
patch to tm
module (the patch is in modules/cpl-c/tm.patch).
I'm not sure if the
patch still works - there were some changes in
the code and the
patching can fail."
I am trying this as I write this, I will let you
know how I get on..
-----Original Message----- From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of
Avkash
Sent: Wednesday 19 May 2004 19:33 To: Richard Cc: serusers@lists.iptel.org Subject: Re: [Serusers] unconditional forwarding
cpl script
Hello all,
I tried to run SER 0.8.12 on Redhat Linux 9 but
i couldnt
even make it
executable. Every time i run it. it gives me
error as below:
--------------- ERROR
0(12455) loading module
/usr/local/lib/ser/modules/mysql.so
0(12455) loading module
/usr/local/lib/ser/modules/sl.so
0(12455) loading module
/usr/local/lib/ser/modules/tm.so
0(12455) ERROR: load_module: could not open
module
</usr/local/lib/ser/modules/tm.so>: /usr/local/l ib/ser/modules/tm.so: undefined symbol:
run_failure_handlers
-------------- END ERROR
Most of you guys have successfully installed SER
with C-CPL and
running it. Please help me with step by step
direction so
that i can
make it work for me.
Note1: I have also downloaded SER form CVS and
then
compiled it then
execute it. The error is same.
Note2:I have also downloaded SER from CVS HEAD
and then
compiled and
then execute. Error is still there.
Am i choosing wrokg version of RedHat or do i
need to do something
else to make it work. Please help me!!
Thanks in advance!!
-- Avkash Chauhan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known
viruses by the
CitC Virus
Scanning Service powered by SkyLabs. For further
information visit
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
This message has been checked for all known
viruses by the
CitC Virus Scanning Service powered by SkyLabs.
For further
information visit http://www.citc.it
=== message truncated ===
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
This message has been checked for all known viruses by the CitC Virus Scanning Service powered by SkyLabs. For further information visit http://www.citc.it
Hi,
Thanks Richard for bringing some light. Let me clarify the problem: there are 2 modules - cpl and cpl-c; cpl module is not supported any more (for more than 2 years); cpl-c module complies perfect on CVS HEAD (just tried); also for 0.8.12 I regenerated the patch for tm, so it should work.
Regards, Bogdan
PS: please DON'T FORGET to use the WHOLE SER from the SAME VERSION.
Richard wrote:
Just update cvs, don't have the same problem.
Looks like your error came from cpl module, not cpl-c.
Make sure that you use cpl-c.