On Thu, Dec 30, 2010 at 10:10:18AM +0100, Stefan Schmidt wrote:
> my idea was if i can find a way that the first call of a peer has g711a
> codec (like normally) and if a second call comes in, or has to be placed
> for this peer i only offer g726 (40kbit) so i dont have a bandwith issue.

https://issues.asterisk.org/view.php?id=13243 explains settings codecs
(and its difficulties, but since you have full control there shouldn't
be a problem). Use GROUP and GROUP_COUNT to find out how many channels
are are active, use this to decide whether to use alaw or g726.

-- 

   Daniel Tryba

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to