[Freeswitch-users] FREESWITCH CONFERENCE BLF

Abaci B abaci64 at gmail.com
Wed May 25 17:38:47 MSD 2016


To get BLF for a conference you would subscribe to conf+confname

On Wed, May 25, 2016 at 8:32 AM, alberto Villa <a.villa at seletech.com> wrote:

> Hello,
>
> I have 4 phones, 3 will join a conference room called 'myConf' and I'm
> trying to get BLF status for this conference on the fourth phone, which
> will eventually join the conference by pulling the related BLF button.
>
> On the phone I want BLF I set to monitor the status using '
> sip:myConf at 192.168.0.252' (which works when monitorning a normal sip
> user), then I tried the followings:
>
> Set the <advertise> field like this
>
> <advertise>
>     <room name="myConf@$${subdomain}"/>
>   </advertise>
>
> in conf/autoload_configs/conference.conf.xml but this doesn't work.
>
> Set:
>
> <action application="set" data="presence_id=myConf@${domain_name}"/>
>
> in my dialplan before setting up the conference, still doesn't work.
>
> Issuing:
>
> presence in myConf at 192.168.0.252 on-the-phone "on the phone"
>
> from fs_cli, but still doesn't work.
>
> The only thing I got working is to manually send the event using ESL like
> this:
>
> event = freeswitch.Event('PRESENCE_IN');
> event:addHeader('proto', 'sip');
> event:addHeader('from', 'myConf'..'@'..'192.168.0.252');
> event:addHeader('login', 'myConf'..'@'..'192.168.0.252');
> event:addHeader('event_type', 'presence');
> event:addHeader('alt_event_type', 'dialog');
> event:addHeader('Presence-Call-Direction', 'outbound');
> event:addHeader('state', 'active');
> event:addHeader('unique-id', uuid);
> event:addHeader('event_count', '1')
> event:addHeader('answer-state', 'confirmed');
> event:fire();
>
> In this case the BLF correctly lights up, but when the phone issues a new
> "SUBSCRIBE" request the BLF is cleared.
>
> Wrapping up: is there a way to use BLF to monitor the status of a
> conference call from a phone not invited when the conference is set up?
>
>
> Thank you
>
> --
> Dr. Villa Alberto
> Sw Engineer
>
> SeleTech srl
> via Volturno, 37 20861 Brugherio (MB)
> tel: +39 039 884053
>
> email: a.villa at seletech.com
> web: www.seletech.com
>      www.seletech.eu
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Mail
> priva di virus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160525/762a2cc3/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list