Re: [asterisk-users] Allowing calls - maybe I'm just stupid...

2015-06-11 Thread A J Stiles
On Thursday 11 Jun 2015, Luca Bertoncello wrote: > Well, I decided to do that, since I have my Asterisk reachable from > Internet just for my cellphone and I want to avoid that someone guess > my password (random and long, but it's of course possible to guess > with a brute force attack) and call u

Re: [asterisk-users] Allowing calls - maybe I'm just stupid...

2015-06-11 Thread Guido Falsi
On 06/11/15 10:43, Luca Bertoncello wrote: > Zitat von Guido Falsi : > >> So, trying to bind authentication to originate calls to registrations is >> conceptually wrong in the SIP world. Maybe you can do that but that's >> not the way the protocols have been engineered to work. > > Hi Guido, > >

Re: [asterisk-users] Allowing calls - maybe I'm just stupid...

2015-06-11 Thread Luca Bertoncello
Zitat von Guido Falsi : So, trying to bind authentication to originate calls to registrations is conceptually wrong in the SIP world. Maybe you can do that but that's not the way the protocols have been engineered to work. Hi Guido, thanks for your answer. Well, I decided to do that, since I

Re: [asterisk-users] Allowing calls - maybe I'm just stupid...

2015-06-11 Thread Guido Falsi
On 06/11/15 09:56, Luca Bertoncello wrote: > Zitat von A J Stiles : > >> On Thursday 11 Jun 2015, Luca Bertoncello wrote: >>> Now my problem is to check in my dialplan if the peer, that originate >>> the call, is reachable, and if not, to give an error... >>> >>> Is there any function to know if t

Re: [asterisk-users] Allowing calls - maybe I'm just stupid...

2015-06-11 Thread Luca Bertoncello
Zitat von A J Stiles : On Thursday 11 Jun 2015, Luca Bertoncello wrote: Now my problem is to check in my dialplan if the peer, that originate the call, is reachable, and if not, to give an error... Is there any function to know if the peer is reachable? The peer that *originated* the call *m

Re: [asterisk-users] Allowing calls - maybe I'm just stupid...

2015-06-11 Thread A J Stiles
On Thursday 11 Jun 2015, Luca Bertoncello wrote: > Now my problem is to check in my dialplan if the peer, that originate > the call, is reachable, and if not, to give an error... > > Is there any function to know if the peer is reachable? The peer that *originated* the call *must* be reachable, b

Re: [asterisk-users] Allowing calls - maybe I'm just stupid... [almost solved]

2015-06-11 Thread Luca Bertoncello
Zitat von Luca Bertoncello : Now my problem is to check in my dialplan if the peer, that originate the call, is reachable, and if not, to give an error... Is there any function to know if the peer is reachable? I answer myself... I did that (in my [myproxy]-context): exten => _X.,n,Set(re

[asterisk-users] Allowing calls - maybe I'm just stupid...

2015-06-10 Thread Luca Bertoncello
Hi again! About my previous E-Mail... I though about it and I think, that maybe I'm just very stupid... Since I called an INTERNAL number, Asterisk tried to call it. I tried right now to call an EXTERNAL number (using my context [myproxy]) and the behavior is NOT the same... Not 100% correct