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).
 
I would like to mimic this on Polycom phones. Thus, I want the phone to subscribe for *ZXXXX and catch the *Z prefix:
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?
 
                       Thanks!  __Yehavi:
 
2009/7/21 Yehavi Bourvine <yehavi.bourvine@gmail.com>
Hello,
 
  I am trying to integrate Polycom phones with a FrewSwitch server, and have some problems with BLF and directed pickup.
 
  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...
 
  Using a SNOM phones this works ok. Has anyone managed to make it working with Polycom?
 
                               Thanks! __Yehavi: