[asterisk-users] followme ldap realtime problems

2012-10-23 Thread Liutauras Adomaitis
Hi all,

I am having problems configuring followme with realtime ldap database. The 
error I get is:
[2012-10-23 21:01:40] WARNING[16004]: res_config_ldap.c:967 
realtime_multi_ldap: realtime retrieval requires at least 1 parameter and 1 
value to search on.
[2012-10-23 21:01:40] WARNING[16004]: app_followme.c:1175 app_exec: Profile 
requested, adomaitis, not found in the configuration.

cli commands:
realtime load followme name adomaitis
realtime load followme_numbers name adomaitis
works as expected, meaning that shows informations fetched from ldap.

relevant config are
extconfig.conf
followme => ldap,"ou=People,dc=example,dc=com",followme
followme_numbers => ldap,"ou=People,dc=example,dc=com",followmenumbers

res_ldap.conf:
[followme]
name = AstFollowMeName
musicclass = AstFollowMeMusic
musiconhold = AstFollowMeMusic
music = AstFollowMeMusic
context = AstFollowMeContext
takecall = AstFollowMeTakeCall
declinecall = AstFollowMeDeclineCall
call_from_prompt = AstFollowMePromptCallFrom
norecording_prompt = AstFollowMePromptNoRecording 
options_prompt = AstFollowMePromptOptions
hold_prompt = AstFollowMePromptHold
status_prompt = AstFollowMePromptStatus
sorry_prompt = AstFollowMePromptSorry
additionalFilter = (objectClass=asteriskFollowMe)

[followmenumbers]
name = AstFollowMeProfileName
ordinal = AstFollowMeNumberPriority
phonenumber = AstFollowMeNumber
timeout = AstFollowMeNumberTimeOut
additionalFilter = (objectClass=asteriskFollowMeNumbers)

I have defined schema for followme.
Does anyone know what can be the issue?

Thanks
Liutauras


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] followme ldap realtime problems

2012-10-25 Thread Liutauras Adomaitis
On Tuesday 23 of October 2012 22:32:12 Liutauras Adomaitis wrote:
> Hi all,
> 
> I am having problems configuring followme with realtime ldap database. The
> error I get is:
> [2012-10-23 21:01:40] WARNING[16004]: res_config_ldap.c:967
> realtime_multi_ldap: realtime retrieval requires at least 1 parameter and 1
> value to search on.
> [2012-10-23 21:01:40] WARNING[16004]: app_followme.c:1175 app_exec: Profile
> requested, adomaitis, not found in the configuration.
> 
> cli commands:
> realtime load followme name adomaitis
> realtime load followme_numbers name adomaitis
> works as expected, meaning that shows informations fetched from ldap.
> 
> relevant config are
> extconfig.conf
> followme => ldap,"ou=People,dc=example,dc=com",followme
> followme_numbers => ldap,"ou=People,dc=example,dc=com",followmenumbers
> 
> res_ldap.conf:
> [followme]
> name = AstFollowMeName
> musicclass = AstFollowMeMusic
> musiconhold = AstFollowMeMusic
> music = AstFollowMeMusic
> context = AstFollowMeContext
> takecall = AstFollowMeTakeCall
> declinecall = AstFollowMeDeclineCall
> call_from_prompt = AstFollowMePromptCallFrom
> norecording_prompt = AstFollowMePromptNoRecording
> options_prompt = AstFollowMePromptOptions
> hold_prompt = AstFollowMePromptHold
> status_prompt = AstFollowMePromptStatus
> sorry_prompt = AstFollowMePromptSorry
> additionalFilter = (objectClass=asteriskFollowMe)
> 
> [followmenumbers]
> name = AstFollowMeProfileName
> ordinal = AstFollowMeNumberPriority
> phonenumber = AstFollowMeNumber
> timeout = AstFollowMeNumberTimeOut
> additionalFilter = (objectClass=asteriskFollowMeNumbers)
> 
> I have defined schema for followme.
> Does anyone know what can be the issue?
> 
> Thanks
> Liutauras
> 

Just one thing - I am running  Asterisk 1.8.11.1
Anyone any thoughts, comments?

Liutauras

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users