Hello I`m using a X100P card, the context for the incoming calls is x100p, so in extensions.conf I have::
[x100p]
exten => s,1,Dial(…)
exten => s,2,Hangup()
the call is transfered to a sip client.
It`s possible to make an IVR with a zaptel card??
for example, when the call is incoming, asterisk take the call and it transfeer the call to different sip users (ej 1=> sip_jhon, 2=> sip_paul, etc)
thanks
bwilks
2
[x100p]
exten => s,1,Answer
exten => s,2,Set(TIMEOUT(digit)=5)
exten => s,3,Background(demo-instruct); make your own sound file
;Press 1 to dial Paul at Ext.1001
exten => 1,1,Dial(SIP/1001,20)
exten => 1,2,HangUp()
;Press 2 to dial John at Ext. 1002
exten => 2,1,Dial(SIP/1002,20)
exten => 2,2,HangUp()
;Exit
exten => 9,1,HangUp()
exten => t,1,Goto(x100p,s,1)
exten => i,1,Playback(pbx-invalid)