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

2017-01-19 Thread maatohewetbi
I think I found the reason BLF doesn't work. I made a test. I've erased presenity table. Then: 1. I called other user, led is blinking, and presentity table shows record with xml bodies with early state. 2. Then I pickup a call, the same record changes with confirmed state. 3. Then I end this

[OpenSIPS-Users] Async DB statement

2017-01-19 Thread Ahmed Munir
Hi, Currently I'm trying to use async fucntion for avp_db_query. The issue I'm facing while using it as not retrieving or returning correct return code and not execute later part of the routing script. See old & new DB queries; Without Async: -- route[1]{ ...

[OpenSIPS-Users] Call per second limit

2017-01-19 Thread Dragomir Haralambiev
Hello, How to made Call Per Second limitation using Opensips 2.2.2 ? Regards, Dragomir ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-19 Thread xaled
Hi Bogdan, I know, that script level is better and I use the script regex now it is working. Perl was used out of frustration of not being able to get the right regex with script. I’m neither good at perl, but the first regex example I found on the web worked right away with minor changes.

Re: [OpenSIPS-Users] Users Digest, Vol 102, Issue 62

2017-01-19 Thread Ahmed Munir
These warnings appears during opensips startup service. Date: Thu, 19 Jan 2017 14:55:01 + > From: "Ramachandran, Agalya (Contractor)" > > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] OpenSIPs 2.2.2

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

2017-01-19 Thread Ahmed Munir
<http://10.3.120.94:5060> > > Process:: ID=9 PID=3098 Type=SIP receiver udp:10.3.120.94:5060 > > <http://10.3.120.94:5060> > > Process:: ID=10 PID=3100 Type=SIP receiver udp:10.3.120.94:5060 > > <http://10.3.120.94:5060> > > Process:: ID=11 PID=3102 Type=SIP receiver udp:10.3.120.94:5060 > > <http://

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

2017-01-19 Thread Ramachandran, Agalya (Contractor)
Hi Razvan, I didn’t see any process that is using more than 80% of a core. OpenSIPS is simply being idle and these warnings come periodically. Like once in couple of hours. I didn’t track the exact time line, how frequent am getting this warnings. Ahmed, Do you notice these warnings only when

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

2017-01-19 Thread Ramachandran, Agalya (Contractor)
Got it. Thank you. From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Razvan Crainea Sent: Thursday, January 19, 2017 3:30 AM To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] async- issues- 2.2.2 You have my answer inline. Răzvan Crainea OpenSIPS Solutions

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

2017-01-19 Thread maatohewetbi
I think I found the reason BLF doesn't work. I made a test. I've erased presenity table. Then: 1. I called other user, led is blinking, and presentity table shows record with xml bodies with *early* state. 2. Then I pickup a call, the same record changes with *confirmed* state. 3. Then I end

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

2017-01-19 Thread maatohewetbi
I want to ask what bolded values mean: # -- core presence params -- modparam("presence","server_address","sip:*sa*@10.10.10.10:5060") # -- pua and pua_dialoginfo parameters -- modparam("pua_dialoginfo", "presence_server", "sip:*sa*@10.10.10.10:5060") I don't really know what to write there.

Re: [OpenSIPS-Users] How to parse XML Body?

2017-01-19 Thread Bogdan-Andrei Iancu
Hi, To be honest I'm not good on perl, but if you can do it directly at script level, it it cleaner and more efficient. Also, check this https://github.com/OpenSIPS/opensips/commit/d509aa63698bc26fde390a4b707dbf2be31f5de5 Thanks and Regards, Bogdan-Andrei Iancu OpenSIPS Founder and

Re: [OpenSIPS-Users] async radius problem

2017-01-19 Thread Dragomir Haralambiev
Thanks 2017-01-19 11:03 GMT+02:00 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

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] async radius problem

2017-01-19 Thread Dragomir Haralambiev
Hi, Thanks for your quick replay. Please add this information in AAA_Radius module. Best regards, Dragomir 2017-01-19 10:25 GMT+02:00 Răzvan Crainea : > Hi, Dragomir! > > Currently async operations are only available for requests, not for > replies. In the onreply_route

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: