Followme and AstDB


I’m using the app_followme normally but now I want to use AstDB to store followme data.

I’ve read somewere that followme can fetch data store in AstDB, is it right?

(Here: … d+FollowMe)

I’ve tried this way without success:

In the extension.conf I have the following context:

exten => _X.,1,Answer()
exten => _X.,n,Dial(SIP/${EXTEN})
exten => _X.,n,Followme(${EXTEN})

And in the “folowme.conf”

[2000] ; example
music =>default
context =>internal
number =>2000/FM1 ; the number “2001” is stored there

According the what I’ve read, this would make followme use the data stored in the FM1/2000 key/Family. But through the console I can see it tries to dial “2000/FM1” instead of 2001.

Is this feature implemented ???

Thank you!

The use of AstDB in app_followme is not implemented. The number=> is the number it will actually attempt to dial. I think you can work around this in the dialplan though.

Create a context just for the followme extensions and have it do the db lookup for you there… For Example:

In extensions.conf


exten => _XXXX,1,Set(FM1=${DB(${EXTEN}/FM1)})
exten => _XXXX,n,Dial(…${FM1})

Then in followme.conf


Thank you very much.
Can’t wait to try :smile: