Hi,
I want to build a Kamailio version without the usage of futex. First of all
I notice that the variable "use_futex" within Makefile.defs is hardcoded
to the value "yes". Why is that? I want to get rid of this and build
Kamailio without futex support. In the same file there are GCC options
like -DUSE_PTHREAD_MUTEX, -DUSE_POSIX_SEM etc. So I disabled the line
use_futex and and added -DUSE_PTHREAD_MUTEX as follows;
#use_futex= yes
C_DEFS+=-DUSE_PTHREAD_MUTEX
After building Kamailio with these options:
Although the output of "kamailio -I" indicates that FUTEX is not used
(PTHREAD_MUTEX is used instead) it still uses futex sneaky as its locking
mechanism. I can see this after catting the content of /proc/<pid>/wchan.
This is because Kamailio hangs on futex after running it a while (see our
other issue in the topic "Kamailio stability/timing problem w.r.t.
registrations?").
Question is; How can I build Kamailio with a locking mechanism other than
FUTEX? And why does the solution with Makefile.defs not work?
PS: Kernel version is 2.6.30 on an ARM platform
Thanks for your support.
Kind regards,
Orhan Yilmaz
Hi there,
this is my initial effort to get a new version [0].
This will create 4.2.0~dev0 packages for wheezy and jessie at master branch.
I've just removed the older releases. I will maintain only this two.
If everything is OK I will cherry-pick and create 4.1.0 packages at
the 4.1 branch
[0] https://github.com/linuxmaniac/kamailio/tree/vseva/deb
PD: I've tried to create a personal branch without any luck. Is there
any naming restriction on the git repo for that?
REPOST:
Have successfully installed the latest stable Kamailio and Siremis. Have
perused countless online Wiki's and other documentation, but can't seem to
find any definitive tutorials or answers to the following:
1. Where would I set up a SIP registration to my carrier? (Server Services
-> UACReg List?)
2. Where or how would I see the result of that registration?
3. Where would I set up DID's from the above carrier?
4. How would I inbound route those DID's to specific SIP extensions? (Have
successfully registered extensions under Subscriber Services -> Subscriber
List)
5. How would I outbound route calls from extensions to the carrier in #1?
As I understand it, Kamailio settings are stored in a database; Siremis is a
web gui to that database. If that is true, then I don't mind knowing the
accompanying 'kamctl' commands to accomplish the above, since I'll see the
respective settings in the Siremis web gui anyways. Also don't mind paying
for the above tutorial, for which I'll turn into a Googlable blog entry. I
need a routine or process for which non-CLI associates can make
entries/edits.
SIP Trunk with DIDs <--> Siremis on Kamailio <--> SIP Extension
Thanks in advance.
Initially sent to sr-dev, but maybe some people from users community can
help as well...
Hello,
wondering if any debian/ubuntu fan has some time today/tomorrow morning
for updating the specs to include the new modules coming with 4.1.
The list is here:
- http://www.kamailio.org/wiki/features/new-in-4.1.x
Fortunately Peter updated the specs he maintains for rpm-based distros -
the one for centos 6 might be useful to figure out dependencies - see in
source tree pkg/kamailio/centos/6/.
Reply quickly here if you start working on them -- there can be many
people, I just want to know how I plan my effort to prepare the release.
Thanks,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
I'm trying to setup Kamailio everything install correctly but I can't
connect to my server with the users created. Not even in my local network
it seems like the machine doesn't respond to the packets or maybe the
packets are not delivery to my server but when I ping the machine
everything is good I'm redirecting the port 5060 to my server same as
range ports from 10000 to 20000 but can't connect Any one knows which is
the problem here?
I'm using Kamailio 4.0 on a virtual machine with virtual box.
A copy of the same machine its running a web server of course with a
different mac and IP and everything works fine.
Hello all,
Have a nice day.
I am given a task in office to setup Kamailio-3.1.1 on Fedora 14 machine. Being new to this, I went online for guidance.
I got a proper method on the link given below and followed the instructions given.
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git
But problem occured when I reached on step 4 i.e "COMPILE KAMAILIO".
When I run command "MAKE ALL". Error occurs that asks for file "pcre.h" as shown in photo attached.
Can some one please guide me what to do now ?
Any help will be appreciated. Thanks.
Regards,
Kamailio newbie, Owais.
Hello all,
I am trying to register a sip client to Kamailio. I have added the username password to kamctl and verified it in the opeser db that the user and password are correct.
I have other users registered but I am unable to add new users. I keep getting the message below from tcpdump. Also kamctl online is not accurate. I have two other users connected and they dont show up there.
[bad udp cksum a8b7!] UDP, length 433
E.......@.......2..........hSIP/2.0 401 Unauthorized
Please help
Thanks,
Hello,
I want to announce that a new person got developer GIT write access to
repository: Luis Martin Gil. He has developed a new module named
ndb_cassandra, which offers a connector to cassandra no-sql system
directly from configuration style (e.g., for getting/setting items). The
module is already part of the master branch since few days ago.
His git commit id is: luismartingil
My warm welcome and looking forward to future work within the project!
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>
> Greetings
>
> 1. Calling sip: mail(a)idd1717.com doesn't ring the forwarded sip uri, any idea?
> 2. Can an sip alias name be enabled to be used for sip registration, just like the original user name?
>
> Thanks
> James Wong