Help

How do I configure Asterisk?

These are the settings for the basic configuration of asterisk for sipgate.
Note: Replace your SIPID to SIP-ID and PASSWD to SIP-Password respectively.


Please enter the following in sip.conf:

  • register => SIP-ID:SIP-Password@sipgate/SIP-ID
  • [sipgate]
  • type=peer
  • secret=SIP_PASSWORD
  • insecure=invite
  • username=SIP-ID
  • defaultuser=SIP-ID
  • fromuser=SIP-ID
  • context=sipgate_in
  • fromdomain=sipgate.com
  • host=sipgate.com
  • outboundproxy=sipgate.com
  • qualify=yes
  • disallow=all
  • allow=ulaw          
  • dtmfmode=rfc2833

Please enter the following in extensions.conf:

  • [sipgate_in]
  • exten => SIP-ID,1,Dial(SIP/Extension) <-- instead of extension you should define the corresponding peer
  • exten => SIP-ID,n,Hangup
  • [sipgate_out]
  • exten => _X.,1,Set(CALLERID(num)=SIP-ID)
  • exten => _X.,2,Dial(SIP/${EXTEN}@sipgate,30,trg)
  • exten => _X.,3,Hangup

 



Rate this article
Article visits today 1 and all time 36882

  • Your comment: More comments