Follow this example to interconnect an Asterisk PBX to our platform replacing 111111 with your 6 digits account number and 222222 with your password:

SIP.CONF

[general]

register => 111111:[email protected]

[111111]
host=sip.myowntelco.net
type=friend
username=111111
secret=222222
context=incoming-sip
dtmfmode=rfc2833
qualify=yes
disallow=all
allow=ulaw,g729,gsm
insecure=port,invite
nat=no

IAX.CONF

[general]
register => 111111:[email protected]

[111111]
host=iax2.myowntelco.net
type=friend
username=111111
secret=222222
context=incoming-iax
dtmfmode=rfc2833
qualify=yes
disallow=all
allow=ulaw,g729,gsm
insecure=port,invite
nat=no

EXTENSIONS.CONF

; For MyOwn Telco SIP inbound calls
[incoming-sip]
exten => _.,1,Answer()
exten => _.,n,Playback(demo-echotest)
exten => _.,n,Hangup

; For MyOwn Telco IAX2 inbound calls
[incoming-iax]
exten => _.,1,Answer()
exten => _.,n,Playback(demo-echotest)
exten => _.,n,Hangup

; For outbound calls initiated by your phone
[dial-out]
exten => _X.,1,Set(CALLERID(all)="John Doe" <5143334444>)
exten => _X.,n,Dial(SIP/111111/${EXTEN})
exten => _X.,n,Hangup