I will explain.
I have got this entry in sip.conf
Correspoding Context in extension.conf is shown below.
exten => s,1,Answer()
exten => s,1,Background(/etc/asterisk/sounds/harry)
exten => 1,1,Goto(inside-ext,s,1)
exten => 2,1,Goto(outside-ext,2,1)
exten => i,1,Playback(invalid-entry)
exten => i,n,Goto(meeting_fxs,s,1)
exten => t,1,Playback(goodbye)
exten => t,n,Hangup()
include => emergency
In my SPA-3000, the FXS sip setting is pointing to meeting1_fxs user. I agree with you that If I pick up the FXS phone then there should be some sort of dial plan to get the IVR sound file to play.
I downloaded xlite and configured that with the SIP user meeting_fxs. But, it just give me the dial tone. What I want is that as soon as I press the on button of soft phone or the FXS phone is picked up, it just goes straight to the Sound File.
Thanks in Advance again.