[asterisk-bugs] [Asterisk 0015794]: IAX2 RSA authentication --> calls always unauthenticated

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 31 09:14:02 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15794 
====================================================================== 
Reported By:                jonaskellens
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15794
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           Older 1.4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-30 07:54 CDT
Last Modified:              2009-08-31 09:14 CDT
====================================================================== 
Summary:                    IAX2 RSA authentication --> calls always
unauthenticated
Description: 
Asterisk Box 1, iax.conf :

[BOX-YOCAN]
type=user
auth=rsa
inkeys=Box-Yocan-Key (public)
context=from-BOX-YOCAN

Asterisk Box 2, iax.conf :
[hostedasterisk]
type=peer
host=ip
auth=rsa
outkey=Box-Yocan-Key (private)
username=BOX-YOCAN

Keys are initialised with 'keys init' and reside in
/var/lib/asterisk/keys

Still on the CLI of Asterisk Box 1 (when Asterisk Box 2 registers) :
[Aug 30 14:38:47]     -- Registered IAX2 'BOX-YOCAN' (UNAUTHENTICATED) at
ip:4569

Also calls coming from Asterisk Box 2 to Asterisk Box 1 always come into
the [default] context because all incoming calls are unauthenticated.

So I want to use RSA keypair from Box 2 to Box 1 but I have no luck...

Why is all communication still unauthenticated ??
====================================================================== 

---------------------------------------------------------------------- 
 (0109846) lmadsen (administrator) - 2009-08-31 09:14
 https://issues.asterisk.org/view.php?id=15794#c109846 
---------------------------------------------------------------------- 
First, you should try with a more recent version of Asterisk, and not an
older 1.4 version.

Second, this seems like a possible configuration issue, and thus I'm going
to direct you to the asterisk-users mailing list, or #asterisk IRC channel.
If it is deemed to really be a bug, then please reopen this issue, but
provide some more information about the call, and console output, and other
necessary debugging information to reproduce. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-31 09:14 lmadsen        Note Added: 0109846                          
2009-08-31 09:14 lmadsen        Status                   new => closed       
2009-08-31 09:14 lmadsen        Resolution               open => suspended   
======================================================================




More information about the asterisk-bugs mailing list