[SR-Users] Extract information from invite packet

2014-06-25 Thread aawaise
I want to log some information of callee from incoming invite packet. how can it be done. I want to get it logged in /var/log/messages. Any help will be appreciated. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Extract-information-from-invite-packet-tp128649.html Se

[SR-Users] How to find whether or not certain header exists?

2014-06-25 Thread Allen Zhang
Hi, If I normally receive a INVITE that has a header 'aaa' with value 'bbb', but it's possible that some INVITEs don't have this header. How do I determine in the config file if the header exists? To check the value of the header I do if($hdr(aaa) == "bbb"). But what if the header doesn't exist?

[SR-Users] How to stop kamailio from send 408?

2014-06-25 Thread Allen Zhang
Hi, when t_relay() times out, calling sl_reply_error() will send 408 to the client. But if I don't want to send 408, how do I interpret the error code t_relay() set? Regards, Allen ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailin

Re: [SR-Users] Passing Command-Line Arguments to Kamailio Config Script

2014-06-25 Thread AliReza Khoshgoftar Monfared
Thanks very much Daniel. Did you mean: kamailio -A xyz='"abc"' ... in equivalent to $var(xyz) = "abc" in config? Also is there a scope restriction on the use of $var() or -A option? I seem to be able to use it inside the route {} block but not in the global scope... On Wed, Jun 25, 2014 at 3

Re: [SR-Users] IMS and SIP over WebSocket 500/Error

2014-06-25 Thread Carsten Bock
Hi Olivier, to sum it up: KamailioWorld (and the following BREKO Broadbandworld) has been a major success for us and is keeping us extremely busy at the moment... :-) That's why i haven't found time to update the configuration for the real Websocket enabled Proxy-CSCF yet. I hope, i find time to a

[SR-Users] Strange application hang querying DB

2014-06-25 Thread Tim Chubb
Hi, I'm currently wracking my brains trying to deduce where an application hang can be coming from. I have ported the PostGres schema to be compatible with MS Sql Server and have had no issues getting a working dev environment working. However when I try and use SQL Azure as the backend db as

[SR-Users] Sample Kamailio Config for Siremis

2014-06-25 Thread Noah Mehl
I have managed to install Kamailio and Siremis 4.x, but I have noticed that neither Kamaliio or Siremis come with a sample config that makes sense for Siremis (as far as I can tell). For instance, if I want to use LCR with dispatchers, the sample Kamilio configs don’t have the dispatcher module

[SR-Users] Kamailio Freepbx Integration Dropping Calls

2014-06-25 Thread Carlos Rangel
Hello I have successfully (I believe) implemented Kamailio 4.1.4 integration with Freepbx 5.2.11 taking as a guide Daniel's tutorial http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb. I just did not create the voicemail tables because voice mail is handled by Freepbx.

Re: [SR-Users] Setting priority (q) for kamctl ul add

2014-06-25 Thread Daniel-Constantin Mierla
On 25/06/14 06:06, David Wilson wrote: Never mind, the missing contact was being removed when a REGISTER was received. In my cfg, I was using: save("location", "0x04") The 0x04 flag, of course, causes all existing entries for the AOR to be removed. Cheers, Dave. On 25 Jun 2014, at 10:45 a

Re: [SR-Users] segfault at 18 error 4 in auth_db.so on Version 4.0.6-1 Release

2014-06-25 Thread Daniel-Constantin Mierla
Hello, might not be the same, but I just pushed to branch 4.0 a fix for the case when a request has both Proxy-Authorization and Authorization headers that led to a wrong selection of the credentials, ending up in a crash. Pull the latest branch 4.0 and try to see if goes fine this time. Bef

Re: [SR-Users] Crash Kamailio 4.1.4

2014-06-25 Thread Daniel-Constantin Mierla
Hello, can you give the output of: frame 6 print hdr print *hdr frame 4 print *pid_b Also, it would be good to have full trace for other details: bt full Cheers, Daniel On 25/06/14 14:49, Igor Potjevlesch wrote: Hello, We updated this morning Kamailio in 4.1.4 with your patch. [...] --

[SR-Users] segfault at 18 error 4 in auth_db.so on Version 4.0.6-1 Release

2014-06-25 Thread Jonathan Hunter
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 7f03102f9609 sp 7fff1b346500 error 4 in auth_db.so[7f03102f1000+b000]Jun 25 15:47:55 /usr

Re: [SR-Users] Crash Kamailio 4.1.4

2014-06-25 Thread Igor Potjevlesch
Hello, We updated this morning Kamailio in 4.1.4 with your patch. Kamailio crashed again this afternoon. here an extract from /var/log/messages : Jun 25 13:49:01 /usr/local/sbin/kamailio[20259]: WARNING:

Re: [SR-Users] Passing Command-Line Arguments to Kamailio Config Script

2014-06-25 Thread Daniel-Constantin Mierla
Hello, you can use pre-processor defines, passing it via -A command line parameter: kamailio -A xyz='"abc"' ... in config: $var(x) = xyz Cheers, Daniel On 25/06/14 02:31, AliReza Khoshgoftar Monfared wrote: Hi, I had a simple question to which I could not find a clear answer in the docume