[Freeswitch-users] avmd usage help or issue?

Brian West brian at freeswitch.org
Thu Apr 10 04:09:58 MSD 2014


Have you tried joining the IRC channel?
--
Brian West
brian at 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 at 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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140409/2048e0e7/attachment.bin 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list