I have some extra columns to load from the 'subscriber' table':
modparam("auth_db", "load_credentials",
"$avp(s:fruit_id)=fruit_id");
Is there any way to get auth_db to only load this column for one realm
and not another? I use multiple realms (tables) and one of them doesn't
have this column.
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
Hi,
I am using force_send_socket as I have two interfaces. It works fine but at
the moment I am hard coding the IP address. I want to use a variable
instead, I have tried the following:
force_send_socket($sel(cfg_get.kamailio.bindip);
But kamailio doesn't start and complains about the format.
Any ideas?
Thanks,
Keith
Hi,
According to documentation, using kamailio's rtpproxy-ng module with
mediaproxy-ng service, it is possible to make webrtc to sip calls and vice
versa,
However i am stuck since morning to make JSSIP (in chrome) to phonerlite
(in Windows 8) calls. There is not working example or sample code anywhere
either. So i was wondering if anyone has actually tries that successfully
and would care to share some samples for us.
So, far i tried "+SP" flags for phonerlite to JSSIP calls and "-sp" for
JSSIP to phonerlite calls in "rtpproxy_manage" method. Apparently both
calls connects but then drop after a few seconds of ACK. Which indicate the
problem is likely to be on mediaproxy-ng end rather then kamailio..
Thank you.
--
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk(a)hotmail.com
Email: shaheryarkh(a)googlemail.com
Hi,
Let route[FOO]{...} returns -1, 0, or 1 value.
Next example never print message in case -1:
switch (route(FOO)) {
case -1:
xlog("L_INFO", "FOO = -1\n");
break;
case 0:
xlog("L_INFO", "FOO = zero\n");
break;
case 1:
xlog("L_INFO", "FOO = +1\n");
break;
}
Result from route(FOO) less then to zero converted to 0, so never get label
-1,
but next example works properly (when use $rc):
route(FOO);
switch ($rc) {
case -1:
xlog("L_INFO", "FOO = -1\n");
break;
case 0:
xlog("L_INFO", "FOO = zero\n");
break;
case 1:
xlog("L_INFO", "FOO = +1\n");
break;
}
Is this bug, or regular behavior ?
Regards,
Seudin
Hello,
only F_MALLOC and Q_MALLOC were tested for production. The others are
attempts to have alternatives, you should test it well and see if you
get any benefits there.
Cheers,
Daniel
On 10/12/13 07:15, Surendra wrote:
>
> Hi Daniel-Constantin Mierla,
>
> Could you please help me on this..
>
> What is the difference between these two defines
> F_MALLOC and SF_MALLOC. Currently we are compiling with F_MALLOC option.
>
> When we can enable SF_MALLOC define, Will it improve
> the performance?
>
> Please find our server architecture:
>
> Intel(R) Xeon(R) Quad Core 2.40GHz with 24 G RAM and around 621G Hard
> Disk---Os versi0n: rhel5
>
> Thanks in advance
>
> @surendra
>
>
>
> _______________________________________________
> 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 - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Here's the issue:
I have a FreePBX server running at a location that
1. Is not directly accessible from all the outside locations I would be at
2. I don't want the SIP ports directly open to it from the whole
world anyway for security reasons.
I have a VPS that I am currently using as a pure SIP redirector via
firewall rules, and the main location allows connection from the VPS
only.
The issue I've run into (which is the same issue as having the main
server open to the world), is that I still get a fair number of
exploit hits to the server.
What I'd like to do is use Kamailio as an authenticating proxy so I
could use fail2ban on the VPS to ban the offenders when they try to
exploit the server.
Basically I want Kamailio to handle passing authentication back and
forth from the client to the actual server and then handle proxying
the full connection when the auth is correct.
Is this doable?
If so, how would I go about setting it up?
It looks like Kamailio should be able to do just about anything, but I
don't know where to start.
Thanks.
Mark II
--
Mark D. Montgomery II
http://www.techiem2.net
Hi all!
Can I create dialog structures via dmq?
for example, two K. share IP via carp. Active K. (carp master) process
calls, create dialogs and send it to slave. When master die, slave
became master and has complete info 'bout registered clients and
dialogs.
--
WBR, Victor
JID: coyote(a)bks.tv
JID: coyote(a)bryansktel.ru
I use FREE operation system: 3.10.19-calculate GNU/Linux
Hello,
How do I concatenate a string to an avp variable?
$avp(s:caller) = $fU;
if($(avp(s:caller){s.substr,0,2}) != "00") {
$avp(s:caller) = "00$avp(s:caller)";
}
This piece of code does not work as the value of $avp(s:caller) is "00$avp(s:caller)"
Hi Daniel-Constantin Mierla,
Could you please help me on this..
What is the difference between these two defines F_MALLOC
and SF_MALLOC. Currently we are compiling with F_MALLOC option.
When we can enable SF_MALLOC define, Will it improve the
performance?
Please find our server architecture:
Intel(R) Xeon(R) Quad Core 2.40GHz with 24 G RAM and around
621G Hard Disk-Os versi0n: rhel5
Thanks in advance
@surendra
Hello,
I'm seeing Kamailio generating 408 Request Timeout responses which are sent back to the originator. And it also generates a CANCEL to the terminating party. I assume this is normal behavior.
Which timer controls this timeout? Is the 408 generated only when no final reply is received?
Regards,
Grant