On Thu, 2006-11-02 at 08:16 +0200, Stephen Davies wrote:
> On 01/11/06, John Lange <[EMAIL PROTECTED]> wrote:
> > I think Asterisk could stand to have a (much?) expanded set of internal
> > variables accessible in the dialplan.
> >
> > Just one simple example would be the username of the calling party (when
> > available). Doing dialplan logic based on callerid is sometimes very
> > problematic.
> 
> I agree with both your points.
> 
> Nevertheless, it is easy to get channel variables set on the channel
> for things like the username.
> 
> For instance, the "setvar" option in a SIP peer/user/friend entry
> allows you to pass on the peer that the call came from.  (And/or,
> "accountcode").

Would you mind expanding on that a little? Perhaps I'm missing something
obvious? Please post an example if you can.

John


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to