Hi,
I made these kinds of tests before. I have two tips for you to pay
attention to:
1. Read about the [routes] on SIPp, It is tricky to satisfy kamailio
with SIPp scenarios.
2. Make sure your DB table is well build (use less varchars and more
integers).
I found out that there are many kamailio modules I can use to load data in
to memory and I hardly use the DB (only for ACC). I use MTREE, HTABLE,
DIALPLAN, CARRIERROUTE, DROUTING, and so to store the information I need.
And I get it with the simple functions of the module.
I load around 6 million numbers and other data which takes about 1.5 Gb of
the memory.
For getting around the real-time changes that I need to deal with (In DB
the data changes are immediately made on your service…). I have a RTIMER
every 120 sec that check is a reload is needed. If so, it reloads the
relevant data (very fast).
BR,
Uri
Hello,
On 3/20/12 12:12 PM, Stephen Dodge (Bistech) wrote:
>*
*>* Hello,
*>*
*>* I am running Kamailio 3.1.5 with a MySQL backend on CentOS. A
*>* connection to MySQL (an off box MySQL cluster) is required for every
*>* call, sqlops is used to determine destinations and acc to record CDR
*>* information.
*>*
*>* I am planning to load test our server using SIPp to generate calls, I
*>* was wondering if anyone has done something similar and could provide
*>* advice on what we should monitor on our Kamailio Server. i.e Server
*>* CPU & Memory
*>*
*>* Thanks in advance for your help.
*>*
*if you do a lot of direct DB interactions, perhaps latency of the
queries will be relevant. You can use benchmark module to see how long
it takes to execute part of the config file.
I think you don't fetch lot of records from db in config, so memory
should be no problem, however you can dump private/shared memory usage
via RPC commands within sercmd cli. CPU is a good metric always and easy
to watch with systems tools.
Cheers,
Daniel
>*
*>* Steve.
*
Hi,
Is there a way to set up maximum of 2 active roll over contacts per user?
Currently when I setup max contacts param as 2,
The third one is responding with 503 error for 3rd Register. How can we
remove one of the contacts and replace it with the
new one.
I need it when the device is switching over from Wifi to 3G and back. or
Wifi network to Wifi network switching.
Thanks
Krish Kura
Hello,
I am trying to add TLS support to kamailio PCSCF sever.
After defining WITH_TLS value and editing tls.cfg file for right path
to certificate and key
I am still getting following errors:
Mar 26 10:23:03 pcscf /usr/sbin/kamailio[12916]: ERROR: pcscf
[mod.c:951]: ERR:P-CSCF:mod_init: get_tls_session_hash not found !
Mar 26 10:23:03 pcscf /usr/sbin/kamailio[12916]: ERROR: <core>
[sr_module.c:875]: init_mod(): Error while initializing module pcscf
(/usr/lib/kamailio/modules/pcscf.so)
Mar 26 10:23:03 pcscf kamailio: ERROR: <core> [daemonize.c:269]: Main
process exited before writing to pipe
Is tls supported yet ?
Will by packages in your repository updated to work with kamailio 3.2
? Or any future updates of kamailio-ims-modules ?
Thank you for help
Best regards
Lubo
Hi all,
I don't know if I'm in the right mailing, if not sorry in advance, if
yes why I can't insert record in the mysql database for call accounting
because it seems like the request is not complete.
I put an attachment file, mysql log and /etc/freeradius/sql.conf.
Thanks.
--
Rabary Teddy
Gulfsat Madagascar
Service Technique
+261-203-085-085
+261-345-600-080
Inutile d'imprimer ce mail
Hi all,
I'm having an issue with ACK's being proxied. When an INVITE first comes in (new transaction, new dialog), I do a 'www_challenge(...)'. This makes the proxy send a '401 Unauthorized' reply. The client acknowledges this reply with "ACK". This ACK is 'absorbed' by the proxy.
When during an established call/dialog the client sends an INVITE to set the call on hold, this is an in dialog INVITE (with to-tag etc). Although authentication for this INVITE isn't very necessary, my script does 'www_challenge' anyway. The proxy sends '401 Unauthorized', the client responds with 'ACK'. This ACK however is not 'absorbed' as it should be, but forwarded/proxied (or at least handed over to the routing script). Is this intended behaviour? If so, how can I recognize this ACK to be able to drop it?
I found some related info in this email thread: http://lists.kamailio.org/pipermail/devel/2008-December/017246.html but doesn't discuss this exact issue.
Though this isn't a big problem for me (the upstream gateway ignores the ack, and I can disable authentication for re-invite's), I'm curious why the proxy behaves this way. Hopefully someone can enlighten me.
regards,
Egbert.
-----------------------------------------------------------------------
Swetha Raj wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-862072731c-0c524df936-ytpYnbv7Nb5LSAtA5JKiVfr…
You'll need to click this link to be able to chat with Swetha Raj.
To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with Swetha Raj, visit:
http://mail.google.com/mail/a-862072731c-0c524df936-ytpYnbv7Nb5LSAtA5JKiVfr…
Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
emails into "conversations"
- No pop-up ads or untargeted banners - just text ads and related information
that are relevant to the content of your messages
All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:
http://www.google.com/talk/
Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
client
We're working hard to add new features and make improvements, so we might also
ask for your comments and suggestions periodically. We appreciate your help in
making our products even better!
Thanks,
The Google Team
To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.htmlhttp://www.google.com/talk/about.html
(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).
Hello,
I am running Kamailio 3.1.5 with a MySQL backend on CentOS. A connection to MySQL (an off box MySQL cluster) is required for every call, sqlops is used to determine destinations and acc to record CDR information.
I am planning to load test our server using SIPp to generate calls, I was wondering if anyone has done something similar and could provide advice on what we should monitor on our Kamailio Server. i.e Server CPU & Memory
Thanks in advance for your help.
Steve.
________________________________
Information in this message, including any attachments, is confidential to the person to whom it is addressed and may be legally privileged. If you are not the intended recipient please notify the sender and delete the message from your system. Please note that Bistech Group plc, Bistech plc, Bisnet Limited and the sender do not accept any responsibility for viruses. It is your responsibility to check the e-mail and any attachments for viruses. Calls may be monitored and recorded.
I am not sure that exporting #defines to third-party language API modules makes much sense just because some user thought it would be neat.
The #!... constructs are all intended as preprocessor directives, to make easier management of global constant values in the native Kamailio config environment and to allow easier management of conditionally-enabled chunks of code therein, right?
Conceptually, it does not seem to me that they should have any representation outside of that evaluative context. It would be like making preprocessor macro values in C available through the libdl/ELF dynamic shared object interface. It doesn't make any sense. If you really want to export preprocessor macro-dependent values, trouble yourself to use an intermediate variable--a real variable.
In Kamailio, this would take the form:
#!ifdef MYPROJECT
#!define MYPROJECT_IP 1.2.3.4
# Exportable symbol:
myproject.ip = "MYPROJECT_IP" descr "..."
#!endif
Doesn't that make much more sense, in terms of what these directives were really intended for?
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Atlanta, GA 30030
Tel: +1-678-954-0671
Web: http://www.evaristesys.com/, http://www.alexbalashov.com
Daniel-Constantin Mierla <miconda(a)gmail.com> wrote:
>Hello,
>
>On 3/23/12 2:00 PM, Asgaroth wrote:
>> I'll check this option out, thanks for the tip Alex.
>it is a good way to do, $sel(...) are available in Lua, @... format not,
>but they are the same, just different access mechanism.
>
>>
>> I guess the other option too, which I have not tried, is to possibly
>> pass in the values as lua script parameters.
>
>Yes, you can do that. You may need to use 'subst' instead of 'define' in
>order to be able to replace the token inside another string.
>
>Exporting defines to Lua could be a good enhancement anyhow, I will
>think about and maybe add it in the near future.
>
>Cheers,
>Daniel
>
>>
>> On 23/03/12 12:12, Alex Balashov wrote:
>>> Have you considered using selectors/cfg_get variables instead?
>>>
>>> They are also a common way to store various types of "global"
>>> values/constants, with the difference that they can be accessed at
>>> run time using PV container functions instead of set at preprocessing.
>>>
>>> myproject.local_ip = "1.2.3.4" descr "IP address"
>>>
>>> $sel(cfg_get.my project.local_ip)
>>> Or SER-style: @cfg_get.my project.local_ip
>>>
>>> You can evaluate those in Lua, right?
>>>
>>> --
>>> Alex Balashov - Principal
>>> Evariste Systems LLC
>>> 235 E Ponce de Leon Ave
>>> Suite 106
>>> Atlanta, GA 30030
>>> Tel: +1-678-954-0671
>>> Web: http://www.evaristesys.com/, http://www.alexbalashov.com
>>>
>>> Asgaroth<00asgaroth00(a)gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am looking at writing a lua function that would really benefit from
>>>> accessing "variables" that I would have defined by using the #!define
>>>> statement. Is this at all possible? I've tried looking at the
>>>> documentation surrounding lua and kamailio, but I cannot see how I
>>>> would
>>>> access it. I thought I'd ask the list to see if anyone else may have
>>>> attempted this.
>>>>
>>>> for example, I may have
>>>>
>>>> #!define INTERNAL_ADDRESS 1.2.3.4
>>>>
>>>> Which I subsequently use through the the routing script to refer to the
>>>> internal address I am listening on. Now I would like to try and access
>>>> this "variable" from a lua script. Any pointers/tips/workarounds would
>>>> be greatly appreciated.
>>>>
>>>> Thanks
>>>>
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users(a)lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users(a)lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users(a)lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>--
>Daniel-Constantin Mierla
>Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
>http://www.asipto.com/index.php/kamailio-advanced-training/
>
>
>_______________________________________________
>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>sr-users(a)lists.sip-router.org
>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Greeting,
I want to ask you how the function www_authenticate("127.0.0.1",
"credentials") work and what should I put the credentials Table
Regards
Marwan
Have you considered using selectors/cfg_get variables instead?
They are also a common way to store various types of "global" values/constants, with the difference that they can be accessed at run time using PV container functions instead of set at preprocessing.
myproject.local_ip = "1.2.3.4" descr "IP address"
$sel(cfg_get.my project.local_ip)
Or SER-style: @cfg_get.my project.local_ip
You can evaluate those in Lua, right?
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Atlanta, GA 30030
Tel: +1-678-954-0671
Web: http://www.evaristesys.com/, http://www.alexbalashov.com
Asgaroth <00asgaroth00(a)gmail.com> wrote:
>Hi All,
>
>I am looking at writing a lua function that would really benefit from
>accessing "variables" that I would have defined by using the #!define
>statement. Is this at all possible? I've tried looking at the
>documentation surrounding lua and kamailio, but I cannot see how I would
>access it. I thought I'd ask the list to see if anyone else may have
>attempted this.
>
>for example, I may have
>
>#!define INTERNAL_ADDRESS 1.2.3.4
>
>Which I subsequently use through the the routing script to refer to the
>internal address I am listening on. Now I would like to try and access
>this "variable" from a lua script. Any pointers/tips/workarounds would
>be greatly appreciated.
>
>Thanks
>
>_______________________________________________
>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>sr-users(a)lists.sip-router.org
>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users