[sr-dev] Problems porting a module

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Thu May 28 17:18:48 CEST 2009


Hi all, I'm trying to use the call_control module from OpenSIPS on kamailio 
1.5.1 and I'm stuck with and error that I'm not able to fix

CallControl module could be directly compiled with kamailio 1.5.1 without any 
issue because it's a very simple module.
But when testing, and I call call_control() from the script, I allways gets 

2009-05-28T17:15:36+02:00 <daemon.err> test02 test02[9431]: 
ERROR:call_control:callcontrol_connect: failed to connect 
to /var/run/callcontrol.sock: No such file or directory
2009-05-28T17:15:36+02:00 <daemon.err> test02 test02[9431]: Call control: 
internal server error

I have callcontrol running, and /var/run/callcontrol.sock exist and kamailio 
have the needed permission to work with it.

Does anyone used the call_control module from OpenSIPS (no matter if with 
kamailio or with opensips) ?

I tracked down the source to line 521 of call_control.c, on witch that error 
is printed out.

Best regards
-- 
Raúl Alexis Betancor Santana
Dimensión Virtual



More information about the sr-dev mailing list