[asterisk-users] Why doesn't Asterisk try to prevent transcoding
    Administrator TOOTAI 
    admin at tootai.net
       
    Sun Dec 15 05:26:10 CST 2013
    
    
  
Hello
Le 15/12/2013 11:07, jg a écrit :
> I think the order or elements is relevant:
>
> [100]
> disallow=all
> allow=ulaw
> allow=g722
> or
> [100]
> allow=!all,ulaw,g722
>
> should work.
>
[...]
Yes, but what about if 100 have g722 as prefered codec? Eg:
[100]
disallow=all
allow=g722
allow=ulaw
[101]
disallow=all
allow=ulaw
[rest of the world]
disallow=all
allow=g722
calls between 100 and 101 should be done using ulaw, all others call in g722
-- 
Daniel
    
    
More information about the asterisk-users
mailing list