[asterisk-users] Documentation on RSA key authentication ?? (No way to send secret to peer)

jonas kellens jonas.kellens at telenet.be
Thu Aug 27 04:40:02 CDT 2009


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
[89.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090827/8e6f465e/attachment.htm 


More information about the asterisk-users mailing list