http_query function takes an url as the first argument, for example,
http_query("http://localhost/test.php?uri=$(ru{s.escape.param})",
"$var(result)");
what i would like to do is this:
http_query("$sel(cfg_get.local.http_query_url)", "$var(result)");
that is, instead of giving url argument as a fixed string, i would like
to take it from cfg variable.
the problem is that if i give local.http_query_url string value
"http://localhost/test.php?uri=$(ru{s.escape.param})", pseudo variables
and transformations in the value are not evaluated.
is there any current means to get them evaluated? something like
http_query(eval("$sel(cfg_get.local.http_query_url)"), "$var(result)");
????
-- juha
Hey,
Is this format still valid in Kamailio 3.0 ?
modparam("module1|module2|module3", "db_url",
"mysql://me:secret@server/database")
This line :
modparam("auth_db|usrloc|acc|domain|avpops|presence|presence_xml|pua|dialog",
"db_url", "mysql://kamailiodev:kamailiosecret@192.168.1.10/kamailiodev")
gives me this error :
-e
0(9334) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter
<db_url> not found in module <pua_dialoginfo>
0(9334) : <core> [cfg.y:3333]: parse error in config file
/etc/kamailio/kamailio.cfg, line 399, column 153: Can't set module parameter
ERROR: bad config file (1 errors)
0(9334) ERROR: dialog [dlg_db_handler.c:177]: invalid database handle
Funny thing is I have not set the module parameter for pua_dialoginfo,
looks like kamailio is getting confused with my pipes, if I name each
parameter one at a time, it works fine.
Any thoughts on this?
David
I have a customer who has just started operating a dialer. Over the
past couple of days this dialer has been creating some minor issues with
our US48 termination. We are currently running Server:: Kamailio
(1.5.1-notls (x86_64/linux)).
I would like to limit on a subscriber by subscriber basis the amount of
outgoing calls per second that they can do. I am reading through the
ratelimit module documentation, but haven't been able to determine if I
can use it to limit one particular subscriber outgoing activity. I have
also looked at the pike module, and think that I may be able to use it
in order to limit calls per second by IP. Does anyone have any
recommendations, suggestions, or examples that can be used to control
the calls per second based on the kamailio subscriber name.
Stagg Shelton
VocalCloud
Hi all,
i'm happy to announce a new developer for the sip-router project:
Timo Reimann.
Timo is an experienced developer in our offices in Karlsruhe and since over
one year part of the team that develops our VoIP backend services. His past
work involved extensions for the dialog module and also a new lawful
interception solution that we use in-house. He contributed (with some other
developers) to the new dialog design in the last months and will continue to
work on this in the future.
Best regards,
Henning
--
Henning Westerholt - Development Consumer Products / Consumer Core
1&1 Internet AG, Ernst-Frey-Str. 9, 76135 Karlsruhe, Germany
The ClueCon team would like to let everyone in the Kamailo community know
that Daniel-Constantin Mierla is one of many speakers at this year's ClueCon
event. ClueCon MMX will be held in downtown Chicago, August 3-5, at the
Trump Hotel and Tower. Daniel's talk is entitled, "Blending FreeSWITCH and
Kamailio to Build Large Unified Communication Platforms." It will be one of
many highlights for those attending this year.
Speakers, sponsors, and attendees will be coming from around the world to
attend. ClueCon is a great place to meet fellow open source telephony
developers, users, and businesspersons. Among the speakers this year are:
Anthony Minessale, author of the FreeSWITCH project
Michael Picher, author of "Building Enterprise Ready Telephony Systems with
sipXecs 4.0" (Packt)
Matt Florell, author of the ViciDial Call Center Suite
Moises Silva, software engineer, Sangoma Technologies
Darren Schreiber, founder of the 2600Hz project and former lead developer of
FreePBX V3
ClueCon attendees will enjoy not only the formal presentations by these and
other speakers but they will have ample time after the sessions to interact
directly with them. Attendees also have time to speak directly with other
delegates as well as representatives of ClueCon sponsors - all in a relaxed
environment without the traditional gauntlet of vendor booths.
A highlight that everyone looks forward to each year is the collection of
giveaways. This year ClueCon will give away two iPads and a Macbook Pro!
Additionally, the sponsors will be giving away lots of great prizes. All
paid attendees are eligible to win.
To learn more about ClueCon visit http://www.cluecon.com or call
877-742-CLUE (2583).
We hope to see many Kamailio community members at ClueCon this year!
The ClueCon Team
http://www.clueccon.com
877.742.CLUE
Hi all,
SIPv6 UA Can't receive a 420 (Bad Extension) response from openser register server after sending Registrar with Non-supported option-tag in Require filed. The details can be as follows:
1 Test topology:
NUT(REG && PX) UA11 UA12 DNS
| | | |
IP : 3ffe:501:ffff:50::50 3ffe:501:ffff:1::1 3ffe:501:ffff:2::2 3ffe:501:ffff:4::1
aor-uri : ss.under.test.com UA11(a)under.test.com UA12(a)under.test.com
contact-uri : UA11(a)node.under.test.com UA12(a)node11.under.test.com
2 tcpdump file can be seen in "19 SIP Registrar- REGISTER request with two Contact header values and update failure.pcap" attachment
3 openser configuration file can be seen in "openser.cfg" attachment
How can I modify the configuration file if I want to receive 420 (Bad Extension) ?
--------------------------------------
Regards!
Hu xiaoqiang
Hi all,
SIPv6 UA Can't receive a 500 (Server Error) response from openser register server after sending REGISTER request with two Contact header field values. The details can be as follows:
1 Test topology:
NUT(REG && PX) UA11 UA12 DNS
| | | |
IP : 3ffe:501:ffff:50::50 3ffe:501:ffff:1::1 3ffe:501:ffff:2::2 3ffe:501:ffff:4::1
aor-uri : ss.under.test.com UA11(a)under.test.com UA12(a)under.test.com
contact-uri : UA11(a)node.under.test.com UA12(a)node11.under.test.com
2 tcpdump file can be seen in "19 SIP Registrar- REGISTER request with two Contact header values and update failure.pcap" attachment
3 openser configuration file can be seen in "openser.cfg" attachment
How can I modify the configuration file if I want to receive 404 (Not Found)?
--------------------------------------
Regards!
Hu xiaoqiang