I have tried to add msilo module to my kamailio.cfg using the link
http://sip-router.1086192.n5.nabble.com/Msilo-not-delivering-message-status…
Problem is that messages from a user are received on the server. And they
can be seen using siremis. But they are not forwarded when the intended
receiver gets online. I have added the outboud_proxy in modparameters of
MSILO module
#!ifdef WITH_MSILO
modparam("msilo", "db_url",
"mysql://openser:5mil5My5ql@192.168.1.20/openser")
modparam("msilo", "from_address", "sip:$rU@mydomain")
modparam("msilo", "contact_hdr", "Contact:<sip:$rU@mydomain>\r\n")
modparam("msilo", "content_type_hdr", "Content-Type:text/plain\r\n")
modparam("msilo", "offline_message", "User $rU is offline!")
modparam ("msilo", "outbound_proxy", "sip:mydomain:6524;transport=tcp")
modparam ("msilo", "outbound_proxy", "sip:mydomain")
modparam("msilo", "expire_time", 604800)
#!endif
I have added the code available on the link to my kamailio.cfg.
--
View this message in context: http://sip-router.1086192.n5.nabble.com/MSILO-module-not-delivering-message…
Sent from the Users mailing list archive at Nabble.com.
Hi Team,
my customer gets the following message. Find attached.
I checked the provided link: http://www.iptel.org/ser/sercurity/secalert-002-0_8_10.patch
But I get the error: "Page not found"
Could you assist me with that issue?
Regards
Kay
Mit freundlichen Grüßen
Kay Montag
--
avodaq AG, Landsberger Str. 290, D-80687 München
Tel.: +49.1803.78 63 78, E-Mail: service(a)avodaq.com
First European Cisco Master Unified Communications. Cisco Gold Partner. Cisco Learning Partner.
Vorstandsvorsitzender: Andreas Kusch
Aufsichtsratsvorsitzender: Klaus Genssen
Amtsgericht München, Handelsregister 136037
Hello list.
I have a question about the HTABLE module. Suppose that I have a mysql
database with 2 million of records. Is possible to load this table as a
hash table compatible with Kamailio!?
Hope someone can help me.
Thanks,
Ricardo Martinez.-
I want to know how kamailio server handles incoming MESSAGE packets of SIP
format ?
If a sender sends a MESSAGE packet for receiver, and receiver is offline,
how will server handle the packet. Can it hold the packet until the receiver
is online and then deliver to receiver ??
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Handle-MESSAGE-packet-tp131509.html
Sent from the Users mailing list archive at Nabble.com.
Hello,
I've installed kamailio from debian repo:
deb http://deb.kamailio.org/kamailio wheezy main
deb-src http://deb.kamailio.org/kamailio wheezy main
I am unable to use any RPC related module though...
apt-cache search doesn't show them...I installed every kamailio-* package
just to make sure but still no luck.
Basically, i just want to reload a hash remotely
Locally I can do this with:
kamcmd htable.dump freeswitch_ips
Do I need to compile/install kamailio from source in order to use an RPC
package?
Thanks.
/V
Hello. I try to do parallel fork calls to endpoints that have same
username and different destination URI. Logic of my script:
checking location table for rows with needed account
get info from contact at loop
for every step
check technology (sip or ws)
append_branch with existing destination for this account
rewrite packet with rtpengine to needed technology
forward packets via t_relay
sql_query("ca", "select contact from location where username='$tU'", "ra");
xlog("rows: $dbr(ra=>rows) cols: $dbr(ra=>cols)\n");
if($dbr(ra=>rows)>0){
$var(i)=0;
while($var(i)<$dbr(ra=>rows)){
xlog("L_INFO","SQL query return contact {$dbr(ra=>[$var(i),0])} for {$tU}
at step {$var(i)}\n");
if ($dbr(ra=>[$var(i),0])=~"transport=ws"){
xlog("L_INFO", "This is a Websocket call to endpoint");
sql_pvquery("ca", "select received from location where
contact='$dbr(ra=>[$var(i),0])'","$var(recieved)");
xlog("L_INFO","SQL query return recieved {$var(recieved)} for {$tU}\n");
$du=$var(recieved);
xlog("L_INFO", "Request going FROM ASTERISK to WS. Destination is {$du}\n");
xlog("L_INFO","Websocket Destination URI is {$var(recieved)} for {$tU}\n");
rtpproxy_manage("froc+SP");
t_on_reply("REPLY_FROM_WS");
append_branch("sip:$tU@$du");
$var(i) = $var(i) + 1;
}
else
{
xlog("L_INFO", "This is a classic UDP call to endpoint");
$du="sip:"+$(dbr(ra=>[$var(i),0]){s.select,1,@});
xlog("L_INFO","Classic Destination URI is {$dbr(ra=>[$var(i),0])} for
{$tU}\n");
rtpproxy_manage("co");
t_on_reply("MANAGE_CLASSIC_REPLY");
append_branch("sip:$tU@$du");
$var(i) = $var(i) + 1;
}
#append_branch("sip:$tU@$du");
}
}
return 1;
So it customised schema of standart example
seturi("sip:a@example.com");
append_branch("sip:b@example.com");
append_branch("sip:c@example.com");
append_branch("sip:d@example.com");
t_relay();
At my test I have 2 endpoints with WS and UDP phones (at fist step ir WS
and 2 step it UDP). when I do these steps (at my script) I see packet at
TCP dump and saw that sended only one packet to UDP but body of packet is
WS. Then I saw log of kamailio. I see that at second step packet changed
body to WS body (so strange because other steps before and after goes for
UDP (as at logic of script))
What I need to do for send parallel INVITES to multiple endpoints
correctly? Thanks
Oct 20 08:14:45 ka[15500]: INFO: rr [../outbound/api.h:54]: ob_load_api():
Failed to import bind_ob
Oct 20 08:14:45 ka[15500]: INFO: rr [rr_mod.c:160]: mod_init(): outbound
module not available
Oct 20 08:14:45 ka[15500]: INFO: usrloc [hslot.c:53]: ul_init_locks():
locks array size 1024
Oct 20 08:14:45 ka[15500]: INFO: auth [auth_mod.c:350]: mod_init(): auth:
qop set, but nonce-count (nc_enabled) support disabled
Oct 20 08:14:45 ka[15500]: ERROR: <core> [db_res.c:114]: db_new_result():
no private memory left
Oct 20 08:14:45 ka[15500]: ERROR: db_mysql [km_dbase.c:229]:
db_mysql_store_result(): no memory left
Oct 20 08:14:45 ka[15500]: ERROR: <core> [db_query.c:139]:
db_do_query_internal(): error while storing result
Oct 20 08:14:45 ka[15500]: ERROR: <core> [db.c:401]: db_table_version():
error in db_query
Oct 20 08:14:45 ka[15500]: ERROR: dispatcher [dispatch.c:669]:
init_ds_db(): failed to query table version
Oct 20 08:14:45 ka[15500]: ERROR: dispatcher [dispatcher.c:319]:
mod_init(): could not initiate a connect to the database
Oct 20 08:14:45 ka[15500]: ERROR: <core> [sr_module.c:968]: init_mod():
Error while initializing module dispatcher (/lib64/kamailio/dispatcher.so)
I need help.thks
Hiiii everyone,
Forgive me for such simple question but i'm newbie to Kamailio. i was
reading about the dispatcher module
http://www.kamailio.org/docs/modules/4.2.x/modules/dispatcher.html#dispatch…
and i want someone to explain to me in a simple way what is AVP , for
example the AVP in the *modparam("dispatcher", "grp_avp", "$avp(dsgrp)")*
and what the "dsgrp" represents and how to configure the AVP values ...
Kinda Regards
Thanks in advance...