<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>Hello Leandro,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>Indeed, your problem is a nice one.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>I do not think this is possible to do this with *. If I
am wrong, the list, please correct me...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>There are two ways of doing that:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>1/. would be to have the IP phone have a logic that
advertises the preferred codec based on B-number. I do not know of any IP Phones
that are able to do that...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>2/. would be to have * perform allow/disallow
parameters based on the number you have dialed.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>Both would be interesting... Maybe we will implement
this in LoudHush (for the softphone side).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>Could such a conditional codec be implemented on
asterisk in a future version?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>Bogdan Moldovan</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>MODULO Consulting</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005>"The Future Is Not What It Used To
Be"</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=922332113-29122005><A
href="http://www.modulo.ro">http://www.modulo.ro</A></SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Leandro
Rzezak<BR><B>Sent:</B> Thursday, December 29, 2005 6:03 AM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] Conditional
CODEC translation<BR></FONT><BR></DIV>
<DIV></DIV>We have a VoIP termination provider that allows g729.<BR><BR>We would
that internal calls (between our own IP phones) be handled using alaw, and
outgoing calls using native forwarded g729 without translation (ie, not using
asterisk g729 licenses). We need to avoid translations.<BR><BR>WHAT WE HAVE
NOW:<BR>IP Phone <--alaw--> IP Phone<BR>IP Phone <--alaw--> Asterisk
<--g729--> VoIP provider<BR><BR>(Phones are configured only to allow alaw
and g729, provider is configured only to allow g729; however phones are never
using g729)<BR><BR>WHAT WE NEED:<BR>IP Phone <--alaw--> IP
Phone<BR>IP Phone <--g729--> VoIP provider<BR><BR>Please help me
accomplish that.<BR clear=all><BR>Thank you<BR><BR clear=all><BR>-- <BR>Leandro
Rzezak<BR><A href="mailto:leandror@gmail.com">leandror@gmail.com</A>
</BODY></HTML>