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

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Ali Pey
Sent: Thursday, November 01, 2012 10:49 AM
To: [email protected]
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

--
_____________________________________________________________________
-- 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