I am using currently CentOs as opertating system and Asterisk® Open Source PBX asterisk 1.6.2.6
Can anyone please tell me how to set ptime 10 ms for g722 in asterisk.
I have tried adding
disallow=all
allow=g722:10
in general section but still I am getting ptime 20ms. aslo I want to know is it possible to set ptime 10ms for g722 ? cause I got the packatization min, max, default ptime values table as bellow
sip set debug on
core set debug 5 chan_sip
core set verbose 5
Strictly speaking, codecs are not negotiated. Each side says what it is prepared to accept. However Aterisk will restrict what it offers to the intersection of what it can accept and what has been offered, if it makes the second offer.
It is theoretically possible for the codecs chosen in one direction not to overlap those in the other.
If the phone doesn’t specify ptime, Asterisk should send to it with the default. I don’t konw what it actually does.