Re: [OpenSIPS-Users] ACC_RADIUS makes opensips crash

2010-07-14 Thread Denis Putyato
Hello, Bogdan Is this information you asked? gdb /usr/local/opensips/sbin/opensips /core GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribu

[OpenSIPS-Users] no via found in reply

2010-07-14 Thread agung nugroho
Hi all, I have another problem with opensips. INVITE --> 100 <-- 183 <-- When I reach 183, I got error in opensips: "ERROR:core:receive_msg: no via found in reply" is anyone have get this error??? but what kind of problem is that??? Regard Ag

Re: [OpenSIPS-Users] T38 and changing media port for T38 SDP

2010-07-14 Thread Julian Yap
Yeah, I am having way too many issues with RTPProxy and the re-invite port changing. It's an absolute nightmare. Everything works fine when the UA doesn't change media port but when it does, it's really inconsistent. Sometimes it works, sometimes it doesn't work. I think I'm going to try out Me

Re: [OpenSIPS-Users] using avops for authentication

2010-07-14 Thread Gabriel Bermudez
Hi Bodgan, Thanks for your answer, is there a way to know if $au is set or check for the WWW-Authenticate header? If it isn't I can www_challenge the user for credentials.  After some trial and error I managed to authenticate my users, I setted calculate_ha1 param to 1 modparam("auth", "calculate

Re: [OpenSIPS-Users] Delay in relaying SIP message to UA

2010-07-14 Thread Julian Yap
This is strange. I only get the issues if I use rtpproxy_offer(). If I use force_rtp_proxy() then there are no delays. - Julian On Tue, Jul 13, 2010 at 4:43 PM, Julian Yap wrote: > I'm having a problem where is looks like there is a delay in OpenSIPS > relaying a SIP packet back to the origina

Re: [OpenSIPS-Users] $avp in codec_exists

2010-07-14 Thread Bogdan-Andrei Iancu
thanks! Jozsef CZOMPO wrote: > Hi bogdan > > Thanks for the reply. I'm opened a feature request ticket: #3029568 > > Czo > > On 2010.07.14., at 17:33, Bogdan-Andrei Iancu wrote: > > >> Hi Jozsef, >> >> open a feature request on the project tracker for this small add-on >> - it >> sounds

Re: [OpenSIPS-Users] using avops for authentication

2010-07-14 Thread Bogdan-Andrei Iancu
Hi Gabriel, I guess the problem is at: $var(username)=$au; as without doing auth, $au is not defined (parsed) yet. better try: $var(username)=$fU; Regards, Bogdan Gabriel Bermudez wrote: > Hi, > > I need to authenticate and register users that are stored on the > opensips db AND a diff

Re: [OpenSIPS-Users] force_rtp_proxy /rtpproxy_offer - Opensips coredump on call without userinfo in contact address ?

2010-07-14 Thread Max Mühlbronner
Yes, exactly. The other carrier/switch was sending a 183 without SDP body. And at least it seemed like our Server threw a coredump whenever it was received, after omitting rtpproxy for this carrier (no rtpproxy_offer / nathelper) it works fine --> no crash. I will try to send you some Siptrace

Re: [OpenSIPS-Users] $avp in codec_exists

2010-07-14 Thread Jozsef CZOMPO
Hi bogdan Thanks for the reply. I'm opened a feature request ticket: #3029568 Czo On 2010.07.14., at 17:33, Bogdan-Andrei Iancu wrote: > Hi Jozsef, > > open a feature request on the project tracker for this small add-on > - it > sounds useful and it is not difficult to add. > > Regard

Re: [OpenSIPS-Users] ACC_RADIUS makes opensips crash

2010-07-14 Thread Bogdan-Andrei Iancu
Hi Denis, do you get a coredump file? if so, could you get a bracktrace from it and post it here? Regards, Bogdan Denis Putyato wrote: > > Hello everybody! > > There is a problem with radius_send_auth(); function. > > This function is called from request route and after opensips received > “Ac

Re: [OpenSIPS-Users] force_rtp_proxy /rtpproxy_offer - Opensips coredump on call without userinfo in contact address ?

2010-07-14 Thread Bogdan-Andrei Iancu
Hi Max, What you mean by "a missing SDP in the progress " ? you mean a 183 without SDP ? so a force_rtp_proxy on something without SDP may lead in crash? Regards, Bogdan Max Mühlbronner wrote: > Hello, > > Very sorry for my late reply, i am not fully online at the moment. > > Although in the

Re: [OpenSIPS-Users] $avp in codec_exists

2010-07-14 Thread Bogdan-Andrei Iancu
Hi Jozsef, open a feature request on the project tracker for this small add-on - it sounds useful and it is not difficult to add. Regards, bogdan Jozsef CZOMPO wrote: > Hi > > I need to specify in database table the codec order per sip clients. > So i'm created a table with some fields. But i

Re: [OpenSIPS-Users] force_rtp_proxy /rtpproxy_offer - Opensips coredump on call without userinfo in contact address ?

2010-07-14 Thread Max Mühlbronner
Hello, Very sorry for my late reply, i am not fully online at the moment. Although in the meantime we did figure out the crashes were not related to the contact address (my first impression) but the reason was a missing SDP in the progress from the other carrier. We fixed it temporarily by omit

Re: [OpenSIPS-Users] $avp in codec_exists

2010-07-14 Thread Laszlo
Hi, It doesn't accept a variable or an avp, just a clear text in codec_exist(""); The same is true for all codec_ operations. -Laszlo 2010/7/14 Jozsef CZOMPO : > Hi > > I need to specify in database table the codec order per sip clients. > So i'm created a table with some fields. But if use

[OpenSIPS-Users] $avp in codec_exists

2010-07-14 Thread Jozsef CZOMPO
Hi I need to specify in database table the codec order per sip clients. So i'm created a table with some fields. But if use codec_exists('PCMU') it return true, when i'm using codec_exists($avp(s:codec)) i'm getting syntax error, and if i'm using codec_exists('$avp(s:codec)') i'm getting f

Re: [OpenSIPS-Users] arrays in memcache key implementation

2010-07-14 Thread Bogdan-Andrei Iancu
or store the array as single json value - see the json transformation: http://www.opensips.org/html/docs/modules/1.6.x/json.html Regards, Bogdan Brett Nemeroff wrote: > I've done something like this by populating the memcache value with a > parseabke input (csv). Then I use the select transfo

Re: [OpenSIPS-Users] arrays in memcache key implementation

2010-07-14 Thread Brett Nemeroff
I've done something like this by populating the memcache value with a parseabke input (csv). Then I use the select transformation to step thru the values. It is a little clunky but works well and still seems really fast. On Jul 14, 2010, at 9:26 AM, Jayesh Nambiar wrote: > Hello All, > I tried

Re: [OpenSIPS-Users] arrays in memcache key implementation

2010-07-14 Thread Brad Bendy
Hi, We wanted the same sort of thing, we ended up having a single key and a value with a delimiter, not the prettiest but it ended up working pretty without to much extreme work. On Wed, 2010-07-14 at 19:56 +0530, Jayesh Nambiar wrote: > Hello All, > > I tried out the memcache module and it wor

[OpenSIPS-Users] arrays in memcache key implementation

2010-07-14 Thread Jayesh Nambiar
Hello All, I tried out the memcache module and it works great while allowing the script writer to reduce the DB Queries and making the processing more efficient. I was looking at something which holds more than one value in the cache key. Is it possible to make the key hold more than one value? Lik

Re: [OpenSIPS-Users] dispatcher setid problem

2010-07-14 Thread Bogdan-Andrei Iancu
rajib deka wrote: > Thanks a lot Bogdan for your valuable reply. We are deciding to use > the dialplan module based on our requirement. Besides this I have one > more questions for you, > > In dispatcher.c file I found the following data structure, > typedef struct _ds_set > { > int id;

Re: [OpenSIPS-Users] OpenSIPS Server configuration ( SIP Server ) based on VOIP

2010-07-14 Thread gigastar
Thanks a lot for the information. Let me dig more for better understanding basing above information. One more doubt, that might be silly, But just for confirmation. Doubt as follows : Hope with Open-sips configuration using DID we can get IP Termination.

[OpenSIPS-Users] ACC_RADIUS makes opensips crash

2010-07-14 Thread Denis Putyato
Hello everybody! There is a problem with radius_send_auth(); function. This function is called from request route and after opensips received “Access-Accept” from radius server it is crashes with such error: Jul 14 14:59:02 kam /usr/local/opensips/sbin/opensips[21556]: DBG:aaa_radius:sen