Hi,
any news for SLA module ?
I have same problem like ‘akatran’.
My workaround is using DEVSTATE function in Asterisk, with which I could indicate the status of the SIP lines and display it on the BLF buttons of the phones.
This was quit easy to do.
But each time when I applied something in FreePBX, it overwrites all my modifications !
For me its seems to be not complicate to add.
Here one of my entries as example :
[ext-did-0002]
include => ext-did-0002-custom
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => 33811951781,1,Set(__FROM_DID=${EXTEN})
exten => 33811951781,n,Gosub(app-blacklist-check,s,1)
exten => 33811951781,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 33811951781,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 33811951781,n,SetCallerPres(allowed_not_screened)
;-------------------------------------
exten => 33811951781,n,Set(DEVSTATE(Custom:DND299)=RINGING)
;-------------------------------------
exten => 33811951781,n,Goto(ext-queues,300,1)
I created a “virtual extension” 299 in FreePBX to associate with BLF status on my Linksys phones.
With this simple line, the system tell me that there is an incoming call from
line “33811951781” and change the state of the BLF lamp on my phone to blinking.
A macro should verify permanently the state of this SIP channel (RINGING/BUSY/NOTINUSE etc) and should set the DEVSTATE value to show the actual state.
Thats nearly the same as we can see with normal extensions.
Maybe a solution will be, to add in FreePBX Trunk settings a line where we can set following :
“SLA = (virtual number)” — if its empty, its no used
The same for ringgroups and queues.
It should be like the "CID Name Prefix:"
If a member of the ringgroup/queue hangup a call for the associated Trunk,
the DEVSTATE should be change.
IMO, this can be a first step to get SLA working in FreePBX.
Thats my 5 cents.
I hope this will help to find a solution.