[asterisk-dev] SIP: So you mean you want to be able to *dial* something?
Jared Smith
jaredsmith at jaredsmith.net
Fri Feb 22 15:55:50 CST 2013
On Fri, Feb 22, 2013 at 8:19 AM, Joshua Colp <jcolp at digium.com> wrote:
> There's a new small and straight forward API in the SIP work for location.
> It allows querying for an AOR, getting contacts, adding contacts, and
> updating contacts. It's really a thin wrapper around the new sorcery API
> that adds automatic expiration of expired contacts and also static contacts.
> Since it's using sorcery all of this can be stored wherever someone wants it
> (flat file, local database, remote database, etc).
Awesome!
> Yes, you can have
> multiple contacts for an AOR. The underlying API does not forbid this. For
> external manipulation (a device registering) then the registrar would use
> this API and enforce any restrictions on contacts.
Very awesome! Can't wait to play with this.
> 1. Do we want my current usage options to go into the new SIP work?
Not really my call to make, but it sounds pretty good to me.
> 2. If not, how do we want to expose multiple contacts on an AOR?
I think it might be useful to have a dialplan function that returns an
array of contacts, and then you can use dialplan code to cycle through
them and do what you want with them.
> 3. If we don't want to, then do we even want to support multiple contacts
> (for different targets) on an AOR?
Yes, please.
--
Jared Smith
More information about the asterisk-dev
mailing list