[asterisk-users] realtime ldap peer matching

Caio Zanolla caio at lpj.com.br
Mon Jun 4 12:48:24 CDT 2007


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?
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...


cheers,
Caio.




More information about the asterisk-users mailing list