Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] SRTP between 2 asterisks


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
oscar at iportalmais.pt
Guest





PostPosted: Fri May 02, 2008 11:46 am    Post subject: [asterisk-users] SRTP between 2 asterisks Reply with quote

Hi!

I am having trouble getting the following configuration to work:
PHONE1 <-- rtp --> Asterisk <--IAX--> Asterisk_SRTP_1 <--- srtp --->
Asterisk_SRTP_2 <-- rtp--> PHONE2


This means, I am using regular voip clients without srtp support on both
sides, but the communication between the 2 Asterisk_SRTP boxes must be
secure. The Asterisk_SRTP_2 box is registered in the Asterisk_SRTP_1 box
as it was a client.

The problem is that, when i call from phone1 to phone2, when phone2
picks up, the call is automatically hungup by Asterisk_SRTP_1 with the
following error message:

[May 2 17:10:33] DEBUG[11553]: res_srtp.c:456 res_srtp_unprotect: SRTP unprotect: authentication failure

[May 2 17:10:33] WARNING[11553]: rtp.c:1648 ast_rtp_read: RTP Read error: Success. Hanging up.


Is this a known error? What could be the problem here?

Here are the important configuration files:

- Asterisk_SRTP_1:

sip.conf:

[Asterisk_SRTP_2]

type=peer

secret=123

host=dynamic

defaulthost=192.168.69.176

port=5070

dtmfmode=rfc2833

insecure=invite,port

qualify=no

canreinvite=no


extensions.conf:

exten => 355,1,NoOP(Encrypted Call)

exten => 355,n,Set(_SIPSRTP=require)

exten => 355,n,Set(_SIPSRTP_CRYPTO=enable)

exten => 355,n,Dial(SIP/Asterisk_SRTP_2,30)

exten => 355,n,Hangup()


If you need anymore info please let me know!

Thanks in advance for your answers. Any help will be appreciated.

Best regards,

?scar Patr?cio
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services