[asterisk-users] Documentation on RSA key authentication ?? (UNAUTHENTICATED)

jonas kellens jonas.kellens at telenet.be
Thu Aug 27 06:20:00 CDT 2009


So Registration succeeds but the server is still "UNAUTHENTICATED" :
[Aug 27 13:16:18]     -- Registered IAX2 'BOX-YOCAN' (UNAUTHENTICATED)
at 78.xx.xx.xx:4569

I have initialised the keys on both the Asterisk-servers at startup
(asterisk -ic)



On Thu, 2009-08-27 at 11:40 +0200, jonas kellens wrote:

> Is there any documentation on IAX RSA authentication because I
> followed http://www.voip-info.org/wiki/index.php?page=Asterisk+iax+rsa
> +auth and it's not working...
> 
> Asterisk 1 :
> 
> -r--r--r-- 1 root root 272 Aug 25 10:34 server2.pub
> -r-------- 1 root root 963 Aug 24 19:38 server1.key
> 
> Asterisk 2 :
> 
> -r-------- 1 root root 963 Aug 24 19:53 server2.key
> -r--r--r-- 1 root root 272 Aug 25 09:02 server1.pub
> 
> CLI on Asterisk 2 :
> 
> IAX2 Debugging Enabled
> [Aug 27 11:36:08] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type:
> IAX     Subclass: REGREQ 
> [Aug 27 11:36:08]    Timestamp: 00003ms  SCall: 10189  DCall: 00000
> [XX.31.XX.XX:4569]
> [Aug 27 11:36:08]    USERNAME        : server2
> [Aug 27 11:36:08]    REFRESH         : 60
> [Aug 27 11:36:08] 
> [Aug 27 11:36:08] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type:
> IAX     Subclass: POKE   
> [Aug 27 11:36:08]    Timestamp: 00003ms  SCall: 14862  DCall: 00000
> [XX.31.XX.XX:4569]
> [Aug 27 11:36:08] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type:
> IAX     Subclass: ACK    
> [Aug 27 11:36:08]    Timestamp: 00003ms  SCall: 00414  DCall: 10189
> [XX.31.XX.XX:4569]
> [Aug 27 11:36:08] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type:
> IAX     Subclass: REGAUTH
> [Aug 27 11:36:08]    Timestamp: 00007ms  SCall: 00414  DCall: 10189
> [XX.31.XX.XX:4569]
> [Aug 27 11:36:08]    AUTHMETHODS     : 4
> [Aug 27 11:36:08]    CHALLENGE       : 129701753
> [Aug 27 11:36:08]    USERNAME        : server2
> [Aug 27 11:36:08] 
> [Aug 27 11:36:08] NOTICE[30153]: chan_iax2.c:5916 authenticate: No way
> to send secret to peer 'XX.31.XX.XX' (their methods: 4)
> [Aug 27 11:36:08] Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type:
> IAX     Subclass: REJECT 
> [Aug 27 11:36:08]    Timestamp: 00052ms  SCall: 10189  DCall: 00414
> [XX.31.XX.XX:4569]
> [Aug 27 11:36:08]    CAUSE           : No authority found
> [Aug 27 11:36:08]    CAUSE CODE      : 50
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090827/90da3b4e/attachment.htm 


More information about the asterisk-users mailing list