<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
This can be done by modifying the source code.&nbsp; <br>
<br>
trixter <a class="moz-txt-link-freetext" href="http://www.0xdecafbad.com">http://www.0xdecafbad.com</a> wrote:<br>
<blockquote cite="mid1127715735.15443.57.camel@rufus.home.tld"
 type="cite">
  <pre wrap="">I have been asked if asterisk can change codecs dynamically based on the
calling party's caller id.  I couldnt find anything, and dont know that
this is something that asterisk can do, but it occurs to me that
possibly with a reinvite it can be done, however I dont think you can
issue those from the dialplan or agi.

The only solution I can think of on this is to use something like ser
(<a class="moz-txt-link-abbreviated" href="http://www.iptel.org/ser">www.iptel.org/ser</a>) in between the asterisk box and forward effectivly
to a different account on the asterisk box based on caller id (ie ser
makes a choice which account to use).  codecs then would be negotiated
normally at connect time.


  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
</body>
</html>