Asterisk Background function not playing ivr as expected -


hi trying play ivr in background during call. have no need ringing sound. have tried following far

extensions.conf file

exten => _x.,1,progress() exten => _x.,2,background(you_have&minutes&dollar&you_have&dollar) exten => _x.,3,agi(mybilling.php) exten => _x.,n,hangup 

its not working. working playback() , call starting (initiating) after ivr finished.

i need play ivr background while call being sent user

any idea regarding playing background music appreciated.

i have tried m option dial() no idea how play ivr instead default file. using phpagi ivr playing agi script.

if can solve issue using agi script acceptable. asterisk version 1.8

i think not readed do.

it work waitexten after it.

i.e if this

exten =>s,1,background(file) same => n,waitexten(5);wait upt 5 sec, still play file  exten => 1,1,noop(1 pressed) 

then works.

no other variant.

to want need play conference bridge or chanspy in additional channel.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -