Voip-info.org has some BLF snippets that you can probably adapt to do what you need.
_____ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of jonas kellens Sent: Thursday, March 11, 2010 9:02 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] BLF and realtime SIP buddies I'm using Asterisk 1.4.25.1, can I do something like : == extconfig.conf == hints => mysql,asterisk,hints (got the info from https://issues.asterisk.org/view.php?id=16059 ) On Wed, 2010-03-10 at 18:26 +0100, jonas kellens wrote: Hello list, Can I do something like this for BLF functionality : [test-blf] exten => _XX,hint,Macro(GetSIPaccount,${EXTEN}) exten => _XX,hint,SIP/${SIPACCOUNT} GetSIPaccount is a macro that looks at a MySQL-database for the realtime table sip_buddies where the SIPusername is taken from. It works great for internal calls... but how about BLF-functionality ?? Feedback is appreciated ! Thank you, Jonas.
-- _____________________________________________________________________ -- 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