[asterisk-users] Polycom Blf / Directed Pickup

Gord Urquhart gordurq at gmail.com
Mon Jan 17 18:00:31 CST 2011


With SIP 3.2.X firmware (available on the Polycom download site) and
Asterisk 1.6.1, Polycom phones now support a full featured BLF showing
statuses of Ringing, Inuse and Online and one touch directed call pickup.
On the asterisk side all that needs to be done is to add a hint to the
extension. On the phone side for each line that is going to be monitored add
lines like the following to the phone's cfg file.
            attendant.reg="1"
            attendant.resourceList.1.address="sip:205 at 192.168.1.102<sip%3A205 at 192.168.1.102>"

            attendant.resourceList.1.label="205"
            attendant.resourceList.2.address="sip:217 at 192.168.1.102<sip%3A217 at 192.168.1.102>"

            attendant.resourceList.2.label="217"

  Following 4 lines added Sept/10
            call.directedCallPickupMethod="legacy"
            call.directedCallPickupString="*8"
            feature.12.name="directed-call-pickup"
            feature.12.enabled="1"
Assuming my server is at 192.168.1.102, this will add two BLF lines to the
phone for extensions 205 and 217. Calls incoming to those extensions will
show a blinking green led on the monitoring phone, pressing the hard key
will pick the call up, if it is answered elsewhere the led will change to
solid red. AFAIK this cannot be configured via the phones web gui, you must
use the cfg files. You can also use versions of Asterisk older than 1.6.1 if
you remove the restriction on what asterisk thinks Polycom phones can
handle. Look in chan_sip.c for
                 if (strstr(p->useragent, "Polycom")) {
                   p->subscribed = XPIDF_XML;
and change that line to
                   p->subscribed = DIALOG_INFO_XML;


cheers
 gord



On Thu, Jan 13, 2011 at 4:26 PM, Mark Murawski
<markm-lists at intellasoft.net>wrote:

> Thanks!  Blf is working now.   I forgot I had to set set subscribecontext.
>
> When a phone is ringing, the blf light is solid red and the icon is a (/)
> type icon indicating unavailable.  I'm also interested in directed pickup.
>  I set up the following:
>
> call.directedCallPickupString="*6" call.directedCallPickupMethod="legacy"
>
> Hitting the button next to the contact will speed dial the contact instead
> of pick up the ringing call.
>
>
>
> On 01/13/2011 10:54 AM, Sebastien Thomas wrote:
>
>> Ok, that looks good.
>>
>> We use FreePBX, and I know I had to modify a couple Asterisk files to
>> get the BLF working ... here are some of my mods but may also be used
>> for FOP2 (I dont recall which go for BLF and which go FOP2).
>>
>> vi /etc/asterisk/sip_registrations_custom.conf
>> allowsubscribe=yes
>>
>> vi /etc/asterisk/sip_custom.conf
>> callevents=yes
>> notifyringing=yes
>> limitonpeers=yes
>>
>> I also override some of the sip.cfg settings in the polycom dir with:
>>
>> <feature
>> feature.1.enabled="1"
>> feature.9.enabled="0"
>> feature.18.enabled="1"
>> />
>> <pres
>> pres.reg="1"
>> pres.idleSoftkeys="0"
>> />
>>
>>
>> ---
>> Sebastien Thomas
>> Amplisys Inc. - Digital Telephony Integration Specialists
>> T: 514.225.4141 x222 F: 514.225.4162 TF: 1-877-AMPLISYS
>>
>> *** Need help? Contact support at amplisys.ca <mailto:support at amplisys.ca>
>> ***
>>
>>
>>
>>
>> On 2011-01-13, at 10:29 AM, Mark Murawski wrote:
>>
>>  Yeah... My directory looks like this:
>>>
>>> <directory>
>>> <item_list>
>>> <item>
>>>
>>> <ln>6288</ln><fn></fn><ct>6288</ct><sd>1</sd><rt>2</rt><dc/><ad>0</ad><ar>0</ar><bw>1</bw><bb>0</bb>
>>> </item>
>>> <item>
>>>
>>> <ln>6208</ln><fn></fn><ct>6208</ct><sd>2</sd><rt>2</rt><dc/><ad>0</ad><ar>0</ar><bw>1</bw><bb>0</bb>
>>> </item>
>>> <item>
>>>
>>> <ln>6234</ln><fn></fn><ct>6234</ct><sd>3</sd><rt>2</rt><dc/><ad>0</ad><ar>0</ar><bw>1</bw><bb>0</bb>
>>> </item>
>>> <item>
>>>
>>> <ln>6205</ln><fn></fn><ct>6205</ct><sd>4</sd><rt>2</rt><dc/><ad>0</ad><ar>0</ar><bw>1</bw><bb>0</bb>
>>> </item>
>>> <item>
>>>
>>> <ln>6231</ln><fn></fn><ct>6231</ct><sd>5</sd><rt>2</rt><dc/><ad>0</ad><ar>0</ar><bw>1</bw><bb>0</bb>
>>> </item>
>>> </item_list>
>>> </directory>
>>>
>>>
>>>
>>> On 01/13/2011 10:20 AM, Sebastien Thomas wrote:
>>>
>>>> Is the buddy watch tag activated in your<mac>-directory.xml file
>>>> ?<bw>1</bw>
>>>>
>>>> <item>
>>>> <lb>Sebastien</lb>
>>>> <fn>Sebastien</fn>
>>>> <ln>Thomas</ln>
>>>> <ct>222</ct>
>>>> <sd>1</sd>
>>>> <bw>1</bw>
>>>> </item>
>>>>
>>>> ---
>>>> Sebastien Thomas
>>>> Amplisys Inc. - Digital Telephony Integration Specialists
>>>> T: 514.225.4141 x222 F: 514.225.4162 TF: 1-877-AMPLISYS
>>>>
>>>>
>>>> On 2011-01-13, at 1:32 AM, Mark Murawski wrote:
>>>>
>>>>  Would anyone happen to have some examples of polycom configs,
>>>>> specifically the 650 with sidecar for blf.
>>>>>
>>>>> I have the asterisk side all configured since I've set up blf with
>>>>> other types of phones, but I'm missing the polycom side.
>>>>>
>>>>> I've put together a<mac>-directory.xml, and the sidecar now lists
>>>>> numbers as speed dials but does not subscribe to blf.
>>>>>
>>>>> --
>>>>> _____________________________________________________________________
>>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>>> http://www.asterisk.org/hello
>>>>>
>>>>> asterisk-users mailing list
>>>>> To UNSUBSCRIBE or update options visit:
>>>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>>
>>>>
>>>> --
>>>> _____________________________________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>> http://www.asterisk.org/hello
>>>>
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>> http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>                http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>              http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110117/165dbb47/attachment.htm>


More information about the asterisk-users mailing list