[asterisk-users] IVR not able to Play the Balance.. need some helphere

ram talk2ram at gmail.com
Wed Sep 13 10:22:04 MST 2006


Hi

is this possible to read words like digits  in asterisk

Ram


On 9/13/06, Héctor Maldonado <hamaldonado at gmail.com> wrote:
>
> uh.. maybe recording a gsm file with "rupees" and playing it just after
> SayDigits.. ?
>
>
>
> 2006/9/13, ram <talk2ram at gmail.com>:
> >
> >  Hi all
> >
> > Same like reading  Numbers
> > how can read words
> >
> > since i dont see India Currency anouncing ( i see Dollars)
> > i want to anounce after 17 then Rupees
> >
> > how can i achive this
> >
> > Ram
> >
> >
> >  On 9/13/06, bails <bails at westcomuk.com> wrote:
> > >
> > > > exten => 888,8,SayDigits(${AMOUNT-DUE})
> > >
> > > B
> > >
> > > ram wrote:
> > > > Hi
> > > >
> > > > thanks for the quick reply
> > > >
> > > > yes as suggested i did the Following modification
> > > >
> > > > exten => 888,1,Read(${CALLERIDNUM})
> > > > exten => 888,2,MYSQL(Connect connid 127.0.0.1 < http://127.0.0.1>
> > > root
> > > > password database)
> > > > exten => 888,3,MYSQL(Query resultid ${connid} select\ saldo\ from\
> > > > balance\ where\ username=${CALLERIDNUM})
> > > > exten => 888,4,Wait(1)
> > > > exten => 888,5,MYSQL(Fetch fetch ${resultid} AMOUNT-DUE)
> > > > exten => 888,6,Playback(card-balance-is)
> > > > exten => 888,7,Wait(2)
> > > > exten => 888,8,Playback(${AMOUNT-DUE})
> > > > exten => 888,9,MYSQL(Clear ${resultid})
> > > > exten => 888,10,MYSQL(Disconnect ${connid})
> > > >
> > > > when i dial 888, i get sound card balance is,then after few seconds
> > > hangup.
> > > >
> > > > and i see in debug the following error
> > > >
> > > > Sep 13 18:46:59 WARNING[3907]: file.c:512 ast_openstream_full: File
> > > 17
> > > > does not exist in any format
> > > > Sep 13 18:46:59 WARNING[3907]: file.c :824 ast_streamfile: Unable to
> > > open
> > > > 17 (format gsm): No such file or directory
> > > >
> > > >
> > > > how to play the results
> > > >
> > > > can some one help me in this regard
> > > >
> > > > Ram
> > > >
> > > >
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > --Bandwidth and Colocation provided by Easynews.com<http://easynews.com/>--
> > > >
> > > > asterisk-users mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > >     http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com<http://easynews.com/>--
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com<http://easynews.com/>--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060913/91c27fb7/attachment.htm


More information about the asterisk-users mailing list