[Asterisk-Users] RSA interasterisk IAX problems ?

2005-03-24 Thread Robert Rozman
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:[EMAIL PROTECTED]/[EMAIL PROTECTED],30)

or
exten = _00[34][01].,3,Dial(IAX/asteriskA/[EMAIL PROTECTED],30)
but nogo.
Thanks in advance,
regards,
Rob.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RSA interasterisk IAX problems ?

2005-03-24 Thread Robert Rozman
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 [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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:[EMAIL PROTECTED]/[EMAIL PROTECTED],30)

or
exten = _00[34][01].,3,Dial(IAX/asteriskA/[EMAIL PROTECTED],30)
but nogo.
Thanks in advance,
regards,
Rob.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RSA interasterisk IAX problems ?

2005-03-24 Thread Robert Rozman
- Original Message - 
From: Robert Rozman [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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 [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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:[EMAIL PROTECTED]/[EMAIL PROTECTED],30)

or
exten = _00[34][01].,3,Dial(IAX/asteriskA/[EMAIL PROTECTED],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. 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users