I know that, but as soon as I answer, guest is billed.<br>Sorry to trouble you.<br><br>Thanks<br><br><div><span class="gmail_quote">2006/4/25, Peter J Dean <<a href="mailto:peter.john.dean@gmail.com">peter.john.dean@gmail.com
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You are stilling going to need to answer the call before you can play<br>any message or music or other.
<br><br>Here is a start for you.<br><br>So lets look at it logically;<br><br>- Advise the caller of the charges and conditions.<br>- The caller must has a option to acknowledge they understand and<br>accept the charges<br>
- (Optionally) The caller has can repeat the charges and conditions<br>message.<br><br>This no leads us towards a simple IVR system. Below is an example,<br>and you will need to clean it up.<br><br>You can use the ResetCDR() command to reset the time used, and
<br>continue from there.<br><br>So, extending on the below (untested, but you get the general idea);<br><br>[context_askcustomerbeforechargingthem]<br>exten => xxxxxxxxx,1,Answer<br>exten => xxxxxxxxx,n,Playback(audio)
<br>exten => xxxxxxxxx,n,Playback<br>(press_one_to_accept_the_charges_and_conditions)<br>exten => xxxxxxxxx,n,Playback<br>(just_simply_hangup_if_you_do_not_wish_to_proceed)<br>exten => xxxxxxxxx,n,WaitExten(5)<br>
exten => xxxxxxxxx,n,Playback(out)<br>exten => xxxxxxxxx,n,Hangup<br><br>exten => _1,1,Playback(thankyou_for_selecting_our_service_or_whatever)<br>exten => _1,n,ResetCDR()<br>exten => _1,n,Goto or do whatever next from here
<br><br><br>On 25/04/2006, at 8:30 AM, FaberK wrote:<br><br>> Hi Peter,<br>> but if I "Answer", I'll be billed, isn't it?<br>> What I need is to play an announce of the service cost, so that if<br>> the guest do not want to go ahead for the cost, can hungup without
<br>> pay.<br>> I'll try your solution.<br>><br>> Thanks.<br>><br>> 2006/4/25, Peter J Dean <<a href="mailto:peter.john.dean@gmail.com">peter.john.dean@gmail.com</a>>: You need to<br>> have an established and open channel before the audio can
<br>> be played.<br>><br>> exten => xxxxxxxxx,1,Answer<br>> exten => xxxxxxxxx,n,Playback(audio,noanswer)<br>> exten => xxxxxxxxx,n,BackGround(out)<br>> exten => xxxxxxxxx,n,Hangup<br>><br>
> On 24/04/2006, at 10:25 PM, FaberK wrote:<br>><br>> > Hi Folks,<br>> > using this:<br>> > exten => xxxxxxxxx,1,Playback(audio,noanswer)<br>> > exten => xxxxxxxxx,2,Answer<br>> > exten => xxxxxxxxx,3,BackGround(out)
<br>> > exten => xxxxxxxxx,103,Hangup<br>> ><br>> > I'm not billed and remain connected, but the file 'audio' is not<br>> > played...well I do not ear it.<br>> > But after, it pass correctly to answer and I can ear the 'out'
<br>> > audio file.<br>> ><br>> > Any idea/suggestion???<br>> ><br>> > Thanks!<br>> ><br>> > 2006/3/21, FaberK <<a href="mailto:f.faberk@gmail.com">f.faberk@gmail.com</a> >:
<br>> > Hi,<br>> > I've tryed it using my mobile and I've been charged.<br>> > Maybe, my mobile operator(Vodafone) does not support it?<br>> ><br>> > Thanks again.<br>> ><br>> > p.s
.: hi John, I love to learn(books, google, lists, ecc...) and<br>> > cooperation and I can say that everytime I learn something new. :o)<br>> ><br>> > 2006/3/21, CC Jay <<a href="mailto:jjcoolio@gmail.com">
jjcoolio@gmail.com</a>>:<br>> > Not sure about 1.2.4 but with 1.0.9, you'll need to add "noanswer"<br>> > to playback since playback will try to answer the line, i.e.,<br>> > exten => 5551234,1,Playback(you-wont-be-billed-for-hearing-this,
<br>> > noanswer)<br>> > exten => 5551234,n,Answer<br>> > etc.<br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > --Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br>> ><br>> > Asterisk-Users mailing list<br>> > To UNSUBSCRIBE or update options visit:<br>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > --<br>> > .:FaberK:.<br>> ><br>> ><br>> ><br>> > --<br>
> > .:FaberK:.<br>> > _______________________________________________<br>> > --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>> ><br>> > Asterisk-Users mailing list
<br>> > To UNSUBSCRIBE or update options visit:<br>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>> _______________________________________________
<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> Asterisk-Users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>><br>><br>> --<br>> .:FaberK:.<br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br>><br>> Asterisk-Users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>.:FaberK:.