Thanks Navaismo,
Am getting this error
[Mar 22 18:42:55] NOTICE[2826][C-00000001]: chan_sip.c:25844 handle_request_invite: Call from ‘’ (192.168.0.11:5060) to extension ‘254732453445’ rejected because extension not found in context ‘outgoing’.
Scheduling destruction of SIP dialog ‘70D41F91FE9E4C98B5A44DB25D3609B40xc0a8000b’ in 32000 ms (Method: INVITE)
This is my extensions.conf file
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
; Global variables goes here
[outgoing]
exten => 30,1,Wait(15)
exten => 30,n,Answer()
exten => 30,n,Background(/var/lib/asterisk/sounds/ivr_promt_user)
exten => 30,n,WaitExten(15,m)
exten => 30,n,Background(/var/lib/asterisk/sounds/ivr_promt_user)
exten => 30,n,WaitExten(15,m)
exten => 30,n,Background(/var/lib/asterisk/sounds/ivr_promt_user)
exten => 30,n,WaitExten(15,m)
exten => 30,n,Background(/var/lib/asterisk/sounds/ivr_promt_user)
exten => 30,n,WaitExten(15,m)
exten => 30,n,Background(/var/lib/asterisk/sounds/ivr_promt_user)
exten => 30,n,WaitExten(15,m)
exten => 1,1,DIAL(“SIP/1XXXXXXXXX@ringtones”)
exten => 1,2,Hangup()
exten => 2,1,DIAL(“SIP/1XXXXXXXXX@ringtones”)
exten => 2,2,Hangup()
exten => 3,1,DIAL(“SIP/1XXXXXXXXX@ringtones”)
exten => 3,2,Hangup()
exten => _254xxxxxxxxx/_1XXXXXXXXXX,1,Dial(SIP/${EXTEN}@sipprovider)
;exten => somepattern/_1XXXXXXXXX,1,DIAL(tech/trunk/NUMBER)
Thanks