Re: [OpenSER-Users] MYSQL ERROR

2008-06-30 Thread Chaitanya V.N.S
Hi Bogdan, I am running with fork=yes option I have configured openser to work with mediaproxy but i have not started the media proxy. Does that create any problem Thanking you, Chaitanya Bogdan-Andrei Iancu wrote: > Hi Chaitanya, > > that are startup errors and not runtime. Are you running in

Re: [OpenSER-Users] Problem with asterisk authenticating on invite

2008-06-30 Thread Stagg Shelton
Thanks for the info. I downloaded 1.3.2-notls and was able to make it work after it returned a -2 instead of the -5 I was receiving from the 1.3.1. I think that the 1.3.1 version that I was testing with was probably a trunk version. Anyways now that both sides are configured properly it

Re: [OpenSER-Users] MYSQL ERROR

2008-06-30 Thread Bogdan-Andrei Iancu
Hi Chaitanya, that are startup errors and not runtime. Are you running in single process mode (no fork)?. Regards, Bogdan Chaitanya V.N.S wrote: > Hi Bogdan, > > Before that mysql error . I got this errors > Jun 27 13:33:10 [6188] ERROR:mediaproxy:sendMediaproxyCommand: failed > to connect to

Re: [OpenSER-Users] Sip phone not registered

2008-06-30 Thread Jeremy McNamara
eliass S wrote: > Hi, > > I'm using openser 1.3, and I can't register my sip phones even if i've > configured them. I've precised (as the SIP Server)the IP address of the > computer where openser is installed, but nothing. I don't know if I've to add > something in the config file of openser. >

Re: [OpenSER-Users] Problem with asterisk authenticating on invite

2008-06-30 Thread Bogdan-Andrei Iancu
Hi Stagg, set the debug level to 6 and you will get the logs from openser - this will help you identify why the auth is rejected. Regards, Bogdan PS: you can send the logs to me if you do not manage to read them (also attach the SIP trace) Stagg Shelton wrote: > I am using proxy_authorize & p

Re: [OpenSER-Users] {Spam?} Sip phone not registered

2008-06-30 Thread Iñaki Baz Castillo
El Monday 30 June 2008 18:10:02 eliass S escribió: > Hi, > > I'm using openser 1.3, and I can't register my sip phones even if i've > configured them. I've precised (as the SIP Server)the IP address of the > computer where openser is installed, but nothing. I don't know if I've to > add something i

[OpenSER-Users] Sip phone not registered

2008-06-30 Thread eliass S
Hi, I'm using openser 1.3, and I can't register my sip phones even if i've configured them. I've precised (as the SIP Server)the IP address of the computer where openser is installed, but nothing. I don't know if I've to add something in the config file of openser. Further more I've the follow

Re: [OpenSER-Users] Problem with asterisk authenticating on invite

2008-06-30 Thread flavio
Hi Stagg, Check the UAC module, if you want to send credentials to Asterisk (I have tested OpenSER 1.3.2 and Asterisk 1.4, it works). Another way is to integrate Asterisk and OpenSER using realtime (there is a tutorial in the www.openser.org website), with this integration, the same user existi

Re: [OpenSER-Users] Problem with asterisk authenticating on invite

2008-06-30 Thread Stagg Shelton
I am using proxy_authorize & proxy_challenge on the invite. if (!(method=="REGISTER")) { if (!allow_trusted()) { if (!proxy_authorize("", "subscriber")) { $var(debug) = proxy_authorize("", "subscriber"); xlog(

[OpenSER-Users] remove openser

2008-06-30 Thread Eliass Salim
Hi, I've to install openser on a computer which is not mine, and I 'd like to now if there is a way to remove it, because I know that a simple "make uninstall" doesn't work. thanks ___ Users mailing list Users@lists.openser.org http://lists.openser.or

Re: [OpenSER-Users] MYSQL ERROR

2008-06-30 Thread Henning Westerholt
On Monday 30 June 2008, Chaitanya V.N.S wrote: > Before that mysql error . I got this errors > Jun 27 13:33:10 [6188] ERROR:mediaproxy:sendMediaproxyCommand: failed to > connect to MediaProxy > Jun 27 13:33:12 [6188] ERROR:usrloc:db_load_urecord: skipping record for > shekhar in table location Hi

Re: [OpenSER-Users] remove_hf from textops does not remove whole header field

2008-06-30 Thread Schumann Sebastian
Hi Bogdan I do not call force_rport specificly from the script. But I checked my eyeBeam and he uses rport, so it is invoking it internally I guess. I switched it off now. But the send() function was indeed what I was looking for. I use it for testing a SBC, I need to know whether it will reject

Re: [OpenSER-Users] MYSQL ERROR

2008-06-30 Thread Chaitanya V.N.S
Hi Bogdan, Before that mysql error . I got this errors Jun 27 13:33:10 [6188] ERROR:mediaproxy:sendMediaproxyCommand: failed to connect to MediaProxy Jun 27 13:33:12 [6188] ERROR:usrloc:db_load_urecord: skipping record for shekhar in table location Thanking you, Chaitanya Bogdan-Andrei Iancu

Re: [OpenSER-Users] Preserving original number when using alias_db_lookup

2008-06-30 Thread Bogdan-Andrei Iancu
Hi Iñaki, Most of the UAC will reject an incoming call if the RURI is not the contact they registered - and I by contact I mean URI + URI params (like SNOM encodes as contact param the line of the account) But particularly talking about devices with PBX-like behaviour (with multiple extensions

Re: [OpenSER-Users] remove_hf from textops does not remove whole header field

2008-06-30 Thread Bogdan-Andrei Iancu
Hi Sebastian, What you are trying to do (playing with VIA headers) is a bit dangerous :) - how this works is automatically done by openser and it is not intended to interfere with from the script. The bogus result is because of how openser internally process the changes on the message. The ch

Re: [OpenSER-Users] Preserving original number when us ing alias_db_lookup

2008-06-30 Thread Iñaki Baz Castillo
El Monday 30 June 2008 10:17:57 Bogdan-Andrei Iancu escribió: > Hi Stagg, > > This is a common issue when you have an Asterisk with multiple > extensions and a single registration to OpenSER. A trick you can do is > to save the username part of the RURI (the extension) and restore if the > location

Re: [OpenSER-Users] MYSQL ERROR

2008-06-30 Thread Bogdan-Andrei Iancu
Hi Chaitanya, This means a previous mysql query was not completed (like fetching the results) before running a new one. Do you see any previous error in the log from the 6188 processes ? Regards, Bogdan Chaitanya V.N.S wrote: > hi all, > > I am using openser 1.3 > Sometimes If we call a user

Re: [OpenSER-Users] Problem with asterisk authenticating on invite

2008-06-30 Thread Bogdan-Andrei Iancu
Hi Stagg, For INVITEs, use proxy_challenge() + proxy_authorize() functions and not the www_xxx() functions. Regards, Bogdan Stagg Shelton wrote: > I've been trying to work through openser successfully authenticating a > user on an INVITE. I've tried using www_challenge and > proxy_chal

Re: [OpenSER-Users] Preserving original number when using alias_db_lookup

2008-06-30 Thread Bogdan-Andrei Iancu
Hi Stagg, This is a common issue when you have an Asterisk with multiple extensions and a single registration to OpenSER. A trick you can do is to save the username part of the RURI (the extension) and restore if the location lookup (for registrations) was successful: .. $avp(s:tmp

[OpenSER-Users] remove_hf from textops does not remove whole header field

2008-06-30 Thread Schumann Sebastian
Dear all I try to remove a Via from a header. Unfortunately, the via from INVITE sip:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP 10.0.0.1:20592;branch=z9hG4bK-d8754z-1955bd20f1745139-1---d8754z-;rport Max-Forwards: 70 is changed after remove_hf("Via") to INVITE sip:[EMAIL PROTECT

Re: [OpenSER-Users] Preserving original number when using alias_db_lookup

2008-06-30 Thread Iñaki Baz Castillo
El Monday 30 June 2008 03:16:30 Stagg Shelton escribió: > Also, the other reason why I want to do this is because I have many > hundreds of DIDs that are assigned to many asterisk PBX's. I am > thinking that having asterisk register to OpenSER and then have the > DIDs as aliases to the registrati