[Asterisk-bsd] Configuring BLF or Asterisk presence feature

Farooq Ahmed fahmed at tpg.com.au
Tue Jul 3 01:51:26 CDT 2007


Hi all,

I am working on 

asterisk 1.2.18
zaptel 1.2.17
Polycom 650
polycom 430
SIP version 2.0.3.0131 for IP 650
SIP version for IP430 2.0.3.0127 
freepbx 2.2.1

I am trying to configure BLF using asterisk but failed. I would be thankfull if somebody help me.
Regards
FArooq

**********************************************
1
**********************************************
in my extension_additional.conf
[ext-local]
include => ext-local-custom
exten => 501,1,Macro(exten-vm,501,501)
exten => 501,n,Hangup
exten => 501,hint,SIP/501
exten => ${VM_PREFIX}501,1,Macro(vm,501,DIRECTDIAL)
exten => ${VM_PREFIX}501,n,Hangup
exten => 502,1,Macro(exten-vm,502,502)
exten => 502,n,Hangup
exten => 502,hint,SIP/502
exten => ${VM_PREFIX}502,1,Macro(vm,502,DIRECTDIAL)
exten => ${VM_PREFIX}502,n,Hangup
exten => 503,1,Macro(exten-vm,503,503)
exten => 503,n,Hangup
exten => 503,hint,SIP/503
exten => ${VM_PREFIX}503,1,Macro(vm,503,DIRECTDIAL)
exten => ${VM_PREFIX}503,n,Hangup
; end of [ext-local]

***************************
2
**************************
SIP_additional.conf
one of my extension is configured as
-- 
[507]
type=friend
secret=1234
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=yes
mailbox=507 at device
host=dynamic
dtmfmode=rfc2833
dial=SIP/507
context=from-internal
canreinvite=no
subscribecontext = ext-local
notifyringing = yes
callerid=device <507>

********************************************
3
********************************************
ext 501 phone is configured with complete contact directory.
Buddywatch was enabled in the polycom contact directory
using config like below

<item> 
<ln>Doe</ln>
 <fn>John</fn> 
<ct>507</ct> 
<sd>1</sd> 
<rt>1</rt> 
<dc /> 
<ad>0</ad>
 <ar>0</ar> 
<bw>1</bw> 
<bb>0</bb> 
</item> 

**************
Results
***********
localhost*CLI> show hints
localhost*CLI>
    -= Registered Asterisk Dial Plan Hints =-
   507                 : SIP/507               State:Unavailable     Watchers  0
   506                 : SIP/506               State:Unavailable     Watchers  0
   505                 : SIP/505               State:Unavailable     Watchers  0
   504                 : SIP/504               State:Idle            Watchers  0
   503                 : SIP/503               State:Unavailable     Watchers  0
   502                 : SIP/502               State:Idle            Watchers  0
   501                 : SIP/501               State:Idle            Watchers  0
----------------
- 7 hints registered
localhost*CLI>
localhost*CLI> sip show subscriptions
Peer             User        Call ID      Extension        Last state     Type
0 active SIP subscriptions
localhost*CLI>
-- 



More information about the Asterisk-BSD mailing list