Hi!
IMO the description "Import Default Data" (Import Default Data - this
imports initial data into database 'siremis') is too ambiguous (at least
it successfully confused me and I had to dig into the code to find out
what it really does).
Suggestion:
Create Siremis Tables (Create Siremis Tables - this creates the tables
in the siremis DB and fills it with inital data).
regards
Klaus
In 3.1.1 this worked just fine. In 3.1.3 it is giving me an error. I
am unsure what to check at this point for why it would be failing. I am
doing a kamailio -c to validate the config and not actually launching
the program but I do not think that should cause this.
modparam("app_lua", "register", "sqlops")
sqlops.so is loaded.
if I remove that modparam line the config validates, however the lua
script would fail because it uses sqlops.
modules.lst is the same for building.
While I do not think that it is lua specific, both are using
liblua5.1.0, one is Ubuntu 11.04 natty (where it fails) and the other is
Debian wheezy (where its working).
0(18226) WARNING: <core>
[sr_module.c:578]: /usr/local/kamailio/lib64/kamailio/modules/app_lua.so: exports dlflags interface is deprecated and it will notbe supported in newer versions; consider using mod_register() instead
0(18226) : <core> [cfg.y:3412]: parse error in config file kamailio.cfg,
line 262, column 41: Can't set module parameter
As a side note the "notbe supported ..." line is missing a space between
not and be and a newline at the end.
--
Trixter aka Bret McDanel
website: http://www.0xdecafbad.com
pgp key: http://bit.ly/9XYK4b
Hi,
I am trying to get kamailio (or more specific rtpproxy) to play a wav file when a call is setup
In kamailio.cfg I have added the command in the onreply_route
rtpproxy_startrecording();
rtpproxy_stream2uas("/var/log/rtpproxy/message","-1");
I am sure the command is executed and given from kamailio to rtpproxy because in syslog I see following output (using dbug output of rtpproxy)
rtpproxy[2648]: DBUG:handle_command: received command "P-1 024a73d95bbe016014de647e700 /var/log/rtpproxy/behappy session 487095817;1 024a73d95bbe015f14de647e700;1"
rtpproxy[2648]: DBUG:doreply: sending reply "E6#012"
rtpproxy[2648]: DBUG:handle_command: received command "R 024a73d95bbe016014de647e700 487095817 024a73d95bbe015f14de647e700"
rtpproxy[2648]: DBUG:doreply: sending reply "0#012"
The "R" command is the startrecording command and that is indeed working perfect. (recording to /var/log/rtpproxy)
The "P" command is the "Playing or stream2uas" command. Seems that the message rtpproxy gets differs a bit from the one I found in the rtpproxy manual
from the manual :
P[args] callid play_name codecs from_tag to_tag
Direction of the playback is defined by the order of the from_tag and to_tag parameters.
R callid from_tag to_tag
I have used the command " makeann behappy.wav behappy" to convert a wavfile. It gave me a .0 and .a file which I have placed in the /var/log/rtpproxy directory (makeann comes with the rtpproxy source and is rather a bit shy with information to say the least ;) )
There is not too much information or examples found about this so I was hoping maybe somebody on this list could help me in finding out why i'm not getting more information in syslog and why i'm not hearing the audiofile.
Best regards
>From the transformations documentation:
>>{s.strip,len}
>>Return string after removing starting 'len' characters. Parameter 'len' can be positive integer or pseudo-variable holding a positive integer.
I tried to use pvar holding len but got an error:
Jul 11 14:51:37 localhost /usr/sbin/kamailio[16905]: ERROR: pv
[pv_trans.c:434]: select cannot get p1
Jul 11 14:51:37 localhost /usr/sbin/kamailio[16905]: ERROR: <core>
[lvalue.c:351]: non existing right pvar
This is part of my config file:
$avp(varname) = '1'; <---- pseudo variable holding
a positive integer
$avp(result) = $(fU{s.strip,$avp(varname)}); <---- s.strip
How can i use variables with transformation ?
>From the transformations documentation:
> {s.strip,len}
> Return string after removing starting 'len' characters. Parameter 'len' can
> be positive integer or pseudo-variable holding a positive integer.
I tried to use pvar holding len but got an error.
Jul 11 14:51:37 localhost /usr/sbin/kamailio[16905]: ERROR: pv
[pv_trans.c:434]: select cannot get p1
Jul 11 14:51:37 localhost /usr/sbin/kamailio[16905]: ERROR: <core>
[lvalue.c:351]: non existing right pvar
This is part of my config file:
$avp(varname) = '1'; <---- pseudo variable holding a
positive integer
$avp(result) = $(fU{s.strip,$avp(varname)}); <----
s.strip
How can i use variables with transformation ?
Hello all,
I'm interested in using the memcached module however it requires libmemcache instead of libmemcached. As libmemcache is no longer supported I was curious if anyone had successfully patched the module to use libmemcached instead. Also as a side note, the provided rpm spec files in the git repo erroneously contains a reference to libmemcached.
Thanks,
Spencer
Spam detection software, running on the system "mail.iptel.org", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Salute! I take up a position of HR manager in a large multinational
company. Our enterprise is inseparably connected with a great number of various
activities, like: - estate property - founding and abatement of enterprises
- supporting in opening of banking accounts - etc. [...]
Content analysis details: (23.1 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist
[URIs: totaljoblists.net]
1.6 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist
[URIs: totaljoblists.net]
1.7 URIBL_DBL_SPAM Contains an URL listed in the DBL blocklist
[URIs: totaljoblists.net]
3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100%
[score: 0.9981]
3.2 FH_HELO_EQ_D_D_D_D Helo is d-d-d-d
3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL
[2.60.89.135 listed in zen.spamhaus.org]
0.4 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL
1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
[Blocked - see <http://www.spamcop.net/bl.shtml?2.60.89.135>]
1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL,
https://senderscore.org/blacklistlookup/
[2.60.89.135 listed in bl.score.senderscore.com]
1.4 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT
[2.60.89.135 listed in bb.barracudacentral.org]
0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines
1.0 RDNS_DYNAMIC Delivered to internal network by host with
dynamic-looking rDNS
0.0 T_URIBL_BLACK_OVERLAP T_URIBL_BLACK_OVERLAP
2.0 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr
1)
Spam detection software, running on the system "mail.iptel.org", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Hello! I am a superintendent of Human Resources department
of a large international company. Our company takes an active part in the
life of its subsidiaries, for instance: \ real estate \ logistics \ private
undertaking service \ etc. [...]
Content analysis details: (12.1 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL
[212.164.140.23 listed in zen.spamhaus.org]
1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist
[URIs: totaljoblists.net]
1.6 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist
[URIs: totaljoblists.net]
1.7 URIBL_DBL_SPAM Contains an URL listed in the DBL blocklist
[URIs: totaljoblists.net]
1.4 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT
[212.164.140.23 listed in bb.barracudacentral.org]
0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines
1.5 BAYES_60 BODY: Bayes spam probability is 60 to 80%
[score: 0.6047]
0.0 T_URIBL_BLACK_OVERLAP T_URIBL_BLACK_OVERLAP
0.8 RDNS_NONE Delivered to internal network by a host with no rDNS
Hi
Is it possible to use string names also for on_reply and failure_route blocks?
I guess these errors when starting kamailio
Jul 8 10:00:25 registrar kamailio: : <core> [cfg.y:3412]: parse error in config file /usr/local/kamailio-3.1//etc/kamailio//kamailio.cfg, line 432, column 41: syntax error
Jul 8 10:00:25 registrar kamailio: : <core> [cfg.y:3412]: parse error in config file /usr/local/kamailio-3.1//etc/kamailio//kamailio.cfg, line 432, column 41: '('')' expected (function call)
Jul 8 10:00:25 registrar kamailio: : <core> [cfg.y:3412]: parse error in config file /usr/local/kamailio-3.1//etc/kamailio//kamailio.cfg, line 432, column 41: function t_on_reply: parameter 1 is not constant
Jul 8 10:00:25 registrar kamailio: : <core> [cfg.y:3412]: parse error in config file /usr/local/kamailio-3.1//etc/kamailio//kamailio.cfg, line 432, column 41: bad command
thank you
fborot
Hi
Is there a way of tracing the path a request takes as it is being processed by the config file? Aside from logging using xlog().
I am not sure whether I read about this some where on the web , but I am under the impression that starting on version 3.x there was going to be a similar feature.
please advise
fborot