Hi, Sorry if it's a mundane question: I've got two Polycom phones sharing a registration appearance and SLA / busy lamp works fine with them. What I would like is to create a second line appearance whose busy lamp lights up when a call comes into our main IVR. Is this possible? How would I do it? Are there presence hints that can be arbitrarily directed from the dialplan? I wasn't able to discern this from the Polycom presence or general Polycom documentation. Thank you! -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
I'm thinking this can probably be done by calling API functions, for instance via ESL, that have the effect of lighting up a phone's busy lamp. I'm just not sure how to do it, and the documentation on available BLF-influencing presence events is sparse. On 01/16/2015 10:39 AM, Alex Balashov wrote:
Hi,
Sorry if it's a mundane question:
I've got two Polycom phones sharing a registration appearance and SLA / busy lamp works fine with them.
What I would like is to create a second line appearance whose busy lamp lights up when a call comes into our main IVR. Is this possible? How would I do it? Are there presence hints that can be arbitrarily directed from the dialplan? I wasn't able to discern this from the Polycom presence or general Polycom documentation.
Thank you!
-- Alex
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
I've tried sending this event: https://wiki.freeswitch.org/wiki/PRESENCE_IN_event_example e.g. sendevent PRESENCE_IN proto: sip from: monitoredLine@pbx.corp.evaristesys.com login: monitoredLine@pbx.corp.evaristesys.com event_type: presence alt_event_type: dialog Presence-Call-Direction: inbound answer-state: confirmed ... where my handset has SUBSCRIBE'd to monitoredLine@pbx.corp.evaristesys.com. I am getting NOTIFYs, but without any <state> stanzas inside the event package wrapper, i.e. it's the reset stanza. Content-Type: application/dialog-info+xml Content-Length: 169 <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="14" state="full" entity="sip:monitoredLine@pbx.corp.evaristesys.com"> </dialog-info> Am I missing something about what I ought to set answer-state to? -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
I went trawling through some old mailing list threads and discovered that the solution is to use a channel bridge through loopback: <extension name="inbound_ivr"> <condition field="destination_number" expression="^inbound_ivr$"> <action application="answer"/> <action application="sleep" data="1000"/> <action application="ivr" data="evariste_ivr"/> </condition> </extension> <extension name="inbound_ivr_6789540670"> <condition field="destination_number" expression="^(6789540670)$"> <action application="bridge" data={presence_id=6789540670@pbx.corp.evaristesys.com}loopback/inbound_ivr"/> </condition> </extension> This will link the presence entity 6789540670@pbx.corp.evaristesys.com to the state of the bridge. A static BLF directory key can then be provisioned on the Polycom and voila! -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
participants (1)
-
Alex Balashov