[asterisk-users] realtime ldap peer matching
Gavin Henry
gavin.henry at gmail.com
Mon Jun 4 17:46:36 CDT 2007
On 04/06/07, Caio Zanolla <caio at lpj.com.br> wrote:
> Hi everyone,
>
> in ldap realtime sip peers i need "fullcontact" set to
> "sip:exten at userip" for asterisk to correctly match the peers (at least
> for the natted peers to reach them)...
>
> anyway, how do I populate fullcontact "on the fly" with information from
> exten and userip?
Wouldn't these just be dialplan vars?
> of course, i could just do it staticaly on ldap but since the info is
> already there why not make use of it?
>
> on res_ldap.conf i have "attribute = fullcontact => AstAccountFullContact"
> it would be nice to have something like:
> attribute = fullcontact => "sip:".$AstExten."@".$AstIPaddress
> or some kind of dialplan scripting to archieve this...
I'm pretty sure res_ldap.c can't do this yet.
What version (* and res_ldap) and schema are you using btw?
IIRC, the latest version doesn't need:
attribute = fullcontact => AstAccountFullContact
just:
fullcontact => AstAccountFullContact
Thanks,
Gavin.
>
>
> cheers,
> Caio.
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list