Re: [SR-Users] is kamilio support RFC5626 now ?

2012-07-11 Thread Daniel-Constantin Mierla
Hello, On 7/11/12 4:23 AM, mike wrote: dear kamilio developers : i read the kamilio 3.3.0' s new features , it say it support outbound , and i have place to handle reg-id and sip.instance . so , i wonder if the kamilio3.3.0 support RFC5626 now,so that the kamilio can be used as a edge proxy .

[SR-Users] start kamailio

2012-07-11 Thread Michal Yachimovitz
Hello I installed kamailio version 3.2.0 and followed the instructions in http://www.kamailio.org/wiki/install/3.2.x/git web site Whene I permormed the command /etc/init.d/kamailio start I got the following errors. The modules are in the correct directory so actually I do not understand the

Re: [SR-Users] is kamilio support RFC5626 now ?

2012-07-11 Thread Olle E. Johansson
11 jul 2012 kl. 09:00 skrev Daniel-Constantin Mierla: > Hello, > > On 7/11/12 4:23 AM, mike wrote: >> dear kamilio developers : >> >> i read the kamilio 3.3.0' s new features , it say it support outbound , and >> i have place to handle reg-id and sip.instance . so , i wonder if the >> kamilio

Re: [SR-Users] start kamailio

2012-07-11 Thread SamyGo
Hi, Verify your "mpath=" directive in kamailio.cfg file. Its just unable to find the directory holding all the modules. If you're using a 64bit machine then I can only guess that you need to change mpath to "mpath= /usr/local/lib*64*/kamailio/modules/ " Regards, Sammy On Wed, Jul 11, 2012 at 1

Re: [SR-Users] start kamailio

2012-07-11 Thread Michal Yachimovitz
Hi Thanks, but the mpath is correct If you have another idea it will be appreciated. Michal 2012/7/11 SamyGo > Hi, > > Verify your "mpath=" directive in kamailio.cfg file. > Its just unable to find the directory holding all the modules. > If you're using a 64bit machine then I can only guess

Re: [SR-Users] is kamilio support RFC5626 now ?

2012-07-11 Thread Daniel-Constantin Mierla
FYI: private emails sent from mailing lists discussions are simply ignored, keep the mailing list in the discussion. Thanks. On 7/11/12 9:13 AM, mike wrote: yes , i know that the path could be added by the path module , but ,the problem is the flow token,such as the path Path:

Re: [SR-Users] start kamailio

2012-07-11 Thread SamyGo
there is also another directory as modules_k which needs to be included in mpath see that as well. Is the error log same (OO) !! It clearly is screaming for help trying desperately to find the modules ! Did you forgot to compile the modules ! On Wed, Jul 11, 2012 at 1:02 PM, Michal Yachimovitz < m

[SR-Users] DB create statements

2012-07-11 Thread Klaus Darilion
Hi! For some reason I need to the enter the SQL statements manually on the DB server (I do not want to copy the scripts to the DB server and there is no superuser access over the network) Is there a simple method to get all the SQL commands to create the kamailio database? I see there are

Re: [SR-Users] DB create statements

2012-07-11 Thread Aft nix
On Wed, Jul 11, 2012 at 3:24 PM, Klaus Darilion wrote: > Hi! > > For some reason I need to the enter the SQL statements manually on the DB > server (I do not want to copy the scripts to the DB server and there is no > superuser access over the network) > > Is there a simple method to get all the S

Re: [SR-Users] sip over tls is not working

2012-07-11 Thread Klaus Darilion
Does it work with your web browser? https://ip.address.ofyour.proxy:5061/ At least the TLS handshake should work. If you add the following snippet to your config you should also see the response in your browser: event_route[xhttp:request] { xhttp_reply("200", "OK", "text/html","OK -

Re: [SR-Users] DB create statements

2012-07-11 Thread Klaus Darilion
For the files: I solved my problem by changing the /usr/lib/kamailio/kamctl/kamdbctl.pgsql script to write all queries to stdout instead sending it to the DB, e.g: # execute sql command with optional db name sql_query() { if [ $TRYONLY -eq 1 ] ; then if [ $# -gt 1 ] ; th

Re: [SR-Users] sip over tls is not working

2012-07-11 Thread Klaus Darilion
I just tested TLS with Kamailio 3.3.0 and Eyebeam and it works. Make sure to specify "ca_list" if intermediate certificates are used. regards Klaus On 09.07.2012 13:27, Aft nix wrote: Hi, I have enabled tls parameters as follows: in kamailio.cfg listen = tls:: in tls.cfg [server::] method

Re: [SR-Users] is kamilio support RFC5626 now ?

2012-07-11 Thread Daniel-Constantin Mierla
On 7/11/12 9:28 AM, Olle E. Johansson wrote: 11 jul 2012 kl. 09:00 skrev Daniel-Constantin Mierla: Hello, On 7/11/12 4:23 AM, mike wrote: dear kamilio developers : i read the kamilio 3.3.0' s new features , it say it support outbound , and i have place to handle reg-id and sip.instance . s

[SR-Users] GRUU support in Kamailio

2012-07-11 Thread Olle E. Johansson
Hey, Been trying to understand the GRUU support in Kamailio. I see that the registrar saves sip.instance - but I don't see any functions to generate gruu URIs or store them. A public GRUU is valid forever for a sip.instance and should propably be saved into some sort of database table. A tempora

Re: [SR-Users] is kamilio support RFC5626 now ?

2012-07-11 Thread Olle E. Johansson
11 jul 2012 kl. 15:16 skrev Daniel-Constantin Mierla: > > On 7/11/12 9:28 AM, Olle E. Johansson wrote: >> 11 jul 2012 kl. 09:00 skrev Daniel-Constantin Mierla: >> >>> Hello, >>> >>> On 7/11/12 4:23 AM, mike wrote: dear kamilio developers : i read the kamilio 3.3.0' s new featur

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Daniel-Constantin Mierla
Hello, On 7/11/12 3:18 PM, Olle E. Johansson wrote: Hey, Been trying to understand the GRUU support in Kamailio. I see that the registrar saves sip.instance - but I don't see any functions to generate gruu URIs or store them. A public GRUU is valid forever for a sip.instance and should propab

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Olle E. Johansson
11 jul 2012 kl. 15:28 skrev Daniel-Constantin Mierla: > Hello, > > On 7/11/12 3:18 PM, Olle E. Johansson wrote: >> Hey, >> Been trying to understand the GRUU support in Kamailio. I see that the >> registrar saves sip.instance - but I don't see any functions to generate >> gruu URIs or store th

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Daniel-Constantin Mierla
Hello, On 7/11/12 3:36 PM, Olle E. Johansson wrote: 11 jul 2012 kl. 15:28 skrev Daniel-Constantin Mierla: Hello, On 7/11/12 3:18 PM, Olle E. Johansson wrote: Hey, Been trying to understand the GRUU support in Kamailio. I see that the registrar saves sip.instance - but I don't see any functi

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Olle E. Johansson
11 jul 2012 kl. 15:42 skrev Daniel-Constantin Mierla: > Hello, > > On 7/11/12 3:36 PM, Olle E. Johansson wrote: >> 11 jul 2012 kl. 15:28 skrev Daniel-Constantin Mierla: >> >>> Hello, >>> >>> On 7/11/12 3:18 PM, Olle E. Johansson wrote: Hey, Been trying to understand the GRUU support

Re: [SR-Users] sip over tls is not working

2012-07-11 Thread Aft nix
On Wed, Jul 11, 2012 at 6:56 PM, Klaus Darilion wrote: > I just tested TLS with Kamailio 3.3.0 and Eyebeam and it works. Make sure to > specify "ca_list" if intermediate certificates are used. > I was working with master branch, not 3.3 branch. > > regards > Klaus > > On 09.07.2012 13:27, Aft ni

Re: [SR-Users] sip over tls is not working

2012-07-11 Thread Aft nix
On Wed, Jul 11, 2012 at 6:25 PM, Klaus Darilion wrote: > Does it work with your web browser? > > https://ip.address.ofyour.proxy:5061/ > > At least the TLS handshake should work. > Yes i've tested that way. It shows server not found. I think the problem is not related to tls. The TCP connection i

Re: [SR-Users] sip over tls is not working

2012-07-11 Thread Klaus Darilion
Maybe there were some changes fore websocket support which cause problems. Do plain TCP connections work? klaus On 11.07.2012 16:20, Aft nix wrote: On Wed, Jul 11, 2012 at 6:56 PM, Klaus Darilion wrote: I just tested TLS with Kamailio 3.3.0 and Eyebeam and it works. Make sure to specify "ca_

Re: [SR-Users] sip over tls is not working

2012-07-11 Thread Peter Dunkley
Hi, WebSockets over TLS works which requires establishing a TLS connection and exchanging an HTTP request and response. It doesn't sound like this connection is even getting passed the TLS handshake part? Peter On Wed, 2012-07-11 at 17:14 +0200, Klaus Darilion wrote: > Maybe there were some ch

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Olle E. Johansson
11 jul 2012 kl. 15:44 skrev Olle E. Johansson: > > 11 jul 2012 kl. 15:42 skrev Daniel-Constantin Mierla: > >> Hello, >> >> On 7/11/12 3:36 PM, Olle E. Johansson wrote: >>> 11 jul 2012 kl. 15:28 skrev Daniel-Constantin Mierla: >>> Hello, On 7/11/12 3:18 PM, Olle E. Johansson wr

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Iñaki Baz Castillo
2012/7/11 Olle E. Johansson : > I see that the gruu_enabled() parameter enables gruu if there's an instance > ID in the contact. > > The requirement is also that there has to be a supported: gruu > > The instance ID is used without GRUU (like in OUTBOUND), so just checking > that is not a good in

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Olle E. Johansson
11 jul 2012 kl. 17:57 skrev Iñaki Baz Castillo: > 2012/7/11 Olle E. Johansson : >> I see that the gruu_enabled() parameter enables gruu if there's an instance >> ID in the contact. >> >> The requirement is also that there has to be a supported: gruu >> >> The instance ID is used without GRUU (

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Iñaki Baz Castillo
2012/7/11 Olle E. Johansson : > Remember that I might have missed that part of the code. I will try to test > :-) > It might just be a documentation error. Sure, I just mean that it should work as you pointed out :) -- Iñaki Baz Castillo ___ SIP Exp

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Daniel-Constantin Mierla
On 7/11/12 5:58 PM, Olle E. Johansson wrote: 11 jul 2012 kl. 17:57 skrev Iñaki Baz Castillo: 2012/7/11 Olle E. Johansson : I see that the gruu_enabled() parameter enables gruu if there's an instance ID in the contact. The requirement is also that there has to be a supported: gruu The instan

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Olle E. Johansson
11 jul 2012 kl. 18:06 skrev Daniel-Constantin Mierla: > On 7/11/12 5:58 PM, Olle E. Johansson wrote: >> 11 jul 2012 kl. 17:57 skrev Iñaki Baz Castillo: >> >>> 2012/7/11 Olle E. Johansson : I see that the gruu_enabled() parameter enables gruu if there's an instance ID in the contact. >

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread Iñaki Baz Castillo
2012/7/11 Olle E. Johansson : > Thanks for your patience, Daniel! And even more thanks for the code! I will test it in depth very soon. -- Iñaki Baz Castillo ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.s

Re: [SR-Users] GRUU support in Kamailio

2012-07-11 Thread amar
A -original message- Subject: Re: [SR-Users] GRUU support in Kamailio From: Iñaki Baz Castillo Date: 11/07/2012 10:08 pm 2012/7/11 Olle E. Johansson : > Thanks for your patience, Daniel! And even more thanks for the code! I will test it in depth very soon. -- Iñaki Baz Castillo

[SR-Users] failure route correct..?

2012-07-11 Thread Gertjan Wolzak
Hello All, I am trying to get a failure route to work, I have got it working partially. When a call comes in, first I check the db_alias, if that is positive I do a lookup location and relay if the location is valid. But sometimes the sip client is still registered in the location table, but

Re: [SR-Users] sip over tls is not working

2012-07-11 Thread Aft nix
On Wed, Jul 11, 2012 at 9:37 PM, Peter Dunkley wrote: > > Hi, > > WebSockets over TLS works which requires establishing a TLS connection and > exchanging an HTTP request and response. It doesn't sound like this > connection is even getting passed the TLS handshake part? > > Peter > Hi, That was

Re: [SR-Users] sip over tls is not working

2012-07-11 Thread Peter Dunkley
Hi, I have just built Kamailio from Git master, configured TCP and TLS, and an HTTP event route. I was able to connect to Kamailio over TLS using Google Chrome (and saw the "SSL Error: The site's security certificate is not trusted!" page). After I clicked on "Proceed anyway" I saw the log messa