Re: [asterisk-users] IAX UNREACHABLE : Ignoring bindport/bindaddr on reload

2016-08-26 Thread Telium Technical Support
Could you post the result of "ip addr" command, and "netstat -anp | grep
ast" after the reload?

I suspect something else is going on here... 



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX UNREACHABLE : Ignoring bindport/bindaddr on reload

2016-08-26 Thread Vitor Mazuco
Hi, I have already tried to change for bindaddr=0.0.0.0

but it didn't worked.

2016-08-26 11:44 GMT-03:00, Frank Vanoni :
> On Fri, 2016-08-26 at 10:12 -0300, Vitor Mazuco wrote:
>
>> bindaddr = all
>
> Try:
>
> bindaddr=0.0.0.0
>
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
>   http://www.asterisk.org/community/astricon-user-conference
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX UNREACHABLE : Ignoring bindport/bindaddr on reload

2016-08-26 Thread Frank Vanoni
On Fri, 2016-08-26 at 10:12 -0300, Vitor Mazuco wrote:

> bindaddr = all

Try:

bindaddr=0.0.0.0




-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] IAX UNREACHABLE : Ignoring bindport/bindaddr on reload

2016-08-26 Thread Vitor Mazuco
Hi to everybody,

My IAX is not working, When I type reload IAX it returns me:

AsteriskSlave*CLI> iax2 reload
  == Parsing '/etc/asterisk/iax.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
[Aug 26 10:05:04] NOTICE[18078]: chan_iax2.c:13546 set_config:
Ignoring bindport on reload
[Aug 26 10:05:04] NOTICE[18078]: chan_iax2.c:13610 set_config:
Ignoring bindaddr on reload

And the peers is not working:

Name/UsernameHost   Mask
   Port   Status
Description
prote1-prote2/p  192.168.25.26(S)
255.255.255.255   4569  (T)  UNREACHABLE
1 iax2 peers [0 online, 1 offline, 0 unmonitored]


See my both iax.conf

SERVER 1
[General]
bindport=4659
bindaddr = all
disallow=all
allow=ulaw;alaw
;Contas para os servidores das filiais.
;;
[prote1-prote2]
secret= password
username=prote1-prote2
host=192.168.25.26
type=friend
context=ramais
qualify=yes
trunk=yes
auth = md5
;;


SERVER 2

[General]
bindport=4659
bindaddr=all
disallow=all
allow=ulaw;alaw
;Contas para os servidores das filiais.
;;
[prote1-prote2]
secret= password
username=prote1-prote2
host=192.168.25.25
type=friend
context=ramais
qualify=yes
trunk=yes
auth = md5
;;
;;


How can I fix it?


Thanks.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] TLS problem

2016-08-26 Thread hw

Jonathan H schrieb:

Well, what immediately stands out is:
"FILE * open failed!"


Yes, and it doesn´t say which file cannot be opened.  I even looked at
the source and found that at that point, you can´t simply add some
debugging output to find out.


Have you triple checked that the full filepath is correct and that the
user that Asterisk is running as has full permissions to access your
valid certificate file?


It says 'SSL certificate ok' when I 'reload sip'.  When it can´t read one
of the files involved with the certificate, it says which one.


I have it working with microsip and a free TLS cert from LetsEncrypt.
When I get to the PC with that on, I can write up what settings I've
got if that helps?


I´m using a self signed certificate, but that shouldn´t behave any
differently than an externally sigend one as long as it checks out,
which it apparently does.

So yes, it would be nice if you could send me the settings you´re using,
thanks :)





On 26 August 2016 at 10:47, hw  wrote:

hw schrieb:



Hi,

I´m trying to get TLS to work with asterisk and client phones,
and all I´m getting from asterisk is


[Aug 23 11:46:42] WARNING[1170]: tcptls.c:673 handle_tcptls_connection:
FILE * open failed!
== Problem setting up ssl connection:
error::lib(0):func(0):reason(0)
[Aug 23 11:46:44] WARNING[1171]: tcptls.c:673 handle_tcptls_connection:
FILE * open failed!


when clients try to connect.  No client is able to register using TLS.

How can I use encrypted connections?



Nobody having an idea?  Nobody using encryption?



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
 http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] TLS problem

2016-08-26 Thread Jonathan H
Well, what immediately stands out is:
"FILE * open failed!"

Have you triple checked that the full filepath is correct and that the
user that Asterisk is running as has full permissions to access your
valid certificate file?

I have it working with microsip and a free TLS cert from LetsEncrypt.
When I get to the PC with that on, I can write up what settings I've
got if that helps?


On 26 August 2016 at 10:47, hw  wrote:
> hw schrieb:
>>
>>
>> Hi,
>>
>> I´m trying to get TLS to work with asterisk and client phones,
>> and all I´m getting from asterisk is
>>
>>
>> [Aug 23 11:46:42] WARNING[1170]: tcptls.c:673 handle_tcptls_connection:
>> FILE * open failed!
>>== Problem setting up ssl connection:
>> error::lib(0):func(0):reason(0)
>> [Aug 23 11:46:44] WARNING[1171]: tcptls.c:673 handle_tcptls_connection:
>> FILE * open failed!
>>
>>
>> when clients try to connect.  No client is able to register using TLS.
>>
>> How can I use encrypted connections?
>>
>
> Nobody having an idea?  Nobody using encryption?
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
>  http://www.asterisk.org/community/astricon-user-conference
>
> New to Asterisk? Start here:
>  https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
  http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] TLS problem

2016-08-26 Thread hw

hw schrieb:


Hi,

I´m trying to get TLS to work with asterisk and client phones,
and all I´m getting from asterisk is


[Aug 23 11:46:42] WARNING[1170]: tcptls.c:673 handle_tcptls_connection: FILE * 
open failed!
   == Problem setting up ssl connection: error::lib(0):func(0):reason(0)
[Aug 23 11:46:44] WARNING[1171]: tcptls.c:673 handle_tcptls_connection: FILE * 
open failed!


when clients try to connect.  No client is able to register using TLS.

How can I use encrypted connections?



Nobody having an idea?  Nobody using encryption?


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
 http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users