[asterisk-bugs] [Asterisk 0012725]: delayed RTP cause first sound to chop off
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue May 27 09:51:53 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12725
======================================================================
Reported By: loloski
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12725
Category: Core/RTP
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 05-26-2008 21:55 CDT
Last Modified: 05-27-2008 09:51 CDT
======================================================================
Summary: delayed RTP cause first sound to chop off
Description:
snip dialplan
[from-sip]
exten => s,1,Answer
exten => s,n,AGI(agi.php)
exten => s,n,Hangup
snip agi.php
#!/usr/bin/php -q
<?php
ob_implicit_flush(false);
set_time_limit(30);
require 'class/phpagi.php';
error_reporting(E_ALL);
$agi = new AGI();
$agi->answer();
$pay_date=strtotime("2007-08-14"); /* Proof of concept code */
$agi->exec("SayUnixTime $pay_date||bdY");
$agi->hangup();
?>
When playing August 14, 2007, "august" has been chopped off and you will
hear only the audible "14" "2007" sound
a hack for this atm is to insert $agi->stream_file("silence/1"); before
calling
the SayUnixTime * apps
/* This is a workaround */
#!/usr/bin/php -q
<?php
ob_implicit_flush(false);
set_time_limit(30);
require 'class/phpagi.php';
error_reporting(E_ALL);
$agi = new AGI();
$agi->answer();
$pay_date=strtotime("2007-08-14"); /* Proof of concept code */
$agi->stream_file("silence/1");
$agi->exec("SayUnixTime $pay_date||bdY");
$agi->hangup();
?>
latency is not a problem at all since the latency between the nat UAC to
UAS is 40 ms with 0% packet loss codec involve gsm, uac is ekiga softphone
this is reproducible even without the agi script
I hope i made myself clear on this.
======================================================================
----------------------------------------------------------------------
loloski - 05-27-08 09:51
----------------------------------------------------------------------
venus at venus:~$ ping 222.126.47.50
PING 222.126.47.50 (222.126.47.50) 56(84) bytes of data.
64 bytes from 222.126.47.50: icmp_seq=1 ttl=58 time=49.0 ms
64 bytes from 222.126.47.50: icmp_seq=2 ttl=58 time=48.8 ms
64 bytes from 222.126.47.50: icmp_seq=3 ttl=58 time=48.1 ms
64 bytes from 222.126.47.50: icmp_seq=4 ttl=58 time=48.6 ms
64 bytes from 222.126.47.50: icmp_seq=5 ttl=58 time=48.8 ms
64 bytes from 222.126.47.50: icmp_seq=6 ttl=58 time=48.9 ms
--- 222.126.47.50 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5000ms
rtt min/avg/max/mdev = 48.155/48.752/49.055/0.323 ms
venus at venus:~$
Issue History
Date Modified Username Field Change
======================================================================
05-27-08 09:51 loloski Note Added: 0087347
======================================================================
More information about the asterisk-bugs
mailing list