[Asterisk-Users] Re: Agents <--> Extensions
Shaun
mailinglists at unix-scripts.com
Wed Apr 26 03:06:56 MST 2006
Just incase anybody else cares in teh future, this was my solution for
number 1. ${EXTEN} is set to the agent id
exten => _2XX,2,Set(AE=${DB(/Agents/${EXTEN})})
in my case my phone was labeled 300 so AE was set to 300 at default;300
--
~Shaun
"Shaun" <mailinglists at unix-scripts.com> wrote in message
news:e2med8$8mv$1 at sea.gmane.org...
> How can I do the following 2 things in my dialplan?
>
> 1. find out what extension a agent is assigned to by agent id.
>
> 2. find out what agent is assigned to a extension by extension id.
>
> Anybody know how to do this? I read some where that I might have to pull
> it from the db. Example code is a plus :)
>
> --
>
> ~Shaun
>
>
> _______________________________________________
> --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