Hi,
Kamailio is running fine, but when I try run again by command line without
killing the previous, the kamailio_fifo is removed and functions fifo in
kamctl doen't work anymore. Why when I try running kamailio when already
exist one, it remove de file kamailio_fifo?
I can't find the part of source code that file kamailio_fifo is removed...
Someone knows?
Best Regards
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 Kamailio as SIP server & Asterisk as PBX. to be fair I need to learn more about FreeSWICH to test it well.
My Question is about Kamailio installation; I am using FreeBSD 9 attached my uname -a
FreeBSD PBX.XXXXX 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
I've used gmake for building, compiling and installation. Everything goes smooth EXCEPT mysql db installation when I use sh /usr/local/sbin/kamdbctl create
I am getting the following error:
/usr/local/lib/kamailio//kamctl/kamdbctl.base: 36: Syntax error: Missing '}'
Thanks a lot for your valuable time and that amazing project (Kamailio).
Amr
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 can always connect
2. imsdroid on Android can sometimes connect and works (about 10 % of attempts)
When I run tcpudmp on the server during the unsuccessfull attempts, I see something like this:
> 1 1 0.0347 (0.0347) C>S SSLv2 compatible client hello
> Version 3.1
> cipher suites
> TLS_RSA_WITH_AES_128_CBC_SHA
> 1 2 0.0360 (0.0013) S>C Handshake
> ServerHello
> Version 3.1
> session_id[0]=
> cipherSuite TLS_RSA_WITH_AES_128_CBC_SHA
> compressionMethod NULL
> 1 3 0.0361 (0.0001) S>C Handshake
> Certificate
> 1 4 0.0361 (0.0000) S>C Handshake ServerHelloDone
> 1 5 0.0782 (0.0420) C>S Alert
> level fatal
> value unexpected_message
> 1 0.0785 (0.0002) S>C TCP FIN
> 1 6 0.1092 (0.0307) C>S Handshake
> ClientKeyExchange
> 1 7 0.1092 (0.0000) C>S ChangeCipherSpec
> 1 8 0.1092 (0.0000) C>S Handshake
What I find particularly strange is that the client sends fatal alert and then attempts to continue with handshake. What exactly does this "unexpected_message" mean? Is the client letting the server know the last message was unexpected? Or is this telling me the server had not expected the message? It cannot be a certificate problem, can it?
Considering other clients were fine, I blamed our code at first, but I am no longer sure that is the (only) reason for this behavior. I decided to start from scratch and wrote an extremely simple application in plain C, that connects to the TLS port using openssl (which imsdroid also uses), sends some query and then prints response. It works fine on https sites, even on the same server kamailio is running and with the same certificates (our certificates come from Verisign CA G3). When I run ssldump, I can see handshake is fine, socket opened, the client is sending application data. I can see data coming in on the server using tcpdump. However, the data never reaches Kamailio - no sign of the packets in the log and no answer whatsoever (I use a fake REGISTER message so I would expect to get something like "Unauthorized" back).
The same happens, when I try to use openssl s_client to connect to the site and send "register" message (because R at the start of packet triggers renegotiation in s_client, uff).
My TLS settings in Kamailio are pretty much default, only using my own key and certificate.
regards, jjj
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 function call should also export the appropriate flag setting from the memcache library function call, then just add it here.
Best regards,
Henning
From: Dragos Oancea [mailto:droancea@yahoo.com]
Sent: Monday, March 11, 2013 8:24 PM
To: Henning Westerholt
Subject: Re: memcached and other things
Hi Henning,
Other means. a perl script.
Dragos
> 0(21130) DEBUG: memcached [mcd_var.c:87]: allocate new memcache request at
> 0x7f747fb798f0
> 0(21130) DEBUG: memcached [mcd_var.c:93]: allocate new
> memcache result at 0x7f747fb79a70 0(21130)
> DEBUG: memcached [mcd_var.c:103]: result: 'just_A_text' for key 888_HA1 with
> flag 0
> 0(21130) ERROR: memcached [mcd_var.c:146]: could not convert string
> 'just_A_text' to integer value
> 0(21130) DEBUG: memcached [mcd_var.c:159]: free memcache request and result
> at 0x7f747fb798f0
The issue is that the module somehow does not evaluate the string variable
_from memcached_ as a string, it tries to evaluate it as integer. This
obviously fails.
Has this value set from kamailio or is this from some external application?
Then probably this application does not set the proper flags which kamailio
expects.
Regards,
Henning Westerholt
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 load balance the inter-site SIP traffic across the available links with a 20/20/60 traffic split (dispatcher, carrierroute).
Each Kamailio server has multiple IP addresses and these are used to direct traffic to specific routes (Kamailio at site A IP 111.111.111.1 to Kamailio site B 111.111.111.2 defines route X for example).
For any given call, the complete call (SIP and both RTP streams) should travel wholly over one route.
I would welcome any suggestions about how best to route the whole call (sip & rtp) over a specific route,
I was working on a solution with multiple RTPProxy instances, but was wondering if this is the best solution.
Thanks in advance.
Mark
Kamailio v4.0.0 is out – a special major release, shifting up first
number of versioning string!
It is the landmark for the end of Kamailio-SER integration, bringing out
as well a very large set of new features and improvements, like
websocket support or dozens of IMS extensions.
You can read detailed release notes at:
* http://www.kamailio.org/w/kamailio-v4-0-0-release-notes/
Many thanks to all developers and community members that made possible
this release.
Enjoy Kamailio v4.0.0!
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
- http://conference.kamailio.com -
Hello,
the plan is to release final Kamailio v4.0.0 tomorrow, Monday, March 11,
2013.
If any developer/packager has something to add to the release, please
commit by 12:00GMT to GIT branch 4.0. After that, announce first on
sr-dev and wait for an ack, to avoid packaging inconsistent content.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
- http://conference.kamailio.com -
Dear all
While lots of request come to my Kamailio 3.1.x in the same time , server
is returning "500, Server Internal Error" to some of the request.
What should i do if i want to reduce the number of "500" response?
chanea
Hi All,
I am in process of integrating a sip server (Lync) with XMPP server
(kamailio).
Can a kamailio server be used as a sip to xmpp gateway and vice versa.
If i am using any other xmpp server and want to integrate with lync will
kamailio can be used as a gateway.
This integration is maily for IM and presence.
If it can be done what configuration should be done to kamailio.conf file.
Please provide the inputs. I am very much need of it. If anybody has done
already the above testing please provide DOCS.
Thanks in advance,
Vinay