<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">reloadxml reads again all the XML tree into memory (and you can see this tree in freeswitch.xml.fsxml).<div>That is enough for the XML dialplan or for the user directory, because the XML tree is parsed from memory when an INVITE or REGISTER hits FS.</div><div><br></div><div>But SIP profiles are not "dynamic".</div><div>If you change some parameters, you have to restart the profile using the new XML tree.</div><div>You may think of a SIP profile as a kind of sub-FS instance.</div><div><br></div><div>restart will do a complete stop/start on the profile (stopping existing calls)</div><div>rescan is softer and re-configure the profile without restarting it</div><div><br></div><div>I suspect there are situations where rescan is not enough (perhaps when you change the IP/port the profile is bound to).</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Helvetica Neue'; font-size: 14px; "><font class="Apple-style-span" color="#1C00FF">David Ponzone </font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></span></div><div><div apple-content-edited="true"><span class="Apple-style-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; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-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; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space"> </span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); "> - <span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; 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 class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br><div><div>Le 06/04/2010 à 10:29, Frank Church a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">What does reloadxml do on its own?<br><br>I thought it was equivalent it executed a restart as well.<br><br><div class="gmail_quote">On 6 April 2010 09:06, 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;"><div>Frank,</div><div><br></div>Restarting FS should not be necessary.<div> <br></div><div>If you change a SIP profile xml, or some parameters affecting it (some variables in vars.xml for example), you have to restart the profile, I think I told you that before:</div><div class="im"><div>sofia profile internal restart reloadxml</div> </div><div><br><div class="im"><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-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: 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: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><br></span></div><div style="margin: 0px; color: rgb(0, 34, 243);"><span><div style="margin: 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><div> Le 06/04/2010 à 09:42, Frank Church a écrit :</div><div><div></div><div class="h5"><br><blockquote type="cite">Thanks to the help of every one in this thread I have managed to get it working. The important thing I realized is it is necessary to stop Freeswitch whenever you change the settings and restart it again. I thought doing a reloadxml would get the changes to take, but that is not the case.<br> <br>I have documented my findings on my <a href="http://devblog.brahmancreations.com/content/freeswitch-g729-pass-through-for-linksys-sipura" target="_blank"></a><a href="http://devblog.brahmancreations.com/content/freeswitch-g729-pass-through-for-linksys-sipura" target="_blank">devblog</a> <br> <br>On 6 April 2010 08:10, Ognjen Seslija <<a href="mailto:oseslija@gmail.com" target="_blank">oseslija@gmail.com</a>> wrote:<br>> There isn't one. Both call legs need to agree on G729. Try to set only G729<br> > in inbound/outbound codec-prefs in sip profile or use disable-transcoding.<br> ><br>> Since this is becoming a neverending saga, join us on IRC for help.<br>><br><br>I have got to start using IRC more often, I have never really gotten into it, but I see that it is necessary when time is important. I prefer mailing lists though as the keep a better record of what has transpired for all to see.<br> <br>Thanks to all.<br><br>My next question will be coming up shortly, this time on IRC first.<br>> On Mon, Apr 5, 2010 at 11:02 PM, Frank Church <<a href="mailto:vfclists@googlemail.com" target="_blank">vfclists@googlemail.com</a>><br> > wrote:<br>>><br>>> I have changed it and this time I get this error<br>>><br>>> 2010-04-05 21:55:22.640625 [ERR] mod_g729.c:145 This codec is only<br>>> usable in passthrough mode!<br>>> 2010-04-05 21:55:22.640625 [ERR] switch_core_io.c:726 Codec G.729 decoder<br> >> error!<br>>><br>>> When it is on 0.030 I get the garbled sound.<br>>><br>>> I guess the 0.020 is more compatible and I now have to set the pass<br>>> through mode. Is there a parameter for that?<br> >><br>>><br>>> On 5 April 2010 21:47, Brian West <<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>> wrote:<br>>> > change it to 0.020<br>>> ><br>>> > /b<br> >> ><br>>> > On Apr 5, 2010, at 3:43 PM, Frank Church wrote:<br>>> ><br>>> >> I can't see a ptime in the Linksys settings, is that what is labelled<br>>> >> as 'RTP Packet Size' on the SIP page?<br> >> >><br>>> >> It is the only thing that has the value 0.030<br>>> ><br>>> ><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>>><br>>><br>>><br>>> --<br>>> Frank Church<br>>><br>>> =======================<br>>> <a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a><br> >><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>><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>><br><br><br><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a><br> <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> </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><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>