hello guys,
I'm new here, already working with Asterisk for some time and decided to
learn more about kamailio, I'm studying your settings and features and
want to start a project to integrate with Asterisk, but leaving the
asterisk for voicemail and IVR.
http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb
I have a question, can I use kamailio as client for the various gateways
and voip providers, saw that possibility in module UAC, but how do I
authenticate to multiple servers? anyone have any sample settings?
Hugs to all!
Doug
Hi,
Wondering if anyone could please help me debug what is wrong with my
kamailio.cfg for Websockets support. I'm using JsSIP sample application,
and I've compiled Kamailio 4.0 for WS support. My config is borrowed from
link this link [1]. Wondering if anyone can help me debug this. Error is
bad request, from syslog:
Mar 26 19:26:42 ace /usr/local/sbin/kamailio[25774]: ERROR: <core>
[tcp_read.c:1296]: ERROR: tcp_read_req: bad request, state=7, error=4
buf:#012GET / HTTP/1.1#015#012Upgrade: websocket#015#012Connection:
Upgrade#015#012Host: sip.XXX.net:8888#015#012Origin:
http://sip.XXX.net#015#012Sec-WebSocket-Protocol: sip#015#012Pragma:
no-cache#015#012Cache-Control: no-cache#015#012Sec-WebSocket-Key:
p2cM0XbAejvloY1h+pACIw==#015#012Sec-WebSocket-Version:
13#015#012Sec-WebSocket-Extensions: x-webkit-deflate-frame#015#012Cookie:
_pk_id.6.4c1d=3ee006d4f8af735c.1363914085.2.1364326003.1363915087.;
_pk_ses.6.4c1d=*#015#012#015#012#012parsed:#012GET /
HTTP/1.1#015#012Upgrade: websocket#015#012Connection: Upgrade#015#012Host:
sip.XXX.net:8888#015#012Origin:
http://sip.XXX.net#015#012Sec-WebSocket-Protocol: sip#015#012Pragma:
no-cache#015#012Cache-Control: no-cache#015#012Sec-WebSocket-Key:
p2cM0XbAejvloY1h+pACIw==#015#012Sec-WebSocket-Version:
13#015#012Sec-WebSocket-Extensions: x-webkit-deflate-frame#015#012Cookie:
_pk_id.6.4c1d=3ee006d4f8af735c.1363914085.2.1364326003.1363915087.;
_pk_ses.6.4c1d=*#015#012#015#012
Any ideas? Can send my kamailio.cfg if necessary.
[1] Kamailio sample config for WebSockets
https://gist.github.com/jesusprubio/4066845
Hi all,
I was wondering, how are others sharing dialog module (particularly
profile) state between multiple servers?
Thanks in advance,
Charles
--
www.sipcentric.com
Follow us on twitter @sipcentric <http://twitter.com/sipcentric>
Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham
B7 4EJ.
Hello,
the agenda is pretty much set for Kamailio World Conference, see it at:
- http://conference.kamailio.com/k01/schedule/
The event starts in three weeks from now, we are glad to be able to host
a great group of speakers. There are well known names in the industry
able to share insights of the telecom and RTC/RCS market as well as
talks about new projects that have potential to grow and help building
new services. Check the speakers list at:
- http://conference.kamailio.com/k01/speakers/
Regarding Kamailio project, two weeks after release of v4.0.0, the
development branch is very active, with two new modules already imported
there (app_java - embedded execution of java code; cnxcc - call
control/prepaid system module), other new modules in developers personal
branches and new features to old modules (e.g., snmpstats, usrloc).
If you haven't registered yet for the Kamailio World conference, be
aware of registration timeline updates - standard registration period
has been shortened, last date for it being April 5, 2013. As the number
of participants exceeded initial estimation, the company taking care of
offering drinks and meals needs to know attendees' details more in
advance. Registration form and more details at:
- http://conference.kamailio.com/k01/registration/
Take in cosideration also the companies coming with demos, presenting
products or services: Sipwise, Sipgate, NG Voice, FhG Fokus and Asipto.
You may want to reserve some time for private discussions with them,
contact us for further details.
Looking forward to meet many of you in Berlin,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
- http://conference.kamailio.com -
Can anyone please point me on a configuration example for kamailio when it
is behind NAT, i need to change the contact ip from internal to external on
sdp and proxy all media from outside to internal asterisk farm.
Please any help will be appreciated.
most of documentation available is when client is behind Nat but not when
Server behind Nat like is the case with Amazon aws vpc instances.
Again thank you before hand.
Hello,
Reaching out for some assistance with debugging, I am not seeing any xlog messages in my log file. If there is any other info I didn't include that would be helpful please let me know.
Any ideas are appreciated.
Using Kamailio 3.3.2 & Cent OS 6
Rsyslog.conf
--------------------
*.info;mail.none;authpriv.none;cron.none;local0.none /var/log/messages
# Kamailio
local0.* -/var/log/kamailio
Kamailio CFG
------------------------------
#!define WITH_DEBUG
#!ifdef WITH_DEBUG
debug=4
log_stderror=yes
#!else
debug=2
log_stderror=no
#!endif
log_facility=LOG_LOCAL0
loadmodule "xlog.so"
Example xlog-
xlog("L_INFO", "No more gateways \n");
Thanks,
Dan-
i tried to compile latest 3.3 and found that it failed to compile due to
same str2ip6 bug that was fixed in 4.0:
dns_cache.c: In function ���dns_cache_do_request���:
dns_cache.c:1894: warning: implicit declaration of function ���str2ip6���
-- juha
Hello,
I thought some people may have spare cycles and are willing to help with
the documentation. Here is some updates I would like to get for modules:
1) adding ids for parameters, functions, and other sections of the
docbook xml files. Now we generate the alphabetic indexes pointing to
the online html readmes, would be better to point directly to the exact
section. Practically, for example, sections such as next from async module:
<section>
<title><varname>workers</varname> (int)</title>
should become:
<section id="async.p.workers">
<title><varname>workers</varname> (int)</title>
To get unique ids over all files, I suggest using following pattern:
[module name] [dot] [type] [dot] [title]
The [type] should be:
- p - parameters
- f - functions
- m - mi commands
- r - rpc commands
- s - statistics
2) Add RPC commands to readmes -- some of modules already do, but many
don't. There is a perl script that should get the list of RPC commands
from source code, but it requires some patch to a perl lib, not working
on all systems. Moreover, the output is quite minimalistic, not easy to
improve the content or add examples. Last generated index is:
- http://www.kamailio.org/docs/docbooks/3.4.x/rpc_list/rpc_list.html
3) Document selects -- although their name are quite suggestive, a bit
of text around won't harm.
- http://www.kamailio.org/wiki/cookbooks/devel/selects
Because 1) and 2) requires git access, the easiest way to contribute is
to provide patches to the xml files. If anyone commits to do an
extensive work on these tasks in short term, we may eventually arrange
for git access. The 3) is in the wiki, everyone can register an account
and then update the pages.
I would recommend these guidelines to be followed from now on by
developers when adding new elements to the module documentation.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
- http://conference.kamailio.com -
Hi,
I'd like to ask you whether it is a good idea to acknowledge a BYE
message in advance using t_reply("200", "OK") on my border proxy. Not
acknowledged BYE messages by clients cause me problems in the middle
of my network.
Is there any problem with this behavior from Kamailio side, from
script side or from SIP side? Do you have any experience with such
logic manipulation? I am aware that this is not a proxy function, but
it would solve many problems.
My script is as follows:
if (loose_route()) {
if (is_method("BYE")) {
setflag(1); # do accounting ...
t_newtran();
t_reply("200", "OK");
}
route(RELAY);
}
My test shows that 200 OK from client are absorbed. Also if there is
no reply from a client, Kamailio does not generate 408 Request
Timeout.
I'm using older version kamailio 3.1.0 (i386/linux) 21a375.
Thanks for an advice
Efelin