Sure,
while read line; do a=`cut -d ':' -f1 <<< $line`; b=`cut -d ':' -f2 <<<
$line`; opensipsctl fifo dlg_end_dlg $a $b; done < <(opensipsctl fifo
dlg_list | grep dialog: | tr -s ' ' | cut -d '=' -f2)
That should get the job done :)
Best regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 03/28/2014 05:40 PM, Kneeoh wrote:
Is there a method to kill ALL calls with dlg_end_dlg blindly? w/o having to
pass the hash of the dlg_id?
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users