Have you tried joining the IRC channel? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Apr 9, 2014, at 1:27 PM, Malay Thakershi <mthakershi@gmail.com> wrote:
Hi, can some one please give me some suggestions about getting VM detection to work from C# mod_managed? Thanks.
On Thu, Apr 3, 2014 at 3:17 PM, Malay Thakershi <mthakershi@gmail.com> wrote: Hello, Trying to detect VM from C# mod_managed. I have seen weird behavior making concurrent outbound calls.
Even though VM is detected on call A, call B (answered by real person) also gets hung up. Is it possible that the beep from call A is getting mixed up with call B?
I use session.Execute("avmd", "start") command and then listen in EventReceivedFunction for avmd_detect variable. Do I have to check for uuid?
Please help.
Code: mObjMainSession.EventReceivedFunction = (ev) => { Log.WriteLine(LogLevel.Notice, "~~avmd_detect:" + mObjMainSession.GetVariable("avmd_detect")); if (mObjMainSession.GetVariable("avmd_detect") == "TRUE") { Log.WriteLine(LogLevel.Notice, "~~VM detected"); Log.WriteLine(LogLevel.Notice, aObjCntx.Session.uuid + "-" + "VM detected"); mObjMainSession.Execute("avmd", "stop"); return "AVMD"; }
return ""; };
Log.WriteLine(LogLevel.Notice, "~~Started AVMD"); mObjMainSession.Execute("avmd", "start");
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org