[Freeswitch-users] Eavesdrop when using simring

Anthony Minessale anthony.minessale at gmail.com
Wed Jan 20 12:09:48 PST 2010


maybe api_on_answer var?

On Wed, Jan 20, 2010 at 10:48 AM, Wellie Chao <wchao at yahoo.com> wrote:

> 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 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100120/ddb0bc86/attachment-0002.html 


More information about the FreeSWITCH-users mailing list