I’ve just built/installed FreePBX 2.1.1 on top of Asterisk 1.2.7.
I’ve gone into FreePBX and added several extensions for SIP phones. For one of the numbers, “5000”, here’s what ends up in extensions_additional.conf:
[ext-local]
include => ext-local-custom
exten => 5000,1,Macro(exten-vm,5000,5000)
exten => 5000,hint,SIP/5000
exten => ${VM_PREFIX}5000,1,Macro(vm,5000,DIRECTDIAL)
Now if I got to “Asterisk CLI” and do the command “show dialplan” I see:
[ Context ‘ext-local’ created by ‘pbx_config’ ]
’*5000’ => 1. Macro(vm|5000|DIRECTDIAL) [pbx_config]
‘5000’ => hint: SIP/5000 [pbx_config]
1. Macro(exten-vm|5000|5000) [pbx_config]
Include => ‘ext-local-custom’ [pbx_config]
When I call extension 5000 from another phone it goes straight to voicemail. The 5000 extension is in the from-internal context.
The problem seems to be that (a) the “hint” priority for the SIP phone is lower than the priority 1 hangup entry above it for voicemail, and (b) the hint doesn’t appear to be working correctly - it doesnt seem try calling the SIP device.
If I change extensions_additional.conf from:
exten => 5000,1,Macro(exten-vm,5000,5000)
exten => 5000,hint,SIP/5000
To:
exten => 5000,2,Macro(exten-vm,5000,5000)
exten => 5000,1,Dial(SIP/5000)
And then restart Asterisk then calling 5000 works…
Any thoughts/suggestions why the entries FreePBX is adding appear to be wrong?