[Kamailio-Users] Fwd: Using Sip Message in a third application.

Olivier Détour chino540off+kamailio at gmail.com
Thu Dec 3 15:06:35 CET 2009


On Thu, Dec 3, 2009 at 2:18 PM, Iñaki Baz Castillo <ibc at 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.

Thanks,
Regards,

-- 
Olivier Détour
EPITA 2009



More information about the Users mailing list