Re: [OpenSIPS-Users] Minimum SIP Headers

2017-03-07 Thread Răzvan Crainea
If you really want to enforce SIP message validation, you can use the sipmsg_validate() function[1]. [1] http://www.opensips.org/html/docs/modules/2.3.x/sipmsgops.html#id294262 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 03/07/2017 01:01 AM, Alex Balashov

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread Răzvan Crainea
Hi, John! From the dump you sent, I don't see any leaks. Perhaps some of those fragments increase over time. Can you make a memory dump after the server runs some time, like after it gets 100 messages? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 03/06

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread Răzvan Crainea
None of the "actions" you are talking about have big impact on private memory, but the shared one. Better do the dump and send it over to point out what is "eating" memory. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 03/06/2017 02:39

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread Răzvan Crainea
Ok, so it is the first listener for the private IP that leaks. Next, is the memory stabilizing in time? Or it is continously decreasing? Yes, that's how you should make the dump. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 03/06/2017 10:57 AM, John Nash

Re: [OpenSIPS-Users] Quest to find memory leak

2017-03-06 Thread Răzvan Crainea
should stabilize. Can you post the output of the kill -SIGUSR1 on pastebin so we can take a look? Also, what type of process is the one you are seeing the leak into? You can find out using the 'opensipsctl ps' command. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-sol

Re: [OpenSIPS-Users] OpenSIPS at ClueCon Weekly

2017-03-01 Thread Răzvan Crainea
Hi, Robert! It's 12:00 CST, or 18:00 UTC. Better check this event schedule: https://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenSIPS+at+ClueCon+Weekly&iso=20170301T12&p1=3920&am=45 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02

Re: [OpenSIPS-Users] uac_replace_from i'm doing something wrong..

2017-02-23 Thread Răzvan Crainea
U{s.substr,1,0})@$Ri"); append_hf("P-Asserted-Identity: \r\n"); Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/23/2017 11:51 AM, Michele Pinassi wrote: Hi all, i need to remap "from" number prior to send call to a ToIP trunk In my route[to

Re: [OpenSIPS-Users] rtpproxy not relaying data

2017-02-22 Thread Răzvan Crainea
all allows the traffic? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/22/2017 11:44 AM, Waldoalvarez via Users wrote: Hi: I am trying to use rtpproxy with my SIP proxy. It starts a session and both SIP clients send data to rtpproxy port as I see on wireshar

Re: [OpenSIPS-Users] MI fifo commands for multiple opensips instances

2017-02-21 Thread Răzvan Crainea
/opensips_fifo1 opensipsctl ps # PS of first instance OSIPS_FIFO=/tmp/opensips_fifo2 opensipsctl ps # PS of second instance Of course, you can write a wrapper that calls each time both of them. [1] http://www.opensips.org/html/docs/modules/2.2.x/mi_fifo#id249588 Best regards, Răzvan Crainea OpenSIPS

Re: [OpenSIPS-Users] CPU at 100% on some threads

2017-02-21 Thread Răzvan Crainea
Hi, Daniel! You must have some sort of failure_route processing for the 302 Redirect, don't you? Are you doing any db queries on that? Also, are you using TCP or TLS? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/21/2017 07:20 PM, Daniel Zanutti

Re: [OpenSIPS-Users] OpenSIPS Control Panel installation and use problems

2017-02-21 Thread Răzvan Crainea
Did you follow the install guide[1]? You need to install the php-mysql/php5-mysql package, as well as the pear MDB2 drivers. [1] http://controlpanel.opensips.org/ Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/22/2017 08:37 AM, 韩冰Sunny wrote: OpenSIPS

Re: [OpenSIPS-Users] CPU at 100% on some threads

2017-02-21 Thread Răzvan Crainea
Hi, Daniel! Are you doing any "expensive" processing on reply messages? Or in failure route? Any DB or REST queries? It looks like the process is waiting for a lock in the transaction module, which usually means that the transaction is stuck doing something else. Best regard

Re: [OpenSIPS-Users] preferred OS and version for OpenSIPS?

2017-02-21 Thread Răzvan Crainea
Try Debian. That's what I've used and works fine. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/21/2017 04:17 PM, Mundkowsky, Robert wrote: What version is preferred (e.g. for making the Control Panel work)? Robert Mundkowsky *From:*Users [ma

Re: [OpenSIPS-Users] preferred OS and version for OpenSIPS?

2017-02-21 Thread Răzvan Crainea
/opensips-cp/issues Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/21/2017 04:08 PM, Mundkowsky, Robert wrote: What is the preferred OS and version for OpenSIPS? I installed it on newer version Ubtunu, but and it seems to work, but the Control Panel does not

Re: [OpenSIPS-Users] Opensips-cp with Postgres MDB2 Error: unknown error

2017-02-21 Thread Răzvan Crainea
Hi, Rick! What kind of MDB packages are you using? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/20/2017 07:35 PM, Turner, Rick wrote: Hi, I’m using OpenSIPS Control Panel 6.2 with a postgres database and running into some issues I cannot figure out

Re: [OpenSIPS-Users] max size of TLS SDP

2017-02-21 Thread Răzvan Crainea
Hi, Tito! I doubt there is a limitation on the buffering size, OpenSIPS uses a 64kB buffer for reading SIP messages. Are you seeing any errors in the logs related to something like this? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/21/2017 12:07 PM, Tito

Re: [OpenSIPS-Users] Next opensips release 2.2.3

2017-02-20 Thread Răzvan Crainea
Hi, Alessandro! We have scheduled a new minor release of OpenSIPS 2.2 for next Thursday, 2nd of March 2017. It will contain all the bug fixes commited in the 2.2 branch until them. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/16/2017 11:34 AM, Alessandro

Re: [OpenSIPS-Users] Transactional REGISTER processing with 2.1

2017-02-20 Thread Răzvan Crainea
urn it in the script. Regarding the last part, I am not sure who populates the $contact variable, but a simple save() should do the trick. [1] http://www.opensips.org/html/docs/modules/2.1.x/auth#id293652 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/20/2017 11:

Re: [OpenSIPS-Users] Transactional REGISTER processing with 2.1

2017-02-20 Thread Răzvan Crainea
. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/17/2017 09:15 PM, Maxim Sobolev wrote: P.S. python_exec("www_authenticate") does not do any magic here, it's just figures out the right domain to use based on some business rules and then calls www_auth

Re: [OpenSIPS-Users] Broken links in opensips-cp

2017-02-15 Thread Răzvan Crainea
Hi, Vincent! Are you seeing any errors in your apache logs? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/15/2017 04:00 PM, Vincent DOCQUOIS wrote: Hi all, Hi all, I am using Opensips 2.2 without any problem, I just have issues with opensips-cp (the

Re: [OpenSIPS-Users] Opensips with rtpengine

2017-02-13 Thread Răzvan Crainea
Hi, Sasmita! Did you follow the WS tutorial[1]? You need to use the fix_nated_register(); function for REGISTER messages, to overwrite the contact with the IP&portthe message was received from. [1] http://www.opensips.org/Documentation/Tutorials-WebSocket-2-2 Best regards, Răzvan Cra

[OpenSIPS-Users] [BLOG] RabbitMQ evolution with OpenSIPS 2.3

2017-02-08 Thread Răzvan Crainea
-evolution-with-opensips-2-3/ The development of the new RabbitMQ module for OpenSIPS 2.3 has been sponsored by Voicenter(https://www.voicenter.com/) – many thanks for supporting the OpenSIPS project! Best regards, -- Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com

Re: [OpenSIPS-Users] Opensips with rtpengine

2017-02-07 Thread Răzvan Crainea
Hi, Sasmita! Yes, both proto_ws, proto_wss and rtpengine modules are mature enough and are ready to use. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 02/07/2017 10:47 AM, Sasmita Panda wrote: Hi All , I am quite intrested to use opensips-2.2 with

Re: [OpenSIPS-Users] SIP message relay order

2017-02-04 Thread Răzvan Crainea
Hi, Stas! I can't think of any way to overcome this. However, re-INVITEs and ACK should be treated in the same manner, without too much processing. My assumption is that you are doing some extra processing on re-INVITEs which might delay its forward. Can you check that? Best regards, R

Re: [OpenSIPS-Users] Radius acc - wrong Sip-Call-Setuptime

2017-02-01 Thread Răzvan Crainea
I've replied to your issue on github[1]. Let's keep the conversation on that thread. PS: Please do not post the same issue on different channels, because it is hard to follow all of them. [1] https://github.com/OpenSIPS/opensips/issues/1032 Best regards, Răzvan Crainea OpenSIPS

Re: [OpenSIPS-Users] Opensips(1.11.5) Crash - " #0 0x00007fcd7223ae2c in vfprintf () from /lib64/libc.so.6"

2017-02-01 Thread Răzvan Crainea
Hi, Ravi! Are you using async TCP? Also, please update to the latest 1.11.9 Version to get all the latest bug fixes. PS: also, please subscribe to the opensips mailing list, otherwise you might miss some emails. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com

Re: [OpenSIPS-Users] number validation

2017-01-26 Thread Răzvan Crainea
You can use regular expressions: if ($var(number) =~ "^[0-9]*$") xlog("Number"); else xlog("Not a number"); Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/26/2017 10:52 AM, Dragomir Haralambiev wrote: Hello, How Op

[OpenSIPS-Users] [BLOG] Real-time billing using OpenSIPS 2.3 and CGRateS

2017-01-25 Thread Răzvan Crainea
Hello all! The upcoming OpenSIPS 2.3 will have built-in integration with the CGRateS engine, providing a simple way to do real-time billing/charging. Check out more information on our blog: https://blog.opensips.org/2017/01/25/real-time-billing-using-cgrates Best regards, -- Răzvan Crainea

Re: [OpenSIPS-Users] scheduled concurrent call reporting

2017-01-24 Thread Răzvan Crainea
Hello, Khalil! You could check the $stat(active_dialogs) pvar, which will return the number of ongoing dialogs. Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/24/2017 01:05 AM, Khalil Khamlichi wrote: the idea is that I don't need to ge

Re: [OpenSIPS-Users] async radius problem

2017-01-19 Thread Răzvan Crainea
Actually this is a characteristic of the async engine, not only the AAA_Radius module. I check to see where is the best place to specify this info. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/19/2017 10:40 AM, Dragomir Haralambiev wrote: Hi, Thanks for

Re: [OpenSIPS-Users] OpenSIPs 2.2.2 warnings during start service

2017-01-19 Thread Răzvan Crainea
When starting opensips, is there any opensips process that is using more than 80% of a core? If so, can you pinpoint the PID in the opensipsctl ps command? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/18/2017 11:55 PM, Ramachandran, Agalya (Contractor

Re: [OpenSIPS-Users] async- issues- 2.2.2

2017-01-19 Thread Răzvan Crainea
You have my answer inline. Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/18/2017 08:17 PM, Ramachandran, Agalya (Contractor) wrote: Hi Razvan, Got your point.I tried to increase the MAX_CONTENT_TYPE_LEN and tested async call and it is working fine without crash. But

Re: [OpenSIPS-Users] async radius problem

2017-01-19 Thread Răzvan Crainea
Hi, Dragomir! Currently async operations are only available for requests, not for replies. In the onreply_route you can only use synchronous operations for now. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/18/2017 03:45 PM, Dragomir Haralambiev wrote

Re: [OpenSIPS-Users] async- issues- 2.2.2

2017-01-18 Thread Răzvan Crainea
ize large enought to fit your callid length. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/17/2017 11:13 PM, Ramachandran, Agalya (Contractor) wrote: Hi Liviu, Found the exact issue what causes the crash. In start_async_http_req, under case PUT/POST, we h

Re: [OpenSIPS-Users] does OpenSIPS Control Panel work?

2017-01-18 Thread Răzvan Crainea
2/web/tools/admin/list_admins/template/list_admins.main.php#L152 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/17/2017 09:15 PM, robert mundkowsky via Users wrote: I installed https://github.com/OpenSIPS/opensips-cp/archive/6.2.zip And I am getting a parse error

Re: [OpenSIPS-Users] Registrar with IP authentication - selecting variables from DB

2017-01-18 Thread Răzvan Crainea
You are probably using an old version of OpenSIPS, that's why you are not seeing negative return values. Checking if the IP might still be ok, if your database is consistent and has an IP for every user. So for now I would go with this solution. Best regards, Răzvan Crainea Ope

Re: [OpenSIPS-Users] Opensips 1.6 as a Proxy and Presence Server

2017-01-17 Thread Răzvan Crainea
I checked your script and you are not handling publish/subscribe for sequential requests. You should try to move the route(handle_presence); call for sequential requests too. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/17/2017 10:07 AM, maatohewetbi wrote

Re: [OpenSIPS-Users] Registrar with IP authentication - selecting variables from DB

2017-01-17 Thread Răzvan Crainea
have that username when doing the query? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/17/2017 10:06 AM, maatohewetbi wrote: Razvan, I've found that this conditional doesn't work: if ($rc == -2) It turned out that $rc variable is never -2, although se

Re: [OpenSIPS-Users] opensips $Revision: 4448 $

2017-01-16 Thread Răzvan Crainea
Yes, please try that. To be honest, I've never done it using the new accounting module, but this might do the trick. Also, did you take a look at the multi-legging accounting? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/16/2017 01:18 PM, Khalil Kham

Re: [OpenSIPS-Users] Problem with switch .. case

2017-01-16 Thread Răzvan Crainea
The $rc in the switch is the return value of xlog(), which probably is success. Just remove the xlog after the radius_send_auth(), or store the $rc in a variable and test that variable. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/16/2017 12:24 PM

Re: [OpenSIPS-Users] opensips $Revision: 4448 $

2017-01-16 Thread Răzvan Crainea
I was asking you to call do_accounting() in failure route, for each leg. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/16/2017 12:02 PM, Khalil Khamlichi wrote: sorry mistype, I am calling do_accounting() twice. On Mon, Jan 16, 2017 at 9:47 AM, Khalil

Re: [OpenSIPS-Users] mi_json Module

2017-01-16 Thread Răzvan Crainea
Hi, Dragomir! Parameters are sent in the params parameter. Check the example in the documentation: http://www.opensips.org/html/docs/modules/2.2.x/mi_json#id249590 This works for me: # curl -s 'http://127.0.0.1:8080/json/get_statistics?params=shmem:' Best regards, Răzvan Craine

Re: [OpenSIPS-Users] opensips $Revision: 4448 $

2017-01-16 Thread Răzvan Crainea
Hi, Khalil! Did you try to call the do_accounting() function for each leg going to the next gateway? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/15/2017 12:24 AM, Khalil Khamlichi wrote: Hi, I am testing opensips 2.2, 2.3 I have tried to configure acc

Re: [OpenSIPS-Users] OpenSIPs crashed

2017-01-16 Thread Răzvan Crainea
e of process is that? Regarding the avp_db_query() issue, did you define a db_url parameter for it? Also I am not sure you can do something like $var(res) = avp_db_query(...). But anyways, this is something completely different, so please open a different topic for it. Best regards, Răzvan C

Re: [OpenSIPS-Users] Registrar with IP authentication - selecting variables from DB

2017-01-13 Thread Răzvan Crainea
You can do something like this: avp_db_query("select ip from address where context_info='$fU'", "$avp(ip)"); if ($rc == -2) { # not found in db } else if ($avp(ip) != $si) { # reject the call } Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-s

Re: [OpenSIPS-Users] change T_fr_in_timeout

2017-01-13 Thread Răzvan Crainea
ndle_timer); ... } onreply_route[handle_timer] { if (t_check_status("(180)|(183)")) $T_fr_inv_timeout = 60; } Hope this is a right pointer to solve your problem. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/12/2017 04:40 PM, bluerain via

Re: [OpenSIPS-Users] Registrar with IP authentication - selecting variables from DB

2017-01-13 Thread Răzvan Crainea
Yes, it is. Provision the address table in the database and use the check_source_address() functionin the script. [1] http://www.opensips.org/html/docs/modules/2.2.x/permissions#id295007 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/13/2017 11:03 AM

Re: [OpenSIPS-Users] force one AOR

2017-01-13 Thread Răzvan Crainea
Hi, Soren! What version of OpenSIPS are you running? Also, can you send over the debug logs for this scenario? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/12/2017 01:13 PM, Søren Andersen wrote: Hello, I’ve some trouble with forceing 1 AOR per contact

Re: [OpenSIPS-Users] Registrar with IP authentication - selecting variables from DB

2017-01-13 Thread Răzvan Crainea
Then simply reverse the IP check logic and do it after the user is authenticated. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/11/2017 01:15 PM, maatohewetbi wrote: Yes, but I want to check sip login first, not an IP. Here is ny plan, what I want to do

Re: [OpenSIPS-Users] OpenSIPs crashed

2017-01-13 Thread Răzvan Crainea
2.2.2. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/12/2017 11:55 PM, Ahmed Munir wrote: Found coredump on one of the server, see some partial message below while taking the back trace; Core was generated by `/usr/sbin/opensips -P /var/run/opensips.pid -m

Re: [OpenSIPS-Users] $rl_count in 2.2.2

2017-01-13 Thread Răzvan Crainea
unt's name: $var(rl_name) = "cps_" + $avp(trunk_group); $json(call_details/tg_cps) = $rl_count($var(rl_name)); Let me know how this goes. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/13/2017 12:48 AM, Pat Burke wrote: Hello, I am trying to get the

Re: [OpenSIPS-Users] OpenSIPs crashed

2017-01-12 Thread Răzvan Crainea
ctory by changing the /proc/sys/kernel/core_pattern settings. Also, please let us know the version of OpenSIPS you are running. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/11/2017 11:10 PM, Ahmed Munir wrote: Hi, Our OpenSIPs service crashed with below error;

Re: [OpenSIPS-Users] Registrar with IP authentication - selecting variables from DB

2017-01-11 Thread Răzvan Crainea
Yes, you can use the check_source() address function[1] just before the auth block. [1] http://www.opensips.org/html/docs/modules/2.2.x/permissions#id295007 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/11/2017 12:44 PM, maatohewetbi wrote: Is there any

Re: [OpenSIPS-Users] Load Balancer - Checking Node Health

2017-01-11 Thread Răzvan Crainea
tat("$stat(tran_486_$si)", "+1"); Again, monitor these statistics over MI and if you see spikes, send alerts. These are the solutions I am thinking of. Hope they are helpful. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/11/2017 08:51 AM, Ch

Re: [OpenSIPS-Users] Opensips 1.6 as a Proxy and Presence Server

2017-01-10 Thread Răzvan Crainea
It depends on where you added that block. Also, did you also add the handle_presence route in your script? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/09/2017 10:58 AM, maatohewetbi wrote: Have You got any clue, why this is happnning? -- View this

Re: [OpenSIPS-Users] How to store variables into file

2017-01-10 Thread Răzvan Crainea
-bin/mailman/listinfo/users Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/09/2017 05:43 PM, maatohewetbi wrote: How can I save any variable into log? I use somethin like this: log("$Ts"); But in log file I always get: Jan 9 16:39:14 OpenSips/sbi

Re: [OpenSIPS-Users] 2.2.2 packaging

2017-01-09 Thread Răzvan Crainea
Actually as Nick pointed out, the rpm specs used are here: https://github.com/OpenSIPS/opensips/tree/2.2/packaging/redhat_fedora Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/09/2017 10:36 AM, Răzvan Crainea wrote: Hello, Nathan! You have my answer inline

Re: [OpenSIPS-Users] 2.2.2 packaging

2017-01-09 Thread Răzvan Crainea
Hello, Nathan! You have my answer inline. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/07/2017 11:10 AM, Nathan Ward wrote: Hi, I am running OpenSIPS 2.2.2 from RPMs from the opensips.org yum server. I am trying to find out where the SPEC files to

Re: [OpenSIPS-Users] Install opensips to systemd

2017-01-09 Thread Răzvan Crainea
No, unfortunately there is no way to install the systemd files automatically, you have to do it manually. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/08/2017 10:49 PM, Robert Dyck wrote: I had a working opensips 1.11 installed by Fedora package manager. I

Re: [OpenSIPS-Users] do_routing function first argument

2017-01-09 Thread Răzvan Crainea
. I hope I answered you question now. [1] http://www.opensips.org/html/docs/modules/2.2.x/drouting.html#id295067 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/08/2017 08:23 PM, Khalil Khamlichi wrote: Well you get to my point, shouldn't it be in the database

Re: [OpenSIPS-Users] Topology hiding and Route header

2017-01-06 Thread Răzvan Crainea
Hi, Adrien! If you are talking about a pre-loaded Route header (received from the client) for an initial INVITE, then the topology_hiding() module does not remove it and you have to remove it yourself. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/06/2017

Re: [OpenSIPS-Users] ERROR:drouting:populate_dr_bls: Something went wrong in add_rule_to_list

2017-01-05 Thread Răzvan Crainea
Hi, Flavio? Are you seeing the errors in the logs? Can you send them to us to check? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/05/2017 02:12 PM, Flavio Goncalves wrote: Hi, I'm getting some errors on drouting and I got some routes sent to

Re: [OpenSIPS-Users] CRITICAL:core:timer_ticker: timer handler

2017-01-05 Thread Răzvan Crainea
Hi, Flavio! Is it the latest OpenSIPS version? How many children are you using? Can you send over the output of "opensipsctl ps"? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/05/2017 01:59 PM, Flavio Goncalves wrote: Hi, I'm getting s

Re: [OpenSIPS-Users] Codecs Order

2017-01-05 Thread Răzvan Crainea
Hi, Alain! You could use the SDP transformations combine with regular expresions. I am thinking at something like: if ($(rb{sdp.line,m}) =~ "AVP\s*8") xlog("PCMA is first codec!\n"); Hope this is useful :) Best regards, Răzvan Crainea OpenSIPS Solutions www.opensi

Re: [OpenSIPS-Users] rtpproxy and record calls

2017-01-04 Thread Răzvan Crainea
aracter in something else. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/04/2017 05:24 PM, Денис Путято via Users wrote: Hello! Is there any information about the problem? Thank you. -- С уважением, Путято Денис Best regards, Denis 14:47, 27 декабря 2016

Re: [OpenSIPS-Users] opensips for windows

2017-01-03 Thread Răzvan Crainea
Hi, Mohsin! OpenSIPS was designed to work on Unix systems, I never tried to compile it on Windows. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/31/2016 12:32 PM, Mohsin Barbhaiwala wrote: can this opensips be compiled & run on windows. if so does any

Re: [OpenSIPS-Users] Opensips 1.6 as a Proxy and Presence Server

2017-01-03 Thread Răzvan Crainea
handle_subscribe(); } exit; } [1] http://www.opensips.org/Documentation/Tutorials-Presence-PuaDialoinfoConfig PS: Please subscribe on the mailing list, otherwise you will loose further replies Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/03/2017 10:13 A

Re: [OpenSIPS-Users] opensips-cp missing

2017-01-03 Thread Răzvan Crainea
b.com/OpenSIPS/opensips-cp/blob/abafe7503dd8ad089b834cfcb7058deeda30375e/INSTALL#L30 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 01/02/2017 10:28 PM, Jaap van der Starre wrote: After upgrade from wheezy to jessie opensips-cp is missing while my grandstream

Re: [OpenSIPS-Users] opensips performance

2016-12-29 Thread Răzvan Crainea
toc59 Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 12/23/2016 08:39 PM, Ramachandran, Agalya (Contractor) wrote: Hi Bogdan/team, Am using opensips 2.2.2 version and using opensips as only proxy. In the default script, in route[relay], I have called setdsturi(

[OpenSIPS-Users] [BLOG] Understanding and dimensioning memory in OpenSIPS

2016-12-29 Thread Răzvan Crainea
f you. Happy reading :)! [1] https://blog.opensips.org/2016/12/29/understanding-and-dimensioning-memory-in-opensips/ [2] https://blog.opensips.org Best wishes, -- Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com ___ Users mailing

Re: [OpenSIPS-Users] b2b server_address parameter

2016-12-27 Thread Răzvan Crainea
nt to do that, another idea (but less efficient) is to catch the INVITE in local_route and "manually" change the Contact header, using remove_hf() and append_hf(). Let us know how that works. Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 1

Re: [OpenSIPS-Users] custom presence bodies

2016-12-27 Thread Răzvan Crainea
#section-4.1.1 [2] http://www.opensips.org/html/docs/modules/2.2.x/pua_dialoginfo.html Best regards. Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 12/23/2016 11:36 PM, Tito Cumpen wrote: The closest thing that resembles the sort of body I need is using dialog_info but

Re: [OpenSIPS-Users] uac_replace_from and top_hiding

2016-12-23 Thread Răzvan Crainea
fine. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/23/2016 02:49 PM, Denis via Users wrote: Hello! I wander is there any reason to use uac_replace_from function with top_hiding? Or this will not work? Because top_hiding doesn`t change "From domain&q

Re: [OpenSIPS-Users] Opensips crash

2016-12-23 Thread Răzvan Crainea
process in the pattern. To do that, run: # echo core.%p > /proc/sys/kernel/core_pattern Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/23/2016 11:35 AM, Denis wrote: One question. If in the destination directory of the core file will be located another &quo

Re: [OpenSIPS-Users] Opensips crash

2016-12-23 Thread Răzvan Crainea
Please update to the latest 2.2.2. If you still have problems, try to make sure opensips can generate a corefile[1]. [1] http://www.opensips.org/Documentation/TroubleShooting-Crash Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/23/2016 11:16 AM, Denis wrote

Re: [OpenSIPS-Users] Using Redis with OpenSIPS 2.1.5 error

2016-12-23 Thread Răzvan Crainea
Hi, Sami! Did you compile OpenSIPS redis with a different compiler, or with gcc 5.4? Can you apply this patch[1] and test again? [1] https://github.com/OpenSIPS/opensips/commit/25502536bb2cd03088b83c4997062841a5a238b1.patch Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips

Re: [OpenSIPS-Users] WARNING in 2.2

2016-12-22 Thread Răzvan Crainea
Hi, Agalya! Can you check you have this commit: https://github.com/OpenSIPS/opensips/commit/fd8f6ec442b4365da9d274af6939954246ece865 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/22/2016 04:43 PM, Ramachandran, Agalya (Contractor) wrote: Hi Razvan, Am

Re: [OpenSIPS-Users] How to store some Sip-header value in variable ?

2016-12-22 Thread Răzvan Crainea
save("location"); exit; } After that, you will be able to see the attribute in the MI commands output. [1] http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id293909 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/22/2016 09:

Re: [OpenSIPS-Users] WARNING in 2.2

2016-12-22 Thread Răzvan Crainea
Hi, Agalya! Are you using the latest OpenSIPS 2.2? If not, upgrade to the latest version and the Warning should no longer appear. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/21/2016 06:58 PM, Ramachandran, Agalya (Contractor) wrote: Hi Bogdan, I have

Re: [OpenSIPS-Users] rtpproxy and timeout socket

2016-12-21 Thread Răzvan Crainea
issue: https://github.com/OpenSIPS/opensips/issues Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/21/2016 10:59 AM, Denis wrote: Hello, Razvan! 2.2.alpha.20160822 -- С уважением, Денис. Best regards, Denis 21.12.2016, 11:58, "Răzvan Crainea" : Hi, Denis

Re: [OpenSIPS-Users] Mi_datagram perfomance.

2016-12-21 Thread Răzvan Crainea
rds, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/21/2016 10:36 AM, Kirill Galinurov wrote: Hello all. we want to get some statistic from our opensips. We want to use http://www.opensips.org/html/docs/modules/2.2.x/mi_datagram.html module to send some fifo commands like ul_s

Re: [OpenSIPS-Users] rtpproxy and timeout socket

2016-12-21 Thread Răzvan Crainea
Hi, Denis! What version of rtpproxy are you using? There might be an incompatibility issue here. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/21/2016 07:37 AM, Denis wrote: Hello! I am using rtpproxy in my VoIP network and now i want to locate it on

Re: [OpenSIPS-Users] custom presence bodies

2016-12-20 Thread Răzvan Crainea
will subscribe for a particular event (presence, or conference in your case) and when that event happens, OpenSIPS will send notifies only to those clients registered for that event. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/20/2016 11:37 AM, Tito Cumpen

Re: [OpenSIPS-Users] rtpproxy compile

2016-12-20 Thread Răzvan Crainea
] https://codeyarns.com/2014/01/14/how-to-add-library-directory-to-ldconfig-cache/ Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/20/2016 08:46 AM, Denis wrote: Hello! I want to use extractaudio utility to extract audio and write it to some .wav file. But, dur

Re: [OpenSIPS-Users] custom presence bodies

2016-12-20 Thread Răzvan Crainea
ojson/?save=5a6721b1-55f9-46c2-8bda-cf21e15e38b3-xmltojson [2] http://www.utilities-online.info/xmltojson/?save=320f586b-c2eb-4e73-b564-3f73f0120662-xmltojson Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/20/2016 01:38 AM, Tito Cumpen wrote: I want to impleme

Re: [OpenSIPS-Users] Opensips 2.2 and CANCEL transaction

2016-12-19 Thread Răzvan Crainea
Hi, Denis! According to the SIP RFC, if the Proxy doesn't receive any reply, it will not generate a CANCEL. Are you sending at least 100 Trying between your servers? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/19/2016 12:42 PM, Denis wrote:

Re: [OpenSIPS-Users] How to Keep OpenSIPS in reverse path

2016-12-15 Thread Răzvan Crainea
set opensips's IP in the destination URI, not the request URI, otherwise OpenSIPS will not know the destination GW. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/15/2016 01:33 PM, M. Salman wrote: Hi, Generally there are three ways of doing this: 1

Re: [OpenSIPS-Users] How to Keep OpenSIPS in reverse path

2016-12-15 Thread Răzvan Crainea
I am sorry, but I don't understand your call flow. Please present here the call flow you have now, and the expected one. PS: not sure why you are looking at the Via header, that's only used for replies, not for requests. Best regards, Răzvan Crainea OpenSIPS Solutions ww

Re: [OpenSIPS-Users] How to Keep OpenSIPS in reverse path

2016-12-14 Thread Răzvan Crainea
Hi, Muhammad! The add_path() function should only be called on REGISTER messages, and it adds a Path header (not a Via). Do you see this header in your REGISTER message? For sequential requests, you should use the record_route() mechanism. Best regards, Răzvan Crainea OpenSIPS Solutions

Re: [OpenSIPS-Users] [IMPORTANT] MAINTENANCE: opensips.org email and mailing lists servers migration

2016-12-14 Thread Răzvan Crainea
Hello, everyone! Both email and mailing lists servers have been successfully moved to a new platform. You are now free to use them at your convenience. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/12/2016 06:38 PM, Răzvan Crainea wrote: Hello everybody

[OpenSIPS-Users] [IMPORTANT] MAINTENANCE: opensips.org email and mailing lists servers migration

2016-12-12 Thread Răzvan Crainea
+mailing+lists+server+migration&iso=20161214T10&p1=49&ah=2 Best regards, -- Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] 回复: what is the problem with

2016-12-09 Thread Răzvan Crainea
? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/09/2016 03:35 AM, james wrote: Hello: I am trying with Lab-9 and add load balance from CP, Group ID, Destination URL(sip:54.160.131.18:5600), Resource, Probe Mode and description. the format of URL is wrong, but I

Re: [OpenSIPS-Users] what is the problem with

2016-12-08 Thread Răzvan Crainea
Hi, James! Are you specifying any resources for your destination? Resources should be something like: pstn=100;conf=10 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/08/2016 01:32 PM, james wrote: Hello: If I enter this: sip:54.160.131.18:5600 from load

Re: [OpenSIPS-Users] is_ip_registered in invite

2016-12-05 Thread Răzvan Crainea
istrar.html#id294953 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/04/2016 01:20 PM, Schneur Rosenberg wrote: Hi, I would like to check during the initial invite if the request comes from a IP that is registered (I don't care about the user credentials at thi

Re: [OpenSIPS-Users] ERROR:dialog:dlg_onreq_out: No outgoing contact in the initial INVITE

2016-12-05 Thread Răzvan Crainea
Hi, Adrian! That message is generated because the CANCEL message does not have a Contact header. The error message is indeed misleading. I will turn this into a debug message and adjust the message. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 12/03/2016 10

Re: [OpenSIPS-Users] Ipv6 on non-default port not working

2016-12-05 Thread Răzvan Crainea
Hi, Robert! Are you using only a single listening interface, on port 5062? Or you're doing more complex scenarios? You're saying that you are not seeing any debugging logs when a message is sent to the 5062 port? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutio

Re: [OpenSIPS-Users] Conflicting information from commands 'opensipsctl ul show' and ' opensipsctl fifo list_tcp_conns '.

2016-11-30 Thread Răzvan Crainea
ISTER message, and therefore the client is not yet registered from SIP perspective. What you might see there (with port 48695) might be an old (bogus) registration. After a while, when the client registers, you see the correct info. Best regards, Răzvan Crainea OpenSIPS Core Developer

Re: [OpenSIPS-Users] B2BUA, authenticated INVITEs with "ACK for a negative reply"

2016-11-29 Thread Răzvan Crainea
On 11/29/2016 10:36 AM, Nathan Ward wrote: On 29/11/2016, at 9:26 PM, Răzvan Crainea wrote: On 11/29/2016 04:09 AM, Nathan Ward wrote: On 29/11/2016, at 5:25 AM, Răzvan Crainea wrote: Hi, Nathan! Have you tried calling b2b_init_request() with the "a" flag [1]? [1] http://www.op

Re: [OpenSIPS-Users] handle_timer_job delay in execution

2016-11-29 Thread Răzvan Crainea
Hi, Adrian! What version of OpenSIPS are you using? Can you update to the latest version? Can you also run an "opensipsctl ps" and send the output back? Also, can you send the list of the modules you are using? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutio

Re: [OpenSIPS-Users] B2BUA, authenticated INVITEs with "ACK for a negative reply"

2016-11-29 Thread Răzvan Crainea
On 11/29/2016 04:09 AM, Nathan Ward wrote: On 29/11/2016, at 5:25 AM, Răzvan Crainea wrote: Hi, Nathan! Have you tried calling b2b_init_request() with the "a" flag [1]? [1] http://www.opensips.org/html/docs/modules/2.2.x/b2b_logic.html#id294010 Hi, Yes I have. This passes t

<    3   4   5   6   7   8   9   10   11   12   >