SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
golgeyolcuOffline



Joined: Aug 22, 2008
Posts: 1

Status: Offline
Posted: Aug 22, 2008 - 02:42 PM Reply with quote Back to top
asterisk srtp grandstream config


Asterisk SRTP config

i installed asterisk with srtp. i have configured sip.conf and extensions.conf like

extensions.conf
main
exten => 600,1,Set(_SIPSRTP=optional)
exten => 600,n,Set(_SIPSRTP_CRYPTO=enable)
exten => 600,n,Playback(demo-echotest) ; Let them know what's going on
exten => 600,n,Echo ; Do the echo test
exten => 600,n,Playback(demo-echodone) ; Let them know it's over
exten => 600,n,hangup

exten => 610,1,Set(_SIPSRTP=require)
exten => 610,n,Set(_SIPSRTP_MIKEY=enable)
exten => 610,n,Playback(demo-echotest) ; Let them know what's going on
exten => 610,n,Echo ; Do the echo test
exten => 610,n,Playback(demo-echodone) ; Let them know it's over
exten => 610,n,hangup


exten => 700, 1, Set(_SIP_SRTP_SDES=1)
exten => 700, n, Set(_SIPSRTP=optional)
exten => 700, n, Set(_SIPSRTP_CRYPTO=enable)
exten => 700, n, Dial(SIP/700)

exten => 701, 1, Set(_SIP_SRTP_SDES=1)
exten => 701, n, Set(_SIPSRTP=optional)
exten => 701, n, Set(_SIPSRTP_CRYPTO=enable)
exten => 701, n, Dial(SIP/701)

sip.conf

700
type=friend
username=700
context=main
host=dynamic
secret=700
canreinvite=no
nat=yes

701
type=friend
username=701
context=main
host=dynamic
secret=701
canreinvite=no
nat=yes

and i used grandstream GXP2020 telephones. when i dial 600 it is succesful and i am getting my echo but when i dial 700 it says call failed reason code : 603

Is there anybody who can help me.
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.