Hey All,
We are load testing Kamailio 4.2.3 and we are seeing the waiting within the transaction manager increasing. I’ve increased the children from 8 to 16 to 24, but we are still seeing a large amount of waiting. I don’t see an errors in the logs. Can anyone give me a clue on where to look.
05-02-18_03:07:38 PM
tm.stats
{
current: 390
waiting: 226
total: 2361
total_local: 0
replied_locally: 1406
6xx: 0
5xx: 0
4xx: 88
3xx: 0
2xx: 3180
created: 2361
freed: 1971
delayed_free: 0
}
Mack Hendricks / Head of Support / dOpenSource
web: http://dopensource.com <http://dopensource.com/>
support: +888-907-2085
dSIPRouter <http://dsiprouter.org/> - GUI focused on implementing Kamailio to provide SIP Trunking and PBX Hosting Services
Hi,
Is there any way in Kamailio where I can suppress sip registration
authentication.
I want, Kamailio can send 200 OK for sip registration without going for 401
Unauthorized.
Please tell me if you have such configuration in Kamailio.
thanks
Bipin
Hello,
I'm a a bit confused as to when string concatenation will work in kamailio
config file. So far I have identified the following cases:
Working:
As part of the right hand side of an assignment:
$var(x) = "string1" + "string2";
String argument of some functions:
xlog("L_ERR", "string1" + "string2" + DEFINED_STRING + '\n');
Conditional Statements:
if ( ru =~ "$" + "sip:" + $var(user) ) {
Not Working:
In string transformations (the fact that quotes is not part of the argument
should give a hint though:
$var(x) = $(var(y){s.replace,match,"repl1" + "repl2"});
String argument of some other functions:
append_hf_value("P-Asserted-Identity", "<" + "$var(new_pai)" + ">");
lookup("location", "sip:$var(username)@" + SIP_REALM_DEFINITION));
In module parameter definitions:
modparam("nathelper", "sipping_from", "sip:keepalive@" +
SIP_REALM_DEFINITION)
So far, I have found this to be fairly consistent, except for use within
functions. For example, string concatenation works for the second argument
of xlog, but not for the string arguments of append_hf_value() or lookup().
Is there anyway to know this for each function beforehand, or is my only
choice to go through trial and error here? Thanks!
BR,
George
I have Kamailio 5.1 installed and running with 2 extensions, 201 and 202 registered. Both extensions can call each other perfectly.
Next I am workin on inbound calls. I have an inbound call from a carrier that arrives perfectly but ends up in this area of the cfg
case -3: send_reply("404", "Not Found"); exit;
and sends a 404 not found.
How do I :
- Associate the 10 digit DID to the 201 or 202? Custom table I make or is there something native to Kamailio.
- Relay the call to the 201 or 202.
Thank in advance
KamDev
I have Kamailio 5.1 installed and running with 2 extensions, 201 and 202 registered. Both extensions can call each other perfectly. I have an inbound call from a carrier that arrives perfectly but ends up in this area of the cfg
case -3: send_reply("404", "Not Found"); exit;
and sends a 404 not found.
How do I :
- Associate the 10 digit DID to the 201 or 202?
- In the cfg, check if user is registered if
- yes, relay call to user
- no relay call to VM server.
KamDev
Greetings,
I have set the auto_inv_100() parameter from the TM module so i can get
automatic "100" replies to the INVITE. However, in some cases i want to
reply to the INVITE with provisional responses (181 for example) and i
would like that "100" could be sent before the "181".
In order to achieve this, on transactions that are going to be replied with
181 i'm turning off the parameter with t_set_auto_inv(0) and the
sl_send_reply("100","Trying"). Is this the best way to do this?
Thanks
Hello,
Is it possible to configure two Kamailio servers with shared
registration database? Any SIP UA can be registered on any server but
it must transparently call another SIP UA which can be registered on
the same or on another Kamailio server.
*I configured usrloc module with below params.*
## ---------- usrloc params -------------------
#!ifdef WITH_USRLOCDB
modparam("usrloc", "db_url", DBURL)
*modparam("usrloc", "db_mode", 3)*
modparam("usrloc", "use_domain", MULTIDOMAIN)
modparam("usrloc", "timer_interval", 30)
modparam("usrloc", "matching_mode", 1)
modparam("usrloc", "cseq_delay", 10)
modparam("usrloc", "fetch_rows", 3000)
modparam("usrloc", "hash_size", 12)
modparam("usrloc", "timer_procs", 4)
modparam("usrloc", "handle_lost_tcp", 1)
modparam("usrloc", "close_expired_tcp", 1)
modparam("usrloc", "db_timer_clean", 1)
modparam("usrloc", "skip_remote_socket", 0)
modparam("usrloc", "server_id_filter", 0)
modparam("usrloc", "preload", "location")
#!endif
I am not able to make a call from kam1 SIP Registered user to kam2 SIP
Registered user.
it would be appreciable if anyone helps me to resolve the issue.
Thank you!
--
Regards,
Suresh Talasaniya.
Contact : +91-9724264776
Skype : suresh.talsaniya
Hello The list,
What do you think of the purpose of this function
Nat_Uac_test('16')
16 - Test if the source port is different from the port in the "Via" header
Correct me if I'm wrong but compare the source port of the message with the source port of the via
is only valid on the initial invite ?
All subsequent messages or replies don't list the UAC anywhere in the via.
Thanks for your replies,
Hello,
I have a project for which I need to get user data(username and password) from an external server with REST APIs.
What is the best way to achieve this?
Thanks,
Arik Halperin