[SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Amr Elsharqawi
Hello Kamailio Community!! I am newbie to Kamailio SIP. And I am interested in Kamailio. I've used asterisk for some time then I heard about FreeSWITCH unfortunately FreeSWITCH was not good enough for me like Asterisk. I've found NAT problem with Asterisk Finally I've decided to work with

Re: [SR-Users] Strange TLS issue

2013-03-12 Thread Olle E. Johansson
11 mar 2013 kl. 19:02 skrev Jirka Jirout jirka.jir...@mac.com: Hello, I have a very strange issue - we are running kamailio 3.3.2 as a part of Sip Provider CE and some of our clients have issues with TLS connectivity. 1. some clients such as Jitsi on Mac OS X and Bria or idoubs on iOS

Re: [SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Daniel-Constantin Mierla
Hello, could be sh (shell) constrain issue. Can you execute the script with bash? Cheers, Daniel On 3/12/13 7:53 AM, Amr Elsharqawi wrote: Hello Kamailio Community!! I am newbie to Kamailio SIP. And I am interested in Kamailio. I've used asterisk for some time then I heard about FreeSWITCH

Re: [SR-Users] Strange TLS issue

2013-03-12 Thread Daniel-Constantin Mierla
Hello, On 3/12/13 8:46 AM, Olle E. Johansson wrote: 11 mar 2013 kl. 19:02 skrev Jirka Jirout jirka.jir...@mac.com: Hello, I have a very strange issue - we are running kamailio 3.3.2 as a part of Sip Provider CE and some of our clients have issues with TLS connectivity. 1. some clients such

[SR-Users] Routing calls

2013-03-12 Thread mark
Hi, I'm looking for pointers on the following scenario. I have two sites (A and B) and sip traffic is sent from A to B. At each site there are a number of SIP (Asterisk) servers and a Kamailio server. The two sites have various network routes (X, Y Z) between them. I have been asked to

[SR-Users] RPMs for v4.0.0

2013-03-12 Thread Daniel-Constantin Mierla
Many RPM packages are are now available on OpenSUSE build server (for Centos 5.5 and 6, RedHat 5 and 6, Fedora 16, 17 and 18, OpenSuse 11.4, 12.1, 12.2 and 12.3, on i586 and x86_64 architectures). Links to repositories are at: - http://www.kamailio.org/wiki/packages/rpms There is listed

Re: [SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Amr Elsharqawi
Hello Daniel, Thanks for your quick reply. You're right it's shell but got this MySQL password for root: INFO: test server charset Warning: Using a password on the command line interface can be insecure. Warning: Using a password on the command line interface can be insecure. INFO:

Re: [SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Henning Westerholt
Hello Amr, somehow the datatype default value that is used in the msilo table is not understood by your mysql server. Can you specify the version of the mysql? Maybe they changed something which is not compatible with the old ones. Best regards, Henning From:

Re: [SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Amr Elsharqawi
Hello Henning, MySQL Version is 5.6.10 Amr From: Henning Westerholt [mailto:henning.westerh...@1und1.de] Sent: Tuesday, March 12, 2013 11:26 AM To: Kamailio (SER) - Users Mailing List Cc: aelsharq...@live.com Subject: RE: [SR-Users] Kamailio MySQL DB Creation Hello Amr,

Re: [SR-Users] memcached module problems

2013-03-12 Thread Henning Westerholt
Hi Dragos, (setting sr-users to CC) Ok, If you’ve set this by other means you need to set the appropriate “Kamailio” type flag to the value as well, that Kamailio can parse it correctly. You can get the appropriate value if you grep for “VAR_VAL_STR” in the source code. Your perl script

[SR-Users] Failover on carrierroute

2013-03-12 Thread Ali Jawad
Hi I did setup carrierroute with failover using t_on_failure, I do have 4 .25 ratio primary gateways for one carrier and 4 .25 ratiosecondary gateways for a secondary carrier. However, given the current setup, if one gateway is down carrieroute does use the secondary carrier if one gateway of the

[SR-Users] Strange TLS issue

2013-03-12 Thread Jirka Jirout
Hello, I have enabled re-negotiation, which does not do too much good I am afraid. However, the connection attempts do get thru to kamailio now, although I am afraid it does not help either. Mar 12 09:16:23 crypto2 /usr/sbin/kamailio[404]: ERROR: tls [tls_server.c:1190]: TLS

Re: [SR-Users] Strange TLS issue

2013-03-12 Thread Jirka Jirout
Hello, I have enabled re-negotiation, which does not do too much good I am afraid. However, the connection attempts do get thru to kamailio now, although I am afraid it does not help either. Mar 12 09:16:23 crypto2 /usr/sbin/kamailio[404]: ERROR: tls [tls_server.c:1190]: TLS

Re: [SR-Users] Strange TLS issue

2013-03-12 Thread Daniel-Constantin Mierla
Hello, try to set the method to sslv23: http://kamailio.org/docs/modules/stable/modules/tls.html#tls_method Cheers, Daniel On 3/12/13 9:36 AM, Jirka Jirout wrote: Hello, I have enabled re-negotiation, which does not do too much good I am afraid. However, the connection attempts do get thru

[SR-Users] High availability

2013-03-12 Thread Moacir Ferreira
Hi, What would be the community's architecture advice for deploying Kamailio in a high availability environment? I am looking for something simple, still efficient. Thanks, ___ SIP Express Router (SER) and

Re: [SR-Users] High availability

2013-03-12 Thread davy van de moere
Use multiple kamailio's, access them over sip-srv (that will give you high availability) , and checkout cassandra if you need db-connectivity ;) That should be imho the simplest and oh boy efficient :) On 12 Mar 2013, at 10:29, Moacir Ferreira wrote: Hi, What would be the community's

Re: [SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Amr Elsharqawi
Hello, What version of MySQL I should use? Amr From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Amr Elsharqawi Sent: Tuesday, March 12, 2013 11:34 AM To: 'Henning Westerholt'; 'Kamailio (SER) - Users Mailing List' Subject: Re:

Re: [SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Henning Westerholt
Am Dienstag, 12. März 2013, 09:33:54 schrieb Amr Elsharqawi: MySQL Version is 5.6.10 Amr Hello Amr, i think is is not related to the MySQL version. This is what I've found with google: This is a result of MySQL running in strict mode. See

[SR-Users] UAC module and SRV records

2013-03-12 Thread Olle E. Johansson
Hi! When using the UAC module to send a request to a domain that only exists in SRV records, I get an error message that no A or records can be found for the domain. Is this by design or possibly a bug? Anyone else that have seen this? /O ___

[SR-Users] Malformed PUBLISH from pua_dialoginfo (4.0.0)

2013-03-12 Thread Charles Chance
Hi all, We are testing 4.0.0 in the lab and since upgrading, PUBLISHes generated by pua_dialoginfo appear to be malformed (content-length mismatch). Please see attached output from Wireshark for both the PUBLISH and the 400 response from Kamailio. PUBLISH is being sent from one Kamailio to

Re: [SR-Users] File kamailio_fifo is removed...

2013-03-12 Thread Bruno Bresciani
Hi, Someone know if already was created in module_k mi_fifo some protection about this problem? Best Regards 2011/7/19 Daniel-Constantin Mierla mico...@gmail.com Hello, On 7/8/11 2:46 PM, Bruno Bresciani wrote: Hi, Kamailio is running fine, but when I try run again by command line

Re: [SR-Users] Malformed PUBLISH from pua_dialoginfo (4.0.0)

2013-03-12 Thread Daniel-Constantin Mierla
Hello, is 4.0 from release of a bit older taken from the branch 4.0? Cheers, Daniel On 3/12/13 2:04 PM, Charles Chance wrote: Hi all, We are testing 4.0.0 in the lab and since upgrading, PUBLISHes generated by pua_dialoginfo appear to be malformed (content-length mismatch). Please see

Re: [SR-Users] Malformed PUBLISH from pua_dialoginfo (4.0.0)

2013-03-12 Thread Charles Chance
Hi Daniel, It is from release (rpm). Thanks, Charles On 12 March 2013 13:18, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, is 4.0 from release of a bit older taken from the branch 4.0? Cheers, Daniel On 3/12/13 2:04 PM, Charles Chance wrote: Hi all, We are testing

Re: [SR-Users] Malformed PUBLISH from pua_dialoginfo (4.0.0)

2013-03-12 Thread Daniel-Constantin Mierla
When did you download it? I had some builds done days before the release just to test packaging is ok. Those ones after release were built last evening and in this morning. Cheers, Daniel On 3/12/13 2:25 PM, Charles Chance wrote: Hi Daniel, It is from release (rpm). Thanks, Charles On

[SR-Users] registrar and check registered

2013-03-12 Thread Victor V. Kustov
Hi. I try to use Kamailio 4.1 git version as registrar and PSTN gw. Need accept register from users. Its OK, I made it and use save() function - from keep registrations in case of kamailio restart. Need forward calls to gw, but only for registered users. If I understand correctly in INVITE

[SR-Users] Fwd: Re: memcached module problems

2013-03-12 Thread Henning Westerholt
-- Forwarded Message -- Subject: Re: memcached module problems Date: Dienstag, 12. März 2013, 14:50:41 From: Dragos Oancea droan...@yahoo.com To: Bis: Henning Westerholt henning.westerh...@1und1.de Thank you Henning, that was a good hint. I've noticed that kamailio and my perl

Re: [SR-Users] Malformed PUBLISH from pua_dialoginfo (4.0.0)

2013-03-12 Thread Charles Chance
Hi Daniel, They were downloaded yesterday afternoon. We have downloaded again just now and the problem seems to have gone away. Sorry, we should have spotted the newer packages today and tried them first :/ Many thanks, Charles On 12 March 2013 13:30, Daniel-Constantin Mierla

[SR-Users] Porting kamailio4 to OpenWrt

2013-03-12 Thread Jiri Slachta
Hello everyone, I am new to this list and I am a newbie when it comes to Kamailio details, so sorry for any of my misunderstandings. I am the author of kamailio3 package in OpenWrt and currently I am trying to port recent major release of kamailio to OpenWrt. Let's jump directly to my

Re: [SR-Users] Porting kamailio4 to OpenWrt

2013-03-12 Thread Ovidiu Sas
You are cross compiling and you need to use CROSS_COMPILE. Take a look at the Makefile used to build for optware on all kind of embedded platforms: http://svn.nslu2-linux.org/svnroot/optware/trunk/make/kamailio.mk Regards, Ovidiu Sas On Tue, Mar 12, 2013 at 11:02 AM, Jiri Slachta

[SR-Users] how to extract the ip address in the via header received paramter

2013-03-12 Thread Ajay Sabat
Hi, I want to extract the IP address in the received parameter of the top most via header of a response and use that in a custom header while sending response back to the caller. Can somebody please tell how to implement that in the Kamailio configuration file? I need to handle a NAT

Re: [SR-Users] High availability

2013-03-12 Thread Moacir Ferreira
The limitation is when the client phone is not srv aware. But anyway, for sure this would be the best solution. So, if I understood, we install 2 servers (let's say server A and server B) and both use the same SQL server/database and we create 2 sip-srv's in our DNS, done. Is this? Now,

[SR-Users] Message Waiting

2013-03-12 Thread Daniel W. Graham
While I have seen other posts I have not found anything that describes my scenario. Kamailio sets in front of a group of asterisk servers which are used in a round robin dispatch group. All asterisk servers share a common database in which voicemail boxes are defined and messages are stored.

Re: [SR-Users] Message Waiting

2013-03-12 Thread Charles Chance
The script method works fine for us - but we use the externnotify option in voicemail.conf instead of scanning for changes at directory/database level. Regards, Charles On 12 March 2013 19:32, Daniel W. Graham d...@cmsinter.net wrote: While I have seen other posts I have not found anything

Re: [SR-Users] Message Waiting

2013-03-12 Thread Daniel W. Graham
Can you describe how your implementation works without having to scan directory/database for changes? -Dan From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Charles Chance Sent: Tuesday, March 12, 2013 3:42 PM To: Kamailio (SER) - Users

Re: [SR-Users] High availability

2013-03-12 Thread Daniel W. Graham
Yes, srv record for both. You can control where the requests go using priority/weights. The location(registration) records are stored in the database, so the registrations are not bound to a specific server. For high availability I have had good luck with corosync / pacemaker combination for

Re: [SR-Users] Message Waiting

2013-03-12 Thread Charles Chance
The script you specify (e.g. externnotify=myscript.sh) runs every time a new message is left for a user or when a user exits the VoiceMailMain() application (for instance, if they have dialled in to clean up their mailbox). The voicemail application passes certain things as parameters to your

Re: [SR-Users] Message Waiting

2013-03-12 Thread Daniel W. Graham
I read that right after I posted my next question, sorry for jumping the gun without doing some research. Do you mind me asking what method you use for generating the notifications, asterisk call file / sipsak / etc ? From: sr-users-boun...@lists.sip-router.org

[SR-Users] Failover on carrierroute

2013-03-12 Thread Juha Heinanen
Ali Jawad writes: What I need is to only go to the secondary carrier if all the gateways of the primary carrier are down. I thought of setting up 4 t_on_failure branches with carrierroute but that will be troublesome to maintain. Is there another method for this ? i don't know about

Re: [SR-Users] Message Waiting

2013-03-12 Thread Charles Chance
Sipsak is generally what we use, although any similar tool should do it. Just watch the port numbers! Cheers, Charles On 12 March 2013 19:58, Daniel W. Graham d...@cmsinter.net wrote: I read that right after I posted my next question, sorry for jumping the gun without doing some research.

Re: [SR-Users] Message Waiting

2013-03-12 Thread Daniel W. Graham
Ok, very good, and will watch the port number :) Thanks for sharing your solution, it seems like a clean solution to the issue at hand. If anyone else is doing something different I'd love to hear as well. Running with this solution for now, thanks again Charles. -Dan From: