I was trying to implement avmd in lua script on mobile number that has voicemail enabled but AVMD was unable to detect the beep. Voice Mail was automatically activated mobile anytime a call was not answered.
Below was the files and command use in implementing the AVMD.
1. AVMD configuration.
https://pastebin.freeswitch.org/view/a25da7d8
2. My Lua Script
https://pastebin.freeswitch.org/view/44403f72
Bgapi command was used to initiate the call.
bgapi originate {sip_cid_type=pid,service_type=UKNOW,origination_caller_id_number=+2348023565181,igonre_early_media=true}sofia/external/sip:+2347016922641@10.200.161.132 '&lua(/usr/local/freeswitch/scripts/obsession.lua)'
Regards
Olawuyi Timothy Oladapo | IT Operation | Information System Dept |Pethahiah Rehoboth INTL. Limited | 2nd Floor Rubby Block All seasons Plaza , Lateef Jakande Rd, Agidingbi, Ikeja, Lagos. | Mobile: +2348052612001,+2348098797928 |Skype: daptims | htttp://www.pethahiah.com