Hi,
I am using Sipura 3000 for my FXO and FXS lines. Is it possible, as soon as the user picks up the phone connected to FXS line, he hears the sound file? What I want to use is something like
exten => s,1,Answer()
exten => s,n,Backgroud(soundfile)
Thanks in advacne
Haroon
You may configure an auto-dial on the Sipura side to auto-dial an extension which reaches that particular point in your dialplan. You should consult the Sipura 3K documentation for details on how to do it.
Hi MuppetMaster,
Thanks for the reply. Yes, you are right auto dial should work. But, even if I use the soft phone, then it just gives me the dial tone. It does not give play the audio. I am sure the user with which is login the soft phone, the context is right.
Any suggestions please.
Thanks
Regards
Haroon
[quote=“haroon_anwar”]Hi MuppetMaster,
Thanks for the reply. Yes, you are right auto dial should work. But, even if I use the soft phone, then it just gives me the dial tone. It does not give play the audio. I am sure the user with which is login the soft phone, the context is right.
Any suggestions please.
Thanks
Regards
Haroon[/quote]
I am confused, how does the softphone fit into your original use case? Which softphone?
The Sipura 3K will allow an auto-dial upon pick up, like something you would put at a kiosk to always dial a certain number upon receiver pick-up.
Hi MuppetMaster,
I will explain.
I have got this entry in sip.conf
[meeting1_fxs]
username=meeting1_fxs
type=friend
secret=3462
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=no
host=dynamic
dtmfmode=rfc2833
context=meeting_fxs
canreinvite=no
callerid=meeting1_fxs <meeting1_fxs>
Correspoding Context in extension.conf is shown below.
[meeting_fxs]
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.
Regards
Haroon
Hi MuppetMaster,
The correct extenstion.conf entry is shown below. I have been playing around with it so showed the wrong one. On line two of the addressed context, the priority is 2 instead of 1.
[meeting_fxs]
exten => s,1,Answer()
exten => s,2,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
Hi Guys,
I have trying to figure out if it is possible that as soon as the SIP phone reciever is picked up, it takes you to the IVR and play the sound file. I can do it by dialing an extenstion. But, is it possible automatically.