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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 30 07:54:31 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
Asterisk Version:           Older 1.4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-30 07:54 CDT
Last Modified:              2009-08-30 07:54 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 ??
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-30 07:54 jonaskellens   New Issue                                    
2009-08-30 07:54 jonaskellens   Asterisk Version          => Older 1.4       
2009-08-30 07:54 jonaskellens   Regression                => No              
2009-08-30 07:54 jonaskellens   SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list