[Freeswitch-users] Eavesdrop when using simring

Wellie Chao wchao at yahoo.com
Wed Jan 20 08:48:08 PST 2010


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?




More information about the FreeSWITCH-users mailing list