Hi,
I was able to track down the issue and it seem to be a bug in fop2.
If I have the following in buttong.cfg :
[SIP/ABC299]
type=extension
extension=ABC299
context=ABC
label=299 - Test
mailbox=299@ABC
extenvoicemail=7299@ABC
group=admin
originatechannel=Local/299@originate
and fop2.cfg :
user=ABC299:1234:all
The status is not updated because the event is not send the the Asterisk manager. (tested using : ./fop2_server -X 3 -i eth1)
But If I have :
[SIP/299]
type=extension
extension=299
context=ABC
label=299 - Test
mailbox=299@ABC
extenvoicemail=7299@ABC
group=admin
originatechannel=Local/299@originate
and fop2.cfg :
user=299:1234:all
It his working. I have also tested with abc lowercase and it's also NOT working. I have also test with "sdfghjk" only and it's also not working. that mean as soon as you have alpha character the presence is not working. That also mean FOP2 presence won't work with XiVO/WAZO because they use random alpha numeric name for the sip peers.
Also, if I manually put this in the asterisk manager using telnet :
Action: UserEvent
UserEvent: FOP2ASTDB
Family: fop2state
Key: SIP/sdfghjk
Channel: SIP/sdfghjk
Value: Out to lunch
It's working as expected.