Kamailio (former OpenSER) is a SIP proxy server. DO NOT ask questions relating to installation, use, or configuration of this software. Stack Overflow is a site for programming Q&A so on-topic questions will involve working directly with Kamailio's source code, interacting with its C APIs, or using a programming language such as Python or JavaScript to write routing logic using KEMI.
Questions tagged [kamailio]
209 questions
0
votes
1 answer
Kamailio Diversion headers
We are working on a project that's using a Twilio SIP trunk that diverts calls from the PSTN to our cluster that is hosting two active-active Kamailio 5.1 instances that redirect traffic to several Asterisk 15.4 instances.
We have integrated with…

Joan Salvatella
- 113
- 9
0
votes
1 answer
how to save data more than 1500 chars in homer database
I am capturing data in homer but packet size is greater than 1500 chars then it is truncating data while storing in database? How can I increase database size in homer?

user3518405
- 45
- 2
- 10
0
votes
2 answers
database configuration for siremis ERROR: SQLSTATE[HY000] [1045] Access denied for user 'siremis'@'localhost' (using password: YES)
ERROR: SQLSTATE[HY000] [1045] Access denied for user 'siremis'@'localhost' (using password: YES).
I amgetting this error during the SIREMIS Setup in the browser. Any ideas on hoiw to resolve this ? I am wasting all my time on this since a week.

Akhil
- 1
- 2
0
votes
1 answer
ERROR :Could not load the script in /usr/local/lib64/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL
I am getting this error when trying to create the database on kamailio.
I've used the following command : sudo /usr/local/sbin/kamdbctl create.
I've set the DBENGINE=MYSQL in kamctlrc file and saved as well. Still getting this error. Anyone…

Akhil
- 1
- 2
0
votes
1 answer
Forward SIP request between two Kamailio servers
I have a simulation setup of 4 VMs in Virtual Box - two UAs and two Kamailio servers. The first UA will register to KAM1, and the second UA will regsiter to KAM2. See the Figure below.
UA1<--->KAM1<---->KAM2<---->UA2
int1 int1 int3 …

quiZ___
- 109
- 1
- 9
0
votes
1 answer
MSILO messages to users behind NAT
I am using Kamailio (5.0.1) and MSILO module for offline messages but I have a problem with users behind NAT.
According to module overview, MSILO is forwarding the offline messages to contact address provided in REGISTER request.
Is there any way to…

Michalis Michael
- 1
- 1
0
votes
2 answers
Can Kamailio Proxy Server actually make SIP Calls?
I am using a PBX (Asterisk) and all Inbound calls come through my Proxy (Kamailio). I would like for all outbound calls that go through my PBX to be controlled by the Proxy also. Currently outbound calls go through the PBX and communicate with…

sw007
- 41
- 7
0
votes
1 answer
Kamailio, use extension to send request to user (similar to Asterisk extensions)
I am using Kamailio and have just setup everything and added two subscribers to the system. I would like to know if there is a way to send INVITE requests according to an extension variable, instead of using the subscriber's username. Thank you and…

UsernameGoesHere1
- 95
- 8
0
votes
1 answer
how to access mysql with Kamaillio
I am trying to setup Kamailio with MySQL plugin. I setup the config as follows:
## your SIP domain
SIP_DOMAIN=example.org
DBENGINE=MYSQL
## database host
DBHOST=localhost
## database host
DBPORT=3306
When I run kamdbctl create, I get the…

justin barnes
- 9
- 4
0
votes
1 answer
Forwarding Kamailio SIP message to a C application
I'm using Kamailio as a SIP server, and I want to forward the SIP message to a C++ application. I've been looking at SIP modules to do this but the documentation is not completely clear and there aren't many examples online.
If anyone could point…
user4599213
0
votes
1 answer
Should Kamailio and Asterisk be on different servers
Are there many disadvantages/advantages to having Kamailio and Asterisk on the same Server
Thank you,

sw007
- 41
- 7
0
votes
1 answer
Kamailio install
First I would like to say I am new in this.
I am trying to install Kamailio on Ubuntu Linux Mint and I have this problem.
It says i dont have that directory.. how can i create it ?
i was following this…

Kajim
- 19
- 4
0
votes
1 answer
How to add a new module to existing Kamailio Server?
I am using a Kamailio 4.4 server. And I would like to install http_async_client module to this server. I have looked on the module directory(/usr/local/lib64/kamailio/modules) to check wheather this http_async _client module already exist there, but…

ARUNBALAN NV
- 1,634
- 4
- 17
- 39
0
votes
1 answer
How to send push notification from Kamailio? Both GCM and APNS
I am creating custom SIP client (Android & IOS), which uses Kamailio as a proxy and it's required to send push notification from Kamailio to the clients when a call towards that client reached on Kamailio.
I found a module for APNS here…

ARUNBALAN NV
- 1,634
- 4
- 17
- 39
0
votes
2 answers
How to add new user to Kamailio using PHP shell_exec?
There is a requirement to add a new user to Kamailio programmatically using PHP. I tried to add username and password to subscriber table manually using SQL queries, but it won't works because ha1 and ha1b should be added to the table. I don't know…

ARUNBALAN NV
- 1,634
- 4
- 17
- 39