Hello,
if i have two interfaces (eth0 and eth0:0)
I set kamailio to listen to the IP on eth0:0
This works great except when I try using TLS, kamailio routes traffic from
eth0:0 to eth0 then to correct destination
It should be just doing eth0:0 -> correct destination
If I use UDP/TCP I am not seeing this behavior.
If I set kamailio to listen to eth0 and remove eth0;0, TLS works fine.
I'm running kamailio compiled from source git master a few days ago.
Is anyone else having this problem?
I'm wondering if it's a bug.
Thanks,
V
Mihail,
Are you able to share your configurations for each of the elements (P-CSCF,
S-CSCF and I-CSCF) ?
Cheers,
Abdul Hakeem
-----Original Message-----
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of
Mihail Dakov
Sent: Wednesday, April 29, 2015 1:03 PM
To: miconda(a)gmail.com; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Running Kamailio with IMS
Hi All,
I solved the issue by compiling kamailio from src and running different
instances for each component P-CSCF, S-CSCF, and I-CSCF with different
configuration respectively.
Thank you all for the support.
On 04/29/2015 12:04 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 29/04/15 10:06, Mihail Dakov wrote:
>> Hi all,
>>
>> I am trying to run Kamailio server with IMS modules for which I have
>> gone through the following tutorials:
>>
>>
http://nil.uniza.sk/ngnims/kamailio-ims/preparing-debian-operating-system-k…
io-4x-platform
>>
>>
>> http://www.kamailio.org/wiki/tutorials/ims/installation-howto
>>
>> The problem I have is that using 'service kamailio start' I can only
>> run one IMS component, say PCSCF. But I need to run all P/S/I-CSCFs.
>> How do I proceed to get running P/S/I-CSCF on the same machine with
>> kamailio?
> you can run multiple instances of kamailio on the same system, just use
> different ports for each instance. Or, if you can allocate many IP
> addresses to the system, you can run one per IP. Just specify the ip and
> port to listen on via global parameter:
>
> listen=1.2.3.4:5080
>
> If you questions is about combining all those configs, perhaps is
> possible, but not something I can assist with.
>
> Cheers,
> Daniel
>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi all
I'm replacing an Asterisk based system with a kamailio based one. One of the
features the legacy system has is showing the subscriber the latency obtained
from the qualify option of sip.conf
Now, I'd like to measure the latency but I'm not sure how to do it. AFAIK
nathelper module sends the OPTIONS keepalive messages stateless mode and
there's no information there.
I was thinking on triggering a route send_options via the timer module, save
the timestamp of the relay and the timestamp of the response in onreply_route
but it doesn't look elegant. Creating my own daemon in an external server and
reading the info from the location module seems to be another option.
I guess I'm not the first one with this need so I wonder if there's an already
existing solution or an elegant way of dealing with it.
any ideas?
thanks,
Jon
Hello,
>From what I understand about the LCR module is that the rules have to be prioritized by the admin, be it manually or automatically by an application.
Let's say the LCR database has 10 gateways, each with their own rules etc.
4 of these gateways support caller id spoofing and the others don't.
But the other 6 are cheaper and Kamailio has to route a call using a gateway which support caller id spoofing and is the cheapest of the 4.
Would it be possible to tell the LCR module to select a gateway based on certain capabilities and is the cheapest of the ones which support a certain capability?
This is my first go round' with Kamailio but I have been messing with it off and on for a few weeks.
Running latest version on latest CentOS 7.x.
Kamailio installed on VM with public IP in one location, 2 SIP phones behind same NAT, both registered to Kamailio fine.
I can call one phone to the other and it rings and I can answer it but get one way audio most of the time, sometimes no audio at all.
I just did a standard install with MySQL and no other modules.
What am I missing, do I need RTPPROXY? Will Kamailio allow extension to extension calls from/to phones behind NATS without any additional modules?
I tried installing it with yum, it installed but it won't start. If I need it, I will remove the YUM version and install from source or GIT or some other method.
I do NOT want any media passing through this server, that's one big reason I am learning something OTHER than Asterisk which I am very familiar with.
I see all these RTP modules, music on hold etc but I specifically don't want to install anything that causes media to pass through the box.
Finding the learning curve much steeper than Asterisk back in the day and a REALLY tough time find step by step examples to get started, especially on CentOS.
I bought the draft of the book and it will be a great resource but at the moment, it's not helping me get started or get my first instance up and running.
I need to add SIP trunks to originate and terminate calls but I can't even think about that since I can't even get audio on extension to extension calls yet.
I also see that Kamailio fails to startup at boot because it can't connect to MySQL, when I restart Kamailio it starts fine. I think the issue is that Kamailio is trying to start before MySQL is up and running, I guess I can do a delayed start of Kamailio to fix that later.
Any help would be appreciate by this NEWB.
Thanks in advance for any assistance.
Hello everyone,
I've been working on a project where I would like to implement RFC6035
https://tools.ietf.org/html/rfc6035
Basically, after the end of the call, our SIP UAC sends a SIP PUBLISH to Kamailio where there are some useful information about media quality (packet loss, mos, etc..)
This information is stored by Kamailio with sql_query command...
To achieve this, I implemented a custom route function inside Kamailio cfg file, which handles PUBLISH request, check vq-rtcpxr body and store that information into a database.
Here is a snippet code:
# AVPF report route
route[AVPF] {
if(!is_method("PUBLISH"))
return;
if (has_body("application/vq-rtcpxr"))
{
$var(x) = "INSERT INTO quality_reporting_raw(body) VALUES (\"" + $(rb{s.escape.common}) + "\");";
sql_query("cb", "$(var(x))");
...... reply 200 ok and so on....
exit(0)
}
}
Everything works fine (almost fine, because the report is stored twice...) if I do the route(AVPF) before authentication, like this...
(main route):
# handle AVPF reports
route(AVPF);
# authentication
route(AUTH);
Instead if I swap these two functions, doing the authentication before publish processing, I have some problems about publish authentication....not for the other requests (INVITE and REGISTER)
As far as I know From, To and Request-URI must match the authentication user, in the PUBLISH REQUEST as described here
http://kamailio.org/docs/modules/4.2.x/modules/auth_db.html#auth_db.f.auth_…
I confirm that...I'm sending the SIP PUBLISH from user 101 to user 101, which is currently registered.
My problem is that Kamailio is continuously answering with 407 to the SIP PUBLISH, even if the PUBLISH request has the right Proxy-Authorization header...
Digging into the log file, I found this :
Apr 24 14:30:58 bptrnddmzserver kamailio[30886]: DEBUG: auth_db [authorize.c:486]: auth_check(): realm [myhome2.xip.bpt.com] table [subscriber] flags [1]
Apr 24 14:30:58 bptrnddmzserver kamailio[30886]: DEBUG: auth [api.c:86]: pre_auth(): auth:pre_auth: Credentials with realm 'myhome2.xip.bpt.com' not found
Apr 24 14:30:58 bptrnddmzserver kamailio[30886]: DEBUG: auth_db [authorize.c:252]: digest_authenticate_hdr(): no credentials
Just for your better understanding I'm doing authorization with db, using subscriber table where there are all the users with 'myhome2.xip.bpt.com' domain...
In fact, all INVITEs and REGISTERs are correctly authenticated...
Would you mind address me to find out the problem? Maybe, there's something wrong in my cfg file.
Thanks in advance
T,
Tomas Zanet
Software Design Department
tzanet(a)came.com
[cid:CAME.png]<http://www.came.com/>
[cid:LogoExpo.png]
[cid:FooterCAME.png]
Il messaggio di posta elettronica contiene informazioni di carattere confidenziale specifiche per il destinatario. Nel caso non ne siate il destinatario, segnalatelo immediatamente al mittente ed eliminate dai vostri archivi quanto ricevuto (compresi i file allegati). L'uso, la diffusione, distribuzione o riproduzione del presente messaggio e dei suoi allegati da parte di ogni altra persona costituisce reato. Rif. Decreto legislativo 30 giugno 2003, n. 196 - Codice in materia di protezione dei dati personali.
The email message contains confidential information specific to the recipient. If you are not the recipient, write it to the sender immediately and delete from your files as received (including file attachments). Use, dissemination, distribution or reproduction of this message and its attachments by any other person is a criminal offense. References Legislative Decree 30 June 2003, n. 196 - Code for the protection of personal data.
Right to opposition:
The person concerned who receives the message has the right at any time to oppose its processing for forwarding commercial messages, advertising material or direct sales proposals, by clicking on the e-mail address below (or by traditional postal services by writing to: Came S.p.A., Via Martiri della Libert? 15, 31030 Dosson di Casier (TV) - Italy, or by sending a fax to +39 0422 4941. Furthermore the person concerned may exercise all the rights of access to the personal data as provided by art. 7, Legislative Decree no. 196/2003, including the rights to amendment, updating and deletion, by sending an e-mail to privacy(a)came.com<mailto:privacy@came.com>.
Hi,
i want to detect and do some custom handling on kamailio side when a suspended MESSAGE "transaction" has timed out (the t_continue has not been called after t_suspend). What is the simplest way to solve this?
Péter B.
Hi all,
I am adding the
modparam("rtpproxy", "ice_candidate_priority_avp", "$avp(ice_priority)")
to my kamailio.cfg and I would like to know, what this
"$avp(ice_priority)" returns, either 1, or 2 or anything else..
I tried with xlog
xlog("The ICE priority is: $avp(ice_priority)");
and placed it right before the
rtpproxy_manage()
function call in my routing and did a grep on /var/log/syslog but I only
get a "<null>" as returned value when attempting to make a call:
Apr 25 17:47:03 localhost /usr/sbin/kamailio[19600]: ERROR: <script>:
The ICE priority is: <null>
I expected values 1 or 2 according to the rtpproxy module docu.
http://kamailio.org/docs/modules/4.0.x/modules/rtpproxy.html#idp18746912
Thank you.
Filip.