[asterisk-users] I don't know how to authenticate

Phibee Network Operation Center noc at phibee.net
Fri Nov 20 13:07:34 CST 2009


Ok i have change a lot of conf and now when i call, i have:

On server 1:
[Nov 20 20:03:30] WARNING[12047]: chan_iax2.c:9018 socket_process: Call 
rejected by 78.SERVER2: No authority found


On Server 2:
[Nov 20 20:03:30] NOTICE[32234]: chan_iax2.c:10229 socket_process: Host 
84.SERVER1 failed to authenticate as 04NUMBERCALLED





Phibee Network Operation Center a écrit :
>
> No change, now:
>
>
> voip*CLI> iax2 show peers
> Name/Username    Host                 Mask             Port          
> Status
> Trader-Classic/  78.SERVER2   (D)  255.255.255.255  4569      (E) OK 
> (2 ms)
> 1 iax2 peers [1 online, 0 offline, 0 unmonitored]
> voip*CLI>
>
> voip*CLI> iax2 show registry
> Host                  dnsmgr  Username    Perceived             
> Refresh  State
> 78.SERVER2:4569    N       VoIP        84.SERVER1:4569         60  
> Registered
> 1 IAX2 registrations.
> voip*CLI>
>
>
>
> trader-voip*CLI> iax2 show peers
> Name/Username    Host                 Mask             Port          
> Status
> VoIP/VoIP        84.SERVER1   (D)  255.255.255.255  4569      (E) OK 
> (16 ms)
> 1 iax2 peers [1 online, 0 offline, 0 unmonitored]
> trader-voip*CLI> iax2 show registry
> Host                  dnsmgr  Username    Perceived             
> Refresh  State
> 84.SERVER1:4569    N       Trader-Cla  78.SERVER2:4569         60  
> Registered
> 1 IAX2 registrations.
> trader-voip*CLI>
>
>
>
> all registration and peers are Ok, the dial on srv1:
>
>         exten => _X.,1,Set(CDR(CodeTier)=CLA-UNKNOW)
>         exten => _X.,2,Dial(IAX2/${EXTEN}@Trader-Classic,180,rt)
>         exten => _X.,3,Hangup
>
> but no change when i want call:
> Connected to Asterisk 1.6.1.4 currently running on voip (pid = 12026)
> [Nov 20 19:59:16] WARNING[12046]: chan_iax2.c:9232 socket_process: I 
> don't know how to authenticate VoIP to 78.SERVER2
> voip*CLI>
>
>
> iax.conf:
>
> Server1:
> register => VoIP:XXX at 78.SERVER2:4569
>
> [Trader-Classic]
> type=friend
> host=dynamic
> defaultip=78.SERVER2
> username=Trader-Classic
> auth=md5
> port=4569
> qualify=yes
> secret=XXXX
> trunk=no
> notransfer=no
> encryption=aes128
> disallow=all
> allow=alaw
> allow=g729
>
>
>
> Server 2:
> register => Trader-Classic:XXX at 84.SERVER1:4569
> [VoIP]
> type=friend
> host=dynamic
> defaultip=84.SERVER1
> username=VoIP
> auth=md5
> secret=XXX
> qualify=yes
> trunk=no
> notransfer=no
> encryption=aes128
> disallow=all
> allow=alaw
> allow=g729
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091120/32594d4b/attachment.htm 


More information about the asterisk-users mailing list