Hi
This is a re-post. I'm desperate.
What I'm trying to do:
Use rpmbuild to build kamailio rpms from source code. We made a lot of changes in the kamailio code. I can't use the rpms from the build service. The plan is to push these changes to kamailio but that's not done, yet.
The problem is when I try to install kamailio-snmpstats module from the rpm built, it reports error:
Error: Package: kamailio-snmpstats-4.0.0-0.el6.x86_64 (company_name)
Requires: net-snmp-agent-libs
I've installed net-snmp on the build machine and the machine that needs to install kamailio-snmpstats.
I have tried to use the kamailio.spec file from kamailio build server but it didn't solve the problem.
Can anyone help, please?
Regards,
Allen
I was wondering how many levels deep in conditional _if_ _else_
statements can go. I need to create a statement that has 4 possible
outcomes and need to know if this is possible.
I have two variables
I want one thing to happen if only the first variable is present
Another if only the second variable is present
Yet another if they are both present
And a fail over if None of the variables are present
I do see that is can be done with 3 conditions using _if_ _if else_
_else_
how can I accomplish 4 conditional statements?
Thank you in advance
Joel
Can anyone show me how to use the regexp global flag using dp_translate?
-H
From: Henry Fernandes <henry(a)usinternet.com>
Reply-To: "Kamailio (SER) - Users Mailing List"
<sr-users(a)lists.sip-router.org>
Date: Friday, 11 July, 2014 4:18 PM
To: <miconda(a)gmail.com>, "Kamailio (SER) - Users Mailing List"
<sr-users(a)lists.sip-router.org>
Subject: Re: [SR-Users] how to remove non-digits using dp_translate
I don't know how to apply the global flag in Kamailio. Can you give me an
example?
-H
From: Daniel-Constantin Mierla <miconda(a)gmail.com>
Reply-To: <miconda(a)gmail.com>, "Kamailio (SER) - Users Mailing List"
<sr-users(a)lists.sip-router.org>
Date: Thursday, 3 July, 2014 1:47 AM
To: "Kamailio (SER) - Users Mailing List" <sr-users(a)lists.sip-router.org>
Subject: Re: [SR-Users] how to remove non-digits using dp_translate
Hello,
you have to replace [^0-9] with empty, using the global flag.
Cheers,
Daniel
On 02/07/14 23:11, Henry Fernandes wrote:
>
> I'd like to use the dialplan module to remove all non-digits from a string.
> For example, "1-306-555-1234" becomes "13065551234" and "(306) 555-1234"
> becomes "3065551234".
>
>
>
>
> Unfortunately, I can't figure out the regular expressions for subst_exp and
> repl_exp. I can easily replace one instance of a non-digit, however I can't
> figure out how to replace all non-digits.
>
>
>
>
> -H
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listi
> nfo/sr-users
>
--
Daniel-Constantin Mierla -
http://www.asipto.comhttp://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
_______________________________________________ SIP Express Router (SER) and
Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/lis
tinfo/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
i build debian packages for rtpengine branch 3.3.0.0+0~mr3.4.1.0. after
that i did 'apt-get dist-upgrade' and it failed like this:
Setting up ngcp-rtpengine-daemon (3.3.0.0+0~mr3.4.1.0) ...
Installing new version of config file /etc/init.d/ngcp-rtpengine-daemon ...
Restarting RTP/media proxy: ngcp-rtpengine-daemonFATAL: Module xt_MEDIAPROXY not found.
iptables: No chain/target/match by that name.
ip6tables: No chain/target/match by that name.
FAILED TO CREATE KERNEL TABLE 0, KERNEL FORWARDING DISABLED
invoke-rc.d: initscript ngcp-rtpengine-daemon, action "restart" failed.
dpkg: error processing ngcp-rtpengine-daemon (--configure):
subprocess installed post-installation script returned error exit status 255
however, if i now run 'apt-get install ngcp-rtpengine-daemon', setting up
ngcp-rtpengine-daemon succeeds and also packages that depended on it
get installed fine:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ngcp-rtpengine-daemon is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up ngcp-rtpengine-daemon (3.3.0.0+0~mr3.4.1.0) ...
Restarting RTP/media proxy: ngcp-rtpengine-daemon.
Starting RTP/media proxy: ngcp-rtpengine-daemon already running.
Setting up ngcp-rtpengine (3.3.0.0+0~mr3.4.1.0) ...
any ideas why setting up ngcp-rtpengine-daemon fails with dist-upgrade?
-- juha
I have kamailio 4.1.4 installed with DB Engine as mysql. I added users using the command kamctl add and I could see the entry in subscriber table. When I am trying to register, kamailio is accepting any combination of username and password not listed in the table. What could be wrong? I followed the INSTALLATION document provided in the source file. Please help me troubleshoot this. Kamailio is up and running and not throwing any errors. kamctl moni shows 1 user registered. But the registered user doesn’t even exist
Server Details
OS : Centos 5.5
Kamailio version - 4.1.4
MySQL version - 5.0.95
Cibin
Hi,
I'm using kamailio with two network interfaces also running rtpproxy on the
same interfaces so rtpproxy is load balancing, when one of the connections
is down rtprpoxy still sends 50% of the calls in that interface.
How can i make rtprpoxy to do failover
from the non working connection to the working one instead of load
balancing.
Thanks.
Hi,
I am running a simple command on timer in a kamailio proxy.
Here is the related parts of the config scripts:
loadmodule "timer"
> modparam("timer", "declare_timer", "tmr1=LOG_STATS,1,fast,enable");
>
> route{
> ...
> }
>
> route[LOG_STATS] {
> exec_avp("netstat -ul | grep ':sip' | awk '{print
> $$2}'","$avp(s:test)");
> xlog("L_ALERT","logged RecvQ as $avp(s:test)");
> return;
> }
>
Each time I run the "netstat" using the exec() inside the timer route
block, I get the following error from Kamailio in my log:
kamailio[28546]: : exec [../../parser/../ip_addr.h:669]: ip_addr2sbuf():
> BUG: ip_addr2sbuf: unknown address family 0
>
What is the meaning of this error, and what does kamailio mean by reporting
it as a "BUG"?
Is there any obvious reason, I am getting this? Is it related to calling
netstat to survey the RecvQ?
Thanks,
Alireza
hi,
This is Sam from Draytek Crop.
We have a IPPBX device with iptel for SIP account as below.
User B dial to IPPBX could heart the answer from Auto Attendant of IPPBX.
Then user B cannot heart anything (after input the extension of user A)
when user A pickup his telephone .
At this momemt, user A could hear everything from user B.
This Network Architecture worked fine before.
And it still works fine now if we select the account of "draytel.org".
Please show us how to solve the problem.
Best Regards,
Sam Hu
I am having an issue where I enable presence modules and the SCA module
stops working. I disable presence and SCA works fine on Polycom phones.
Does anyone know what I am missing or doing wrong?
Thank you in advance
Joel
there is a function to reset a flag or bflag, but i haven't found one
that would reset all flags or bflags.
is there a way to do it? if not, is it ok to add such function?
-- juha