Questions tagged [kamailio]

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.

209 questions
0
votes
1 answer

Why append HF doesn't work in event_route?

I'm trying to connect kamailio to Microsoft Teams. Dispatch is correctly configured and sended. Following this tutorial : https://skalatan.de/en/blog/kamailio-sbc-teams, I added an Event_Route to add contact header to SIP OPTION from dispath to MS…
Arnaud
  • 81
  • 1
  • 10
0
votes
1 answer

Showing errors in kamailio syslogs for Register messages

I am getting the below Error messages in syslog. Can anyone tell me why these two methods getting failed. Is there anything I am missing to configure in SIP phone. ERROR: {1 2 REGISTER 619499693} [core/parser/parse_methods.c:456]: parse_methods():…
Kratos
  • 9
  • 2
0
votes
1 answer

Kamailio removing headers from reply

I am working on a project where I need to send back 302 reply. Everything seems to work, except I can't remove certain headers, i.e. From, Contact, etc. (I don't want to remove them completely, but rather substitute with my own version of it). I use…
mike.tihonchik
  • 6,855
  • 3
  • 32
  • 47
0
votes
1 answer

Compiling Kamailio modules from source results in error

I have Kamailio version 5.5.2 source code and I am trying to compile Lua module (app_lua.so) to be included. However, running make all command results in a following error for that module: CC (gcc) [M app_lua.so] …
mike.tihonchik
  • 6,855
  • 3
  • 32
  • 47
0
votes
2 answers

How can I access the Kamailio configuration file from the KEMI script?

I need to access defines and variables from the Kamailio configuration file in my Python script. So far, I am able to access the global variables only through self.my_var = int(KSR.pv.get("$sel(cfg_get.my_group.my_var)")) where this variable is…
LeeWo
  • 3
  • 4
0
votes
1 answer

Issue in compiling rtpengine

Following this I am trying to setup Kamailio + RTPEngine + TURN server to enable calling between WebRTC client and legacy SIP clients. There is a third party repository for rtpengine for Debian. However I am trying to do this in Ubuntu 18.04. So I…
Sudipta Roy
  • 740
  • 1
  • 9
  • 29
0
votes
1 answer

Kamailo - number of open files

is there any possibility to track number of open files, which are used while Kamailio handle new calls? So far, I tried to use script in bash and start the script using watch command FILES=$(ls -l '/proc/'$(pidof kamailio)'/fd' | wc -l) echo $FILES…
RAJJJA
  • 25
  • 6
0
votes
1 answer

kamailio: how to extract IP from received route header

Could any help me to find way to extract IP & Port from route header received (which is on the SIP INVITE received from a remote server). KAMAILO ----> A Server A - Server is appending router header with destination IP address like below. A Server…
Maria628
  • 224
  • 3
  • 19
0
votes
1 answer

kamailio - modify URI of incoming INVITE

is it possible to redirect all incoming calls to one specific sip account? I already did this with Asterisk adding line exten => _[1-9]XXX,1,DIAL(SIP/3000) to extentions.conf and now I am looking for the way how to do the same in Kamailio. But I am…
RAJJJA
  • 25
  • 6
0
votes
1 answer

kamailio: how to send replies with port number in VIA header

using kamailio version 5.4v Please help me with a way to send replies/forwards to include VIA header with port, because i can see that its just sending IP but not the port in VIA header. my kamailio cfg file for route & route relay looks like…
Maria628
  • 224
  • 3
  • 19
0
votes
2 answers

kamailio: how to get a value from SIP INVITE Header

Please help me to get the a value from SIP INVITE header reached to kamailio like INVITE sip:+341930203454@sub.domain.com;myid=+34@sub.domain.com SIP/2.0 and i want to save the myid value +34 into a variable, without the domain name. $var(uri)…
Sheldon
  • 169
  • 1
  • 2
  • 16
0
votes
1 answer

Kamailio 5.4 Send CDR data to an API endpoint

I wonder if there is a way to send the cdr data from kamailio server to an API endpoint. I have a kamailio server with acc and dialog modules to produce cdr records. I don't want to log the CDR in a database backend after the call terminates. I…
Anis Bedhiafi
  • 185
  • 1
  • 5
  • 22
0
votes
1 answer

kamailio: Kamailio not routing ACK after 200 OK

Could any one help me on this kamailio issue, i am using kamailio as a proxy & router, PSTN route works fine, but have a problem with the ACK in response to 200OK which is not being forwarded by kamailio. below the SIP flow at client side. …
Sheldon
  • 169
  • 1
  • 2
  • 16
0
votes
2 answers

Insert new timestamp value to acc table in kamailio

I want to add a new column to acc table. I created a new column in the acc table of type timestamp and named it ring_time. In every call I put the ring time to a $dlg_var like this: $dlg_var(ringtime) = $Ts; Then I add a extra column in config like…
pumper
  • 127
  • 5
0
votes
1 answer

Need Help in kamailio push notification for IOS

I need to configure ios push notification in kamailio I have installed kamailio by repository. and need to configure ios push notification for my custom app. kindly support.