Asterisk Instructions for SIP

Your Asterisk server may be configured to connect to Diamondcard.us via SIP protocol. Configure your Asterisk server to use the following settings.

sip.conf

 ; Add to your sip.conf
 ;
 ; Diamondcard.us termination
 [diamondcard]
 type=peer
 username=Your_AccountID
 fromuser=Your_AccountID
 secret=Your_PIN_code
 host=sip.diamondcard.us
 disallow=all
 allow=gsm,ulaw
 fromdomain=sip.diamondcard.us 

extensions.conf

 ;Add to your extensions.conf
 ;
 ; Diamondcard.us termination
 [diamondcardterm]
 exten => _011.,1,Dial(SIP/${EXTEN:3}@diamondcard)
 exten => _011.,2,Congestion 
 ; Include 'diamondcardterm' context into your local context. 

This will allow you to dial numbers with a prefix of 011. After the prefix dial the country code and then the number you wish to call.



Tags for this page:   asterisk   dialplan   sip