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.
Add to your sip.conf.
; Diamondcard.us termination
[diamondcard]
type=peer
username=Your_AccountID
fromuser=Your_AccountID
secret=Your_PIN_code
disallow=all
allow=gsm
allow=ilbc
; Use sip2.diamondcard.us if you want to connect to our USA server.
; Use sip.diamondcard.us if you want to connect to our USA server.
host=sip2.diamondcard.us
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.
|