<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><font size="3"><span style="font-family: arial,helvetica,sans-serif;">I couldn't find any pointers for this online. Is it possible through Async AGI?</span></font> <span style="font-family: arial,helvetica,sans-serif;">Let me know if anybody is aware of doing this.</span><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Martin &lt;asterisklist@callthem.info&gt;<br><b><span style="font-weight: bold;">To:</span></b> Asterisk Users Mailing List - Non-Commercial Discussion &lt;asterisk-users@lists.digium.com&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 14 April, 2009
 4:21:17 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [asterisk-users] Send Re-invite from Dialplan application?<br></font><br>sorry,<br><br>You can set SIP_CODEC before the call is answered ... most likely as<br>one of the first priorities.<br>It causes the 200 OK to INVITE contain the codec you specify as the first one.<br><br>I'm not aware of reinviting while in a call other than to switchover<br>to T.38 ... it can be coded in but I'm not<br>sure if it's already there<br><br>Martin<br><br>On Mon, Apr 13, 2009 at 6:05 AM, Sai P. Varanasi<br>&lt;<a ymailto="mailto:saiprabhakarv@yahoo.com" href="mailto:saiprabhakarv@yahoo.com">saiprabhakarv@yahoo.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt; &nbsp; I have a requirement where an IVR application on asterisk has to play a<br>&gt; audio file in g729 and when a digit is pressed, the call should switch to<br>&gt; another codec (say ulaw). So, What can I do in the extensions.conf to<br>&gt;
 trigger a re-negotiation of codec?<br>&gt;<br>&gt; I used<br>&gt; exten =&gt; 55xx,n,Set(SIP_CODEC=ulaw)<br>&gt;<br>&gt; but, I suppose this affects the next call and not the current one.<br>&gt;<br>&gt; Please help ASAP<br>&gt;<br>&gt; Thanks,<br>&gt; Sai<br>&gt; ________________________________<br>&gt; Add more friends to your messenger and enjoy! Invite them now.<br>&gt; _______________________________________________<br>&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>&gt;<br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt; &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com"
 target="_blank">http://www.api-digital.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></div></div><br>
      <!--7--><hr size=1></hr> Check out the all-new Messenger 9.0! <a href="http://in.rd.yahoo.com/tagline_messenger_7/*http://in.messenger.yahoo.com/"> Click here.</a></body></html>