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] does OpenSIPS Control Panel work?

2017-01-18 Thread Răzvan Crainea
/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 errors

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 OpenSIPS

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
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 select query(select ip

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 Khamlichi

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 Crainea OpenSIPS

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
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 Craine

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-solutions.c

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] 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] $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 curr

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] 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

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 wrong

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 some e

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.op

Re: [OpenSIPS-Users] rtpproxy and record calls

2017-01-04 Thread Răzvan Crainea
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 г., Denis via Users

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
/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 HT503

Re: [OpenSIPS-Users] opensips performance

2016-12-29 Thread Răzvan Crainea
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
. 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 list

Re: [OpenSIPS-Users] b2b server_address parameter

2016-12-27 Thread Răzvan Crainea
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 12/26/

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

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
n 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 "core&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
: 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" <raz...@opens

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

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 wrote

Re: [OpenSIPS-Users] rtpproxy compile

2016-12-20 Thread Răzvan Crainea
/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, during compiling of this utility i get

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: Hello

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

2016-12-15 Thread Răzvan Crainea
to 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) Use

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 www.opensips

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
+and+mailing+lists+server+migration=20161214T10=49=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
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 this time), I use it to know

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-solutions.com

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

2016-11-30 Thread Răzvan Crainea
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 http

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 <raz...@opensips.org> wrote: On 11/29/2016 04:09 AM, Nathan Ward wrote: On 29/11/2016, at 5:25 AM, Răzvan Crainea <raz...@opensips.org> wrote: Hi, Nathan! Have you tried calling b2b_

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-sol

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 <raz...@opensips.org> 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

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

2016-11-28 Thread Răzvan Crainea
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 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/26/2016 06:04 AM, Nathan Ward wrote: Hi

Re: [OpenSIPS-Users] handle_timer_job delay in execution

2016-11-28 Thread Răzvan Crainea
Are you doing any DB queries that might take a lot of time? Also, how many children are you using? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/28/2016 03:33 PM, Adrian Fretwell wrote: Hi Razvan, I don't see the error regularly, I think that's what

Re: [OpenSIPS-Users] handle_timer_job delay in execution

2016-11-28 Thread Răzvan Crainea
Hi, Adrian! Are you still seeing those errors, even if there is no traffic? Can you check if you have any hung transactions? Just run: scripts/opensipsctl fifo get_statistics tm: Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/28/2016 12:57 PM, Adrian

Re: [OpenSIPS-Users] Want to create opensips subscriber from restful api or from web application

2016-11-28 Thread Răzvan Crainea
, ':', password))); You can find more info here: https://www.opensips.org/Documentation/TipsFAQ#toc2 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/28/2016 06:50 AM, vishal dubey wrote: Team, Any suggestion on my earlier request "Want to create ope

Re: [OpenSIPS-Users] Actions that apply to all branches

2016-11-28 Thread Răzvan Crainea
force_send_socket() in the main route, and then add a second branch, the messages leave on different interfaces? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/26/2016 12:19 PM, Adrian Fretwell wrote: Hello, I understand from the documentation that after calling

Re: [OpenSIPS-Users] $ai transformation

2016-11-23 Thread Răzvan Crainea
Hi, Ehrny! I've just tested, and for me it works as it should - the reply goes through the interface it came from. Is there any chance you could send me your script (privately)? Perhaps I can spot some problemsby looking at it. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips

Re: [OpenSIPS-Users] $ai transformation

2016-11-22 Thread Răzvan Crainea
to replicate this and let you know if it works or not. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/21/2016 06:40 PM, Ehrny wrote: Hi Răzvan, Thanks for your help. The call needs to be done through multi homed OpenSIPs (I don’t use mhomed flag) Caller

Re: [OpenSIPS-Users] $ai transformation

2016-11-21 Thread Răzvan Crainea
Hi, Ehrny! You need the IP address of whom? Caller? Callee? $rd is null because a reply does not have a R-URI. Perhaps the reply doesn't have a received parameter in the reply either, that's why it is empty. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11

Re: [OpenSIPS-Users] $ai transformation

2016-11-21 Thread Răzvan Crainea
Hi, Ehrny! You don't need to use contexts in the onreply_route[], because that route is already ran in the context of the reply message. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/19/2016 10:40 PM, Ehrny wrote: Dear Răzvan, … I’ve tried to add

Re: [OpenSIPS-Users] $ai transformation

2016-11-18 Thread Răzvan Crainea
Hi, Ehrny! Did you try setting the private socket on the reply? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/17/2016 01:00 AM, Ehrny wrote: Dear Răzvan, Thanks again for the prompt help. I was able to change the headers as needed but I’m stuck

Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding

2016-11-16 Thread Răzvan Crainea
e the topo hiding marker to something else[1]. [1] http://www.opensips.org/html/docs/modules/2.2.x/topology_hiding.html#id249610 Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 11/16/2016 11:58 AM, Denis wrote: And a version of Opensips proxy - Server:

Re: [OpenSIPS-Users] Topology_Hiding adding extra VIA header

2016-11-16 Thread Răzvan Crainea
Hi, Sammy! Most likely that WIP refers to the re-invites generated for pinging purposes. Are you using the "R/r" flags for the create_dialog() function? Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 11/15/2016 09:56 PM, SamyGo wrote:

Re: [OpenSIPS-Users] Topology_Hiding adding extra VIA header

2016-11-15 Thread Răzvan Crainea
Hi, Sammy! What errors is the topo hiding function logging? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/15/2016 07:19 PM, SamyGo wrote: Hi Razvan, I just noticed that since Topo hiding function gives error, the calls using this do not show any changes

Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding

2016-11-15 Thread Răzvan Crainea
Hi, Denis! Could you also send the logs for INVITE? It seems like the dialog is storing a bogus Contact header. PS: please attach the logs on pastebin.com, not directly in the email. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/15/2016 04:34 PM, Denis

Re: [OpenSIPS-Users] [OpenSIPS-users] FOSDEM Real Time Communications devroom seeks speakers / volunteers

2016-11-15 Thread Răzvan Crainea
Hi, Saul! Thanks for the heads-up, we'll definitely be there! See you in Brussels! Cheers, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/14/2016 11:39 PM, Saúl Ibarra Corretgé wrote: Hi there! It’s that time of the year again, time for FOSDEM paper submissions! Next

Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding

2016-11-15 Thread Răzvan Crainea
Can you put on pastebin the debug logs for the ACK? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/15/2016 03:44 PM, Denis wrote: Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding Hello Ben. I am using loadbalacer module and using only for initial INVITE

Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding

2016-11-15 Thread Răzvan Crainea
the topology_hiding_match() function? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/15/2016 02:22 PM, Denis wrote: Opensips 2.2.2 and top hiding Hello! I try to make top hiding using topology_hiding module. In attachment you can find a log of unsuccessful

Re: [OpenSIPS-Users] Topology_Hiding adding extra VIA header

2016-11-15 Thread Răzvan Crainea
Hi, Samy! Can you make sure you are not calling topology_hiding() twice on the same request? Can you put an xlog just before each topology_hiding() apearence in your code to make sure? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/14/2016 08:30 PM, SamyGo

Re: [OpenSIPS-Users] OpenSIPS reopen TCP connectios and sends INVITE, but not BYE. How to change it?

2016-11-14 Thread Răzvan Crainea
I got you now: so you are trying to set the tcp_no_new_conn_bflag in the reply_route, but OpenSIPS still tries to connect to the client? After you added the code in reply_received function, OpenSIPS still tries to connect? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips

Re: [OpenSIPS-Users] OpenSIPS reopen TCP connectios and sends INVITE, but not BYE. How to change it?

2016-11-14 Thread Răzvan Crainea
like to get rid of the TCP SYN message? That happens and the TCP layer, saying that the data arrived successfully. Why would you like to prevent that? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/14/2016 04:05 PM, Federico Edorna wrote: Hi Răzvan, related

Re: [OpenSIPS-Users] Topology_Hiding adding extra VIA header

2016-11-14 Thread Răzvan Crainea
Hi, Samy! Can you post on pastebin debugging logs related to this call? Also, can you also post the Via headers of the initial INVITE and for the 200 OK received by OpenSIPS? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/12/2016 12:33 AM, SamyGo wrote

Re: [OpenSIPS-Users] No TLS-related files in OpenSIPS 1.11.9 src.tar.gz

2016-11-14 Thread Răzvan Crainea
to generate debs with the proper version. Thanks for reporting this! [1] https://github.com/OpenSIPS/opensips/commit/bf7f401109312dc2a914350866545bb44b4a9f7b.patch Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/14/2016 04:23 AM, Chen-Che Huang wrote: Hi Răzvan

Re: [OpenSIPS-Users] usage of setdsturi

2016-11-11 Thread Răzvan Crainea
Hi, Agalya! The setdsturi() function only accepts strings as parameters, not pseudo-variables[1]. As Ben suggested, the $du pseudo-variable is more flexible and recommended. [1] http://www.opensips.org/Documentation/Script-CoreFunctions-2-2#toc49 Best regards, Răzvan Crainea OpenSIPS

Re: [OpenSIPS-Users] How to make OpenSIPS send SIP BYE, by configuration, , before dialog timout?

2016-11-11 Thread Răzvan Crainea
://www.opensips.org/Documentation/Script-CoreParameters-2-2#toc95 [2] http://www.opensips.org/Documentation/Script-CoreFunctions-2-2#force_tcp_alias Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/10/2016 09:59 PM, Rodrigo Pimenta Carvalho wrote: Hi Razvan. I answered your

Re: [OpenSIPS-Users] Common points in B2B top hiding

2016-11-10 Thread Răzvan Crainea
Yes, it will, if you are using OpenSIPS 2.1 or 2.2 and pass the "C" flag to topology_hiding() function[1]. [1] http://www.opensips.org/html/docs/modules/2.2.x/topology_hiding.html#id293540 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/10/201

Re: [OpenSIPS-Users] Rtpproxy and IPV4 IPV6 interworking

2016-11-09 Thread Răzvan Crainea
Hi, Robert! Yes, in cases where you don't need IPv6, use II for those requests. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/09/2016 07:12 PM, Robert Dyck wrote: I should have described the scenario in more detail. The rtproxy is in bridge mode because

Re: [OpenSIPS-Users] Migrating form 1.11.5 to 1.11.9

2016-11-09 Thread Răzvan Crainea
s know how this goes. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/09/2016 05:06 PM, Alain Bieuzent wrote: Hi All, I’m trying to migrate form 1.11.5 to 1.11.9 and i have a problem to test the value of a mysql query when the reseult is null. In 1.11.5 t

Re: [OpenSIPS-Users] How to make OpenSIPS send SIP BYE, by configuration, , before dialog timout?

2016-11-09 Thread Răzvan Crainea
/html/docs/modules/2.2.x/dialog#id295982 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/08/2016 10:07 PM, Rodrigo Pimenta Carvalho wrote: Hi. Dialogs in my OpenSIPS is programmed to finish after 60 seconds. (timeout = 1 minute). So, when 2 peers

Re: [OpenSIPS-Users] Rtpproxy and IPV4 IPV6 interworking

2016-11-09 Thread Răzvan Crainea
parameter, that is used when you want to overwrite the address indicated by RTPProxy. This is used mainly for setups where RTPProxy is behind NAT and the address inidcated is the private one. You should swap this IP with the public advertised one. Best regards, Răzvan Crainea OpenSIPS Solutions

Re: [OpenSIPS-Users] How to find out which TCP sockes OpenSIPS is listening on?

2016-11-08 Thread Răzvan Crainea
Hi, Rodrigo! So are you interested in finding the opened TCP connections? If so, you should try the list_tcp_conns command[1]. [1] http://www.opensips.org/Documentation/Interface-CoreMI-2-2#toc5 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/08/2016 06:10

Re: [OpenSIPS-Users] Common points in B2B top hiding

2016-11-08 Thread Răzvan Crainea
ne in most of the cases. [1] http://www.opensips.org/html/docs/modules/2.2.x/b2b_logic.html#id294010 [2] http://www.opensips.org/html/docs/modules/2.2.x/topology_hiding.html Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/08/2016 04:19 PM, Denis wrote: Re:

Re: [OpenSIPS-Users] Common points in B2B top hiding

2016-11-08 Thread Răzvan Crainea
Hi, Denis! You can copy headers from the initial request to the B2B one by using the custom headers[1]. [1] http://www.opensips.org/html/docs/modules/2.2.x/b2b_logic.html#id293556 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/08/2016 03:41 PM, Denis wrote

Re: [OpenSIPS-Users] Regarding Option request .

2016-11-08 Thread Răzvan Crainea
.opensips.org/html/docs/modules/1.11.x/drouting.html#id295343 Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/08/2016 10:05 AM, Sasmita Panda wrote: Hi All , I am using opensips-1.11 . I have a requirement that when an "Option" request will come t

Re: [OpenSIPS-Users] Rtpproxy and IPV4 IPV6 interworking

2016-11-07 Thread Răzvan Crainea
Hi, Robert! See my answers inline. Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/08/2016 02:15 AM, Robert Dyck wrote: I have some question regarding rtpproxy capabilities in relation to IPV4-IPV6 interworking. The articles I have read say that you need

Re: [OpenSIPS-Users] B2B top hiding

2016-11-07 Thread Răzvan Crainea
Hi, Denis! Are you seeing any other ERROR messages in the logs? When you see those errors in the log, does OpenSIPS send any message out (even to himself)? Can you provide a full trace? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/07/2016 03:20 PM, Denis

Re: [OpenSIPS-Users] B2B top hiding

2016-11-07 Thread Răzvan Crainea
at a certain point the INVITE was authenticated and the topo-hiding was engaged. Did you try setting the port before calling b2b_init_request(), in route(1)? BR Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/07/2016 02:20 PM, Denis wrote: B2B top hiding Hello! Opensips

Re: [OpenSIPS-Users] No TLS-related files in OpenSIPS 1.11.9 src.tar.gz

2016-11-07 Thread Răzvan Crainea
I've also published the archive in the official download server[2]. Thanks for pointing this out. [2] http://opensips.org/pub/opensips/1.11.9/opensips-1.11.9-tls.tar.gz Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/07/2016 11:11 AM, Răzvan Crainea wrote

Re: [OpenSIPS-Users] No TLS-related files in OpenSIPS 1.11.9 src.tar.gz

2016-11-07 Thread Răzvan Crainea
Hi, Chen-Che! You can download directly the sources from github[1]. [1] https://github.com/OpenSIPS/opensips/archive/1.11.9.zip Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/07/2016 11:04 AM, Chen-Che Huang wrote: Dear all, It seems that the http

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