[asterisk-users] Almost solved: using my Asterisk from Internet

2015-06-07 Thread Luca Bertoncello
Hi again, list! I know, I'm really annoying the list... :) Well, maybe I got my Asterisk at home ("wrt" on the previous E-Mails) to accept my mobile phone from Internet. It was a problem with the network and the firewall. Now I can log my mobile phone in my Asterisk in and the phone is REA

Re: [asterisk-users] Connecting two Asterisk

2015-06-07 Thread Luca Bertoncello
Steve Edwards schrieb: > On Sun, 7 Jun 2015, Luca Bertoncello wrote: > > > Now the problem: on my phones at "wrt" I can hear what the mobile phone at > > "lucabert" sends (with a very good audio-quality), but on this mobile > > phone I cannot hear a single word spoken with the phone at "wrt", no

[asterisk-users] Peer unreachable after IP change

2015-06-07 Thread Luca Bertoncello
Hi list! Another day, another problem... I'm checking with Nagios my Asterisk at home, and since yesterday I noticed that, after my IP changes (Deutsche Telekom drop the DSL-line every 24 hours, so that I have a new IP every day), the peer of an VoIP-provider I use is UNREACHABLE. Yesterday I thou

Re: [asterisk-users] Connecting two Asterisk

2015-06-07 Thread Steve Edwards
On Sun, 7 Jun 2015, Luca Bertoncello wrote: Now the problem: on my phones at "wrt" I can hear what the mobile phone at "lucabert" sends (with a very good audio-quality), but on this mobile phone I cannot hear a single word spoken with the phone at "wrt", not even the music on hold I configured..

Re: [asterisk-users] Connecting two Asterisk

2015-06-07 Thread Steve Edwards
On Sun, 7 Jun 2015, Luca Bertoncello wrote: I think, my UMTS-Provider doesn't want to connect to dynamic IP or my DSL-Provider does not want it, too, since I have no problem to connect and get a very good audio quality if I connect to other SIP-Provider or to an Asterisk (SAME configuration!!)

Re: [asterisk-users] Connecting two Asterisk

2015-06-07 Thread Luca Bertoncello
Some other data... I changed both iax.conf and wrote: bandwidth=high allow=all Now I see in the log: > requested format = ulaw, > requested prefs = (), > actual format = ulaw, > host prefs = (), > priority = mine and I can hear somewhat, but with a VERY poor

[asterisk-users] Connecting two Asterisk

2015-06-07 Thread Luca Bertoncello
Hi again! I always try to get my mobile phone work with my Asterisk. I tried to install Asterisk on my PC (with public IP), but it has problems, too... I think, my UMTS-Provider doesn't want to connect to dynamic IP or my DSL-Provider does not want it, too, since I have no problem to connect and

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Luca Bertoncello
Zitat von Steve Totaro : Not without seeing some SIP debug output. I'm currently not at home. If you say me which debug output you wish, I can send them as soon I'll be back... Thanks Luca Bertoncello (lucab...@lucabert.de) -- _

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Steve Totaro
On Sun, Jun 7, 2015 at 10:05 AM, Luca Bertoncello wrote: > Zitat von Steve Totaro : > > Are you using the wifi on on the cellphone? The peer IP is showing as >> 192.168.200.3 which is not a routable address. Unless things have >> changed, >> double NAT configurations do not work. >> > > Hi Ste

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread jg
Very strange is, that I have a very poorly audio-quality, if I use my cellphone in my WLAN and connect to my Asterisk. With THE SAME USER, but from a PC in the same Network, the audio quality is perfect. Any idea? Did you check which codecs are active? What does "sip show channelstats" say?

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Luca Bertoncello
Zitat von Steve Totaro : Are you using the wifi on on the cellphone? The peer IP is showing as 192.168.200.3 which is not a routable address. Unless things have changed, double NAT configurations do not work. Hi Steve, My Asterisk is behind a NAT, but my cellphone was NOT in NAT, but dire

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Steve Totaro
On Sun, Jun 7, 2015 at 8:46 AM, Steve Totaro wrote: > > > On Sun, Jun 7, 2015 at 4:49 AM, Luca Bertoncello > wrote: > >> Ashwin Surendran schrieb: >> >> > What settings have you got for directmedia? >> > >> > Could you try >> > >> > nat=force_rport,comedia >> > directmedia=no >> >> Tried. Peer

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Steve Totaro
On Sun, Jun 7, 2015 at 4:49 AM, Luca Bertoncello wrote: > Ashwin Surendran schrieb: > > > What settings have you got for directmedia? > > > > Could you try > > > > nat=force_rport,comedia > > directmedia=no > > Tried. Peer always unreachable, call not possible... :( > > Other idea? > > Thanks >

[asterisk-users] Problem with NAT - Part 2

2015-06-07 Thread Luca Bertoncello
Hi again! I decided, "just for fun", to install Asterisk on a server of mine (available in Internet) and to log on my mobile phone on this server. This Server communicate with my Asterisk at home and if I call a phone at home from my mobile phone (logged on the Asterisk on the second server), it

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Luca Bertoncello
Ashwin Surendran schrieb: > What settings have you got for directmedia? > > Could you try > > nat=force_rport,comedia > directmedia=no Tried. Peer always unreachable, call not possible... :( Other idea? Thanks Luca Bertoncello (lucab...@lucabert.de) -- _

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Ashwin Surendran
What settings have you got for directmedia? Could you try nat=force_rport,comedia directmedia=no -Ashwin -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Luca Bertoncello Sent: 07 June 2015 12:04 To:

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Luca Bertoncello
Ashwin Surendran schrieb: > Have you tried NAT=force_rport ? OK, tried... I can transmit from my phone (aka: I hear my voice on another phone), but I'm not able to receive data (aka: I cannot hear what I say on the other phone). Other suggestion? Thanks Luca Bertoncello (lucab...@lucabert.de)

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Luca Bertoncello
Ashwin Surendran schrieb: > Have you tried NAT=force_rport ? No, not yet... I'll try later and report to the list... Have I to define (in Asterisk or Gateway) the ports? Thanks Luca bertoncello (lucab...@lucabert.de) -- _ --

Re: [asterisk-users] Curious problem with NAT

2015-06-07 Thread Ashwin Surendran
Have you tried NAT=force_rport ? Ashwin -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Luca Bertoncello Sent: 07 June 2015 11:44 To: Asterisk Users Subject: [asterisk-users] Curious problem with NAT Hi list!

[asterisk-users] Curious problem with NAT

2015-06-07 Thread Luca Bertoncello
Hi list! Since the internal calls work as expected and I can register my Asterisk on an external provider, I'd like to add a new feature and allow my mobile phone to connect to my Asterisk and manage calls. Well, first of all, my Asterisk is NOT direct on Internet available, but behind a NAT. So