Here is a sample setup for use with Mondotalk:
(replace PASSWORD with your Mondotalk password and 840XXXX with your Mondotalk phone number)
In sip.conf:
[general]
context=default
register=840XXXX:[email protected]
[sip99.mondotalk.com]
type=peer
host=sip99.mondotalk.com
fromdomain=sip99.mondotalk.com
secret=PASSWORD
fromuser=840XXXX
username=840XXXX
canreinvite=no
nat=yes
dtmfmode=rfc2833
insecure=port,invite
context=from-mondotalk
In extensions.conf:
[general]
autofallthrough=yes
[default]
exten => _X.,1,Hangup(3)
[sipdefault]
exten => _X.,1,Hangup(3)
[from-mondotalk]
exten => s,1,Dial(SIP/100,60,tr)
exten => s,n,Goto(in840XXXX-${DIALSTATUS},1)
exten => s,n,Hangup
exten => in840XXXX-BUSY,1,Hangup(17)
exten => in840XXXX-CONGESTION,1,Hangup(3)
exten => in840XXXX-CHANUNAVAIL,1,Hangup(3)
exten => in840XXXX-NOANSWER,1,Hangup(16)
exten => _in840XXXX-.,1,Hangup(16)
[internal]
include => home
include => mondotalk
include => test
[full]
include => internal
include => pstn-mondotalk
[pstn-mondotalk]
; How do we get to the outside world
exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@sip99.mondotalk.com)
exten => _011X.,1,Dial(SIP/${EXTEN}@sip99.mondotalk.com)
[mondotalk]
exten => _840XXXX,1,Dial(SIP/${EXTEN}@sip99.mondotalk.com)
exten => _839XXXX,1,Dial(SIP/${EXTEN}@sip99.mondotalk.com)
[home]
; Internal extensions
exten => 100,1,Dial(SIP/100) ; Physical Phone
exten => 101,1,Dial(SIP/101) ; Ekiga account
[test]
; Test numbers
exten => 600,1,Dial(SIP/[email protected],30) ; Mondotalk Echo Test
exten => 700,1,Dial(SIP/[email protected],30) ; U.S. Bureau of Morality