Skip to content

Instantly share code, notes, and snippets.

@ipoddubny
Created June 22, 2014 06:56
Show Gist options
  • Save ipoddubny/f4ee7df42d2c16083c45 to your computer and use it in GitHub Desktop.
Save ipoddubny/f4ee7df42d2c16083c45 to your computer and use it in GitHub Desktop.
Asterisk Multifon configuration
[incoming]
exten => 7926XXXXXXX,1,Versobe(Hello Multifon)
same => n,NoOp(Call from ${CALLERID(num)})
; do something, like answer, ...
same => n,Hangup
[outbound]
exten => _89XXXXXXXXX,1,Dial(SIP/multifon/${EXTEN})
same => n,Hangup
register => [email protected]:passw0rd123:[email protected]:5060/7926XXXXXXX
[multifon]
type=peer
port=5060
nat=yes
host=sbc.megafon.ru
insecure=port,invite
context=incoming
defaultuser=7926XXXXXXX
secret=passw0rd123
fromuser=7926XXXXXXX
fromdomain=multifon.ru
dtmfmode=inband
directmedia=no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment