<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>very happy with freeswitch as a PBX/softswitch/SBC system its working solidly for a few weeks now&nbsp; - just great<br><br><br>I have a question regarding ringback tones - custom or regular&nbsp; - I cant get freeswitch to send ringback using G729 <br><br>I used the following settings ( it will just play one of the IVR prompts as ringback (filename&nbsp; ivr-to_repeat_these_options)&nbsp; - I took it from the G729 encoded files package , it has PCMA , G729 G723 extensions ) <br><br>&nbsp;&lt;extension name="inbound_routing"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^4420885767(0\d)$"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
 application="set" data="ringback=/usr/local/freeswitch/sounds/en/us/callie/raw_files/ivr/ivr-to_repeat_these_options"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="instant_ringback=true"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="user/10$1"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&nbsp;&lt;/extension&gt;<br><br>when I call with&nbsp; G711 enabled , it plays the file no problems - see log <br><br>2009-09-25 11:29:58.641361 [DEBUG] sofia.c:3289 Channel sofia/external/442078562107@80.80.80.80 entering state [early][183]<br>2009-09-25 11:29:58.641361 [DEBUG] switch_core_session.c:630 Send signal sofia/external/442078562107@80.80.80.80 [BREAK]<br>2009-09-25 11:29:58.641361 [DEBUG] switch_ivr_originate.c:1718 Raw Codec
 Activation Success L16@8000hz 1 channel 20ms<br>2009-09-25 11:29:58.641361 [DEBUG] switch_ivr_originate.c:1745 Play Ringback File [/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 File [/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 sofia/internal/sip:1006@82.80.131.233:40505 entering state [proceeding][180]<br><br><br>when I call with G729 only&nbsp; - I get silence , and freeswitch 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 sofia/external/442078562107@80.80.80.80 entering state [early][183]<br>2009-09-25 11:28:57.437537 [DEBUG] switch_core_session.c:630 Send signal sofia/external/442078562107@80.80.80.80 [BREAK]<br>2009-09-25 11:28:57.685536 [DEBUG] sofia.c:3289
 Channel sofia/internal/sip:1006@82.80.131.233:40505 entering state [proceeding][180]<br>2009-09-25 11:28:57.685536 [NOTICE] sofia.c:3353 Ring-Ready sofia/internal/sip:1006@82.80.131.233:40505!<br><br> mod_native_file&nbsp; works well for me when used in applications and plays G729 files no problem <br><br>any ideas why is that happening , any suggestions on how to resolve ?<br><br>thanks<br>Ori<br><br></div></div><br>

      </body></html>