bakko
2010-Oct-17 17:18 UTC
[asterisk-users] Error with Connecting Two Asterisk BOX with IAX
Hello, I'm trying to conect two 1.6.2.13 Asterisk server with IAX. This is my configuration: Asterisk A: iax.conf register => coiax:pass1 at 69.164.207.166 [smiax] type=friend host=dynamic trunk=yes secret=pass2 context=phones deny=0.0.0.0/0.0.0.0 permit=69.164.207.166/255.255.255.255 qualify=yes Console: iax2 registry 69.164.207.166:4569 N coiax 69.164.197.105:4569 60 Registered iax2 peers smiax 69.164.207.166 (D) 255.255.255.255 4569 (T) OK (3 ms) Asterisk B: register => smiax:pass2 at 69.164.197.105 [coiax] type=friend host=dynamic trunk=yes secret=pass1 context=phones deny=0.0.0.0/0.0.0.0 permit=69.164.197.105/255.255.255.255 qualify=yes Console iax2 registry 69.164.197.105:4569 N smiax 69.164.207.166:4569 60 Registered iax2 peers coiax 69.164.197.105 (D) 255.255.255.255 4569 (T) OK (3 ms) When I try to call from Asterisk A to Asterisk B I receive this error Asterisk A WARNING[28759]: chan_iax2.c:10287 socket_process: Call rejected by 69.164.207.166: No authority found AsteriskB NOTICE[26563]: chan_iax2.c:10522 socket_process: Host 69.164.197.105 failed to authenticate as coiax What's wrong? Thank you in advance. Regards - Bakko
Giorgio Incantalupo
2010-Oct-21 07:27 UTC
[asterisk-users] Error with Connecting Two Asterisk BOX with IAX
Hi bakko, just as a test, try to add "calltokenoptional=0.0.0.0/0.0.0.0" to your iax.conf. Giorgio Incantalupo bakko wrote:> Hello, > > I'm trying to conect two 1.6.2.13 Asterisk server with IAX. > > This is my configuration: > > Asterisk A: > > iax.conf > > register => coiax:pass1 at 69.164.207.166 > > [smiax] > type=friend > host=dynamic > trunk=yes > secret=pass2 > context=phones > deny=0.0.0.0/0.0.0.0 > permit=69.164.207.166/255.255.255.255 > qualify=yes > > Console: > iax2 registry > 69.164.207.166:4569 N coiax 69.164.197.105:4569 60 > Registered > iax2 peers > smiax 69.164.207.166 (D) 255.255.255.255 4569 (T) OK (3 > ms) > > Asterisk B: > > register => smiax:pass2 at 69.164.197.105 > > [coiax] > type=friend > host=dynamic > trunk=yes > secret=pass1 > context=phones > deny=0.0.0.0/0.0.0.0 > permit=69.164.197.105/255.255.255.255 > qualify=yes > > Console > iax2 registry > 69.164.197.105:4569 N smiax 69.164.207.166:4569 60 > Registered > iax2 peers > coiax 69.164.197.105 (D) 255.255.255.255 4569 (T) OK (3 > ms) > > When I try to call from Asterisk A to Asterisk B I receive this error > Asterisk A > WARNING[28759]: chan_iax2.c:10287 socket_process: Call rejected by > 69.164.207.166: No authority found > > AsteriskB > NOTICE[26563]: chan_iax2.c:10522 socket_process: Host 69.164.197.105 failed > to authenticate as coiax > > What's wrong? > > Thank you in advance. > > Regards > > - Bakko > > >