[OpenSIPS-Users] Mediaproxy: No Media and call ends with error

2009-06-05 Thread Shehzad
Hello, I have installed Opensips and Mediaproxy on Debian Linux 5.0. All the configuration for Opensips and Mediaproxy is taken from existing working configuration of other system. According to Opensips configuration I can register local users and can make calls locally. (Means Opensips Signaling

Re: [OpenSIPS-Users] OpenSIPS Presence module causes SPA-942 to infinitely reboot

2009-06-05 Thread James Lamanna
On Fri, Jun 5, 2009 at 6:05 PM, James Lamanna wrote: > As an update, removing the call to handle_subscribe() stops the > infinite rebooting as well. Leaving in handle_subscribe and removing presence_dialoginfo also stops the infinite reboot, however removing presence_dialoginfo causes the BLF to n

Re: [OpenSIPS-Users] OpenSIPS Presence module causes SPA-942 to infinitely reboot

2009-06-05 Thread James Lamanna
As an update, removing the call to handle_subscribe() stops the infinite rebooting as well. On Fri, Jun 5, 2009 at 6:01 PM, James Lamanna wrote: > Hi, > I have a Linksys 942 (Phone A) where one of the line keys is setup to > do BLF (Ext B). > If I make a call from Phone A to Ext B, the BLF works

[OpenSIPS-Users] OpenSIPS Presence module causes SPA-942 to infinitely reboot

2009-06-05 Thread James Lamanna
Hi, I have a Linksys 942 (Phone A) where one of the line keys is setup to do BLF (Ext B). If I make a call from Phone A to Ext B, the BLF works the first time. However if I hangup and then make try to make that same call again, the phone reboots. Once this happens, the phone will reboot infinitely

Re: [OpenSIPS-Users] uac_replace_from(uri) truncating the header after a second use at same transaction

2009-06-05 Thread Ricardo Martins
That's right men! I used uac_replace_from() function inside a brach_route, calling an avp_db_query function to get from db the proper from parameters for each provider, based on domain uri, and everything is working like a charming sip robot! Thanks for that again, Bogdan. And Thomas, maybe yo

[OpenSIPS-Users] ERROR:db_mysql:db_mysql_new_connection: driver error(2013)

2009-06-05 Thread Manivasagam Sivaraman
I installed notls-1.5.1 with db_mysql option and when I start the server I get "ERROR:db_mysql:db_mysql_new_connection: driver error(2013)" error. I'm able to login to mysql server from commandline with out any problem. I even tried using the same user name specified in the opensipsrcctl file and

Re: [OpenSIPS-Users] drouting, disable gateway

2009-06-05 Thread Brett Nemeroff
Bogdan,I'm using drouting with a few million routes. can you make any recommendations on how to manage memory and optimize the speed of loading a new dr_rules table when the data is very large? I know there is a param to change how many records are retrieved, but I'm not really sure how changeing

Re: [OpenSIPS-Users] Two or more users for one realm using uac_auth

2009-06-05 Thread Ricardo Martins
Yes Bogdan, that's ok, I'm going to store the credential on AVPs. But the question is: How can I inform the script wich user of the realm to use on uac_auth function? My goal is to use uac_auth to autenticate multiples users of the same realm. If you can give me some clues, I would be gratefull

Re: [OpenSIPS-Users] drouting, disable gateway

2009-06-05 Thread Bogdan-Andrei Iancu
Actually I'm trying to find a better way of re-using these "destination points" management (enable/disable, pinging, etc)...Right now it is used by dispatcher, but I will love to have it in LB and DR modules.but I hate to simply duplicate code, so I was trying to see if I cannot make kind o

Re: [OpenSIPS-Users] drouting, disable gateway

2009-06-05 Thread Brett Nemeroff
I think that's a great idea.. I'll submit these ideas..-Brett On Fri, Jun 5, 2009 at 12:38 PM, Patrick wrote: > > What about adding some of the features that dispatcher offers for > destination controls. It's nice to have the destination removed when > ds_ping fails x number of times. Or ev

Re: [OpenSIPS-Users] drouting, disable gateway

2009-06-05 Thread Patrick
What about adding some of the features that dispatcher offers for destination controls. It's nice to have the destination removed when ds_ping fails x number of times. Or even setting a destination as Active, Probing, or Inactive... On Jun 5, 2009, at 1:14 PM, Bogdan-Andrei Iancu wrote:

Re: [OpenSIPS-Users] drouting, disable gateway

2009-06-05 Thread Bogdan-Andrei Iancu
Hi Brett, unfortunately there is none...but please upload a feature request (to me) and I can add something like..it is interesting and useful, indeed. Regards, Bogdan Brett Nemeroff wrote: > Hey list, > is there any easy way to disable a gateway id? I have like 1.5 Million > routes loaded.. s

Re: [OpenSIPS-Users] Load balancing with fiture Bogdans mod, or how do i handle that call my way ?

2009-06-05 Thread Bogdan-Andrei Iancu
Hi Grygoriy, Grygoriy Dobrovolskyy wrote: > Good day everyone, i would like some advice & help for my unusial > setup, Bogdan Andrei helped me with very valuable advices, but i am > not sure if i understand all at Sip dialog level, so here is my story: > > > Incoming>>opensips>>Dispatcher>>6 cal

Re: [OpenSIPS-Users] SIP CLient <- TLS --> OpenSIPS <- UDP -> SIP Server

2009-06-05 Thread Anil M Pannikode (hotmail)
Here are the log files from opensips server. Jun 5 16:24:45 pc10-10-10-193 /usr/sbin/opensips[7162]: DBG:core:tcp_send: no open tcp connection found, opening new one Jun 5 16:24:45 pc10-10-10-193 /usr/sbin/opensips[7162]: DBG:core:print_ip: tcpconn_new: new tcp connection to: 10.10.20.206

Re: [OpenSIPS-Users] Two or more users for one realm using uac_auth

2009-06-05 Thread Bogdan-Andrei Iancu
Hi Ricardo, But I implemented this long time ago. See: http://www.opensips.org/html/docs/modules/1.5.x/uac.html#auth-username-avp-id Also see : http://opensips.svn.sourceforge.net/viewvc/opensips?view=rev&revision=707 Is it something else you are looking after ? Regards, Bogdan Ricardo

Re: [OpenSIPS-Users] uac_replace_from(uri) truncating the header after a second use at same transaction

2009-06-05 Thread Bogdan-Andrei Iancu
Hi Thomas, well, you are right - if you want to use different FROM hdr in different branches, use the uac_replace_from() only in branch_route. Do not use it in REQUEST Route! Regards, Bogdan Thomas Gelf wrote: > Hi Ricardo, > > this does not work, uac_replace_from is known to misbehave if call

Re: [OpenSIPS-Users] Problem with nonce (probably due to configuration)

2009-06-05 Thread Bogdan-Andrei Iancu
Hi Joan, The cause is: Jun 5 11:16:43 pulse DBG:auth:is_nonce_index_valid: nonce already used Jun 5 11:16:43 pulse DBG:auth:post_auth: nonce index not valid It seams that your phone have a problem with authentication and keeps re-using an old nonce that is rejected by opensips. You have 2 op

[OpenSIPS-Users] drouting, disable gateway

2009-06-05 Thread Brett Nemeroff
Hey list,is there any easy way to disable a gateway id? I have like 1.5 Million routes loaded.. so to rebuild my routes with that gateway removed is a big change. I'd like to just say, disable gateway 101. any thoughts there? :) Thanks, Brett ___ Users

Re: [OpenSIPS-Users] Opensips 1.5 and MySQL error

2009-06-05 Thread Jayesh Nambiar
Hi Bogdan,Is it somehow possible to disable the support of prepared statements for acc module in opensips 1.5.1. I suspect this to be a problem with Mysql also and I wanted to check by disabling the support for prepared statements. --- Jayesh On Tue, May 26, 2009 at 9:28 PM, Bogdan-Andrei Iancu

[OpenSIPS-Users] Problem with nonce (probably due to configuration)

2009-06-05 Thread Joan
I'm having a problem in a new setup, I have been looking at it for some time, but I cannot find the real reason that it is failing. Basically I can only call for the first few calls after restarting opensips. After that I cannot call anymore. Tracing the problem I found that it seems to be a proble

Re: [OpenSIPS-Users] No RADIUS traffic

2009-06-05 Thread Uwe Kastens
Hi, I do not have that login.radius on my system - I think its not used with opensips. I would say there might be an permissions issue. I can remember I had lots of trouble, cause I don't wanted to run everything as root:root. My setup looks like that seqfile /var/run/opensips/radius.se

Re: [OpenSIPS-Users] uac_replace_from(uri) truncating the header after a second use at same transaction

2009-06-05 Thread Thomas Gelf
Hi Ricardo, this does not work, uac_replace_from is known to misbehave if called twice in a transaction. You could try to add another branch, but please don't take my words too serious - I need some more coffee today ;-) Best regards, Thomas Gelf Ricardo Martins schrieb: > Hi guys I think I fou

Re: [OpenSIPS-Users] Opensips CP trunk postgres db implementation

2009-06-05 Thread Gavin Henry
Excellent, I'll be testing the Pg parts. On 03/06/2009, Iulia Bublea wrote: > Hi, > > The trunk of Opensips CP comes with 2 new features: > > 1. In what my concern the configurations files, there is one global > config file in config/db.in.php. And there are the config files for each > module, if