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"><<a href="mailto:keithl@voxtelecom.co.za">keithl@voxtelecom.co.za</a>></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>
<action application="pre_answer"/><br>
<action application="sleep" data="20000"/><br>
<action application="answer"/><br>
<br>
I am not getting ringback after the 'pre_answer'.<br>
<br>
Was testing with G722 and G729 on the inbound leg.<br>
<br>
I wonder if it'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>
> fixed in latest trunk,<br>
> please test<br>
> thank you<br>
><br>
> On Fri, Sep 25, 2009 at 6:17 AM, Hound Dog <<a href="mailto:d_hound@ymail.com">d_hound@ymail.com</a>> wrote:<br>
> Hi,<br>
><br>
> very happy with freeswitch as a PBX/softswitch/SBC system its<br>
> working solidly for a few weeks now - just great<br>
><br>
><br>
> I have a question regarding ringback tones - custom or regular<br>
> - I cant get freeswitch to send ringback using G729<br>
><br>
> I used the following settings ( it will just play one of the<br>
> IVR prompts as ringback (filename<br>
> ivr-to_repeat_these_options) - I took it from the G729<br>
> encoded files package , it has PCMA , G729 G723 extensions )<br>
><br>
> <extension name="inbound_routing"><br>
> <condition field="destination_number"<br>
> expression="^4420885767(0\d)$"><br>
> <action application="set"<br>
> data="ringback=/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options"/><br>
> <action application="set"<br>
> data="instant_ringback=true"/><br>
> <action application="bridge" data="user/10<br>
> $1"/><br>
> </condition><br>
> </extension><br>
><br>
> when I call with G711 enabled , it plays the file no problems<br>
> - see log<br>
><br>
> 2009-09-25 11:29:58.641361 [DEBUG] sofia.c:3289 Channel<br>
> sofia/external/<a href="mailto:442078562107@80.80.80.80">442078562107@80.80.80.80</a> entering state<br>
> [early][183]<br>
> 2009-09-25 11:29:58.641361 [DEBUG] switch_core_session.c:630<br>
> Send signal sofia/external/<a href="mailto:442078562107@80.80.80.80">442078562107@80.80.80.80</a> [BREAK]<br>
> 2009-09-25 11:29:58.641361 [DEBUG] switch_ivr_originate.c:1718<br>
> Raw Codec Activation Success L16@8000hz 1 channel 20ms<br>
> 2009-09-25 11:29:58.641361 [DEBUG] switch_ivr_originate.c:1745<br>
> Play Ringback File<br>
> [/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options.PCMA]<br>
> 2009-09-25 11:29:58.641361 [INFO] mod_native_file.c:82 Opening<br>
> File<br>
> [/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options.PCMA] 8000hz<br>
> 2009-09-25 11:29:58.889369 [DEBUG] sofia.c:3289 Channel<br>
> 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>
> [proceeding][180]<br>
><br>
><br>
> when I call with G729 only - I get silence , and freeswitch<br>
> only send the comfort noise packet and no RTP , see log<br>
><br>
> 2009-09-25 11:28:57.437537 [DEBUG] sofia.c:3289 Channel<br>
> sofia/external/<a href="mailto:442078562107@80.80.80.80">442078562107@80.80.80.80</a> entering state<br>
> [early][183]<br>
> 2009-09-25 11:28:57.437537 [DEBUG] switch_core_session.c:630<br>
> Send signal sofia/external/<a href="mailto:442078562107@80.80.80.80">442078562107@80.80.80.80</a> [BREAK]<br>
> 2009-09-25 11:28:57.685536 [DEBUG] sofia.c:3289 Channel<br>
> 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>
> [proceeding][180]<br>
> 2009-09-25 11:28:57.685536 [NOTICE] sofia.c:3353 Ring-Ready<br>
> sofia/internal/<a href="http://sip:1006@82.80.131.233:40505" target="_blank">sip:1006@82.80.131.233:40505</a>!<br>
><br>
> mod_native_file works well for me when used in applications<br>
> and plays G729 files no problem<br>
><br>
> any ideas why is that happening , any suggestions on how to<br>
> resolve ?<br>
><br>
> thanks<br>
> Ori<br>
><br>
><br>
><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>
><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>