Hi list,
I'm a newbie when it comes to kamailio, although I have a fair amount of SIP experience.
I'm trying to setup a very basic kamailio install (4.1 on Wheezy) with Msilo support.
I just used the default kamailio.cfg file (changing obviously the relevant parameters for my setup) and have not touched the routing blocks.
I'm very confused about how routing works, and I don't have a background in C. I've read the wiki up and down and have looked at inumerous tutorials spread out on the internet (most of which just add to my confusion because they seem out of date), but I still don't get it.
I managed to setup a working kamailio server where local users can call each other fine. Now when I try to add the msilo module, and specially the routing example from MSILO Module is when things get tricky.
I'm sure my error is a fairly basic one and has to do with the routing logic and syntax. Could some kind soul please share a copy of the whole ####### Routing Logic ######## on downwards for a basic no frills kamailio with msilo setup?
Thanks,
Miguel
MSILO Module
3. Parameters 3.1. db_url (string) Database URL. Default value is “mysql://kamailio:kamailiorw@localhost/kamailio”. Example 1.1. Set the “db_url” parameter
View on kamailio.org Preview by Yahoo
Hi folks
LVUG is a monthly get-together in London to discuss open-source VoIP
technology, including Kamailio.
If you're based in or near London please join us this coming Tuesday for
the third LVUG which will be held in Old Street.
The format is a couple short talks followed by beers at the venue or in a
nearby pub.
Full details here: www.meetup.com/London-VoIP-User-Group-LVUG/
Hope to see you there!
Richard
--
Richard Brady
E: rnbrady(a)gmail.com
Hello,
I'm just trying to use SIP as a replacement for Skype, nothing more than
that. All is working except of presence. Using Jitsi 2.4.4997 (Windows
x64) from home behind NAT and kamailio 4.1.4+wheezy on a rented server
somewhere.
My biggest problem is that I don't know exactly how it is supposed to
work. Ok, this is what I understood so far: the clients connect via SIP
to the server and can call each other, but for some reason the server
can't notify them via SIP of presence changes when they are behind NAT.
So the clients also connect to the built in xcap-server, register
themselves as presence "watchers" and the xcap-server notifies them via
udp/tcp of presence changes of the other users which are watched.
All is very nice but it's not working and I don't know where to look for
the problem. Which are exactly the steps in communication and what data
exactly is there sent which way (when working correctly, which it
doesn't) - no clue.
I somehow put the configuration together from the 2-3 examples I found
on the internet, I don't know if it is ok to attach something to this
email, so here it is:
https://vatav.cc/kam/kam_cfg.7z
Here is the network activity on the server:
https://vatav.cc/kam/kam_ngrep.7z
So me ("radu") and "alice" are home behind the NAT, one is online and
wants to see how the other one goes online and offline. I don't know
what exactly to look for, but it doesn't look to me like there is
anything sent to one user when the other one goes on-/off-line (there is
a lot of "proxy authentication required" which drives me nuts, again I
don't know if this is correct or not; Jitsi seems to be connected to the
XCAP server, if I type in a wrong address for "XCAP server" Jitsi
complains it can't connect).
Some other things:
- "kamctl online" shows almost real-time who is logged-in, so this works
- siremis shows a bunch of users in "watchers list", but none in "active
watchers list" - actually when a user goes online it contains the
contacts of that user, but only briefly, when I refresh the view, the
list is empty again. I don't know if this is how it is supposed to work,
anyway, Jitsi doesn't show any change of the status of the user who
changed status at all.
Any help would be appreciated. It's sad something this simple as I need
(basic Skype replacement) is so difficult to get working. Maybe this is
why there is relatively low interest in SIP and everybody stays with
MS/Google/... because "there isn't something else".
Best regards,
Radu Vatav
Hi list
i'm config SQLOps Module with postgresql db module or is postgresql driver?
this is my kamailio config:
#!ifndef DBURL
#!define DBURL "postgres://user:ouser@x.x.x.x/kamailio"
#!endif
sql_query("ca", "select * from xxxxx","ra");
if($dbr(ra=>rows)> 0){
xlog("L_INFO", "saldo:$dbr(ra=>[0,0]) y seg:$dbr(ra=>[0,1]) ");
$var(credit) = $dbr(ra=>[0,0]); # 30$ of credit
$var(cost_per_sec) = $dbr(ra=>[0,1]); # 1$ per sec
$var(i_pulse) = "1"; # 1$ to establish the call
$var(f_pulse) = "1"; # 1$ per second
sql_result_free ("ra");
if($var(cost_per_sec) > $var(credit)) {
sl_send_reply("402","payment required");
exit;
}
}
i got this warning and would like why this happen:
WARNING: db_postgres [km_dbase.c:235]: db_postgres_submit_query(): postgres
result check failed with code 7 (PGRES_FATAL_ERROR)
WARNING: db_postgres [km_dbase.c:239]: db_postgres_submit_query():
postgres query command failed, connection status 0, error [SSL SYSCALL
error: Connection timed out#012]
WARNING: db_postgres [km_dbase.c:239]: db_postgres_submit_query():
postgres query command failed, connection status 1, error [SSL SYSCALL
error: EOF detected#012]
Hello All,
Subj, need you help,
How to store this type of message to MSILO database?
Content-Type: message/external-body;access-type=URL;URL="https://xxx.com//download/539c28884_3e071c9db68044f687bf.jpg"
I modified and recompiled msilo.c to resolve this error:
ERROR: msilo [msilo.c:626]: m_store(): body of the message is empty! but after that - m_store just store this information to database:
mysql> select * from silo;
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+
| id | src_addr | dst_addr | username | domain | inc_time | exp_time | snd_time | ctype | body | extra_hdrs | callid | status |
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+
| 30 | sip:777351300@xxx.in | sip:777581288@xxx.in | 777581288 | xxx.in | 1402479947 | 1403479946 | 0 | message/external-body | | | | 0 |
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+
1 row in set (0.00 sec) How can I store to database "access-type=URL" and and URL="xxxx" ?
Thanks All!
--
denis kremov
Hi guys,
I'm designing a new service for a client and I was wondering what your
opinion is of the 2 options I'm considering to separate users on the
server. Basically I want to create closed groups where each user can only
call and receive calls from members of the same group (single domain
install).
Initially I was thinking of just forwarding all the invites to FS and using
the dialplan to enforce this segregation, but now I realize there is a
groups module in kamailio too.
Which 2 courses of action do people recommend? I'm more familiar with FS
than Kamailio, so it would be easier for me to just forward everything to
FS, although that will be more expensive and probably unnecessary if I
could do it all in Kamailio with Siremis.
Would kamailio's group module do the trick? Are there any tutorials out
there I can follow?
Cheers,
Peter
Hi,
I recently registered with IP tel for the purposes of carrying out SiP based teleconferencing. I am attempting to register my software client, Polycom m100 desktop but am having some difficulty. Can you tell me what I should be entering into the 'registrar server' field, 'domain' and 'registrar server'?
[cid:image001.png@01CFA03E.F01888F0]
----------------------------------------------------------------------------
www.puntersouthallgroup.com
Punter Southall Group is a trading name of Punter Southall Group Limited.
Registered office: 11 Strand, London, WC2N 5HR. Registered in England and
Wales No. 04096788.
This message and any attachments are confidential. If you have received this
message in error please notify the sender and delete this email immediately.
Unauthorised dissemination, disclosure, copying or use is prohibited. This
email has been scanned for viruses and other malicious items. We reserve the
right to monitor the content of all emails sent and received by our systems.
Please consider the environment before printing this email.
----------------------------------------------------------------------------
Hmm, I see there is none inside dialplan for the moment.
The option would be to do it in config file with a function from textops.
Also, check if regex module is a good alternative for you:
- http://kamailio.org/docs/modules/stable/modules/regex.html
Cheers,
Daniel
On 16/07/14 16:50, Henry Fernandes wrote:
> Can anyone show me how to use the regexp global flag using dp_translate?
> -H
>
> From: Henry Fernandes <henry(a)usinternet.com <mailto:henry@usinternet.com>>
> Reply-To: "Kamailio (SER) - Users Mailing List"
> <sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>>
> Date: Friday, 11 July, 2014 4:18 PM
> To: <miconda(a)gmail.com <mailto:miconda@gmail.com>>, "Kamailio (SER) -
> Users Mailing List" <sr-users(a)lists.sip-router.org
> <mailto:sr-users@lists.sip-router.org>>
> Subject: Re: [SR-Users] how to remove non-digits using dp_translate
>
> I don't know how to apply the global flag in Kamailio. Can you give
> me an example?
> -H
>
> From: Daniel-Constantin Mierla <miconda(a)gmail.com
> <mailto:miconda@gmail.com>>
> Reply-To: <miconda(a)gmail.com <mailto:miconda@gmail.com>>, "Kamailio
> (SER) - Users Mailing List" <sr-users(a)lists.sip-router.org
> <mailto:sr-users@lists.sip-router.org>>
> Date: Thursday, 3 July, 2014 1:47 AM
> To: "Kamailio (SER) - Users Mailing List"
> <sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>>
> Subject: Re: [SR-Users] how to remove non-digits using dp_translate
>
> Hello,
>
> you have to replace [^0-9] with empty, using the global flag.
>
> Cheers,
> Daniel
>
> On 02/07/14 23:11, Henry Fernandes wrote:
>> I'd like to use the dialplan module to remove all non-digits from a
>> string. For example, "1-306-555-1234" becomes "13065551234" and
>> "(306) 555-1234" becomes "3065551234".
>>
>> Unfortunately, I can't figure out the regular expressions for
>> subst_exp and repl_exp. I can easily replace one instance of a
>> non-digit, however I can't figure out how to replace all non-digits.
>>
>> -H
>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -http://www.asipto.comhttp://twitter.com/#!/miconda -http://www.linkedin.com/in/miconda
> _______________________________________________ SIP Express Router
> (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
> <mailto:sr-users@lists.sip-router.org>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> _______________________________________________ SIP Express Router
> (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hi,
I have a simple kamailio install (2 servers, using location service and
a failover node with dispatcher, STUN, clients behind different NATs),
without rtpproxy, only peer-to-peer RTP and TURN server if the
connection is really messy (it's not relevant here). Signaling is over
TLS. Both of the clients are behind NAT.
Basically everything works, but some of the calls are dropped after 15
minutes and some seconds, for me it seems the RTP connection is dropped
but not sure.
I cannot find find out wether it's a kamailio problem or client/NAT problem.
Has anyone idea what is going on?
Thanks,
Andras