PLC , how to do to work PLC?
Re: PLC , how to do to work PLC?
Question again.
Does anyone know?
I use Asterisk 1.6.2.0 and 1.6.0.20 or older.
I use uLaw.
My system map:
==========================================================================
asterisk 2 — # LOSS # — # A # — asterisk 1 — # B # — X-lite
=======================================================================
I use two asterisk server.
'asterisk 2' do "Playback(some voice file)"
'asterisk 1' do "jitter".
'asterisk 1' and 'asterisk 2' has trunked by sip or iax2.
X-lite call 3003 to asterisk 1,
and asterisk 1 call 3000 to asterisk 2.
On the map,
at "LOSS" I caused packet loss 5%,
and at "A" and "B" I captured packet.
I thought number of packets at "B" would be same number from "asterisk 2".
And I thought number of packets at "A" would be 95% from "asterisk 2".
But the result is different!
At "A" and "B" is the same number as 95%.
No PLC ,No interpolations has made.
But on CLI,messages was "like that jitter and PLC work right" .
Like this:
====================================================
-- Local/3000@extd-651d;1 answered SIP/"id"-00000001
— fixed jitterbuffer created on channel Local/3000@extd-651d;1
VvvvvvvvLvvvvvvvvvvvvvvvLvvvvLvvvvvv
vvvvvvvvvvvvvvvvvvvvvvLvvvvvvLvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvLvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvLvvvv
vvvvLvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvLLvvvvvvLvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvLvvvvvvvvvvvvvvvvvvLvvvvvvvvvLvvvvv
vvvvvvvvvvvvvLLLLLLLLLL — Hungup 'IAX2/"ip-address":4569-3645'
== Spawn extension (extd, 3000, 2) exited non-zero on 'Local/3000@extd-651d;2'
— fixed jitterbuffer destroyed on channel Local/3000@extd-651d;1
== Spawn extension (extd, 3003, 2) exited non-zero on 'SIP/"id"-00000001'
====================================================
Why ? why no interpolations ?
when sip trunk and iax trunk,same result.
I don't know how to do. So please help me.
How to do to work correct.
Or Asterisk has not yet have jitter and PLC ,hasn't it?
In 'asterisk 1' ,
===============================================================
write on sip.conf => jbenable=yes ,and , jbimpl=adaptive
write on iax.conf => jitterbuffer=yes ,and, trunktimestamps=yes
write on codecs.conf => genericplc => true
and on extensions.conf
when use sip trunk =>
exten => 3003,1,Dial(Local/3000@extd/nj)
exten => 3000,1,Set(CALLERID(num)="some id")
exten => 3000,2,Dial(SIP/${EXTEN}@"some exten in sip.conf",120,T)
exten => 3000,3,Congestion
when use iax trunk =>
exten => 3003,1,Dial(Local/3000@extd/nj)
exten => 3000,1,Set(CALLERID(num)="some id")
exten => 3000,2,Dial(IAX2/"id:pass"@"asterisk 2 ip-address"/${EXTEN},120,T)
exten => 3000,3,Congestion
===============================================================
In 'asterisk 2' ,
===============================================================
write on extensions.conf
=>
exten => 3000,1,Answer()
exten => 3000,2,Wait(1)
exten => 3000,3,Playback(aaa)
exten => 3000,4,Congestion
==================================================================
Does anyone know?
I use Asterisk 1.6.2.0 and 1.6.0.20 or older.
I use uLaw.
My system map:
==========================================================================
asterisk 2 — # LOSS # — # A # — asterisk 1 — # B # — X-lite
=======================================================================
I use two asterisk server.
'asterisk 2' do "Playback(some voice file)"
'asterisk 1' do "jitter".
'asterisk 1' and 'asterisk 2' has trunked by sip or iax2.
X-lite call 3003 to asterisk 1,
and asterisk 1 call 3000 to asterisk 2.
On the map,
at "LOSS" I caused packet loss 5%,
and at "A" and "B" I captured packet.
I thought number of packets at "B" would be same number from "asterisk 2".
And I thought number of packets at "A" would be 95% from "asterisk 2".
But the result is different!
At "A" and "B" is the same number as 95%.
No PLC ,No interpolations has made.
But on CLI,messages was "like that jitter and PLC work right" .
Like this:
====================================================
-- Local/3000@extd-651d;1 answered SIP/"id"-00000001
— fixed jitterbuffer created on channel Local/3000@extd-651d;1
VvvvvvvvLvvvvvvvvvvvvvvvLvvvvLvvvvvv
vvvvvvvvvvvvvvvvvvvvvvLvvvvvvLvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvLvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvLvvvv
vvvvLvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvLLvvvvvvLvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvLvvvvvvvvvvvvvvvvvvLvvvvvvvvvLvvvvv
vvvvvvvvvvvvvLLLLLLLLLL — Hungup 'IAX2/"ip-address":4569-3645'
== Spawn extension (extd, 3000, 2) exited non-zero on 'Local/3000@extd-651d;2'
— fixed jitterbuffer destroyed on channel Local/3000@extd-651d;1
== Spawn extension (extd, 3003, 2) exited non-zero on 'SIP/"id"-00000001'
====================================================
Why ? why no interpolations ?
when sip trunk and iax trunk,same result.
I don't know how to do. So please help me.
How to do to work correct.
Or Asterisk has not yet have jitter and PLC ,hasn't it?
In 'asterisk 1' ,
===============================================================
write on sip.conf => jbenable=yes ,and , jbimpl=adaptive
write on iax.conf => jitterbuffer=yes ,and, trunktimestamps=yes
write on codecs.conf => genericplc => true
and on extensions.conf
when use sip trunk =>
exten => 3003,1,Dial(Local/3000@extd/nj)
exten => 3000,1,Set(CALLERID(num)="some id")
exten => 3000,2,Dial(SIP/${EXTEN}@"some exten in sip.conf",120,T)
exten => 3000,3,Congestion
when use iax trunk =>
exten => 3003,1,Dial(Local/3000@extd/nj)
exten => 3000,1,Set(CALLERID(num)="some id")
exten => 3000,2,Dial(IAX2/"id:pass"@"asterisk 2 ip-address"/${EXTEN},120,T)
exten => 3000,3,Congestion
===============================================================
In 'asterisk 2' ,
===============================================================
write on extensions.conf
=>
exten => 3000,1,Answer()
exten => 3000,2,Wait(1)
exten => 3000,3,Playback(aaa)
exten => 3000,4,Congestion
==================================================================
Re: PLC , how to do to work PLC?
Does anyone know ?
Asterisk has no PLC ?
When you want to use PLC on uLaw ( use genericplc ), how to set Asterisk?
To put codecs.conf in /etc/asterisk/ , just only this?
Is there other things to do ?
Asterisk has no PLC ?
When you want to use PLC on uLaw ( use genericplc ), how to set Asterisk?
To put codecs.conf in /etc/asterisk/ , just only this?
Is there other things to do ?
PLC , how to do to work PLC?
Please tell me the way.
I use Asterisk 1.6.0 ,all looks good.
I want to use PLC on sip , so I already wrote sip.conf and codecs.conf.
In codecs.conf , " plc genericplc => true ".
But when I tested, PLC doesn't work ,may be.
I think about PLC,
when I send 3packet(1,2,3) ,and caused loss (if 2 is missed),then
receive-packet should be same number 3packet(1,new 2 ,3).
But when I send 3packet, received-packet is 2packet(1,3).
No fill has done.
So I can't understand how to do to work PLC.
Please tell me .
I use Asterisk 1.6.0 ,all looks good.
I want to use PLC on sip , so I already wrote sip.conf and codecs.conf.
In codecs.conf , " plc genericplc => true ".
But when I tested, PLC doesn't work ,may be.
I think about PLC,
when I send 3packet(1,2,3) ,and caused loss (if 2 is missed),then
receive-packet should be same number 3packet(1,new 2 ,3).
But when I send 3packet, received-packet is 2packet(1,3).
No fill has done.
So I can't understand how to do to work PLC.
Please tell me .
Featured -
Search:

















