[asterisk-users] Codec by Network?

Yusuf yusuf at ecntelecoms.com
Mon Oct 15 02:31:47 CDT 2007


X-ECN Telecoms-MailScanner-Information: Please contact ECN Telecoms for more information
X-ECN Telecoms-MailScanner: Found to be clean
X-ECN Telecoms-MailScanner-SpamScore: s
X-ECN Telecoms-MailScanner-From: yusuf at ecntelecoms.com
X-Spam-Status: No

Brent Torrenga wrote:
> Does anyone have any tricks to allow codecs based on what network a phone is
> on?  i.e., allow uLaw if the device is on the LAN, and only allow g729 if
> the device is anywhere else?
> 
> 
> Sincerely,
> 
> Brent A. Torrenga
> 
>

Well, you should know which phones are where, so from the dialplan you can change the 
codec on the fly using ${SIP_CODEC}.

-- 

thanks,
Yusuf



More information about the asterisk-users mailing list