[asterisk-users] Having problems with BLF

John john at vetsurgeon.org.uk
Fri Mar 5 04:38:58 CST 2010


Hi,

I'm having a problem getting a snom 300 to work with BLF (extension
222). I've set it to watch extension 220 in the function key config
pages as per the wiki (BLF, <sip:220 at server.com>) but I can't get the
light to come on when 220 is ringing. The SIP trace page doesn't show
anything coming from my PBX when 220 is ringing or in use. Any help
much appreciated as this has been driving me mad for the last 2 days!
Is this an asterisk config prob (Asterisk 1.4.21.2)?

John

Console output:
    -- Executing [220 at default:1] SIPAddHeader("SIP/221-08ddaf00",
""Alert-Info:<http://nohost>;info=alert-internal;x-line-id=0"") in new
stack
    -- Executing [220 at default:2] Dial("SIP/221-08ddaf00",
"SIP/220||tT") in new stack
    -- Called 220
 Extension Changed 220[blf] new state Ringing for Notify User 222 (queued)
    -- SIP/220-08e0b528 is ringing

core show hints
    -= Registered Asterisk Dial Plan Hints =-
                    223 at blf                 : SIP/223
State:Idle            Watchers  0
                    222 at blf                 : SIP/222
State:Idle            Watchers  0
                    221 at blf                 : SIP/221
State:Idle            Watchers  0
                    220 at blf                 : SIP/220
State:Idle            Watchers  1
----------------
- 4 hints registered

sip.conf
[general]
...
allowsubscribe=yes
subscribecontext=blf
notifyringing=yes
notifyhold=yes
call-limit=99
limitonpeers=yes

[220]
type=friend
username=220
secret=xxxxxxxxxxxxx
host=dynamic
call-limit=3
qualify=yes
nat=yes
dtmfmode=rfc2833

[221]
type=friend
username=221
secret=xxxxxxxxxxxxxxx
host=dynamic
call-limit=3
qualify=yes
nat=yes
dtmfmode=rfc2833

[222]
type=friend
username=222
secret=xxxxxxxxx
host=dynamic
call-limit=3
qualify=yes
nat=yes
dtmfmode=rfc2833
mailbox=422
vmexten=702
fromdomain=sip3.xxxxx.co.uk

[223]
type=friend
username=223
secret=xxxxx
host=dynamic
call-limit=3
qualify=yes
nat=yes
dtmfmode=rfc2833

extensions.conf
[default]
include => blf
exten => _2XX,1,SIPAddHeader("Alert-Info:<http://nohost>\;info=alert-internal\;x-line-id=0")
exten => _2XX,n,DIAL(SIP/${EXTEN},,tT)
exten => _2XX,n,Hangup

[blf]
exten => 220,hint,SIP/220
exten => 221,hint,SIP/221
exten => 222,hint,SIP/222
exten => 223,hint,SIP/223



More information about the asterisk-users mailing list