<div dir="ltr"><div>After playing a little with SNOM phones I see that for doing BLF the SNOM subscribes for number XXXX (the real number), but when I want to pickup a ringing extension it dials **XXXX which is catched by FreeSwitch and handled by the pickup code (probably the intercept function).</div>
<div> </div>
<div>I would like to mimic this on Polycom phones. Thus, I want the phone to subscribe for *ZXXXX and catch the *Z prefix:</div>
<ul>
<li>If it is a subscribe command, then strip *Z and subscribe to it.</li>
<li>If this is INVITE and the destination is ringing - strip *Z and and call intercept.</li>
<li>If this is INVITE and the destination is free - ring it.</li></ul>
<div>I know roughly how to do the last two items, but how can I catch the SUBSCRIBE, modify the destination number and then call the actual function?</div>
<div> </div>
<div> Thanks! __Yehavi:</div>
<div> </div>
<div class="gmail_quote">2009/7/21 Yehavi Bourvine <span dir="ltr"><<a href="mailto:yehavi.bourvine@gmail.com">yehavi.bourvine@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0.8ex; PADDING-LEFT: 1ex; PADDING-RIGHT: 1ex; BORDER-RIGHT: #ccc 1px solid" class="gmail_quote">
<div dir="rtl">
<div dir="ltr">Hello,</div>
<div dir="ltr"> </div>
<div dir="ltr"> I am trying to integrate Polycom phones with a FrewSwitch server, and have some problems with BLF and directed pickup.</div>
<div dir="ltr"> </div>
<div dir="ltr"> I've defined a buddy list with BW (buddy watch) on. One of the phone's line buttons (one fo the 3 ones on a Polycom-501 model) is assigned to this buddy and indeed shows its status. I would like to pickup a call to this buddy by pressing its button when his phone rings; however, this generates a second call to him...</div>
<div dir="ltr"> </div>
<div dir="ltr"> Using a SNOM phones this works ok. Has anyone managed to make it working with Polycom?</div>
<div dir="ltr"> </div>
<div dir="ltr"> Thanks! __Yehavi:</div>
<div dir="ltr"> </div></div></blockquote></div></div>