I tested passing the parameter as suggested by Konstantin and it works fine:
In kamailio.cfg :
/python_exec("SendPushNotification", $_s($tU@$td!!$fU@$fd!!$ci));
/
In our python script:
/ def SendPushNotification(self, msg, parameters):
requestUri = ""
fromUri = ""
cal
Hello,
we are using 4.4.2.
Giovanni
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/python-exec-and-parameters-tp155803p155913.html
Sent from the Users mailing list archive at Nabble.com.
___
SIP Express Router (SER) and
Hello,
thx for the info. We will check if we wait for an enhanced version of
python_exec or pass the parameters in a string.
Regards
Giovanni
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/python-exec-and-parameters-tp155803p155899.html
Sent from the Users mailing
Hello,
in our Kamailio, we are using python_exec to execute script used to send
push notifications to Google or Apple.
Currenty, the method we call only accepts the message as parameter. We then
extract from the message the Call Id, to URI and from URI.
Here is the python method signature:
*de
5265...@n5.nabble.com]
Sent: jeudi 20 octobre 2016 15:28
To: Mele Giovanni
Subject: Re: TCP FIN after 10 minutes
Hello,
do you have selinux enabled or some firewall active on the system?
Cheers,
Daniel
On 20/10/16 13:25, gmele wrote:
> Hello,
>
> we have deployed a Kamailio acting as SIP
Hello,
we have deployed a Kamailio acting as SIP proxy on a RHEL 7.2 machine.
Clients (mainly mobile phones) connects to the proxy using a TLS protected
TCP connection.
In the kamailio config, we've set :
#!ifdef WITH_TLS
enable_tls=yes
tcp_async=yes
tcp_connection_lifetime=3605
tcp_accept_no_c
Hello,
solution found. I'm now used the parameter:
mhomed=1
regards
Giovanni
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/Kamailio-as-Proxy-with-public-and-private-interface-tp151715p151717.html
Sent from the Users mailing list archive at Nabble.com.
_
Hello,
we are building a new SIP service composed by a 2 SIP Proxies and 2 SIP
Registrars. There is only one proxy active (controlled by keepalived).
To secure our SIP infra, we have decided to publish a TLS public interface
on the proxy side. The SIP registrar will not be reachable from the outs
Hello Federico,
your patch seems to work for us. Thx.
For the 2 registrars needing the transaction information, we have found
another way to solve it: in our previous config, the dispatcher
ds_select_dst was using algo 1 (from URI) for INVITE and REGISTER, meaning
that the INVITE may be done on f
Hello Federico,
the dirty patch on the TM module was just for test as we are implementing
our own softphone application (like yours @ Orange) based on Linphone, but
in another team, so asking for changes takes time.
Like you suggested, the Path module resolved our INVITE problem. Thx :-)
Now, ab
Hello Federico,
yes, we use the sip.instance as it is sent by our softphone. To validate it
is the sip.instance that is causing the error, I patched the tm module to
ignore the sip.instance in the contact info when it is written in the
location table.
In our system, we have a kamailio proxy and a
Hello Federico,
thanks for your answer. We applied the parameter and set it to 1. we also
change some of our config:
Transaction store:
===
route[RELAY] {
# enable additional event routes for forwarded requests
# - serial forking, RTP relaying handling, a.s.o.
if
Hello,
we are using tsilo to achieve mobile push notification in kamailio.
In tsilo module documentation, ts_append() function is used with the pseudo
variable “$tU” holding the username of the to-uri.
Our config looks like :
route[PUSHJOIN] {
$var(hjoin) = 0;
lock("$tu");
n 10, 2016 at 11:29 AM, gmele <[hidden
email]> wrote:
Hi Federico,
Correct me if I’m wrong, but the INVITE will be sent to all user entries
registered in the location table, right? If both the desktop client and the
mobile phone are registered in this table, but the mobile contact info
in
.org/events/2015-KamailioWorld/Day2/20-Federico.Cabiddu-Kamailio-In-A-Mobile-World.pdf
Regards,
Federico
On Fri, Jun 10, 2016 at 10:41 AM, gmele <[hidden
email]> wrote:
Hello,
we are using the TM Module* t_suspend *function in our kamailio to suspend
transactions (mainly INVITE requests).
Hello,
we are using the TM Module* t_suspend *function in our kamailio to suspend
transactions (mainly INVITE requests). We do this as we send some push
notification to the callee that will force it to re-REGISTER. Once we get
the REGISTER, we resume the transaction with a *t_continue()*.
If the
you can use 'r' flag for rtpproxy_manage() to tell rtpproxy that it should
trust the IP from sdp.
Cheers,
Daniel
On 27/05/16 09:55, gmele wrote:
Hello,
we are using an RTP Proxy from rtpproxy.org as media relay to establish
communication between our mobile phones. Of course, we
Hello,
we are using an RTP Proxy from rtpproxy.org as media relay to establish
communication between our mobile phones. Of course, we are using the
kamailio rtpproxy module to modify the SDP payload and control the proxy.
In our Kamailio configuration, we have 1 kamailio configured as Proxy and
o
Hello Daniel,
I see that the unixodbc changes have not been merged in branch 4.4. Should I
have done something on my side to have it merged on the 4.4 branch?
Thx
Giovanni
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/Kamailio-and-Oracle-database-tp147990p148360.ht
Hello,
thx, I'll do it!
Tell me: do you want me to work on the main branch or on version 4.4.0?
Regards
Giovanni
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/Kamailio-and-Oracle-database-tp147990p148288.html
Sent from the Users mailing list archive at Nabble.com
Hello Daniel,
I've updated the db_unixodbc module and tested it on our kamailio server:
all is working fine now and the watcher table is correctly updated.
Now, I'd like to push my modification on github. I'm totally new in using
github and need some help here.
I've created a github account, cre
Hello Daniel,
I add a look to the db_unixodbc and the presence modules. To correct the
ODBC replace query that is visibly not supported by Oracle, I would like to
add a new parameter in the db_unixodbc module : replaceQuery = {0:1}. 0 =
not supported, 1 = supported (default).
Now, in the presence
Hello Daniel,
I'm now investigating the presence notification module problem and the odbc
query:
replace watchers
(presentity_uri,watcher_username,watcher_domain,event,status,inserted_time,reason
) values ('sip:xxx@zzz','y',','presence',1,1462197118,'');
This query will insert a
Hello Daniel,
I found the problem: kamctl tool for oracle created a BLOB for the BODY
column of table PRESENTITY.
I changed it to CLOB and now it works better. I still have some errors in a
query to replace watchers (see below). I'm trying to investigate the problem
before boring you with that.
Hello,
it seems kamailio has a problem inserting a value in the oracle BLOB column
BODY in the PRESENTITY table.
I executed the command without the BLOB value and all is working fine. As
soon as I try to insert the BLOB, it fails.
Is there some incompatibility handling Oracle blobs?
Regards
Hello,
your patched fixed the problem! Thx.
Now, I'm able to go further in my tests with Oracle and found some problem
during the REGISTER:
May 2 12:42:50 newvm1 /usr/sbin/kamailio[554]: INFO: ims_auth
[authorize.c:893]: authenticate(): UE said: 952ef9a21b01989f1b7000625f040e44
and we expect 95
Hello Daniel,
I patched our kamailio 4.4.0 with the following modified files:
lib/srdb1/db_ut.h
lib/srdb1/db_ut.c
modules/urloc/dlist.c
I recompiled and replaced libsrdb1.so.1.0 and usrloc.so.
Now when kamailio starts, it still reports error:
May 2 11:33:43 newvm1 /usr/sbin/kamailio[15899]: E
Hello Daniel,
thx for your quick answer.
After having failed with db_oracle module, we effectively tried db_unixodbc.
But even with unixodbc, we got some strange errors when kamailio tries to do
queries including dates in the where clause:
Example of an error reported by kamailio:
May 2 08:30
Hello,
we are trying to connect our Kamailio SIP to an Oracle database. We tried
both db_oracle and db_unixodbc modules to connect to the DB.
With db_oracle, Kamailio core dumps when trying to access the
active_watchers table (caused by the oracle CLOB?). Here is the kamailio
logs:
Apr 29 13:54:
29 matches
Mail list logo