Hi all
I am OK for Outgoing but Not OK for incoming with following conf
Please check and edit for incoming,I want to redirect incoming call to my extension
100.
;sip.conf
[general]
register => 4xxxxxx:pxxxxxx@sip.myprovider.com/111
musiconhold=default
[my-provider]
host=sip.myprovider.com
insecure=very
fromuser=4xxxxxx
secret=pxxxxxx
dtmfmode=rfc2833
disallow=all
allow=gsm
allow=ulaw
allow=alaw
qualify=yes
nat=yes
type=peer
context=Incoming
[100]
type=friend
host=dynamic
username=100
secret=password
context=home
dtmfmode=rfc2833
disallow=all
allow=gsm
allow=ulaw
allow=alaw
insecure=very
[101]
type=friend
host=dynamic
username=101
secret=password
context=home
dtmfmode=rfc2833
disallow=all
allow=gsm
allow=ulaw
allow=alaw
insecure=very
;extensions.conf
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
extenpatternmatchnew=no
[globals]
CONSOLE => Console/dsp
[home]
exten => 100,1,Dial(SIP/100,20)
exten => 100,2,Voicemail(100@home-vm-users)
exten => 101,1,Dial(SIP/101,20)
exten => 101,2,Voicemail(101@home-vm-users)
exten => 999,1,VoiceMailMain(@home-vm-users)
exten => _X.,1,Dial(SIP/${EXTEN}@whatever)
[Incoming]
exten => 111,1,Answer()
exten => 111,2,Dial(SIP/100)
exten => 111,3,HangUp()
Best Regards
Please