|Summary:||ASTERISK-05204: Avoid transcoding by smarter codec negotiation with peers|
|Reporter:||Denis Voitenko (denis)||Labels:|
|Date Opened:||2005-09-30 14:54:01||Date Closed:||2005-09-30 15:05:39|
|Description:||Imagine the situation as follows. There is Asterisk#1 which acts as a gateway to the world for Asterisk#2. Asterisk#1 has a context [longdistance] with codec priorities g729,g726,ulaw and Asterisk#2 places a call via Asterisk#1 with codec priority g726,ulaw. By default, Asterisk#1 will try to transcode received g726 into g729 before it goes to the carrier, which accepts all of the mentioned codecs. |
Obviously the easy way to avoid transcoding is to create a separate peer in the configuration of Asterisk#1, which would have codecs in the priority of g726,ulaw but wouldn't it be simpler and smarter to tell Asterisk how to treat such situations? I suggest something along the lines of:
where codec_priority would dictate the logic of how codecs are chosen. Value of "mine" would force the priority of g729,g726,ulaw, value of "peer" would allow for priority g726,ulaw.
|Comments:||By: Michael Jerris (mikej) 2005-09-30 15:05:14|
Please merge this into ASTERISK-4703