if ringback is not set, it would never play a tone and even if it was, it would not be played if you explicitly called answer.
Try reversing the answer and the sleep in your dialplan.




On Sun, May 9, 2010 at 9:37 PM, Tony Tin <tony.tin@noahmedia.com.hk> wrote:
Hi Peter,

Thanks for your reply.

The other end is the Telco, I've confirmed with them that they don't play the tone for us, also I got the Asterisk install in the same box, it doesn't play the tone. The tone is played exactly when the answer function is executed, if I put sleep 10 seconds before the answer, the tone will delay 10 seconds too, any idea?

Regards,
Tony



On Mon, May 10, 2010 at 2:33 AM, Peter Olsson <peter.olsson@visionutveckling.se> wrote:
The equipment connected in the other en of the T1 is probably playing these tones for you, 500ms is probably the time it takes for the called to be connected successfully.

/Peter
________________________________________
Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] f&#246;r Tony Tin [tony.tin@noahmedia.com.hk]
Skickat: den 9 maj 2010 15:16
Till: freeswitch-users@lists.freeswitch.org
Ämne: [Freeswitch-users] short ringback tone when answer

Hi All,

I've just setup a new IVRS with FreeSwitch and a Digium TE220 card (which is connected to a 4ess T1). Every thing works fine so far except one little problem that annoys me. Every time I dial in the ivrs, there is a very short (0.5 second) ringback tone exactly while the "<action application="answer"/>" line is executed in the dial plan. I want to disable this ringback tone because the ivrs will answer the call immediately, the ringback tone is really unnecessary in this case, but I fail to do that. I try to set the variable "ringback" to change the ringback tone, it's also not working. Could anyone please help.

I'm using the native pri stack.
The default.xml containts only below lines, and attached is the log file.

      <extension name="testing">
         <condition field="destination_number" expression="^(6.*)$">
               <action application="sleep" data="3000"/>
               <action application="answer"/>
               <action application="sleep" data="3000"/>
         </condition>
      </extension>

Regards,
Tony

!DSPAM:4be6f37432931620317181!

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900