[asterisk-users] jitterbuffer and PLC
nakaji
nakaji at 02.246.ne.jp
Mon Jan 18 11:38:37 CST 2010
Thank you for advice.
> Do you get the same results if you use:
>
> iax2 test losspct x
>
> Where x is the loss percent you'd like to test?
>
Yes, I did it.
On CLI show:
VvvvvvvvLvvvvvvvvvvvvvvvLvvvvLvvvvvv
vvvvvvvvvvvvvvvvvvvvvvLvvvvvvLvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvLvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvLvvvv
vvvvLvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
This is same result when I do ' iax2 test losspct 5' .
CLI LOG shows,but no interpolations has made.
Then, I found some points now!
1 is how to write on sip.conf and extentions.conf .
2 is may be bug ? on 'abstract_jb.c' .
I want to use PLC and jitter on SIP/RTP - ulaw.
1.
So, I have to write sip.conf like that;
jbenable=yes
jbforce=yes
Both I have to write.
And 'Not' to use '/nj' in extentions.conf .
When I use 'Playback application' in extentions.conf, and 'jbimpl=adaptive'
in sip.conf,
I have not to use 'j' option.
When follow this style, I got a litte bit progress.
New CLI message, Igot.
--------------------------------
-- SIP/siptr-00000001 answered SIP/201-00000000
[Jan 18 19:59:33] WARNING[11717]: abstract_jb.c:469 create_jb: Failed to put
first frame in the jitterbuffer on channel 'SIP/siptr-00000001'
[Jan 18 19:59:33] ERROR[11717]: abstract_jb.c:507 create_jb: Failed to
create frame log file with pathname
'/tmp/ast_adaptive_jb_SIP#201-00000000--SIP#siptr-00000001.log': Success
-- adaptive jitterbuffer created on channel SIP/siptr-00000001
[Jan 18 19:59:33] WARNING[11717]: chan_iax2.c:1093 jb_warning_output:
Resyncing the jb. last_delay 0, this delay -326408, threshold 1000, new
offset 326408
[Jan 18 19:59:33] ERROR[11717]: abstract_jb.c:507 create_jb: Failed to
create frame log file with pathname
'/tmp/ast_adaptive_jb_SIP#siptr-00000001--SIP#201-00000000.log': Success
-- adaptive jitterbuffer created on channel SIP/201-00000000
-- adaptive jitterbuffer destroyed on channel SIP/siptr-00000001
== Spawn extension (default, 3002, 2) exited non-zero on
'SIP/201-00000000'
-- adaptive jitterbuffer destroyed on channel SIP/201-00000000
*CLI>
--------------------------------
But next is the second point.
2.
In ' abstract_jb.c ' , at line 507 or around there, jitterbuffer was failed
.
Where /* Create a frame log file */ .
At there , ' abstract_jb.c ' want to create frame log.
like '/tmp/ast_adaptive_jb_SIP#201-00000000--SIP#siptr-00000001.log' .
But in /tmp/ , result, there was log-xxxxxx (size 0).
So ' abstract_jb.c ' failed to write log.
At last, PLC didn't work correct.
Is this bug ? or I need something more to set in sip.conf ?
New Asterisk 1.6.2.1, I tried, but result was same.
If there is some ideas, pls help me.
Regards;
More information about the asterisk-users
mailing list