[OpenSIPS-Users] aaa_www_authorize() help required

2009-12-08 Thread Saeed Akhtar
hi all, i'm using aaa_www_authorize function for authorization via freeradius. Everytime I call it, it gives error code -4: no credentials. my question is why everytime credentials are not found. Should I have to add credentials manually before sending authorization command. If yes then how can I

Re: [OpenSIPS-Users] OpenSIPS Modules

2009-12-08 Thread David Perrin
php installed, pear, MDB2 and MDB2 mysql driver, all installed On Tue, Dec 8, 2009 at 10:06 PM, ram wrote: > > > On Tue, Dec 8, 2009 at 4:16 PM, David Perrin wrote: > >> Hello everyone, >> >> I have just recently setup opensips and I am using the control panel, I >> can log in and access the d

Re: [OpenSIPS-Users] OpenSIPS Modules

2009-12-08 Thread ram
On Tue, Dec 8, 2009 at 4:16 PM, David Perrin wrote: > Hello everyone, > > I have just recently setup opensips and I am using the control panel, I can > log in and access the database via from the website, however I am getting > the MDB2 error and Cannot Connect etc.. errors. I see these are all c

[OpenSIPS-Users] OpenSIPS Modules

2009-12-08 Thread David Perrin
Hello everyone, I have just recently setup opensips and I am using the control panel, I can log in and access the database via from the website, however I am getting the MDB2 error and Cannot Connect etc.. errors. I see these are all common errors. I am wondering do I have to manual add the modul

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

2009-12-08 Thread opensipslist
Hello again list, On tues., dec 08, 2009, opensipsl...@encambio.com wrote: >In my /pfx/var/opensips/db/sip_trace I have: > >id(int,auto) time_stamp(int) callid(string) traced_user(string) > msg(string) method(string) status(string) fromip(string) toip(string) > fromtag(string) direction(str

[OpenSIPS-Users] Help with sip trace errors please

2009-12-08 Thread opensipslist
Hello List, In my config file I have: debug=20 loadmodule "siptrace.so" modparam("siptrace", "db_url", "text:///pfx/var/opensips/db") modparam("siptrace", "trace_on", 1) modparam("siptrace", "trace_flag", 22) modparam("siptrace", "table", "sip_trace") modparam("siptra

Re: [OpenSIPS-Users] Basic questions.

2009-12-08 Thread Bogdan-Andrei Iancu
Hi Gayathri, Gayathri G wrote: > Hi, > > I am new to opensip. > please clarify my basic questions and direct me to the url. > 1. I want to use opensip has Proxy only, > I have 2 networks - n1,n2. > I want to have opensip between n1 and n2. you want to do bridging between the two networks

Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-08 Thread Bogdan-Andrei Iancu
Hi Osiris, Maybe the left side operand cannot be evaluated because was not defined (the $var(current_day) ). Can you check this ? Regards, Bogdan osiris123d wrote: > I have the following IF statement that looks to be good syntax but I am > getting an error > > Here is the syntax > > if ( $var(c

[OpenSIPS-Users] Help with group radius errors please

2009-12-08 Thread opensipslist
Hello List, In my config file I have (a few times): # check if user is suspended if (aaa_is_user_in("From", "suspended")) { send_reply("403", "Forbidden"); exit; } ...and I see in the log: Dec 08 23:03:46 name.host.tld opensips[14400]: DBG:maxfwd:is_maxfwd_pre

Re: [OpenSIPS-Users] Need help on sip_trace module write the log to a file

2009-12-08 Thread Bogdan-Andrei Iancu
Hi Ha, The problem is the "time_stamp(str)" field - is is not compatible (the definition) with the data type internally used (DB_DATETIME) by siptrace module. Try changing the field to (int) type. Regards, Bogdan ha do wrote: > Hi admin > > i do config to use the siptrace module write the log

Re: [OpenSIPS-Users] presence prepared query errors

2009-12-08 Thread Bogdan-Andrei Iancu
Hi Juha, This does mean you encountered a deadlock. By the sounds of it, you're likely to be using InnoDB. So, you should issue "SHOW INNODB STATUS" from the mysql command line. In that output, look for the "LATEST DETECTED DEADLOCK". There you will see 2 transactions, (1) and (2). You can see

Re: [OpenSIPS-Users] Handling of non-SIP messages

2009-12-08 Thread Bogdan-Andrei Iancu
Hi Taner, OpenSIPS silently discards all UDP packages with a size smaller than 20 bytes. Whatever is higher will be subject to SIP parser. If you want to change the value, see config.h, the MIN_UDP_PACKET define. Regards, Bogdan Taner Sener wrote: > Hi Iñaki, > > I'm using tcpdump to see UDP

Re: [OpenSIPS-Users] BBUA for Skype SIP Beta

2009-12-08 Thread Bogdan-Andrei Iancu
Hi Stuart, Skype SIP Beta accepts direct SIP connectivitywhy do you need a b2bua here ? Regards, Bogdan Stuart Marsden wrote: > Hi, > > Has anyone had a go at building one of these? > > Stuart > > ___ > Users mailing list > Users@lists.opensips.or

Re: [OpenSIPS-Users] Avpops failure route

2009-12-08 Thread Bogdan-Andrei Iancu
Hi Andrew, Andrew Pogrebennyk wrote: > Bogdan-Andrei Iancu wrote: >>> http://www.mail-archive.com/users@lists.opensips.org/msg07999.html >>> but Bogdan didn't reply yet. >>> >> Sorry - missed that one :D >> It is interesting what you are saying, but I wouldn't say it is a bug >> in OpenSI

Re: [OpenSIPS-Users] how to identify a children process

2009-12-08 Thread Bogdan-Andrei Iancu
Hi Italo, Use the "process_no" exported by pt.h That is an internal numerical ID. Regards, Bogdan Italo Dacosta wrote: > Hello, > > I would like to know if there is a way to identify a children process in > the code. I know I could use something like getpid() to uniquely > identify the process

Re: [OpenSIPS-Users] Virtual Service Activation Codes

2009-12-08 Thread Indiver
Hi Bodgan, For Virtual service activation codes, as per my observation when ever user dials *78 u just redirecting to asterisk as follows: if ($rU=~"^\*[1-9]+") { # we do provide access to media services only to our # subscribers, who were previously authenticated

Re: [OpenSIPS-Users] Handling of non-SIP messages

2009-12-08 Thread Taner Sener
Hi Iñaki, You can see my ngrep traces below (ngrep -W byline port 5060): # U 10.10.7.12:33012 -> 10.10.7.7:5060 default send string. # U 10.10.7.10:42042 -> 10.10.7.7:5060 default send string. Thanks, Taner On Tue, Dec 8, 2009 at 7:40 PM, Iñaki Baz Castillo wrote: > El Martes, 8 de Diciembre

Re: [OpenSIPS-Users] Handling of non-SIP messages

2009-12-08 Thread Iñaki Baz Castillo
El Martes, 8 de Diciembre de 2009, Taner Sener escribió: > Hi Iñaki, > > I'm using tcpdump to see UDP messages. Using > > tcpdump -i eth0 -n -s0 -vvv udp port 5060 Please, use ngrep to capture the SIP flow rahter than tcpdump. -- Iñaki Baz Castillo ___

[OpenSIPS-Users] how to identify a children process

2009-12-08 Thread Italo Dacosta
Hello, I would like to know if there is a way to identify a children process in the code. I know I could use something like getpid() to uniquely identify the process in the code but I was wondering if there is already a variable storing such information that I could use for that purpose. Also,

Re: [OpenSIPS-Users] Handling of non-SIP messages

2009-12-08 Thread Taner Sener
Hi Iñaki, I'm using tcpdump to see UDP messages. Using tcpdump -i eth0 -n -s0 -vvv udp port 5060 i see the following message. A message containing text 'default send string'. -

Re: [OpenSIPS-Users] Handling of non-SIP messages

2009-12-08 Thread Iñaki Baz Castillo
El Martes, 8 de Diciembre de 2009, Taner Sener escribió: > Dec 8 10:49:13 sipproxy /sbin/opensips[12961]: ERROR:core:receive_msg: no > via found in request > > How can I disable this message from current version 1.6.0-notls. Can you show how that request looks when arrives to OpenSIPS? -- Iña

Re: [OpenSIPS-Users] Gateway List Bug

2009-12-08 Thread Iulia Bublea
Hi, Thought so, and I have fixed the bug on svn and in the tgz archive. Thank you for pointing this out. Regards, Iulia Indiver wrote: Hi Iulia, Exactly what you mentioned. But it was not affecting the call flow as per my observation. So i left it out and continued to work on drouting. Iuli

[OpenSIPS-Users] BBUA for Skype SIP Beta

2009-12-08 Thread Stuart Marsden
Hi, Has anyone had a go at building one of these? Stuart ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Handling of non-SIP messages

2009-12-08 Thread Taner Sener
Hi, My opensips proxies are configured to run behind a load_balancer. This load balancer periodically sends test UDP messages to port 5060 of opensips machines to understand whether opensips is up and running or not. My problem is each received UDP message prints the following error on opensips.lo

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

2009-12-08 Thread Taner Sener
Hi Bogdan, I used your approach and defined the same resource name "sip" for both definitions. It is working now as expected but another requirement raised for my scenario. When all destinations for a specific group id are busy I want to re load-balance the request to a different group id. I expe