[asterisk-users] Different codec for different type of calls

Danny Nicholas danny at debsinc.com
Thu Nov 1 10:57:52 CDT 2012


If you set up your DAHDI lines as "users" you should be able to do this.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ali Pey
Sent: Thursday, November 01, 2012 10:49 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Different codec for different type of calls

 

Hello,

 

Let's say I have a sip client that supports both G711 and G729 codecs and I
have them both enabled in sip.conf and G729 has higher priority.

 

Can I force the call to choose a different codec based on the dialed number
or other conditions?

 

For instance I would want to do G711 if the call was routed to T1 card over
Dahdi but G729 if the call was going to another sip client.

 

Thanks,

Ali Pey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121101/23ae5985/attachment.htm>


More information about the asterisk-users mailing list