Asterisk configuration for Elion.ee

Line number is 654321. Elion's username is 372654321 and password northkorea.
register => 372654321@elion.ee:northkorea@proxy.elion.ee/elion

[elion]
type=friend
host=elion.ee
outboundproxy=proxy.elion.ee
port=5060
username=372654321
secret=northkorea
context=tuju
fromuser=372654321
fromdomain=elion.ee
canreinvite=no
insecure=port,invite
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
nat=no



[tuju]
exten => elion,1,Dial(SIP/phone1&SIP/phone2)

exten => _372X.,1,Log(NOTICE, Dialing out from ${CALLERID(all)} to 00372${EXTEN:3} through Elion)
exten => _372X.,2,Set(CALLERID(num)=372654321)
exten => _372X.,n,Dial(SIP/elion/00372${EXTEN:3},60)

Dialplan allows only local calls. Extend it for local needes as needed.
Back