You are the man. Thank you for documenting those. I have a few on my list that I never seem to find the freaking time to actually do them.<div><br></div><div>Regards,<br clear="all"><br></div><div>JM<br>
<br><br><div class="gmail_quote">On Wed, May 5, 2010 at 11:12 AM, David Ponzone <span dir="ltr"><<a href="mailto:david.ponzone@gmail.com">david.ponzone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Guys,<div><br></div><div>I added this variable to the wiki:</div><div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#variable_xxxx" target="_blank">http://wiki.freeswitch.org/wiki/Channel_Variables#variable_xxxx</a></div>
<div><br></div><div><div> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<div><font face="'Helvetica Neue'"><font color="#1C00FF">David Ponzone </font><font color="#000000" size="3"><span style="font-size:12px">Direction Technique</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">tel: 01 74 03 18 97</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">gsm: 06 66 98 76 34</span></font></font></div>
<div><font face="'Helvetica Neue'"><br></font></div><div><font color="#1C00FF" face="'Helvetica Neue'">Service Client<span> </span></font><font face="'Helvetica Neue'"><font color="#FF0000">IP</font></font><font color="#1C00FF" face="'Helvetica Neue'">eva</font></div>
<div><font color="#1C00FF" face="'Helvetica Neue'"><span style="color:rgb(0, 0, 0);font-family:Helvetica"><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">tel: 0811 46 26 26</span></font></font></div>
<div><font face="'Helvetica Neue'" size="3"><span style="font-size:13px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><a>www.ipeva.fr</a></span><span style="color:rgb(101, 104, 149)"> - <span style="color:rgb(0, 34, 243);text-decoration:underline"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)">
<span><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;text-align:justify;color:rgb(192, 192, 192)"><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div>
<div style="text-decoration:underline;text-align:justify"><font color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></div></span><br> </div><br><div><div>Le 04/05/2010 à 23:50, João Mesquita a écrit :</div>
<div><div></div><div class="h5"><br><blockquote type="cite">I think you can also use another variable on the A leg SDP to make it easier on the regex. ep_codec_string.<div><br></div><div>This will contain the parsed version of the A leg SDP and that's what I use most of the times for these tricks. Also, can you document that? :-)</div>
<div><br></div><div>Regards,<br clear="all">João Mesquita<br> <br><br><div class="gmail_quote">On Tue, May 4, 2010 at 1:52 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> you can regex the SDP for something specific and use that to set the absolute_codec_string in a standalone extension that comes first in the stack and has continue=true on it<div>
<br><div><br><br><div class="gmail_quote"> <div><div></div><div>On Tue, May 4, 2010 at 11:32 AM, Ken Fulmer <span dir="ltr"><<a href="mailto:kenfulmer@icstechnologysolutions.com" target="_blank">kenfulmer@icstechnologysolutions.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div> <div lang="EN-US" link="blue" vlink="purple"> <div><p class="MsoNormal"><span style="color:#1F497D">Just in case others are interested, this is possible with the following parameters:</span></p>
<div><span style="color:#1F497D"> </span><br></div><p class="MsoNormal"><span style="color:#1F497D">SIP Profile:</span></p><div><span style="color:#1F497D"> </span><br></div><p class="MsoNormal"><span style="color:#1F497D"> <param name="inbound-late-negotiation" value="true"/></span></p>
<div><span style="color:#1F497D"> </span><br></div><p class="MsoNormal"><span style="color:#1F497D">Dial-Plan:</span></p><div><span style="color:#1F497D"> </span><br></div><p class="MsoNormal"><span style="color:#1F497D"> <action application="set" data="inherit_codec=true"/></span></p>
<div><span style="color:#1F497D"> </span><br></div><p class="MsoNormal"><span style="color:#1F497D">The codec negotiated in Call Leg B, is forced onto Call Leg A. This is possible due to the “inbound late negotiation” parameter in the sip profile.</span></p>
<div><span style="color:#1F497D"> </span><br></div><p class="MsoNormal"><span style="color:#1F497D">Hope this helps someone else. </span></p><div><span style="color:#1F497D"> </span><br></div><p class="MsoNormal"><span style="color:#1F497D">Ken</span></p>
<div><span style="color:#1F497D"> </span><br></div><div><span style="color:#1F497D"> </span><br></div><div><span style="color:#1F497D"> </span><br></div> <div> <div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Ken Fulmer<br>
<b>Sent:</b> Tuesday, May 04, 2010 8:29 AM</span></p><div><br> <b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br> </div><b>Subject:</b> [Freeswitch-users] Different codecs for different devices?<div>
<br></div> </div> </div><div><div></div><div><div> <br></div><p class="MsoNormal">This may be a far out question but here goes:</p><div> <br></div><p class="MsoNormal">Our fax machines that are connected to ATA’s need to be g.711 on both Call Leg A and Call Leg B (in either direction). </p>
<div> <br></div><p class="MsoNormal">However, our phones need to be g.711 on the internal side that faces our PBX. On the side facing our SIP provider, the calls should be transcoded to g.729. Inbound the calls to phones (not ATA’s) need to be g.729 on the inbound call leg and g.711 on the outbound call leg. </p>
<div> <br></div><p class="MsoNormal">I realize we can set inbound / outbound codec preferences in single or multiple profiles and we can set the “absolute_codec_string” value for the outbound call leg. </p><div> <br></div>
<p class="MsoNormal">However, I’ve yet to determine how to set the inbound call leg’s codec differently depending on the device. Is this possible? </p><div> <br></div><p class="MsoNormal">Thanks,</p><div> <br></div><p class="MsoNormal">
Ken Fulmer</p><div> <br></div> </div></div></div> </div> <br></div></div><div>_______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></div></blockquote></div><div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>
FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br> </div></div></div> <br>_______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br></div> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div></div><br></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>