Do you mean the DNIS?
(*${RDNIS}*: The current redirecting
DNIS<http://www.voip-info.org/wiki/view/DNIS>,
Caller ID that redirected the call. Limitations apply, see
RDNIS<http://www.voip-info.org/wiki/view/RDNIS>
)
On Mon, Mar 16, 2009 at 1:58 PM, Bruce N <[email protected]> wrote:
>
> Variable ${EXTEN} shows or sets Current Extension. Is there a variable for
> Source Extension?
>
> Thanks
>
> ----------------------------------------
> > From: [email protected]
> > To: [email protected]
> > CC: [email protected]
> > Date: Mon, 16 Mar 2009 13:31:38 -0400
> > Subject: RE: [on-asterisk] How to run a shell script from Aastra keys
> >
> >
> > Thanks Juan,
> >
> > When using ${EXTEN}, I get:
> >
> > RemoveQueueMember("SIP/343-09ec5078", "500|Local/s...@from-internal/n")
> >
> >
> > Notice "s" instead of extension number! That should be the extension
> number. Why doesn't it insert extension number?
> >
> > Thanks,
> > Bruce
> >
> > ----------------------------------------
> >> From: [email protected]
> >> To: [email protected]
> >> CC: [email protected]
> >> Date: Mon, 16 Mar 2009 13:19:56 -0400
> >> Subject: RE: [on-asterisk] How to run a shell script from Aastra keys
> >>
> >> Hi,
> >>
> >> I believe you should use curly instead of square brackets. (${EXTEN}
> instead of $[EXTEN]).
> >>
> >> Juan.
> >>
> >> -----Original Message-----
> >> From: Bruce N [mailto:[email protected]]
> >> Sent: Monday, March 16, 2009 12:59 PM
> >> To: [email protected]
> >> Cc: asterisk Mailing
> >> Subject: RE: [on-asterisk] How to run a shell script from Aastra keys
> >>
> >>
> >> Hi Again,
> >>
> >> This seems to be working for me:
> >>
> >> [custom-queuelogmeon]
> >> exten => s,1,Answer()
> >> exten => s,n,AddQueueMember(500|Local/3...@from-internal/n)
> >> exten => s,n,Playback(agent-loginok)
> >> exten => s,n,Hangup()
> >>
> >> Where 500 is the Queue number and 343 is the extension. Keeing the
> format Local/3...@from-internal/n just because it works and I don't know
> why :)
> >>
> >> However, this is a custom context and I don't want to make one context
> for each extension. When I try this it fails:
> >>
> >> exten => s,n,AddQueueMember(500|Local/$[ext...@from-internal/n)
> >>
> >> Notice that I changed 343 to $[EXTEN]. This won't login or logoff. Any
> suggestions please?
> >>
> >>
> >> Thanks,
> >> Bruce
> >>
> >>
> >>
> >> ________________________________
> >>> From: [email protected]
> >>> To: [email protected]
> >>> CC: [email protected]
> >>> Subject: RE: [on-asterisk] How to run a shell script from Aastra keys
> >>> Date: Tue, 3 Mar 2009 16:04:36 -0500
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Thanks Andre, Jim, and Dave for the great input. Amazing suggestion.
> This works. But I am getting greedy now. How can I indicate to the user that
> Queue has been logged in? can I somehow turn the LED beside the soft key to
> ON after member is added? I know that a playback can be added but how about
> the LED?
> >>>
> >>>
> >>>
> >>> exten => 111,1,Answer()
> >>> exten => 111,n,AddQueueMember(techsupport|SIP/3000)
> >>> exten => 111,n,Playback(LoggedIN)
> >>>
> >>> exten => 111,n,Hangup()
> >>>
> >>>
> >>>
> >>> Thanks
> >>>
> >>>> Date: Tue, 3 Mar 2009 15:53:17 -0500
> >>>> From: [email protected]
> >>>> To: [email protected]
> >>>> CC: [email protected]
> >>>> Subject: Re: [on-asterisk] How to run a shell script from Aastra keys
> >>>>
> >>>> Why not do a speeddial that dials a special extension like this:
> >>>>
> >>>> exten => 111,1,Answer()
> >>>> exten => 111,n,AddQueueMember(techsupport|SIP/3000)
> >>>> exten => 111,n,Hangup()
> >>>>
> >>>> Andre Courchesne
> >>>> Concepteur Logiciel - Software Developer
> >>>> [email protected]
> >>>>
> >>>> PrivalODC Inc.
> >>>> 9955 ave Catania, local 145
> >>>> Brossard, QC
> >>>> J4Z 3V5
> >>>>
> >>>> Web.: http://www.prival.ca
> >>>> Tel.: (450) 761-9973 poste 635
> >>>> 1-866-761-9973
> >>>> Fax.: (450) 761-9842
> >>>>
> >>>> Ce message électronique ainsi que tous les documents annexés
> s'adressent
> >>>> exclusivement à la personne ou à l'entité inscrit dans la rubrique
> >>>> destinataire ; il peut contenir des renseignements de nature
> confidentielle
> >>>> ou privilégiée aux termes des lois applicables. Nulle autre personne
> ne
> >>>> doit y avoir accès. Si vous n'êtes pas le destinataire convenu, nous
> vous
> >>>> avisons par la présente qu'il est strictement interdit d'en divulguer
> le
> >>>> contenu, de le distribuer, le copier ou l' utiliser. Veuillez aviser
> >>>> l'expéditeur immédiatement par retour de courrier électronique et
> supprimer
> >>>> ce message de votre système. Toute diffusion ou reproduction de ce
> document
> >>>> ainsi que tout mesure prise à l'égard de la présente est formellement
> >>>> interdite.
> >>>>
> >>>> Merci de penser à l'environnement avant d'imprimer ce courriel.
> >>>>
> >>>>
> >>>> Bruce N wrote:
> >>>>> Hi Guys,
> >>>>>
> >>>>>
> >>>>>
> >>>>> Looking to run a simple one line file through Aastra 53i programable
> keys:
> >>>>>
> >>>>>
> >>>>>
> >>>>> asterisk -rx AddQueueMember(techsupport|SIP/3000)
> >>>>>
> >>>>>
> >>>>>
> >>>>> What is the simplest way to go about this?
> >>>>>
> >>>>>
> >>>>>
> >>>>> Also, does anyone know why the first two keys on Aastra 53i are
> reserverd for Save and Delete and can't be change via the Phone Web GUI?
> >>>>>
> >>>>>
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> Bruce
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> _________________________________________________________________
> >>>>> Experience all of the new features, and Reconnect with your life.
> >>>>> http://go.microsoft.com/?linkid=9650730
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: [email protected]
> >>>> For additional commands, e-mail: [email protected]
> >>>>
> >>>
> >>> ________________________________
> >>> Make your Messenger window look the way you want. Express Yourself!
> >> _________________________________________________________________
> >> Reinvent how you stay in touch with the new Windows Live Messenger.
> >> http://go.microsoft.com/?linkid=9650731
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> > _________________________________________________________________
> > Reunite with the people closest to you, chat face to face with Messenger.
> > http://go.microsoft.com/?linkid=9650736
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> _________________________________________________________________
> Reinvent how you stay in touch with the new Windows Live Messenger.
> http://go.microsoft.com/?linkid=9650731
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>