[OpenSIPS-Users] 64 bit

2009-05-13 Thread Цэвээндорж ЖиМэйл
Hello, Is OpenSIPs works on 64 bit OS ? Sincerely, Tseveendorj ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Media Proxy between LAN and WAN

2009-05-13 Thread Mauro Davi'
Hi All, I have a Media Proxy installed in our VoIP platform. The Media Proxy machine have 2 Network card, one on a Private LAN the other on a WAN. Now I configured the Media-Relay with the IP address 0.0.0.0 to listen to all the interfaces. On opensips when then INVITE came from a UA direc

Re: [OpenSIPS-Users] Media Proxy between LAN and WAN

2009-05-13 Thread Uwe Kastens
Hi, what is the entry for relay_ip in your mediaproxy config? BR Uwe Mauro Davi' schrieb: > Hi All, > > > > I have a Media Proxy installed in our VoIP platform. The Media Proxy > machine have 2 Network card, one on a Private LAN the other on a WAN. > > Now I configured the Media-Relay wit

Re: [OpenSIPS-Users] Media Proxy between LAN and WAN

2009-05-13 Thread Ruud Klaver
Hi, On 13 May 2009, at 11:20, Mauro Davi' wrote: > Hi All, > > I have a Media Proxy installed in our VoIP platform. The Media Proxy > machine have 2 Network card, one on a Private LAN the other on a WAN. > Now I configured the Media-Relay with the IP address 0.0.0.0 to > listen to all the int

Re: [OpenSIPS-Users] 64 bit

2009-05-13 Thread Marc Leurent
Yes, of course! And if you're using CentOS or debian, you can retrieve them from these URLs on http://www.opensips.org/Resources/Downloads ++ # CentOS el5 (RPMs i386/x86_64) (thanks to Julian Yap & Marc Leurent) http://centos.leurent.eu/ # Debian repository lenny (APT i386/amd64) http://debian.l

Re: [OpenSIPS-Users] OpenSIPS ALG

2009-05-13 Thread Jeff Pyle
I've thought a lot about this as well, although I haven't taken it nearly as far as John has. A thought: is it possible to do a save() in the reply route, only upon a 200 OK from the end registrar? - Jeff On 5/12/09 5:09 AM, "Bogdan-Andrei Iancu" wrote: > Hi John, > > This mid-registrar a

[OpenSIPS-Users] MySQl configuration for OpenSIPS problem

2009-05-13 Thread Chris Robson
When trying to create a MySQL database for OpenSIPS, the following error occurs: # /usr/local/sbin/opensipsdbctl create /usr/local/sbin/opensipsdbctl: line 251: opensips_create: command not found Installation system: Fedora Core 10 OpenSIPS is compiled from source. List of /usr/local tree is:

[OpenSIPS-Users] Sending NOTIFY to reboot terminals

2009-05-13 Thread Sergio Gutierrez
Hello to all members. I would like to know whether there is a canonical way to send a NOTIFY with particular format within OpenSIPS; I am trying to use a functionality to proved remote rebooting of terminals. Thanks in advance for your answers. Best regards. Sergio _

Re: [OpenSIPS-Users] OpenSIPS ALG

2009-05-13 Thread Bogdan-Andrei Iancu
Hi Jeff, theoretically yes, because you have all the needed information (hmm...maybe except the NAT status from request, but you can store it via transaction)Practically, the save() function does expect to receive a request only, so it must be changed to work with a reply also. Regards, Bo

Re: [OpenSIPS-Users] Sending NOTIFY to reboot terminals

2009-05-13 Thread Brett Nemeroff
In general, OpenSIPS doesn't really generate messages. However the UAC module has some support for manually creating and pushing out messages. It may do what you need.-Brett On Wed, May 13, 2009 at 7:40 AM, Sergio Gutierrez wrote: > Hello to all members. > > I would like to know whether there i

[OpenSIPS-Users] opensipsctl restart

2009-05-13 Thread Brett Nemeroff
Hi List,Anyone else have problems with opensipsctl restart? It "normally" doesn't work for me. It usually says it's already running, or there is a pid still there.. I've gotten so used to just opensipsctl stop + opensipsctl start, I haven't really worried about what is really going on. Anyone else

Re: [OpenSIPS-Users] Media Proxy between LAN and WAN

2009-05-13 Thread Brett Nemeroff
Mauro,This effect: c=IN IP4 0.0.0.0172.30.0.205 Where you get two ips shoved together, is usually the result of calling use_media_proxy (or whatever function you are using) more than once. Of course, the 0.0.0.0 in there is a problem, you need a real IP -Brett On Wed, May 13, 2009 at 4:20 AM,

Re: [OpenSIPS-Users] opensipsctl restart

2009-05-13 Thread Iñaki Baz Castillo
2009/5/13 Brett Nemeroff : > Hi List, > Anyone else have problems with opensipsctl restart? > It "normally" doesn't work for me. It usually says it's already running, or > there is a pid still there.. I've gotten so used to just opensipsctl stop + > opensipsctl start, I haven't really worried about

[OpenSIPS-Users] R: Media Proxy between LAN and WAN

2009-05-13 Thread Mauro Davi'
Hi Brett, below an extract of my opensips script file: if the message is a INVITE: use_media_proxy(); t_on_branch("1"); t_on_reply("1"); onreply_route[1] { if (t_check_status("200")) { fix_nated_sdp("3", "xxx.yyy.zzz.204"); #public IP address

Re: [OpenSIPS-Users] opensipsctl restart

2009-05-13 Thread Brett Nemeroff
It's odd, because stop always works for me.. it's almost like restart isn't waiting for the stop to happen. On Wed, May 13, 2009 at 9:07 AM, Iñaki Baz Castillo wrote: > 2009/5/13 Brett Nemeroff : > > Hi List, > > Anyone else have problems with opensipsctl restart? > > It "normally" doesn't work

[OpenSIPS-Users] msilo problem

2009-05-13 Thread ASHWINI NAIDU
hi all, I am trying to implement offline messages. When a message is sent to a user who is offline the messages are getting stored. but when the user logs in the messages are not getting delivered. i am posting the extract of the opensips.cfg *route[2] {^M ^M ## Register request handle

Re: [OpenSIPS-Users] opensipsctl restart

2009-05-13 Thread Bogdan-Andrei Iancu
Hi Brett, there was a fix couple of days ago about this - the idea is that instead of simply looking if the pid file exists to say if OSIPS is running or no. The fix was to get the pid and to check if there is a running proc for that pid. Try to update and see if it works. Regards, Bogdan Br

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Matti Zemack
Hi again, First of all; Thanks Bogdan! Your tip works (theoretically) fine. But, I just can't find a way of calculating the PAP2s authentication. Not much seems to be documented. Does anyone have any hints regarding Linksys authentication (for a reboot at least). I've tried calculating using htt

Re: [OpenSIPS-Users] opensipsctl restart

2009-05-13 Thread Brett Nemeroff
Thanks Bogdan,I'll give it a shot. -Brett On Wed, May 13, 2009 at 9:23 AM, Bogdan-Andrei Iancu wrote: > Hi Brett, > > there was a fix couple of days ago about this - the idea is that instead of > simply looking if the pid file exists to say if OSIPS is running or no. The > fix was to get the pi

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Sergio Gutierrez
Hello all I am facing the same problem, but trying to reboot Grandstream. It supposes to work in the same way, and I am following the algorithm from wikipedia to create the response but it does not works. Thanks in advance for any help. Regards. Sergio On Wed, May 13, 2009 at 9:25 AM, Matti Ze

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Bogdan-Andrei Iancu
Hi Matti, Actually it is SIP auth, so digest auth (RFC 2617) Shortly: HA1=MD5( auth_usernam ":" realm ":" passwd ) HA2=MD5( method ":" ruri ) response=MD5( HA1 ":" nonce ":" HA2) Regards, Bogdan Matti Zemack wrote: > Hi again, > > First of all; Thanks Bogdan! > Your tip works (the

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Matti Zemack
Hi, That's basically what we have done. And, well, as I'm still a newbie, I've tried; * auth_name: all possibilities of "1001", "1...@serverip", "1...@deviceip", "1...@registereddomaininopensipsdbforthisuser". And all of these with "sip:" added in front. * realm: the realm in the 401 response, e.g

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Sergio Gutierrez
Hi Bogdan. For our particular need, it looks like we need to send the response in a more complex way: response = md5(HA1:nonce:nonceCount:clientNonce:qop:ha2) Could you give us any hint about nonceCount and clientNonce parameters? Documentation is not very clear. Thanks and regards. Sergio. O

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Bogdan-Andrei Iancu
auth_name: "1001" realm: realm from challenge from linksys ruri: the sip RURI (sip:u...@domain) Regards, Bogdan Matti Zemack wrote: > Hi, > > That's basically what we have done. > And, well, as I'm still a newbie, I've tried; > * auth_name: all possibilities of "1001", "1...@serverip", > "1...@

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Matti Zemack
Hi again, Yes, we tried almost that (as we don't receive a cnonce nor nonce-count in the 401 from Linksys, we only get the qop="auth" which actually by the RFC forces us to use your suggested longer response code.). We did try with an empty cnonce and nonce count= "nc=0001" (or empty).

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Bogdan-Andrei Iancu
With qop, do : response=MD5( HA1 ":" nonce ":" nc ":" cnonce ":" qop ":" HA2) Regards, Bogdan Matti Zemack wrote: > > Hi again, > > Yes, we tried almost that (as we don’t receive a cnonce nor > nonce-count in the 401 from Linksys, we only get the qop=”auth” which > actually by the RFC forces u

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Bogdan-Andrei Iancu
Hi Sergio, Right - if the server does ask for qop, that the final MD5 looks this way (see my other email to Matti). Regards, Bogdan Sergio Gutierrez wrote: > Hi Bogdan. > > For our particular need, it looks like we need to send the response in > a more complex way: > > response = md5(HA1:nonce

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Matti Zemack
Hi, Thanks again Bogdan. Tried that. Still no go. Suppose I'll try to get some help from Linksys people. /Matti -Original Message- From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] Sent: den 13 maj 2009 17:46 To: Matti Zemack Cc: Sergio Gutierrez; users@lists.opensips.org Subje

[OpenSIPS-Users] MySQl configuration for OpenSIPS problem

2009-05-13 Thread Chris Robson
When trying to create a MySQL database for OpenSIPS, the following error occurs: # /usr/local/sbin/opensipsdbctl create /usr/local/sbin/opensipsdbctl: line 251: opensips_create: command not found Installation system: Fedora Core 10 OpenSIPS is compiled from source. List of opensips files in /us

[OpenSIPS-Users] sst.so load hangs

2009-05-13 Thread Jinsong Hu
Hi, I used opensips 1.5.1 and the sst.so module hangs when initializing. when I comment it out, then the whole server starts fine. here is the log. I am running opensips in xen , debian lenny distribution. does any body know what is going on ? Jimmy May 13 16:52:24 [12189] INFO:usrloc:ul_in

Re: [OpenSIPS-Users] OpenSIPS ALG

2009-05-13 Thread Robert Dyck
I like the idea that we could maintain a local registrar that accurately reflects the remote registration. I would go so far as to say that it would be useful to be able to optimize opensips as an ALG. Some people could use a proxy as an edge device on a LAN. You could have several phones with t

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Bogdan-Andrei Iancu
Matti, you should read more about digest auth in the RFC - http://www.ietf.org/rfc/rfc2617.txt Regards, Bogdan Matti Zemack wrote: > Hi, > > Thanks again Bogdan. Tried that. Still no go. Suppose I'll try to get some > help from Linksys people. > > /Matti > > -Original Message- > From:

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Chris Maciejewski
Hi, You can find a PhpSIP UA I wrote some time ago, which can be used to send a NOTIFY to resync/reboot Linksys phone. It is far from being a complete SIP UA (no transactions matching etc.), but I am using it all the time to send NOTIFY, or INVITE, REFER for Click 2 Call from my web application (P

Re: [OpenSIPS-Users] MySQl configuration for OpenSIPS problem

2009-05-13 Thread Gavin Henry
Check in your source dir. On 13/05/2009, Chris Robson wrote: > > When trying to create a MySQL database for OpenSIPS, the following error > occurs: > > # /usr/local/sbin/opensipsdbctl create > /usr/local/sbin/opensipsdbctl: line 251: opensips_create: command not found > > Installation system: Fed

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Sergio Gutierrez
Hi Chris. Thanks a lot for your post. You made my day :-) It works great. Best regards. Sergio. On Wed, May 13, 2009 at 1:21 PM, Chris Maciejewski wrote: > Hi, > > You can find a PhpSIP UA I wrote some time ago, which can be used to > send a NOTIFY to resync/reboot Linksys phone. It is far f

[OpenSIPS-Users] Can't register in debug mode?

2009-05-13 Thread Gavin Henry
Hi all, Using the defatult config I can't seem to register, but as soon as I start in normal forking mode I can. Is this due to failing back to one interface, probably localhost? If I set a listen= does that get honoured? Will test shortly. Thanks. -- Sent from my mobile device http://www.su

Re: [OpenSIPS-Users] MySQl configuration for OpenSIPS problem

2009-05-13 Thread Chris Robson
opensips_create seems to be defined in the file osipsconsole. What I dont understand is why its defined there and not in opensipsdbctl or why it isnt run by opensipsdbctl. Should I be doing something prior to running "opensipsdbctl create"? thankschris > Date: Wed, 13 May 2009 20:04:45

Re: [OpenSIPS-Users] MySQl configuration for OpenSIPS problem

2009-05-13 Thread Gavin Henry
Soor,y I meant to say look in scripts/opensipsdbctl.mysql 2009/5/13 Chris Robson : > > opensips_create seems to be defined in the file osipsconsole.  What I dont > understand is why its defined there and not in opensipsdbctl or why it isnt > run by opensipsdbctl.  Should I be doing something prior

Re: [OpenSIPS-Users] Rebooting a Linksys through OpenSIPS

2009-05-13 Thread Bogdan-Andrei Iancu
Hi Chris, Can I link your tool from the opensips tools web page - http://www.opensips.org/Resources/DocsTools ? Thanks and regards, Bogdan Chris Maciejewski wrote: > Hi, > > You can find a PhpSIP UA I wrote some time ago, which can be used to > send a NOTIFY to resync/reboot Linksys phone. It

[OpenSIPS-Users] get_profile_size("caller","$avp(s:caller_uuid)","$var(calls)"); fails with profile not definited

2009-05-13 Thread Jinsong Hu
Hi, I tried the sample code in http://www.opensips.org/Resources/DocsTutConcurrentCalls there it has: # get current calls for uuid get_profile_size("caller","$avp(s:caller_uuid)","$var(calls)"); and when dialog is created, it has caller profile defined: