Re: [OpenSIPS-Users] radius accounting, Acct-Status-Type = 0

2017-01-17 Thread Miha
Tnx:) working! br miha On 17/01/2017 12:30, Ionut Ionita wrote: Also if you'll check latest commit in master[0], modified radius code to throw error and not start if any attribute/ value/vendor is not found in order to not get to similar situations in the future. Backported the commit

[OpenSIPS-Users] Return body/string from Perl library

2017-01-17 Thread David Cunningham
Hello, We are using Kamailio's perl module and want our custom library to set the body on a SIP message. Is it possible to set a SIP message body from within Perl, or can we return a string to the Kamailio configuration to then use with set_body()? Thanks for any advice. -- David Cunningham,

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

2017-01-17 Thread Ramachandran, Agalya (Contractor)
Hi Liviu, Found the exact issue what causes the crash. In start_async_http_req, under case PUT/POST, we have the following code blue color by default. But for my project scenario, I need to add call-id header too here, including that code in red color for your reference. if (req_ctype) {

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

2017-01-17 Thread Ramachandran, Agalya (Contractor)
Hi, Another information may help you to find this issue. Am changing the "req_body" in the rest_methods.c, as per the REST API server is expecting the payload value. If I change this "req_body" in REST_POST as well, and if the Call-Id length is > 56, it crashes in the POST call too. Regards,

Re: [OpenSIPS-Users] change T_fr_in_timeout

2017-01-17 Thread bluerain via Users
thank you! I'll give that a shot! -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/change-T-fr-in-timeout-tp7605536p7605617.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users

Re: [OpenSIPS-Users] OpenSIPs crashed

2017-01-17 Thread Ahmed Munir
Is there updates on this? Date: Mon, 16 Jan 2017 09:51:13 -0500 > From: Ahmed Munir > To: OpenSIPs Users > Subject: Re: [OpenSIPS-Users] OpenSIPs crashed > Message-ID: >

Re: [OpenSIPS-Users] Introducing OpenSIPS 2.3

2017-01-17 Thread Bogdan-Andrei Iancu
Hi, The Call Center module was released long time ago, it is not something new in 2.3 . Indeed, there is no tutorial on it, just the README...for the moment. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 01/17/2017 01:47 PM, Do Nguyen Ha

Re: [OpenSIPS-Users] Introducing OpenSIPS 2.3

2017-01-17 Thread Do Nguyen Ha
is there also present the call center module. I didn't see the call center tutorial on opensips website or opensips blog website On Jan 17, 2017 17:33, "Bogdan-Andrei Iancu" wrote: > Hi Serge, > > During the Thursday call we will present in more details all the listed >

Re: [OpenSIPS-Users] radius accounting, Acct-Status-Type = 0

2017-01-17 Thread Ionut Ionita
Also if you'll check latest commit in master[0], modified radius code to throw error and not start if any attribute/ value/vendor is not found in order to not get to similar situations in the future. Backported the commit back to 2.1. [0]

Re: [OpenSIPS-Users] Introducing OpenSIPS 2.3

2017-01-17 Thread Bogdan-Andrei Iancu
Hi Serge, During the Thursday call we will present in more details all the listed features. Of course, when the corresponding code will go public (right now all of them are work in progress in different stages), the documentation will be available - all these before the beta release, of

Re: [OpenSIPS-Users] opensips Crashing v2.2.2

2017-01-17 Thread Bogdan-Andrei Iancu
Hi Richard, Sorry for the late reply. The backtraces show a really strange situation - some processing context getting to NULL somewhere along the handling of that 503 reply. What I suspect is that you are using in failure route some functions that are reseting this processing context -

Re: [OpenSIPS-Users] radius accounting, Acct-Status-Type = 0

2017-01-17 Thread Ionut Ionita
Hello again, Found a fix for your problem. You should use *dictionary.rfc2866* (freeradius has it). This dictionary has value defined for *Failed*. VALUE› Acct-Status-Type› › Start› › › 1 VALUE› Acct-Status-Type› › Stop› › › 2 VALUE› Acct-Status-Type› › Alive› ›

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

2017-01-17 Thread maatohewetbi
You are right Bogdan, I forgot about these requests. Anyway, thanks for help - I will look at webinars. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-1-6-as-a-Proxy-and-Presence-Server-tp7605411p7605602.html Sent from the OpenSIPS - Users

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

2017-01-17 Thread Bogdan-Andrei Iancu
Hi, It is a bit difficult to work with OpenSIPS without knowing at least the SIP basics. I suggest to follow there webinars: * Introduction to SIP : http://www.opensips.org/Documentation/Webinars#toc10 * Routing in SIP : http://www.opensips.org/Documentation/Webinars#toc12 A basic OpenSIPS

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

2017-01-17 Thread maatohewetbi
I've just did it like this: xlog("$rc"); and on Friday I got 18446744073709551615 so You were right that it was unsigned int. But now if I want to read xlog("$rc") it has 1 value. And my table is empty. Now I've changed script and it looks: if ($avp(s:ip) == null ) { xlog("no results found

Re: [OpenSIPS-Users] Introducing OpenSIPS 2.3

2017-01-17 Thread Bogdan-Andrei Iancu
Hi Nabeel, Have you tried the PUA_XMPP module (presence gateway between SIP and XMPP): http://www.opensips.org/html/docs/modules/2.2.x/pua_xmpp.html Or the JABBER module: http://www.opensips.org/html/docs/modules/2.2.x/jabber.html Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and

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

2017-01-17 Thread maatohewetbi
Where are the sequential requests? Can You point it in my script? -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-1-6-as-a-Proxy-and-Presence-Server-tp7605411p7605598.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

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

Re: [OpenSIPS-Users] radius accounting, Acct-Status-Type = 0

2017-01-17 Thread Miha
ok, then i will use this value and on radius side i will catch it and set to internally to STOP if this is only soluton. The thing is when 486/busy comes, opensips sends this broken radius accouting request and radius server does not replay to it and that is why the opensips waits almost 40s

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

2017-01-17 Thread Răzvan Crainea
That's weird. How did you check the value and you got 1842312...? I am asking because that does look like a -2, only converted to an unsigned representation, (unsigned int)-2 = 18446744073709551614). Or was it -1? Can you control the data in the database and make sure you don't have that

Re: [OpenSIPS-Users] radius accounting, Acct-Status-Type = 0

2017-01-17 Thread Ionut Ionita
No, thank you it's fine now. That value was for testing purposes only, you can remove it now. OpenSIPS it's using *Failed* value for *Acct-Status-Type* which is not defined anywhere (nor in our dictionary, nor in any RFC or somewhere else). Not finding that value results in having *0 *for

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

2017-01-17 Thread maatohewetbi
Hello, can anybody help? I need blf to work. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Opensips-1-6-as-a-Proxy-and-Presence-Server-tp7605411p7605593.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

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

2017-01-17 Thread maatohewetbi
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 from address where context_info='$fU'", "$avp(ip)"), doesn't contain any values. When I checked $rc variable its value was 1, and once it was