[asterisk-users] Chef-secretary scenario
Grygoriy Dobrovolskyy
megahohol at gmail.com
Wed Jun 25 11:10:38 CDT 2008
You have 2 choices to pickup someone's phone with snom's
1: imagine yourself prefix of pickup, let's say 4
exten=>4XX,1,Pickup(${EXTEN}@context)
so if u call 4 + phone number you will pickup that one.
Second you can add pickupgroup=number for each phone you want to be in the
group, and add a dtmf button on snom with string set in features.conf
(pickup)
To answer you next question: Yes i would be nice to pickup a phone by
pressing blinking button on snom,and use that button fo call when ext is out
of use, but i dont know the way to make asterisk doing that.
2008/6/25 Vazquez David <vazquez at cross-solution.de>:
> Though I wonder...
>
> The scenario is as follows:
>
> I have 4 phones with the following extensions:
> 11 (SIP/11)
> 12 (SIP/12)
> 13 (SIP/13)
> 15 (SIP/15)
>
> Whenever SIP/11 receives a call, it hints the other phones. Is it
> possible to pick up that call from one of them?
>
> The relevant part of my extensions.conf looks as this now:
>
> [macro-stdexten];
> ;
> ; Standard extension macro:
> ; ${ARG1} - Extension (we could have used ${MACRO_EXTEN} here as well
> ; ${ARG2} - Device(s) to ring
> ;
> exten => s,1,Dial(${ARG2},20) ; Ring the interface, 20 seconds maximum
> exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status
> (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
> exten => s,hint,SIP/11
> exten => 11,hint,SIP/12&SIP/13&SIP/15
> exten => s-NOANSWER,1,Voicemail(${ARG1},u) ; If unavailable, send to
> voicemail w/ unavail announce
> exten => s-NOANSWER,2,Goto(default,s,1) ; If they press #, return to start
> exten => s-BUSY,1,Voicemail(${ARG1},b) ; If busy, send to voicemail w/
> busy announce
> exten => s-BUSY,2,Goto(default,s,1) ; If they press #, return to start
> exten => _s-.,1,Goto(s-NOANSWER,1) ; Treat anything else as no answer
> exten => a,1,VoicemailMain(${ARG1}) ; If they press *, send the user
> into VoicemailMain
>
> Thanks :-)
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080625/76815576/attachment.htm
More information about the asterisk-users
mailing list