Hi Guys,
We had our kamailio instance crash today, it appeared to be after multiple registration failures, the resulting logs showing;
Jun 25 15:47:55 kernel: : kamailio[14993]: segfault at 18 ip 00007f03102f9609 sp 00007fff1b346500 error 4 in auth_db.so[7f03102f1000+b000]Jun 25 15:47:55 /usr/sbin/kamailio[14989]: ALERT: <core> [main.c:788]: handle_sigs(): child process 14993 exited by a signal 11Jun 25 15:47:55 /usr/sbin/kamailio[14989]: ALERT: <core> [main.c:791]: handle_sigs(): core was not generatedJun 25 15:47:55 /usr/sbin/kamailio[14989]: INFO: <core> [main.c:803]: handle_sigs(): INFO: terminating due to SIGCHLD
Any comments welcome.
thanks
Jon
I need some help regarding syntax. Can we put some comparisons on the values
of these variables like
if ("$ru"=="$fu")
{xlog("both are same")};
If this is not the way then what is the way to do so ??
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Syntax-help-in-comparison-of-values…
Sent from the Users mailing list archive at Nabble.com.
Hi,
I had a simple question to which I could not find a clear answer in the
documentation.
How can I pass a command line argument to Kamailio config script?
For example, assume that I run my kamailio daemon using script myconf.cfg:
>>kamailio -f myconf.cfg
Now I want to pass a value, say an IP address and use it inside the script.
Sth like
>>kamailio -f myconf.cfg --ip __MY_IP__
and then have an assignment of "$var=__MY_IP__" inside myconf.cfg
Is there an easy way to do this?
Hi Carsten,
I had a look Kamailio repo and did not find the configuration you proposed to post.
Did I look at the bad place or didn't you find the time to do it ?
Thanks,
Olivier
Hi Olivier,
i will update the configuration files for WebSockets at the P-CSCF
after KamailioWorld. The week after KamailioWorld, we are at another
congress, but probably around easter, you should find a proper
configuration for WebSocket on the P-CSCF (including media).
Kind regards,
Carsten
2014-04-01 12:02 GMT+02:00 DURECU, OLIVIER (OLIVIER)
<olivier.durecu at alcatel-lucent.com>:
> Hello all,
>
> I have installed Kamailio 4.1.2 in IMS configuration (3 Kamailio instances
> to run in P/I/S-CSCF modes)
>
> Everything works fine with Native IMS clients (Boghe)
>
> I want now to introduce Web clients using WebSockets. I have added to the
> P-CSCF Kamailio.cfg the websockets parts
> Registration is Ok but I can't manage placing a call.
>
> With SIPoWS, the contact header is sip:olivier at 132.invalid. So when the
> P-CSCF receives a terminating INVITE, its destination URI is
> sip:olivier at 132.invalid , it tries to make a DNS resolution of 312.invalid
> and it doesn't forward to the client saying the domain is unknown and can't
> be routed
>
> I guess that something is missing in my configuration around
> aliases/nathelper/outbound but didn't find what...
>
> Thanks for any help
>
>
> Olivier DURECU
> Bell Labs / IP Platform Research
> Villarceaux Center
> Tel: +33(0) 130772759
> GSM: +33(0) 683776482
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
Thanks Daniel,
Rather than changing the kamctl script, I can just run a command like:
kamctl mi ul_add location <user> <uri> <expires> <q> 0 0 0 0
When I run this and set expires to 0 (as per the comment in kamctl, "expires 0 means persistent contact"), kamctl ul show shows expires=-1403662437 which siremis shows as 1970-01-01 08:00:00.
Within 20 minutes, the entry is gone and I'm not sure why. Is the 8:00 (my timezone is UTC+8) causing a check for zero to fail or is there something else I'm missing?
For reference, I'm using db_mode=2 for usrloc.
Regards,
Dave.
On 20 Jun 2014, at 6:00 pm, sr-users-request(a)lists.sip-router.org wrote:
> Date: Fri, 20 Jun 2014 07:38:50 +0200
> From: Daniel-Constantin Mierla <miconda(a)gmail.com>
> To: "Kamailio (SER) - Users Mailing List"
> <sr-users(a)lists.sip-router.org>
> Subject: Re: [SR-Users] Setting priority (q) for kamctl ul add
>
> Hello,
>
> On 20/06/14 06:16, David Wilson wrote:
>> Hi All,
>>
>> I'm trying to add a permanent usrloc entry via kamctl ul add.
>>
>> This works, but the created entry has a q value of 1.0 which is higher than I need.
>>
>> Is there a way to either:
>>
>> 1. Specify a q value when using kamctl ul add, or
> apparently the Q is hardcoded, a way to fix it is to edit kamctl (which
> is a shell script), search for 'ul_add' and update the 1.0 value in that
> command.
>
>> 2. Edit the q value of an existing record by using a kamctl command.
>>
> Maybe removing and add it it with same other attributes...
>
> Cheers,
> Daniel
Hello,
I'm running Kamailio 4.0.4, and I'm running into problems when trying
to insert or update headers when the method is CANCEL. It just seems
that nothing at all happens to the message.
Is this a bug or a design choice?
Regards,
Örn
So far, I have a kamailio.cfg that routes INVITEs between Asterisk and the external networks. Now I want to start adding MSRP support. However, with my current configuration, the test client (Blink) sends an INVITE with a SDP payload that specifies msrps
media. This gets routed to Asterisk, and it gets promptly rejected with "Not Acceptable Here".
I need to make Kamailio route the request by itself if the INVITE is for MSRP, and delegate to Asterisk for other INVITEs.
What is the most elegant way to test for the INVITE packet to see if it is MSRP? This testing should be at least mentioned in the documentation for the msrp.so module.
Hi,
I am trying to build a simple architecture like this:
UAC <--> Proxy1 <--> Proxy2 <--> UAS
(each on a different VM)
Is it possible to have this architecture built without any "registrar"
module?
I have simulated my UAC and UAS using SIPp and the routing in Proxy1 and
Proxy2 is to forward to the next hop. for example in Proxy1, I have:
*route{ record_route(); if (loose_route()) {
route(FORWARD); break; } if (uri ==
myself){ setdsturi("sip:__ADRESS_OF_PROXY2__");
route(FORWARD);*
* break;*
* } route(FORWARD); }route[FORWARD]{ if
(!t_relay()) { sl_reply_error(); }}*
I simulate packets in UAC in the following manner:
*sipp -sn uac -rsa __ADDRESS_OF_PROXY1__ __ADDRESS_OF_PROXY1__*
The problem is that my first proxy (Proxy1) is always returning "404 Not
Found" on any INVITE and never forwards to Proxy2, even though I have asked
it to do so in "if(uri==myself)".
Am I missing something in connecting the proxies in such a simple
architecture?
Hi all,
I have an edge proxy (E) and a registrar (R) behind it.
In R, if a MESSAGE failed to deliver for any reason, R stores the MESSAGE in msilo.
If the MESSAGE timed out, R sends a 408 time out first and then send a 202 Accepted after the MESSAGE is stored.
The problem is, E happily forwards the 408 to the sender of the MESSAGE, but decides not to forward the 202.
The log:
DEBUG: t_reply_matching: hash 16662 label 0 branch 0
DEBUG: tm [t_lookup.c:1032]: DEBUG: t_reply_matching: reply matched (T=0x7f99eebb2ae0)!
DEBUG: tm [t_lookup.c:1164]: DEBUG: t_check_msg: msg id=3 global id=3 T end=0x7f99eebb2ae0
DEBUG: tm [t_reply.c:2085]: DEBUG: reply_received: org. status uas=408, uac[0]=408 local=0 is_invite=0)
DEBUG: tm [t_reply.c:1207]: ->>>>>>>>> T_code=408, new_code=202
DEBUG: tm [t_reply.c:1706]: DEBUG: relay_reply: branch=0, save=0, relay=-1
Can I change this behaviour to also forward the 202 withouting hacking in the source code?
Regards,
Allen