Hey guys,
We're thrilled to announce that we closed our Series A financing round
for our Kamailio-based soft-switch:
http://www.sipwise.com/news/sipwise_series_a/
We're desperately looking for Voip engineers with good skills in SIP,
Kamailio and/or Sems, so if you're interested in improving our
open-source solution based on Kamailio, Sems, Asterisk etc, please
contact me!
Best regards,
Andreas
Hi
When clients register to Kamailio over TCP/TLS, if I set
tcp_connection_lifetime to be quite small, like 30 seconds, and let
clients send refreshes every 20 seconds, for example. When client
crashes or have network problems, the TCP connection with Kamailio will
be closed by the server after 30 seconds of being idle.
My question is, is there a way of letting Kamailio tell which user the
broken TCP connection belongs to, and then remove the user from the
location table and update presence information etc?
The reason I want this is, if a user publishes its status of being
online with expiring time of 1 hour, but then crashed, then the location
table entry and presence information of this user would be wrong for the
rest of the hour. How do I get around this? I assume server can send
periodic OPTION messages but that would be a bit expensive.
Thank you very much!
Yufei
--
Yufei Tao
Red Embedded
This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message.
You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender.
Red Embedded Design, Company Number 06688253 Registered in England: The Waterfront, Salts Mill Rd, Saltaire, BD17 7EZ
Hello,
back on mailing list ...
I think I got it -- the acc record is written when 200 ok for invite is
sent out, dialog is processing it before. Therefore dialog structure is
updated with to-tag from the reply, but the building of acc record is
executed using the INVITE request taken from transaction, where is no
to-tag (acc internal design). This results in failing getting the
dialog, because of to-tag mismatch. I will send a patch soon.
Cheers,
Daniel
On 2/8/12 2:39 PM, Jon Bergli Heier wrote:
> Hi, this is a gzipped log from a test call using kamailio 3.2.1. There's some noise in the log from REGISTERs and so on.
> The dlg_var I'm setting is pzzid, printed as zid=<value>.
>
> Thanks,
> Jon
--
Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda
I am a new user and am trying to configure kamailio to use SQLITE
instead of MYSQL. I see that SQLITE option is rather new and maybe not
as documented as MYSQL.
I am running on fedora 14 and have installed MYSQL3 from rpms. Kamailio
I built from sources because I need the SQLITE support.
What kamailio.cfg and kamctlrc parameters do I need to change to do
this?
I have already set these in kamctlrc:
...
## database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, DBTEXT, or SQLITE
# by default none is loaded
#
# If you want to setup a database with kamdbctl, you must at least
specify
# this parameter
DBENGINE=SQLITE
## database host
DBHOST=localhost
## database name (for ORACLE this is TNS name)
# DBNAME=openser
...
and ran:
kamdbctl create openser
and
kamctl add user1 password1
successfully.
Now, it appears that I need to change kamailio.cfg for SQLITE. Can I
simply edit this file substituting SQLITE for MYSQL and loading the
SQLITE module?
How about this part:
...
####### Defined Values #########
# *** Value defines - IDs used later in config
#!ifdef WITH_MYSQL
# - database URL - used to connect to database server by modules such
# as: auth_db, acc, usrloc, a.s.o.
#!define DBURL "mysql://openser:openserrw@localhost/openser"
#!endif
...
Will this URL work with SQLITE?
Thanks in advance,
Perazim
Is this normal on restarting Kamailio ?
ERROR: ctl [ctl.c:379]: ERROR: ctl: could not delete unix socket
/tmp/kamailio_ctl: Operation not permitted (1)
RA
Hi again...
(i do find myself ask many questions these days.... :-))
well, now here is one more:
i have 2 kamailio servers that i use in 2 locations. both use the same
tables and DBURL.
each of my server turns to a number portability (NP) server at its same
location.
for example, if server 1 has the call, it will turn to NP server 1 with the
query, and if the query fails, it will then turn to NP server 2.
the kamailio server 2 does the same. but, turns to NP server 2 first and if
it fails, to NP server 1.
once this is understood....
here is my issue - i want to have 1 generic cfg file for my 2 servers.
today, i use the same cfg file, but in server 1 i set it in the cfg to its
group, and on server 2 the same but a different group....
i tried to understand how do i get each server to "pull" its group from the
DB. something like "what is my group when my IP is X.Y.Z.Q ?
i raed the cfg_db module but didn't understand how to set it on my cfg file
and on the DB.
what is the best way to do what i want?
hope i was clear....
BR,
thanks to all the guys that help me so far, i appriciate it a lot!
Uri
The rise of Viber has, for some people, been a case of `skype, not again!'
until now...
Lumicall is now in the Android market - and it fully interacts with
other SIP products using ENUM and SRV records. Any feedback on this is
welcome.
Interconnect (Kamailio calling to/from Lumicall users) is based on the
idea of federated SIP, it is explained at http://www.lumicall.org for
those who want to connect up to it.
Please bear in mind: Lumicall supports ICE (RFC 5245) for NAT traversal,
it is using the ice4j implementation from the Jitsi community. This
makes the SIP packets bigger and often they are too big for the MTU of a
UDP packet. When using ICE, it seems essential to use TLS, to avoid the
MTU problems and also to avoid routers mangling the SIP headers (ICE
doesn't need help from routers, they only confuse the algorithm)
Trying to figure out the values for flags field.
where can I find the meaning of flags for each value like:
flags 1 = ?
flags 2 = ?
flags 3 = ?
flags 4 = ?
flags 5 = ?
flags 6 = ?
flags 7 = ?
flags 8 = ?
Gary
OK
i got it.
on the kamctl, the show is a SQL and the reload is $CTLCMD
this is the difference...
thanks
On Wed, Feb 8, 2012 at 7:45 PM, Henning Westerholt <hw(a)kamailio.org> wrote:
> On Wednesday 08 February 2012, Uri Shacked wrote:
> > Can u explain why does the reload takes the table name from cfg and
> > the show from the kamctlrc ?
>
> Hi Uri,
>
> the reload is executed in the server, which already uses the correct table.
> The show is executed from the script (its just a database operation, you
> could
> also use a mysql client), which uses the wrong table.
>
> Viele Grüße/ best regards,
>
> Henning Westerholt
>
>
>
> anyone for this?
>
> Hi,
>
> after resolving the field type issue :-), i changed the params in kamctlrc
> to point to the right DB.
> now, i notice that when i use the command "kamctl cr show" iget an error
> that it does not find the table "carrierroute".
> in the cfg file it is all set and works fine, cr dump is working as
> expected as well.
>
> in the kamctl file i can find the param - CARRIERROUTE_TABLE. but where is
> it set from?
> anyone knows where do i make tha change in order for the kamctl to "know"
> the names of the tables i use?
>
> thanks,
> Uri
>