Hi, I have been testing mod_avmd, and out of the 200+ calls Ive managed to get it to work once, I have called two mobile networks and Our internal Freepbx with out much success.

The set up for making an outbound call is as follow.
Mobile Network:
Freeswitch -> Freepbx -> Asterisk(DAHDI).

Office PBX:
Freeswitch -> Freepbx
Here is my dial plan.



<extension name="ast_extens">
  <condition field="destination_number" expression="^(\d{11})$">
  <action application="info"/>
  <action application="set" data="execute_on_answer=avmd"/>
  <action application="set" data="hangup_after_bridge=true"/>
 <action application="bridge" data="sofia/external/$1@10.2.1.140"/>
 <action application="info"/>   
<!-- <action application="sleep" data="250"/> -->
  <action application="avmd" data="stop"/> <!-- Stops detection on the call. -->
  <action application="hangup"/>
  </condition>
  </extension>


This is the output on the console

http://pastebin.freeswitch.org/20705


Am I missing something any where ?


Regards
Impy