maybe api_on_answer var?
I have eavesdrop working fine on outbound calls and also inbound calls
where there is a single DID per IP phone. When I have a DID that rings
multiple extensions simultaneously, what is the best way to obtain
information about which extension has picked up the call and store that
using hash? I can set a variable before I issue the bridge action, like
so:
<action application="hash" data="insert/${domain_name}-spymap/646xxxyyyy-1000/${uuid}"/>
<action application="bridge" data="user/1001@${domain_name},user/1002@${domain_name},user/1003@${domain_name},user/1004@${domain_name}"/>
However, that doesn't tell me who actually picked up, so at best I can
allow users to eavesdrop on the last incoming call to the main DID, not
the last incoming call to a particular extension. Is there something I can
do in the bridge that will cause it to set a variable once it knows which
extension has picked up the call?
_______________________________________________
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