This is unrelated,<br>use ring_ready instead of pre_answer<br><br><br><div class="gmail_quote">On Wed, Sep 30, 2009 at 11:26 AM, Keith Laaks <span dir="ltr">&lt;<a href="mailto:keithl@voxtelecom.co.za">keithl@voxtelecom.co.za</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I am testing a trunk version from the weekend and have moved configs<br>
over from a box pre 1.04. Looks like Rev: 15011, but the box was built<br>
by someone else - so not 100% certain of exact number.<br>
<br>
With :<br>
&lt;action application=&quot;pre_answer&quot;/&gt;<br>
&lt;action application=&quot;sleep&quot; data=&quot;20000&quot;/&gt;<br>
&lt;action application=&quot;answer&quot;/&gt;<br>
<br>
I am not getting ringback after the &#39;pre_answer&#39;.<br>
<br>
Was testing with G722 and G729 on the inbound leg.<br>
<br>
I wonder if it&#39;s related to this?<br>
<br>
Best Regards<br>
<font color="#888888"><br>
Keith<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
On Fri, 2009-09-25 at 13:30 -0500, Anthony Minessale wrote:<br>
&gt; fixed in latest trunk,<br>
&gt; please test<br>
&gt; thank you<br>
&gt;<br>
&gt; On Fri, Sep 25, 2009 at 6:17 AM, Hound Dog &lt;<a href="mailto:d_hound@ymail.com">d_hound@ymail.com</a>&gt; wrote:<br>
&gt;         Hi,<br>
&gt;<br>
&gt;         very happy with freeswitch as a PBX/softswitch/SBC system its<br>
&gt;         working solidly for a few weeks now  - just great<br>
&gt;<br>
&gt;<br>
&gt;         I have a question regarding ringback tones - custom or regular<br>
&gt;         - I cant get freeswitch to send ringback using G729<br>
&gt;<br>
&gt;         I used the following settings ( it will just play one of the<br>
&gt;         IVR prompts as ringback (filename<br>
&gt;         ivr-to_repeat_these_options)  - I took it from the G729<br>
&gt;         encoded files package , it has PCMA , G729 G723 extensions )<br>
&gt;<br>
&gt;          &lt;extension name=&quot;inbound_routing&quot;&gt;<br>
&gt;                     &lt;condition field=&quot;destination_number&quot;<br>
&gt;         expression=&quot;^4420885767(0\d)$&quot;&gt;<br>
&gt;                         &lt;action application=&quot;set&quot;<br>
&gt;         data=&quot;ringback=/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options&quot;/&gt;<br>
&gt;                         &lt;action application=&quot;set&quot;<br>
&gt;         data=&quot;instant_ringback=true&quot;/&gt;<br>
&gt;                         &lt;action application=&quot;bridge&quot; data=&quot;user/10<br>
&gt;         $1&quot;/&gt;<br>
&gt;                     &lt;/condition&gt;<br>
&gt;          &lt;/extension&gt;<br>
&gt;<br>
&gt;         when I call with  G711 enabled , it plays the file no problems<br>
&gt;         - see log<br>
&gt;<br>
&gt;         2009-09-25 11:29:58.641361 [DEBUG] sofia.c:3289 Channel<br>
&gt;         sofia/external/<a href="mailto:442078562107@80.80.80.80">442078562107@80.80.80.80</a> entering state<br>
&gt;         [early][183]<br>
&gt;         2009-09-25 11:29:58.641361 [DEBUG] switch_core_session.c:630<br>
&gt;         Send signal sofia/external/<a href="mailto:442078562107@80.80.80.80">442078562107@80.80.80.80</a> [BREAK]<br>
&gt;         2009-09-25 11:29:58.641361 [DEBUG] switch_ivr_originate.c:1718<br>
&gt;         Raw Codec Activation Success L16@8000hz 1 channel 20ms<br>
&gt;         2009-09-25 11:29:58.641361 [DEBUG] switch_ivr_originate.c:1745<br>
&gt;         Play Ringback File<br>
&gt;         [/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options.PCMA]<br>
&gt;         2009-09-25 11:29:58.641361 [INFO] mod_native_file.c:82 Opening<br>
&gt;         File<br>
&gt;         [/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options.PCMA] 8000hz<br>
&gt;         2009-09-25 11:29:58.889369 [DEBUG] sofia.c:3289 Channel<br>
&gt;         sofia/internal/<a href="http://sip:1006@82.80.131.233:40505" target="_blank">sip:1006@82.80.131.233:40505</a> entering state<br>
&gt;         [proceeding][180]<br>
&gt;<br>
&gt;<br>
&gt;         when I call with G729 only  - I get silence , and freeswitch<br>
&gt;         only send the comfort noise packet and no RTP , see log<br>
&gt;<br>
&gt;         2009-09-25 11:28:57.437537 [DEBUG] sofia.c:3289 Channel<br>
&gt;         sofia/external/<a href="mailto:442078562107@80.80.80.80">442078562107@80.80.80.80</a> entering state<br>
&gt;         [early][183]<br>
&gt;         2009-09-25 11:28:57.437537 [DEBUG] switch_core_session.c:630<br>
&gt;         Send signal sofia/external/<a href="mailto:442078562107@80.80.80.80">442078562107@80.80.80.80</a> [BREAK]<br>
&gt;         2009-09-25 11:28:57.685536 [DEBUG] sofia.c:3289 Channel<br>
&gt;         sofia/internal/<a href="http://sip:1006@82.80.131.233:40505" target="_blank">sip:1006@82.80.131.233:40505</a> entering state<br>
&gt;         [proceeding][180]<br>
&gt;         2009-09-25 11:28:57.685536 [NOTICE] sofia.c:3353 Ring-Ready<br>
&gt;         sofia/internal/<a href="http://sip:1006@82.80.131.233:40505" target="_blank">sip:1006@82.80.131.233:40505</a>!<br>
&gt;<br>
&gt;         mod_native_file  works well for me when used in applications<br>
&gt;         and plays G729 files no problem<br>
&gt;<br>
&gt;         any ideas why is that happening , any suggestions on how to<br>
&gt;         resolve ?<br>
&gt;<br>
&gt;         thanks<br>
&gt;         Ori<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         FreeSWITCH-users mailing list<br>
&gt;         <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;         <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;         UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;         <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>