Re: [OpenSIPS-Users] problem upgrading to 1.5.3

2009-09-02 Thread Jan D.
Bogdan, Thanks for your reply, I've generated the amd64.deb files without any problem: apt-get install subversion svn co https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.5 opensips_1_5 ... Jan -- View this message in context:

Re: [OpenSIPS-Users] SDP session inspection in OpenSIPs

2009-09-02 Thread urmi lakkad
Hello, Thank you very much Bogdan and Ovidiu for quick response. I have used dialog 'dlg_list_ctx' mi command. And I can inspect the dialog as well as the associated qos session. -Urmi On Tue, Sep 1, 2009 at 7:49 PM, Ovidiu Sas o...@voipembedded.com wrote: Hello Urmi, Use the dialog

Re: [OpenSIPS-Users] Need contractor to configure OpenSIPS with radius and mysql

2009-09-02 Thread Bogdan-Andrei Iancu
Hi Justin, For business related topic, please use the business mailing list - see http://lists.opensips.org/cgi-bin/mailman/listinfo/business Or the business web page on opensips web site: http://www.opensips.org/Resources/Business users is about Discussions about how

Re: [OpenSIPS-Users] storing and accessing dialog module flags and vals

2009-09-02 Thread Bogdan-Andrei Iancu
Hi Brett, Brent Thomson wrote: I've got the dialog module loaded and the dlg_flag configured: modparam(dialog, dlg_flag, 4) In my routing logic, I set flag 4 and call create_dialog(). Setting the flag OR calling create_dialog() is enough for having the dialog created - no need

Re: [OpenSIPS-Users] Drouting problem

2009-09-02 Thread Bogdan-Andrei Iancu
Hi Sebastian, The problem is that the dialplan returns the 200 ID as string value,the 200 string, while the drouting module does expect an integer value. So use a transformation to convert from string to integer : do_routing($(avp(dr_id){s.int})) See:

Re: [OpenSIPS-Users] snom m3 unable to reconnect to the OpenSIPS server

2009-09-02 Thread Bogdan-Andrei Iancu
Hi Petr, The message is denied because there are no credentials (authentication information) in it. And probably you have configured OpenSIPS to perform Digest Auth for registers - so , opensips is simply asking for auth via that 401. Normally, the UAC, in response to a 401 reply, should

Re: [OpenSIPS-Users] Need contractor to configure OpenSIPS with radius and mysql

2009-09-02 Thread Wang Hao
I'm interested in your project. Let's make the things happen. Howard On Wed, Sep 2, 2009 at 5:53 AM, Justin Moore jmo...@sagisys.com wrote: We need some additional help with configuring our server which I think might be better served through a contract job. I've got opensips, radius and

[OpenSIPS-Users] Pseudovariable implementation extended

2009-09-02 Thread Anca Vamanu
Hi, The pseudovariable implementation has been extended with new operations to give more power to the script writer: 1. Added 2 new operations on pseudovariables values from the script: - *delete* the pseudovariable at a certain index; syntax: *pvar[_index_]=NULL*. -

[OpenSIPS-Users] error regarding group

2009-09-02 Thread ASHWINI NAIDU
hi all, I am trying to use the db_is_user_in function for checking whether the user is in the group. but i see the following error * ERROR:group:is_user_in: Invalid parameter grp* The opensips installed is from the trunk. -- Thanking You, Ashwini BR Naidu

[OpenSIPS-Users] struct sip_msg

2009-09-02 Thread Ghaith ALKAYYEM
Hello list, I was trying to play with the SIP header, So when i tried to access the fields (to,from) in the sip_msg structure through a module c function they were NULL and everything was included in the field headers. I'd like to know whether there's something wrong or it's natural for these

Re: [OpenSIPS-Users] error regarding group

2009-09-02 Thread Irina Stanescu
Hello Ashwini, When have you last updated your trunk version? There were a problem with db_is_user_in but it was fixed starting with revision 6034. Regards, Irina On Wed, Sep 2, 2009 at 2:24 PM, ASHWINI NAIDU ashwini.na...@gmail.comwrote: hi all, I am trying to use the db_is_user_in

Re: [OpenSIPS-Users] struct sip_msg

2009-09-02 Thread Anca Vamanu
Hi Ghaith, You must explicitly call parse_headers for the message to be parsed and for the fields in sip_msg to be filled. Example: parse_headers(msg,HDR_EOH_F, 0); - will parse all headers. However beware that this function will not parse the headers value also. You must call the parse

Re: [OpenSIPS-Users] Drouting problem

2009-09-02 Thread Brett Nemeroff
Bogdan,I'm a little confused as to which modules can take avp transformations INSIDE of the parameters and which can't.. For example, I didn't think this worked (as you suggested): do_routing($(avp(dr_id){s.int}) I thought you had to do: $avp(n_dr_id) = $(avp(dr_id){s.int});

Re: [OpenSIPS-Users] Drouting problem

2009-09-02 Thread Bogdan-Andrei Iancu
Hi Brett, :D oh...I'm wrong - i forgot that DR accepts only avps and not generic PVs ; when a generic PV is evaluated, you can use transformations (as they will be used), but in this particular case (only AVPs), the transformation will not be automatically applied :(. So, you are right, here

Re: [OpenSIPS-Users] mediaproxy relay

2009-09-02 Thread Dan Pascu
On 12 Aug 2009, at 17:23, Ghaith ALKAYYEM wrote: Hi, Could you tell me what is happening to mediaproxy relay when I'm trying to run it? The relay is not starting and this message appears: Set resource limit for maximum open file descriptors to 11000 debug: Adding new dispatcher at

Re: [OpenSIPS-Users] struct sip_msg

2009-09-02 Thread Ghaith ALKAYYEM
Thank you very much for these valuable information, actually I'm trying to learn how to develop new module, and i expected that those fields should be filled upon the receipt of any external message. Regards. On Wed, 2009-09-02 at 15:37 +0300, Anca Vamanu wrote: Hi Ghaith, You must explicitly

Re: [OpenSIPS-Users] Old versions of mediaproxy

2009-09-02 Thread Dan Pascu
On 26 Aug 2009, at 13:17, Vasil Kolev wrote: Hi all (and especially Dan :) ) I was told on IRC that I should ask here about old versions of mediaproxy - I need 2.3.2, as everything newer would require some unwanted upgrades of my systems to stuff like debian testing/unstable That is not

Re: [OpenSIPS-Users] Media relay TCP timed out

2009-09-02 Thread Dan Pascu
On 31 Aug 2009, at 20:38, Jayesh Nambiar wrote: Hello All, I first time tried to use the mediaproxy with media-relay on a remote host and everything worked well as expected. But after a span of an hour or so the connection to that relay was lost and I could see following messages in

Re: [OpenSIPS-Users] Media relay TCP timed out

2009-09-02 Thread Dan Pascu
On 2 Sep 2009, at 16:43, Dan Pascu wrote: There is no need to keepalive a connection, as none of the endpoints will attempt to close it if it's idle for too look. This is a typo. I meant to type too long, no idea how it came out like that. At the same time, the dispatcher and relay

[OpenSIPS-Users] IDE

2009-09-02 Thread Ghaith ALKAYYEM
Hello, Could anybody suggest an IDE that will ease the development debugging of OpenSIPS? Thank you ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] IDE

2009-09-02 Thread Jeff Pyle
vim? On 9/2/09 10:17 AM, Ghaith ALKAYYEM ghaith.alkay...@telecom-bretagne.eu wrote: Hello, Could anybody suggest an IDE that will ease the development debugging of OpenSIPS? Thank you ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] Drouting problem

2009-09-02 Thread Brett Nemeroff
Bogdan,I just read the docs it says: The module can take one optional parameter: the routing group the caller belongs to - this may be a static numerical value or an AVP specification. If none specified, the function will automatically try to query the dr_group table to get this information. I

[OpenSIPS-Users] Opensips Statefull Cluster

2009-09-02 Thread Noel R. Morais
Hi Guys, What are my options to build a cluster of OpenSipS? I'm using LVS (http://www.linuxvirtualserver.org/) but I'm having some problems when using it with a stateful opensips configuration. Thanks, Noel ___ Users mailing list

Re: [OpenSIPS-Users] Opensips Statefull Cluster

2009-09-02 Thread Darren Sessions
I've used heartbeat extensively in the past with great success running ~7-8 second failover. - Darren On Sep 2, 2009, at 11:30 AM, Noel R. Morais wrote: Hi Guys, What are my options to build a cluster of OpenSipS? I'm using LVS (http://www.linuxvirtualserver.org/) but I'm having some

Re: [OpenSIPS-Users] Opensips Statefull Cluster

2009-09-02 Thread Noel R. Morais
I've also tried heartbeat. But I'm having problems with requests generated by opensips to the UA. Its is stateful and using heartbeat/LVS I don't know what is the node that will receive the UA's response. On Wed, Sep 2, 2009 at 2:37 PM, Darren Sessionsdarren.sessi...@me.com wrote: I've used

Re: [OpenSIPS-Users] Opensips Statefull Cluster

2009-09-02 Thread Sergio Gutierrez
Hello Noel. Maybe, you could find useful to have your loadbalancing at application layer by using the loadbalancer module in OpenSIPS instead of performing it at transport/network layer, or might be combining them both. http://www.opensips.org/html/docs/modules/1.5.x/load_balancer.html Regards.

Re: [OpenSIPS-Users] Opensips Statefull Cluster

2009-09-02 Thread Noel R. Morais
Hi Sergio, Thats is a good solution. but what happen if my loadbalancer goes down? :( Regards, Noel On Wed, Sep 2, 2009 at 2:46 PM, Sergio Gutierrezsag...@gmail.com wrote: Hello Noel. Maybe, you could find useful to have your loadbalancing at application layer by using the loadbalancer

Re: [OpenSIPS-Users] IDE

2009-09-02 Thread Brett Nemeroff
I was thinking the same thing.. :) On Wed, Sep 2, 2009 at 9:15 AM, Jeff Pyle jp...@fidelityvoice.com wrote: vim? On 9/2/09 10:17 AM, Ghaith ALKAYYEM ghaith.alkay...@telecom-bretagne.eu wrote: Hello, Could anybody suggest an IDE that will ease the development debugging of

Re: [OpenSIPS-Users] Opensips Statefull Cluster

2009-09-02 Thread Brett Nemeroff
UCARP is pretty simple as well:http://www.ucarp.org/project/ucarp Similar to the heartbeat (linuxHA) stuff, but a lot more lightweight from my experience. On Wed, Sep 2, 2009 at 1:13 PM, Noel R. Morais noelro...@gmail.com wrote: Hi Sergio, Thats is a good solution. but what happen if my

Re: [OpenSIPS-Users] Ucarp (new topic)

2009-09-02 Thread Olle E. Johansson
2 sep 2009 kl. 20.46 skrev Brett Nemeroff: UCARP is pretty simple as well: http://www.ucarp.org/project/ucarp Similar to the heartbeat (linuxHA) stuff, but a lot more lightweight from my experience. Can you tell us a bit more about your experience of this? In production? Requirements

Re: [OpenSIPS-Users] Ucarp (new topic)

2009-09-02 Thread Brett Nemeroff
Honestly, it's been a while since I've had a need for this. When I used this, I did it with asterisk. It was ugly, but very functional. The daemon runs basically as a single command. All options can be specified on the command line. Then you specific an up and a down script. In my configuration,

Re: [OpenSIPS-Users] Opensips Statefull Cluster

2009-09-02 Thread Noel R. Morais
My main problem is regarding the stateful solution. I didn't realize a way to make sure that the server (opensips) that generated the Requests (Proxy - UA) will receive the UA's Response. In my tests, using LVS with 3 nodes (opensips servers), the Opensips sends the request, the response usually

Re: [OpenSIPS-Users] storing and accessing dialog module flags and vals

2009-09-02 Thread Brent Thomson
Bogdan-Andrei Iancu wrote: INVITE setflag(4) create_dialog() # returns true store_dlg_value(foo, bar) set_dlg_flag(10) CANCEL create_dialog() # returns false fetch_dlg_value(foo, $avp(i:2)) # returns empty is_dlg_flag_set(10) # returns false

Re: [OpenSIPS-Users] IDE

2009-09-02 Thread Brent Thomson
Brett Nemeroff wrote: I was thinking the same thing.. :) On Wed, Sep 2, 2009 at 9:15 AM, Jeff Pyle jp...@fidelityvoice.com mailto:jp...@fidelityvoice.com wrote: vim? On 9/2/09 10:17 AM, Ghaith ALKAYYEM ghaith.alkay...@telecom-bretagne.eu wrote: Hello,