Questions tagged [opensips]

OpenSIPS (Open SIP Server) is a mature Open Source implementation of a SIP server.

OpenSIPS (Open SIP Server) is a mature Open Source implementation of a SIP server.

More

133 questions
1
vote
1 answer

OpenSIPS, how to avoid duplicate invite when registering through push notifications?

This is my script. I found that for a register, E_UL_CONTACT_INSERT will be triggered one or more times. I don’t want to invite the same client multiple times. route[route_to_user] { t_newtran(); t_on_branch("per_branch_ops"); …
Fulo Lin
  • 155
  • 5
1
vote
1 answer

Opensips - variables and strings

Dears, I use Opensips 2.4 How to use mid_registrar_save("$(rd{ip.resolve})") to mean variable $(rd{ip.resolve}) instead of string "$(rd{ip.resolve})" Thank you for your help. User Location
Van Minh
  • 11
  • 1
1
vote
0 answers

SIP auth with ejabberd

I am trying to relay a SIP SUBSCRIBE message from OpenSIPS to my ejabberd server. However ejabberd insists on challenging this with a 407 Proxy Authentication Required response. I would like to somehow add my OpenSIPs server as a trusted peer on…
1
vote
0 answers

PSTN Call is not working over opensip instalaltion

we have already installed opensip over asterisk but i want to move PSTN calls over asterisk . Opensip working veru fine in extension to extension call . But i want The Public Switched Telephone Network (PSTN) over asterisk server.
1
vote
1 answer

Not able to access OpenSIPS CP web interface

I have installed opensips-2.1.2 in on vmware (ubuntu 14.4.6). I can see opensips installation went fine, but not able to access the web interface for the same. After installation i have greped the process to confirm if it got installed or not, it…
Sagar
  • 71
  • 2
  • 3
1
vote
1 answer

Opensips 2.4 can't make outbound call

I followed tutorial on https://www.powerpbx.org/content/opensips-v24-debian-v8-mariadb-apache-v1 With minor tweaks for "Debian Buster" I have installed all components, services starts with no error, I created few subscribers from opensipscp, under…
1
vote
1 answer

install and configure opensips as load-balancer for freeswitch

I am trying to configure opensips as load-balancer for freeswitch by following below link but the procedure written there seems very old and many issues are faced while following the steps mentioned in…
kaa
  • 11
  • 2
1
vote
1 answer

OpenSIPs Control Panel errors

I have setup OpenSIPs control panel and I can successfully complete basic functions like adding users. Problem is I keep getting this error when clicking on most features in the control panel. MI command failed with code 406 Not sure how to fix, any…
Fonewiz
  • 2,065
  • 3
  • 17
  • 17
1
vote
1 answer

PSTN to OpenSIPS to next SIP destination

I have worked with Asterisk for years but I am very new to OpenSIPS. What I need is to have calls come in from our DID provider to the OpenSIPS server then redirect them to another SIP URI. Something like this: DID Origination Provider -> OpenSIPS…
Fonewiz
  • 2,065
  • 3
  • 17
  • 17
1
vote
1 answer

Speed up Mysql queries with Hash Table in OPENSIPS

Dears, I have got an Opensips server which make queries to an mysql server. I need to optimice these queries at maximum. One way could be: using mysql table with engine=memory and index=hash, but ¿how to load these type of table at the init of the…
1
vote
1 answer

script variable should not be used for call processing?

sir, I am trying to create stateful proxy in opensips 2.4. I just wanted a variable to hold received message information and process it. So i checked "core variable" in opensips manual.it says, script variable are process wise. So i should not use…
1
vote
1 answer

compiling Opensips on Clion: missing tap.h, which library is missing?

I am trying to compile Opensips on Clion as I want to debug and step through the code. I have tried adding environment variables through following lines in CMakeLists.txt: set(CMAKE_C_FLAGS "-funroll-loops -Wcast-align -Wall -minline-all-stringops…
1
vote
1 answer

OpenSIPS 2.4 call forbidden

I discovered OpenSIPS and all the possibilities a few days ago. I would just use it as a simple SIP proxy to get started. Proxy between my designated UAC and my UAS (asterisk, not natted). The goal is to use a proxy to prevent bot attacks on my…
Mayzz
  • 116
  • 1
  • 9
1
vote
1 answer

Opensips avp_db_query can't compare null value

I am using avp_db_query to retrieve my table row, sometimes one field value is null. But when I use if condition it does not follow and move on. avp_db_query("select status from orders where id = 1", "$avp(status);") Now if i write…
Kamal Panhwar
  • 2,345
  • 3
  • 21
  • 37
1
vote
1 answer

Sip UPDATE method

I am new to sip protocol.I understand the normal sip mechanism like how it works.I know about sip re-invite method which is useful to update the SDP(Session Description Protocol) parameters.But recently i found UPDATE sip method which also do the…
1
2
3
8 9