[Asterisk-Users] RSA interasterisk IAX problems ?

Robert Rozman rozman at fri.uni-lj.si
Thu Mar 24 18:57:34 MST 2005


----- Original Message ----- 
From: "Robert Rozman" <rozman at fri.uni-lj.si>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Friday, March 25, 2005 2:13 AM
Subject: Re: [Asterisk-Users] RSA interasterisk IAX problems ?


> Hi,
>
> I'd kindly ask if anyone can provide working example of RSA authentication 
> and IAX ?
>
> Thanks in advance,
>
> regards,
>
> Rob.
>
> ----- Original Message ----- 
> From: "Robert Rozman" <rozman at fri.uni-lj.si>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
> <asterisk-users at lists.digium.com>
> Sent: Thursday, March 24, 2005 12:16 PM
> Subject: [Asterisk-Users] RSA interasterisk IAX problems ?
>
>
>> Hi,
>>
>> I'd like to setup oneway connection - so asteriskB can place calls on 
>> asteriskA and be safely authenticated with rsa keys. I just don't get any 
>> response on asteriskA.
>> I've generated pair of keys: name.key, name.pub and put them on both 
>> servers
>>    - is it right to only have name.key on asteriskA and name.pub on 
>> asteriskB ?
>>
>> I get everybody is busy ... on asteriskB, and none response on asteriskA.
>>
>> What am I doing wrong? Does anyone have working example of this ?
>>
>> I have following setup (UDP 5036 ports are opened and forwarded on both 
>> Asterisk, they are both behind NATs):
>>
>> 1. asteriskA
>> *********iax.conf:
>> [asteriskA]
>> type=user
>> host=voip.xxx.xx
>> username=asteriskA
>> auth=rsa
>> inkeys=name
>> context=default
>> accountcode=asteriskA
>>
>> 2. asteriskB
>> *********iax.conf:
>> [asteriskA]
>> type=peer
>> host=xxx.xxx.xxx.xxx
>> auth=rsa
>> outkey=name
>> username=asteriskA
>>
>> *********extensions.conf:
>> exten => 
>> _00[34][01].,3,Dial(IAX/asteriskA:[name]@xxx.xxx.xxx.xxx/${EXTEN}@default,30)
>>
>> or
>>
>> exten => _00[34][01].,3,Dial(IAX/asteriskA/${EXTEN}@default,30)
>>
>>
>> but nogo.
>>
>> Thanks in advance,
>>
>> regards,
>>
>> Rob.
>>
Hi,

I've found solution to my own problem. There is major lapsus on wiki on page 
for rsa authentication - example line starts with IAX/ instead of IAX2/.

That solved my problem. But I needed to copy both keys (public and private) 
to both asterisks. Is this right ?

Regards,

Rob. 




More information about the asterisk-users mailing list