Re: [OpenSIPS-Users] Opensips ( Monit Cant! Connect )

2009-12-11 Thread Indiver
Hi David, The absyss error will get when u unmet the dependencies. The following libraries or applications must be installed before running OpenSIPS with this module loaded: libxml ibxmlrpc-c3 version 0.9.10 ibxmlrpc-c3-dev version 0.9.10 As far as monit tool: check wheter the monit configuratio

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-11 Thread ha do
--- On Fri, 12/11/09, Bogdan-Andrei Iancu wrote: From: Bogdan-Andrei Iancu Subject: Re: [OpenSIPS-Users] Help with sip trace errors please To: "OpenSIPS users mailling list" Date: Friday, December 11, 2009, 11:18 AM Hi Ha, Note that the DB content is updated only at shutdown. So, to synthe

Re: [OpenSIPS-Users] default_q (integer) doesn't seem to work

2009-12-11 Thread osiris123d
Doesn't look like my Bria Client is sending a Q Value in the Register Request. Here is the SIP capture REGISTER sip:irock.com SIP/2.0 Via: SIP/2.0/UDP 192.168.100.82:29076;branch=z9hG4bK-d8754z-b9d074879717f837-1---d8754z-;rport Max-Forwards: 70 Contact: To: "UserA" From: "UserA";tag=eaa0a34f C

[OpenSIPS-Users] IP Based Authentication on Asterisk with OpenSIP

2009-12-11 Thread Muhammad Zulqarnain
Hello! This is Zulqarnain and my first post to this mailing list. I just start using OpenSIP and trying to get myself familiar with OpenSIP and it's config files, method etc. Well, I am trying to achieve following: Client IP: x.x.x.x OpenSIP: y.y.y.y Asterisk: z.z.z.z 1) Client -> OpenSIP (Loa

Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-11 Thread osiris123d
This is how $var(current_day) is set $var(current_day) = $time(%u); With $avp(s:mobile_time) I do avp_db_load("$ru/username","$avp(s:mobile_time)"); and the avp is set to 0815221515 0815 being the Time of day the phone can be called, 2215 being the stop period when the phone will not be called,

Re: [OpenSIPS-Users] Load balancer ORed resource types

2009-12-11 Thread Bogdan-Andrei Iancu
Hi Taner, Ok, I see you point (with 2 pools of destinations with different priorities). Your original script, may be right in this case - what is the point where you stuck with this approach ? Regards, Bogdan Taner Sener wrote: > Hi Bogdan, > > I deleted other destinations to re-produce this

Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-11 Thread Bogdan-Andrei Iancu
Hi, In order to try to reproduce this, please post the values you use for: $avp(s:mobile_time) $var(current_day) I will try to you exactly the same script code and values as you to see what I get. Regards, Bogdan osiris123d wrote: > The left side variable is defined because I do an xlo

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-11 Thread Bogdan-Andrei Iancu
Hi Ha, Note that the DB content is updated only at shutdown. So, to synthesize - if the file has content (aside the first line), the siptrace module does not start ? Regards, Bogdan ha do wrote: > HI Brian > > [r...@localhost opensipsdb]# ls -ld /tmp/opensipsdb/ > drwxr-xr-x 2 root root 4096 D

Re: [OpenSIPS-Users] default_q (integer) doesn't seem to work

2009-12-11 Thread Bogdan-Andrei Iancu
Hi, The default Q is used only if the client is not sending any Q in the REGISTER request. Can you check this? Regards, Bogdan osiris123d wrote: > I am running OpenSIPS 1.6 and I configure the following in my opensips.cfg > > modparam("registrar", "default_q", 2000) > > So I believe that anytim

Re: [OpenSIPS-Users] Opensips1.6.0 : LCR contacts forking works only when advertised address is specified

2009-12-11 Thread Bogdan-Andrei Iancu
Hi Amit, load_contacts and next_contacts are to become obsoleted. Please use serialize_branches() - http://www.opensips.org/Resources/DocsCoreFcn16#toc124 next_branches() - http://www.opensips.org/Resources/DocsCoreFcn16 Regards, Bogdan Amit Sharma wrote: > I am using opensips 1.6.0 and

[OpenSIPS-Users] default_q (integer) doesn't seem to work

2009-12-11 Thread osiris123d
I am running OpenSIPS 1.6 and I configure the following in my opensips.cfg modparam("registrar", "default_q", 2000) So I believe that anytime a softphone registers with opensips it will get put in the location database with a Q value of 2 correct? But the new contacts are not. They are still g

Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-11 Thread osiris123d
The left side variable is defined because I do an xlog before the if statement and make sure the variable is correct and also an integer. I am not sure if you saw my post right after my first message, but here it is again Ok so I did some more testing and I see the following. Below in my first

Re: [OpenSIPS-Users] Parallel Forking messes up Voicemail two-way audio

2009-12-11 Thread osiris123d
Seems like there were multiple issues here with the 482 Loop and the way I was setting up my parallel and serial calls, but for the most part I have figured out what was causing the two-way audio problem when the call was handed off to the voicemail server. I tested the same call at work behind a

Re: [OpenSIPS-Users] Opensips ( Monit Cant! Connect )

2009-12-11 Thread David Perrin
Thanks so much for the response, I have completed these steps, and I see that xmlrpc server is not running, I removed it on the opensips Makefile and built in, this I am sure, cause I got the abyss errors, where you have to manually get xmlrpc-c package and install it in order to compile mi_xmlrpc

Re: [OpenSIPS-Users] Getting error using Dispatcher module

2009-12-11 Thread Bogdan-Andrei Iancu
Hello Ahmed The destination field (in DB) must be a SIP URI, like sip:xx.xx.xx.xx:5060 Regards, Bogdan Ahmed Munir wrote: > Hi, > > I'm getting error using Dispatcher module as listing below; > > Dec 11 07:22:57 newtest /usr/local/sbin/opensips[15487]: > ERROR:core:parse_uri: bad uri, state 0

Re: [OpenSIPS-Users] Opensips ( Monit Cant! Connect )

2009-12-11 Thread Iulia Bublea
Hi David, Also check monit's login credentials(username,password and port) in boxes.global.inc.php to be the same as in monitrc file. Iulia Indiver wrote: Hi David, I worked on Monit tool and succeeded in working that. May be this procedure i followed helps you: Step 1: I included xmlrpc m

Re: [OpenSIPS-Users] Issue with permission module in opensip 1.6

2009-12-11 Thread Jai Rangi
Yes, Now I am not getting that issue any more. The change in hash table fixed the issue. Thanks a lot. For printing warning I changed this LM_DBG("invalid ip field in address table, ignoring entry %d, %s\n", i, str_src_ip.s); to LM_WARN("invalid ip field in address table, ignoring entry %d, %s\n"

Re: [OpenSIPS-Users] Issue with permission module in opensip 1.6

2009-12-11 Thread Irina Stanescu
Hi Jai, As you suggested, i added the id of the entry to the debug info for ignored entries . Also, i committed a fix for the other problem you had with check_source_address. Please update from SVN and let me know if you find any other issues. Regards, Irina Stanescu Jai Rangi wrote: > Exc

[OpenSIPS-Users] Getting error using Dispatcher module

2009-12-11 Thread Ahmed Munir
Hi, I'm getting error using Dispatcher module as listing below; Dec 11 07:22:57 newtest /usr/local/sbin/opensips[15487]: ERROR:core:parse_uri: bad uri, state 0 parsed: <77.6> (4) / <77.66.x.x:5060> (16) Dec 11 07:22:57 newtest /usr/local/sbin/opensips[15487]: ERROR:dispatcher:add_dest2list: bad