Hi
I’m upgrading from asterisk 1.8 to asterisk 13. While I got almost everything working just fine, I’m stuck with hints (BLF) working properly.
Asterisk 13 thinks a phone is in an Idle state when it is actually InUse. It, however, does recognise Hold and Unavailable correctly. Hints for call parking also work fine.
I’m using snom 370 phones with the latest firmware. Hints (BLF) work correctly in asterisk 1.8 so I’m assuming it’s not the phones fault.
It’s a realtime config connected to MariaDB but here’s relevant config info from relevant files.
sip.conf
[general]
context=inbound
dtmfmode=rfc2833
rtcachefriends=yes
allowsubscribe=yes
subscribecontext=blf
notifyringing=yes
notifyhold=yes
qualify=yes
ignoreregexpire=yes
disallow=all
allow=ulaw
allow=g722
extensions.conf
<…>
include => parkedcalls
include => blf
[blf]
exten => 101,hint,SIP/101
exten => 102,hint,SIP/102
exten => 103,hint,SIP/103
exten => 104,hint,SIP/104
<…>
core show hints
-= Registered Asterisk Dial Plan Hints =-
101@blf : SIP/101 State:Idle Presence:not_set Watchers 2
102@blf : SIP/102 State:Idle Presence:not_set Watchers 2
401@blf : park:401@parkedcalls State:Idle Presence:not_set Watchers 2
402@blf : park:402@parkedcalls State:Idle Presence:not_set Watchers 2
sip show subscriptions
Peer User Call ID Extension Last state Type Mailbox Expiry
IP.IP.IP.IP 101 xxxxxxxxx – mwi 101 003600
IP.IP.IP.IP 102 xxxxxxxxx – mwi 102 003600
IP.IP.IP.IP 101 xxxxxxxxx 102@blf Idle dialog-info+xml 003600
IP.IP.IP.IP 102 xxxxxxxxx 101@blf Idle dialog-info+xml 003600
IP.IP.IP.IP 101 xxxxxxxxx 401@blf Idle dialog-info+xml 003600
IP.IP.IP.IP 102 xxxxxxxxx 401@blf Idle dialog-info+xml 003600
IP.IP.IP.IP 101 xxxxxxxxx 402@blf Idle dialog-info+xml 003600
IP.IP.IP.IP 102 xxxxxxxxx 402@blf Idle dialog-info+xml 003600
Relevant messages from asterisk CLI:
A call is in progress, then put on hold:
– Started music on hold, class ‘default’, on channel ‘SIP/102-00000050’
== Extension Changed 101[blf] new state Hold for Notify User 102
Returning to call:
== Extension Changed 101[blf] new state Idle for Notify User 102
Locally RTP bridged ‘SIP/101-0000004f’ and ‘SIP/102-00000050’ in stack
– Stopped music on hold on SIP/102-00000050
The example is obviously with two internal extensions but the behavior is exactly the same when ringing to/from mobiles or landlines.
Any ideas?
Help much appreciated - many thanks in advance.