El Jueves, 3 de Diciembre de 2009, Olivier Détour escribió:
On Thu, Dec 3, 2009 at 2:18 PM, Iñaki Baz Castillo ibc@aliax.net wrote:
El Jueves, 3 de Diciembre de 2009, Olivier Détour escribió:
Hello,
I'm using Kamailio 1.5.3. I configured it in a proxy mode. I would like to know what is the best way to forward the SIP message to a C application via a socket, block kamailio.cfg script, and reforward it to kamailio to continue his treatment.
Hi, please don't send duplicate mails. You already got a response for your first mail.
Sorry for the duplicate mail. I try to use SEAS module, but I don't understand how to connect Kamailio on my program. In Kamailio's conf, I wrote something like that:
... modparam("seas", "listen_sockets","127.0.0.1:5080") ... if (!as_relay_t("app_server_1")) { log("Error sending to app server"); t_reply("500","App Server not connected"); } ...
I wrote a little C program to connect on 5080 and 5081. Connection works, but when a SIP message passes through Kamailio, I get a 500 error. I have to install application server but I can't do it.
So could you redirect me to a good documentation to do something like if you think it is possible.
Sorry, I've no experience on it.