Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Powered by Vanilla

Inbound call with Asterisk

edited February 15 in General
Hi all,
I've follow the step by step guide for connect sonetel with asterisk.
Outbound calls work but inbound calls no.

my sip.conf file is

register => username@domain.com:password@sip.sonetel.com
outboundproxy=sip.sonetel.com

[username]
type=friend
dtmfmode=rfc2833
context=sonetel
host=sip.sonetel.com
username=username
secret=password
nat=yes
fromdomain=my.business.domain
outboundproxy=sip.sonetel.com
insecure=invite
disallow=All
allow=alaw
allow=ulaw
allow=gsm


my extensions.conf file is
[sonetel]
exten => username,1,Answer
exten => username,n,Dial(SIP/mySip);
exten => username,n, Hangup

exten => _00X.,1, Answer
exten => _00X.,n, Set(CALLERID(num)=username)
exten => _00X.,n, Dial(SIP/${EXTEN}@username)
exten => _00X.,n, Hangup

Comments

Sign In or Register to comment.