<div dir="ltr">Raised <a href="http://jira.freeswitch.org/browse/OPENZAP-227">http://jira.freeswitch.org/browse/OPENZAP-227 </a>.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 11:45 AM, Ken Rice <span dir="ltr"><<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">You should open a ticket on <a href="http://jira.freeswitch.org/" target="_blank">http://jira.freeswitch.org/</a> for this and please include the patch. This way the developers can track this patch and consider it for inclusion. <br>
<div><div class="h5">
<br>
<br>
On 3/5/14 12:00 AM, "Deepika Agarwal" <<a href="http://deepika.agarwal@eng.knowlarity.com" target="_blank">deepika.agarwal@eng.knowlarity.com</a>> wrote:<br>
<br>
</div></div></span></font><blockquote><div><div class="h5"><font face="Monaco, Courier New"><span style="font-size:11pt">Hello All,<br>
<br>
As there is no command line option provided with 'sangoma_isdn' library for restarting a single PRI line, we have made some custom changes in 'ftmod_sangoma_isdn.c' in order to achieve that.<br>
To summarize the changes: It adds a new command line "ftmod sangoma_isdn restart_span" which calls ftdm_sangoma_isdn_stop1( ) and then ftdm_sangoma_isdn_start() to restart the given PRI line.<br>
<br>
ftdm_sangoma_isdn_start() was already present in 'ftmod_sangoma_isdn.c' and ftdm_sangoma_isdn_stop1() is a modified version of ftdm_sangoma_isdn_stop().<br>
You can take a look at the code snippet here:<br>
<a href="http://pastebin.com/cmQxLbtM" target="_blank">http://pastebin.com/cmQxLbtM</a> <br>
The changes have been tested extensively and working fine as of now.<br>
Please let me know if you see any potential negative impact of this fix in FreeSwitch.<br>
<br>
Thanks<br>
Deepika<br>
<br>
On Tue, Feb 25, 2014 at 1:47 PM, Deepika Agarwal <<a href="http://deepika.agarwal@eng.knowlarity.com" target="_blank">deepika.agarwal@eng.knowlarity.com</a>> wrote:<br>
</span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">Hello Guys,<br>
<br>
I am facing a problem with some of the PRI lines on my FreeSwitch machine (Version 1.2) and I want to restart those selected PRI lines in case they get stuck.<br>
But I didn't see any option for restarting a particular PRI line with sangoma isdn.<br>
<i>freeswitch@internal> ftdm sangoma_isdn<br>
Usage:<br>
ftdm sangoma_isdn trace <q921|q931> <span name><br>
ftdm sangoma_isdn l1_stats <span name><br>
ftdm sangoma_isdn show_spans [<span name>]<br>
</i><br>
However, If I use libpri for signalling, it does provide an option of restarting a particular PRI line :<br>
<i>freeswitch@internal> ftdm libpri<br>
Usage:<br>
libpri kill <span><br>
libpri reset <span><br>
<b>libpri restart <span> <channel/all><br>
</b><br>
</i>I'm wondering if this support has been provided with sangoma_isdn or if I'm missing something here. Please suggest if there are any workarounds to achieve this with sangoma_isdn.<br>
<br>
Thanks<br>
<font color="#888888">Deepika<br>
<br>
</font></span></font></blockquote></div></div><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
<br>
<hr align="CENTER" size="3" width="95%"></span></font><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="http://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><span class="HOEnZb"><font color="#888888"><br>
</font></span></span></font></font></blockquote><span class="HOEnZb"><font color="#888888"><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Monaco, Courier New"><span style="font-size:11pt">-- <br>
Ken<br>
<font color="#0000FF"><u><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
Twitter: @FreeSWITCH<br>
<br>
</span></font>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>