Hi,
I am using exec_avp() command from kamailio.
The command execute a shell script that runs kamctl and kamcmd commands.
kamailio runs with user 'kamailio' and group 'kamailio' (defaults).
There is not problem with the kamctl commands.
But, the kamcmd commands fails due to permissions issues.
Any ideas?
Cheers,
Uri
Hi,
I am getting a 403 not relaying response.
This is the part of the config
How would I print the value of var myself, from_uri and uri
# if caller is not local subscriber, then check if it calls
# a local destination, otherwise deny, not an open relay here
if (from_uri!=myself && uri!=myself) {
sl_send_reply("403","Not relaying");
exit;
}
Hello,
in preparation for releasing v4.3.0 next week, I updated the specs for
building RPMs from branch 4.3. However, I am not able to test the
results, just made sure the build is ok.
Packages are available at:
-
https://build.opensuse.org/package/show/home:kamailio:v4.3.x-rpms/kamailio43
I hope people here using RPMs will do some tests and provide feedback,
interested mainly in:
- it installs ok
- after install, it starts ok with default configuration file
- fifo and unix sockets are created now in /var/run/kamailio, so it has
to be checked they are there
- kamctl works ok for commands: ps, uptime and 'mi version'
Some modules are not packaged in various versions, as I could not spot
what are the packages needed for building them and if they are available
with different names. For example, apparently jansson lib is on redhat,
but not on centos, libev doesn't seem to be there. Also, I haven't had
time to look at packaging erlang module.
Help with the above is appreciated as well as helping building RPMs
genrally. Maybe the init.d script needs to be reviewed and updated as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Hi All,
I have a ims client endpoint supporting rfc 3329(IPSec).Now I am sending
register message to kamailio server with Security-Client header and not
getting any Security-Server header in response. Could you please tell me
below queries
- Whether kamailio server supporting rfc 3329 (IPSec) or not ?
- If yes,how can we setup kamailio server to support
Security-Client,Security-Server and Security-varify(as per rfc 3329) header
?
Thanks
Priyaranjan
Hi All,
I wanted to send a extra header(i.e. Security-Server ) in the 200 OK from
kamailio server. Could you please suggest me how can I add extra header in
200 OK message by using kamailio.cfg file ?
Thanks
Priyaranjan
Hello.
We have been using the msilo module to handle offline SIP messaging. I have
noticed that the m_store function ends up storing all the records with the
default message id which is zero. However m_dump uses this id to figure
which messages have already been sent. Thus on calling m_dump on
registration, no messages are dumped. We simply get a 'message already
sent' debug log. Is there a way around this? Any help would be deeply
appreciated.
Thanks,
Shouvanik.
Hello,
I'm trying to build new contact header that will be sent from Kamailio as
below :
load_gws(1, $rU, $fu);
append_to_reply("Contact:");
while (next_gw())
{
append_to_reply("$ru");
}
append_to_reply("\r\n");
sl_send_reply("300","Multiple Choices");
exit;
yet I'm getting two Contact headers as shown in below SIP message.
How can I remove second contact header (highlighted below in gray)
Via: SIP/2.0/UDP
192.168.26.3:42528;branch=z9hG4bK-d8754z-4c2cc56c3145b446-1---d8754z-;rport=
42528;received=192.168.26.3
To:
"9612"<sip:9612@192.168.110.181>;tag=b27e1a1d33761e85846fc98f5f3a7e58.1a8d
From: "test"<sip:test@192.168.110.181>;tag=8571af74
Call-ID: Y2MzOTNiOGRhMTc2NDkwZjIxNzZhYTAzZmM0OGE3NDY
CSeq: 2 INVITE
Contact:
sip:9612@C001,sip:9612@192.168.26.1,sip:9612@192.168.26.6,sip:9612@192.168.2
6.8
Contact: sip:9612@192.168.26.8
Server: kamailio (4.1.8 (x86_64/linux))
Content-Length: 0
Thanks,
Ali