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 &lt;<a href="mailto:peter.john.dean@gmail.com">peter.john.dean@gmail.com
</a>&gt;:</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 =&gt; xxxxxxxxx,1,Answer<br>exten =&gt; xxxxxxxxx,n,Playback(audio)
<br>exten =&gt; xxxxxxxxx,n,Playback<br>(press_one_to_accept_the_charges_and_conditions)<br>exten =&gt; xxxxxxxxx,n,Playback<br>(just_simply_hangup_if_you_do_not_wish_to_proceed)<br>exten =&gt; xxxxxxxxx,n,WaitExten(5)<br>
exten =&gt; xxxxxxxxx,n,Playback(out)<br>exten =&gt; xxxxxxxxx,n,Hangup<br><br>exten =&gt; _1,1,Playback(thankyou_for_selecting_our_service_or_whatever)<br>exten =&gt; _1,n,ResetCDR()<br>exten =&gt; _1,n,Goto or do whatever next from here
<br><br><br>On 25/04/2006, at 8:30 AM, FaberK wrote:<br><br>&gt; Hi Peter,<br>&gt; but if I &quot;Answer&quot;, I'll be billed, isn't it?<br>&gt; What I need is to play an announce of the service cost, so that if<br>&gt; the guest do not want to go ahead for the cost, can hungup without
<br>&gt; pay.<br>&gt; I'll try your solution.<br>&gt;<br>&gt; Thanks.<br>&gt;<br>&gt; 2006/4/25, Peter J Dean &lt;<a href="mailto:peter.john.dean@gmail.com">peter.john.dean@gmail.com</a>&gt;: You need to<br>&gt; have an established and open channel before the audio can
<br>&gt; be played.<br>&gt;<br>&gt; exten =&gt; xxxxxxxxx,1,Answer<br>&gt; exten =&gt; xxxxxxxxx,n,Playback(audio,noanswer)<br>&gt; exten =&gt; xxxxxxxxx,n,BackGround(out)<br>&gt; exten =&gt; xxxxxxxxx,n,Hangup<br>&gt;<br>
&gt; On 24/04/2006, at 10:25 PM, FaberK wrote:<br>&gt;<br>&gt; &gt; Hi Folks,<br>&gt; &gt; using this:<br>&gt; &gt; exten =&gt; xxxxxxxxx,1,Playback(audio,noanswer)<br>&gt; &gt; exten =&gt; xxxxxxxxx,2,Answer<br>&gt; &gt; exten =&gt; xxxxxxxxx,3,BackGround(out)
<br>&gt; &gt; exten =&gt; xxxxxxxxx,103,Hangup<br>&gt; &gt;<br>&gt; &gt; I'm not billed and remain connected, but the file 'audio' is not<br>&gt; &gt; played...well I do not ear it.<br>&gt; &gt; But after, it pass correctly to answer and I can ear the 'out'
<br>&gt; &gt; audio file.<br>&gt; &gt;<br>&gt; &gt; Any idea/suggestion???<br>&gt; &gt;<br>&gt; &gt; Thanks!<br>&gt; &gt;<br>&gt; &gt; 2006/3/21, FaberK &lt;<a href="mailto:f.faberk@gmail.com">f.faberk@gmail.com</a> &gt;:
<br>&gt; &gt; Hi,<br>&gt; &gt; I've tryed it using my mobile and I've been charged.<br>&gt; &gt; Maybe, my mobile operator(Vodafone) does not support it?<br>&gt; &gt;<br>&gt; &gt; Thanks again.<br>&gt; &gt;<br>&gt; &gt; p.s
.: hi John, I love to learn(books, google, lists, ecc...) and<br>&gt; &gt; cooperation and I can say that everytime I learn something new. :o)<br>&gt; &gt;<br>&gt; &gt; 2006/3/21, CC Jay &lt;<a href="mailto:jjcoolio@gmail.com">
jjcoolio@gmail.com</a>&gt;:<br>&gt; &gt; Not sure about 1.2.4 but with 1.0.9, you'll need to add &quot;noanswer&quot;<br>&gt; &gt; to playback since playback will try to answer the line, i.e.,<br>&gt; &gt; exten =&gt; 5551234,1,Playback(you-wont-be-billed-for-hearing-this,
<br>&gt; &gt; noanswer)<br>&gt; &gt; exten =&gt; 5551234,n,Answer<br>&gt; &gt; etc.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; --Bandwidth and Colocation provided by 
<a href="http://Easynews.com">Easynews.com</a> --<br>&gt; &gt;<br>&gt; &gt; Asterisk-Users mailing list<br>&gt; &gt; To UNSUBSCRIBE or update options visit:<br>&gt; &gt;&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; .:FaberK:.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --<br>
&gt; &gt; .:FaberK:.<br>&gt; &gt; _______________________________________________<br>&gt; &gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt; &gt;<br>&gt; &gt; Asterisk-Users mailing list
<br>&gt; &gt; To UNSUBSCRIBE or update options visit:<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br>&gt; _______________________________________________
<br>&gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt;<br>&gt; Asterisk-Users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; .:FaberK:.<br>&gt; _______________________________________________<br>&gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br>&gt;<br>&gt; Asterisk-Users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp; <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:.