most likely it&#39;s because during the time you are dong artificial ringback the other side is not doing RTP right.<br><br>When the call is answered we flush the rtp buffer and your missing audio is probably flushed with it.<br>
so you can choose to have a 3 second delay or erase the 3 seconds as it does now.<br><br>This is a known problem with sonus which has been proven to build up an audio delay during the time<br>you are waiting for the call to answer.&nbsp; I&#39;m sure you prefer the way it is to a large audio delay.<br>
<br><br><br><div class="gmail_quote">On Wed, Dec 3, 2008 at 10:46 PM, Angel Carpintero <span dir="ltr">&lt;<a href="mailto:ack@telefonica.net">ack@telefonica.net</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;">
No TDM , all is SIP :<br>
<br>
<br>
PSTN ---&gt; Sip Proxy_A --&gt; FS ( brigde ) ringback/transfer_ringback<br>
-&gt; Sip Proxy_B --&gt; PSTN<br>
<br>
<br>
In logfile i think you can get some details about Media Gateways<br>
( Sonus ) PSTN inbound / outbound is provided by Level3.<br>
<br>
I can get a capture of a call if you want, in capture the audio is not<br>
missing, issue with :<br>
<br>
- rtp buffer ?<br>
- Sonus ?<br>
<br>
Let me know anything you need so i can provide a log or create a new<br>
scenario.<br>
<br>
<br>
Thanks,<br>
<br>
El mié, 03-12-2008 a las 22:12 -0600, Anthony Minessale escribió:<br>
<div><div></div><div class="Wj3C7c">&gt; what does PSTN represent?<br>
&gt;<br>
&gt; I know what the PSTN is but how are you reaching it?<br>
&gt; is it TDM, SIP etc... what gateway type other details.<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Dec 3, 2008 at 7:03 PM, Angel Carpintero &lt;<a href="mailto:ack@telefonica.net">ack@telefonica.net</a>&gt;<br>
&gt; wrote:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Hi guys,<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I&#39;ve a strange issue with FS , version svn -r10584 ,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; when FS bridges a call first 3 seconds of audio are missing ,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; looks that<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; only happens on PSTN calls and using ringback or<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; transfer_ringback. This<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; only happens in calls from PSTN , not from VOIP. Some<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; scenarios i tried<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; to isolate this issue :<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; - Issue<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; PSTN --&gt; FS ( brigde ) ringback/transfer_ringback -&gt; PSTN<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; - Good setting bypass_media before run bridge but i need rtp<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; in FS path<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; PSTN --&gt; FS ( brigde ) ringback/transfer_ringback -&gt; PSTN<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; - Good<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; PSTN --&gt; FS ( brigde ) WITHOUT ringback/transfer_ringback -&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; PSTN<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; - Always good<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; VOIP --&gt; FS ( brigde ) -&gt; PSTN<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Dialplan has nothing wrong ( i guess ):<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;extension name=&quot;Transfers&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; expression=&quot;^1??XXXXXXXXXX$&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;answer&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;speak&quot; data=&quot;cepstral|Allison-8kHz|<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; blah&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; data=&quot;hangup_after_bridge=false&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;playback_terminators=#&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;ringback=$${us-ring}&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;transfer_ringback=<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $${hold_music}&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; ${caller_id_name}&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; data=&quot;effective_caller_id_number=<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; ${caller_id_number}&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;originate_timeout=30&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; data=&quot;sofia/default/18008226235@PSTN_GW&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;speak&quot; data=&quot;cepstral|Allison-8kHz|<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Transfer<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; finished&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;hangup&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/condition&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/extension&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Any ideas ?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Attached log of FS ( F8 from console ).<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Thanks in advance !<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; --<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Angel Carpintero<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; ack ( at ) telefonica ( dot ) net<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Key fingerprint = 3FD3 9C90 149E 7824 CECD &nbsp;6BCF AC2C CA61<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; 6EF1 B90D<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class="Ih2E3d">&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; pstn:213-799-1400<br>
<br>
</div>--<br>
<div><div></div><div class="Wj3C7c">Angel Carpintero<br>
ack ( at ) telefonica ( dot ) net<br>
<br>
Key fingerprint = 3FD3 9C90 149E 7824 CECD &nbsp;6BCF AC2C CA61 6EF1 B90D<br>
<br>
</div></div><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></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>
<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>