[OpenSIPS-Users] Problem with Un-authenticated calls coming from a Asterisk gateway : need to restrict access

2010-04-12 Thread Roberto Ovani
I'm using opensips 1.6.1, on Ubuntu 9.10 server (192.168.1.12) I configured an asterisk box (192.168.1.19) to for PSTN. I'm trying to restrict access, to prevent false authentication from unauthorized users except the gateway I set up. from the terminal, i wrote : /osipsconsole address add 0

Re: [OpenSIPS-Users] Problem with Un-authenticated calls coming from a Asterisk gateway : need to restrict access

2010-04-13 Thread Roberto Ovani
Mask: 255.255.255.0 This rule will allow 192.168.1.xxx block of IPs - this is why the second asterisk works too ;) Try using the 255.255.255.255 mask (of course remove the existing entry) Regards, Bogdan Roberto Ovani wrote: I'm using opensips 1.6.1, on Ubuntu 9.10 server (192.168.1.12) I

Re: [OpenSIPS-Users] Problem with Un-authenticated calls coming from a Asterisk gateway : need to restrict access

2010-04-13 Thread Roberto Ovani
Il martedì 13/04/10 14.12, Bogdan-Andrei Iancu ha scritto: maybe your call does not get to the check_source_address() check - put some xlog to see if the script execution gets in that part. Regards, Bogdan Roberto Ovani wrote: Sorry, there is a mistake in what I wrote: I did

[OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

2010-04-19 Thread Roberto Ovani
Hello, i have : 1) one host with opensips installed (opensips.roberto.com) on one public ip 2) one host with rtpproxy installed (rtpproxy.roberto.com) on another public ip 3) two clients into another LANs... I forwarded the ports for making all work : 1) opensips : 5060 udp (for the

Re: [OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

2010-04-19 Thread Roberto Ovani
Il martedì 20/04/10 00.31, Laszlo ha scritto: Hi, 2010/4/19 Roberto Ovani roberto.e...@gmail.com mailto:roberto.e...@gmail.com Hello, i have : 1) one host with opensips installed (opensips.roberto.com http://opensips.roberto.com) on one public ip 2) one host

Re: [OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

2010-04-20 Thread Roberto Ovani
-Andrei Iancu ha scritto: Hi Roberto, does the error pop up when doing force_rtp_proxy() for the INVITE request or for the 200 OK INVITE ? Regards, Bogdan Roberto Ovani wrote: Hello, i have : 1) one host with opensips installed (opensips.roberto.com) on one public ip 2) one host with rtpproxy

Re: [OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

2010-04-20 Thread Roberto Ovani
side. Regards, Bogdan Roberto Ovani wrote: Hi ! I logged with xlog to answer to Bogdan's question : this is what I can read in syslog: Scenario : 1...@mydomain is trying to call 1...@mydomain : /*Apr 20 11:44:58 opensips opensips[32557]: entering route 6 ! Apr 20 11:44:58 opensips

Re: [OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

2010-04-20 Thread Roberto Ovani
: sending reply 1339_8 E8 Roberto Il martedì 20/04/10 14.05, Bogdan-Andrei Iancu ha scritto: Hi Roberto, start RTPproxy with debugs (in foreground) and check for errors - a 0 port returned means some error on the rtpproxy side. Regards, Bogdan Roberto Ovani wrote: Hi ! I logged

Re: [OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

2010-04-21 Thread Roberto Ovani
Il martedì 20/04/10 15.31, Laszlo ha scritto: Hi, 2010/4/20 Roberto Ovani roberto.e...@gmail.com mailto:roberto.e...@gmail.com This is what I get in /var/log/syslog at RTPPROXY's host, when I get ERROR:nathelper:force_rtp_proxy_body: incorrect port 0 in reply from rtp proxy

Re: [OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

2010-04-21 Thread Roberto Ovani
Il mercoledì 21/04/10 13.49, Laszlo ha scritto: gcc -v _The host with OPENSIPS : _Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs

Re: [OpenSIPS-Users] Info about rtpproxy and opensips working together on different hosts...

2010-04-22 Thread Roberto Ovani
Il giovedì 22/04/10 18.37, Laszlo ha scritto: 2010/4/22 Roberto Ovani roberto.e...@gmail.com mailto:roberto.e...@gmail.com Il mercoledì 21/04/10 14.30, Laszlo ha scritto: 2010/4/21 Roberto Ovani roberto.e...@gmail.com mailto:roberto.e...@gmail.com Il mercoledì 21/04

[OpenSIPS-Users] info about mediaproxy

2010-05-07 Thread Roberto Ovani
Hi everyone, i have opensips 1.6.2 and mediaproxy on the same host. Can anyone give me a very basilar routing script for handling all calls: 1) Client behind nat - client not behind nat 2) client behind nat - client behind nat 3) clients not behind nats (in the same nat as the opensips) ?? (the

Re: [OpenSIPS-Users] info about mediaproxy

2010-05-07 Thread Roberto Ovani
Il venerdì 07/05/10 15.42, Saúl Ibarra Corretgé ha scritto: Hi, On 7/5/10 2:54 PM, Roberto Ovani wrote: Hi everyone, i have opensips 1.6.2 and mediaproxy on the same host. Can anyone give me a very basilar routing script for handling all calls: 1) Client behind nat - client

Re: [OpenSIPS-Users] info about mediaproxy

2010-05-07 Thread Roberto Ovani
Il venerdì 07/05/10 15.42, Saúl Ibarra Corretgé ha scritto: Hi, On 7/5/10 2:54 PM, Roberto Ovani wrote: Hi everyone, i have opensips 1.6.2 and mediaproxy on the same host. Can anyone give me a very basilar routing script for handling all calls: 1) Client behind nat - client

[OpenSIPS-Users] mediaproxy....

2010-05-07 Thread Roberto Ovani
So, I can't use MEDIAPROXY AT ALL, if it isn't on a real public IP ? (I need to manage subscribers and make them call each other, passing by mediaproxy bridge, because all subscriber will live behind different NATs, different WAN IPs, ecc...) NO WAY ? (if I forward ports, no way ? ? ? ? )

[OpenSIPS-Users] 2 UACs behind the same nat registering on opensips

2010-05-11 Thread Roberto Ovani
Hello, I am in front of the following scenario - 2 clients in the same LAN (behind NAT) (Sjphone1 and sjphone2) - OPENSIPS on a public ip with installed : a) stun support (module stun, primary_ip and alternate_ip, etc...) b) turn solution (module nathelper + rtpproxy, rtpproxy_sock,

Re: [OpenSIPS-Users] 2 UACs behind the same nat registering on opensips

2010-05-11 Thread Roberto Ovani
hairpin media function and they are able to routing audio packets internally. There is another way to do that using opensips, but I don't like it. Stefano Il 11/05/2010 23:44, Roberto Ovani ha scritto: Hello, I am in front of the following scenario - 2 clients in the same LAN (behind

[OpenSIPS-Users] ENUM Lookup

2010-05-22 Thread Roberto Ovani
Hello, has anyone a code example for doing an enum lookup ? if (uri=~^0[1-9][0-...@*) { - do enum lookup; make the call; else - rewritehostport(isdn gateway ip) } Thanks in advance. Roberto ___ Users