VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
vazquez at cross-solut... Guest
|
Posted: Tue Jun 24, 2008 8:30 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Hi all,
I'm trying to implement such a scenario where the "Chef" picks up his
phone and his "secretary" can see that he is busy. Something like blf, I
guess. But so far I've only managed to notify the "secretary" that the
"chef" is receiving a call. I want to do it the other way around
though. I'd like for her to see in her phone, the light corresponding
to the "chef"'s extension light up whenever he uses the phone (also when
he picks it up if that's possible). So she should always know when he's
busy.
Is there a way to do that?
Thanks,
David |
|
Back to top |
|
|
gordon+asterisk at dro... Guest
|
Posted: Tue Jun 24, 2008 11:54 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
On Tue, 24 Jun 2008, Vazquez David wrote:
Quote: | Hi all,
I'm trying to implement such a scenario where the "Chef" picks up his
phone and his "secretary" can see that he is busy. Something like blf, I
guess.
|
It's like BLF because that's exactly what it's for..
Quote: | But so far I've only managed to notify the "secretary" that the
"chef" is receiving a call. I want to do it the other way around
though. I'd like for her to see in her phone, the light corresponding
to the "chef"'s extension light up whenever he uses the phone (also when
he picks it up if that's possible). So she should always know when he's
busy.
|
Quote: | Is there a way to do that?
|
Yes. Configure hints in asterisk and BLF in the secretarys phone.
I don't understand how you get notifications one way, but not the other
though (unless you're doing it by not using BLF)
What phones have you got? What do your hints look like in the
extensions.conf file?
You can't get the status of lifting the handset on a SIP phone though
(well, not that I'm aware of)
However, if it's an analogue phone on a TDM400 card (or equivalent, I
guess) then it does work and the BLF LED on my Grandstream phone turns Red
as soon as I take the analogue phone off-hook...
So BLF is what you want, and optionally an analogue phone +TDM card for
the boss...
Gordon |
|
Back to top |
|
|
vazquez at cross-solut... Guest
|
Posted: Wed Jun 25, 2008 7:03 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Grygoriy Dobrovolskyy wrote:
Quote: | To see? how? what phone do you use?
Snoms imprement that, you got BLINKING and ON state
BLINKING=calling or being called
ON=on the phone
2008/6/24 Vazquez David <vazquez at cross-solution.de
<mailto:vazquez at cross-solution.de>>:
Hi all,
I'm trying to implement such a scenario where the "Chef" picks up his
phone and his "secretary" can see that he is busy. Something like
blf, I
guess. But so far I've only managed to notify the "secretary" that the
"chef" is receiving a call. I want to do it the other way around
though. I'd like for her to see in her phone, the light corresponding
to the "chef"'s extension light up whenever he uses the phone
(also when
he picks it up if that's possible). So she should always know
when he's
busy.
Is there a way to do that?
Thanks,
David
_______________________________________________
-- 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
------------------------------------------------------------------------
_______________________________________________
-- 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
| I use Snoms. I know there's the feature. I just don't know how to use
it, and there's so little documentation on the web.. Anyway, with "see"
I meant that the "secretary"'s phone would have one of the function keys
"on" whenever the "chef" is on the phone (also when he picks it up,
right before dialing). Until now I've only managed to make both phones
blink on incoming calls. But that's not what I want and I could've done
that with "extension => 11,1,Dial(SIP/11&SIP/12&SIP/13...)". |
|
Back to top |
|
|
vazquez at cross-solut... Guest
|
Posted: Wed Jun 25, 2008 7:10 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Gordon Henderson wrote:
Quote: | On Tue, 24 Jun 2008, Vazquez David wrote:
Quote: | Hi all,
I'm trying to implement such a scenario where the "Chef" picks up his
phone and his "secretary" can see that he is busy. Something like blf, I
guess.
|
It's like BLF because that's exactly what it's for..
Quote: | But so far I've only managed to notify the "secretary" that the
"chef" is receiving a call. I want to do it the other way around
though. I'd like for her to see in her phone, the light corresponding
to the "chef"'s extension light up whenever he uses the phone (also when
he picks it up if that's possible). So she should always know when he's
busy.
|
Quote: | Is there a way to do that?
|
Yes. Configure hints in asterisk and BLF in the secretarys phone.
I don't understand how you get notifications one way, but not the other
though (unless you're doing it by not using BLF)
What phones have you got? What do your hints look like in the
extensions.conf file?
You can't get the status of lifting the handset on a SIP phone though
(well, not that I'm aware of)
However, if it's an analogue phone on a TDM400 card (or equivalent, I
guess) then it does work and the BLF LED on my Grandstream phone turns Red
as soon as I take the analogue phone off-hook...
So BLF is what you want, and optionally an analogue phone +TDM card for
the boss...
Gordon
_______________________________________________
-- 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
| My hints on extensions.conf:
? [exten15]
? include = numberplan-custom-1
? exten => 11,hint,SIP/12&SIP/11
Where numberplan-custom-1 defines the general rules to dial any
extension. And the secretary's phone (SIP/15) is subscribed to the
context [exten15]. Now, I don't know if that's the right way of doing it
(I'm a total n00b, you can tell, huh?).
Oh, and I'm using Snoms. All Snoms. If there's not the possibility of
knowing when a phone is lifted up, no problem...
Thanks |
|
Back to top |
|
|
mjc at avtechpulse.com Guest
|
Posted: Wed Jun 25, 2008 7:28 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Quote: | I use Snoms. I know there's the feature. I just don't know how to use
it, and there's so little documentation on the web.. Anyway, with "see"
I meant that the "secretary"'s phone would have one of the function keys
"on" whenever the "chef" is on the phone (also when he picks it up,
right before dialing). Until now I've only managed to make both phones
blink on incoming calls. But that's not what I want and I could've done
that with "extension => 11,1,Dial(SIP/11&SIP/12&SIP/13...)".
|
This should be very easy. Use something like:
exten => 602,1,Dial(SIP/boss_office&SIP/boss_home,20,trj)
exten => 602,2,Voicemail(u602 at internal)
exten => 602,102,Voicemail(b602 at internal)
exten => 602,hint,SIP/boss_office&SIP/boss_home
exten => 603,1,Dial(SIP/secretary,20,trj)
exten => 603,2,Voicemail(u603 at internal)
exten => 603,102,Voicemail(b603 at internal)
exten => 603,hint,SIP/secretary
and set snom function keys to extensions 602 and 603. (Some firmware
versions say "Destination" instead of extension, I think.)
- Mike |
|
Back to top |
|
|
vazquez at cross-solut... Guest
|
Posted: Wed Jun 25, 2008 7:44 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Dr. Michael J. Chudobiak wrote:
Quote: | Quote: | I use Snoms. I know there's the feature. I just don't know how to use
it, and there's so little documentation on the web.. Anyway, with "see"
I meant that the "secretary"'s phone would have one of the function keys
"on" whenever the "chef" is on the phone (also when he picks it up,
right before dialing). Until now I've only managed to make both phones
blink on incoming calls. But that's not what I want and I could've done
that with "extension => 11,1,Dial(SIP/11&SIP/12&SIP/13...)".
|
This should be very easy. Use something like:
exten => 602,1,Dial(SIP/boss_office&SIP/boss_home,20,trj)
exten => 602,2,Voicemail(u602 at internal)
exten => 602,102,Voicemail(b602 at internal)
exten => 602,hint,SIP/boss_office&SIP/boss_home
exten => 603,1,Dial(SIP/secretary,20,trj)
exten => 603,2,Voicemail(u603 at internal)
exten => 603,102,Voicemail(b603 at internal)
exten => 603,hint,SIP/secretary
and set snom function keys to extensions 602 and 603. (Some firmware
versions say "Destination" instead of extension, I think.)
- Mike
_______________________________________________
-- 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
| Thanks, I'll try that in a few hours... |
|
Back to top |
|
|
vazquez at cross-solut... Guest
|
Posted: Wed Jun 25, 2008 7:48 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Grygoriy Dobrovolskyy wrote:
Quote: | ok, so do you configured you snom phone tu subscribe to monito
extension in asterisk ?
It is simple to verify:
core show hints
Snom's behave exactly like you want when blf enabled.
2008/6/25 Vazquez David <vazquez at cross-solution.de
<mailto:vazquez at cross-solution.de>>:
Gordon Henderson wrote:
Quote: | On Tue, 24 Jun 2008, Vazquez David wrote:
Quote: | Hi all,
I'm trying to implement such a scenario where the "Chef" picks
|
| up his
Quote: | Quote: | phone and his "secretary" can see that he is busy. Something
|
| like blf, I
Quote: |
It's like BLF because that's exactly what it's for..
Quote: | But so far I've only managed to notify the "secretary" that the
"chef" is receiving a call. I want to do it the other way around
though. I'd like for her to see in her phone, the light
|
| corresponding
Quote: | Quote: | to the "chef"'s extension light up whenever he uses the phone
|
| (also when
Quote: | Quote: | he picks it up if that's possible). So she should always know
|
| when he's
Quote: |
Quote: | Is there a way to do that?
|
Yes. Configure hints in asterisk and BLF in the secretarys phone.
I don't understand how you get notifications one way, but not
| the other
Quote: | though (unless you're doing it by not using BLF)
What phones have you got? What do your hints look like in the
extensions.conf file?
You can't get the status of lifting the handset on a SIP phone
| though
Quote: | (well, not that I'm aware of)
However, if it's an analogue phone on a TDM400 card (or
| equivalent, I
Quote: | guess) then it does work and the BLF LED on my Grandstream phone
| turns Red
Quote: | as soon as I take the analogue phone off-hook...
So BLF is what you want, and optionally an analogue phone +TDM
| card for
Quote: | the boss...
Gordon
_______________________________________________
-- Bandwidth and Colocation Provided by
| http://www.api-digital.com --
My hints on extensions.conf:
? [exten15]
? include = numberplan-custom-1
? exten => 11,hint,SIP/12&SIP/11
Where numberplan-custom-1 defines the general rules to dial any
extension. And the secretary's phone (SIP/15) is subscribed to the
context [exten15]. Now, I don't know if that's the right way of
doing it
(I'm a total n00b, you can tell, huh?).
Oh, and I'm using Snoms. All Snoms. If there's not the possibility of
knowing when a phone is lifted up, no problem...
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
------------------------------------------------------------------------
_______________________________________________
-- 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-us
|
You mean like, from the web interface (Snom's) configure a function key
to an extension? I guess so. I configured a function key to be mapped to
an identity and then, instead of line, I told it to be an extension.
Finally I wrote the extension I wanted to monitor...
Anyways, in a couple of hours I'll try it again... Thanks for the help |
|
Back to top |
|
|
rob at hillis.dyndns.org Guest
|
Posted: Wed Jun 25, 2008 7:52 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Can I assume you're using Asterisk 1.4 and that you've configured your
phones as peers?
If this is the case, then you need to set limitonpeers to yes and
call-limit to some value in sip.conf. Once this has been done, you
should find that BLF behaves as you expect.
Vazquez David wrote:
Quote: | Hi all,
I'm trying to implement such a scenario where the "Chef" picks up his
phone and his "secretary" can see that he is busy. Something like blf, I
guess. But so far I've only managed to notify the "secretary" that the
"chef" is receiving a call. I want to do it the other way around
though. I'd like for her to see in her phone, the light corresponding
to the "chef"'s extension light up whenever he uses the phone (also when
he picks it up if that's possible). So she should always know when he's
busy.
Is there a way to do that?
Thanks,
David
_______________________________________________
-- 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
!DSPAM:4860fae540252026166755!
|
|
|
Back to top |
|
|
vazquez at cross-solut... Guest
|
Posted: Wed Jun 25, 2008 8:10 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Rob Hillis wrote:
Quote: | Can I assume you're using Asterisk 1.4 and that you've configured your
phones as peers?
If this is the case, then you need to set limitonpeers to yes and
call-limit to some value in sip.conf. Once this has been done, you
should find that BLF behaves as you expect.
Vazquez David wrote:
Quote: | Hi all,
I'm trying to implement such a scenario where the "Chef" picks up his
phone and his "secretary" can see that he is busy. Something like blf, I
guess. But so far I've only managed to notify the "secretary" that the
"chef" is receiving a call. I want to do it the other way around
though. I'd like for her to see in her phone, the light corresponding
to the "chef"'s extension light up whenever he uses the phone (also when
he picks it up if that's possible). So she should always know when he's
busy.
Is there a way to do that?
Thanks,
David
_______________________________________________
-- 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
!DSPAM:4860fae540252026166755!
|
_______________________________________________
-- 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
| Yes, I'm using 1.4. And I don't really use sip.conf, but have all my
phones on users.conf. Should I put limitonpeers and call-limit on the
general section of sip.conf? or on each entry in users.conf?
Thanks |
|
Back to top |
|
|
rob at hillis.dyndns.org Guest
|
Posted: Wed Jun 25, 2008 9:22 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Vazquez David wrote:
Quote: | Yes, I'm using 1.4. And I don't really use sip.conf, but have all my
phones on users.conf. Should I put limitonpeers and call-limit on the
general section of sip.conf? or on each entry in users.conf
| [general] should be sufficient, so long as having them set as default
for all your connections isn't a problem. |
|
Back to top |
|
|
vazquez at cross-solut... Guest
|
Posted: Wed Jun 25, 2008 10:19 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Thankyou all! I think I've got it working |
|
Back to top |
|
|
vazquez at cross-solut... Guest
|
Posted: Wed Jun 25, 2008 10:36 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
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 |
|
Back to top |
|
|
klaus.mailinglists at ... Guest
|
Posted: Thu Jun 26, 2008 6:23 am Post subject: [asterisk-users] Chef-secretary scenario |
|
|
Grygoriy Dobrovolskyy schrieb:
Quote: | 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.
|
It works (at least with asterisk 1.2) by patching Asterisk with
bristuff. bristuff implement this feature.
regards
klaus
Quote: |
2008/6/25 Vazquez David <vazquez at cross-solution.de
<mailto: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
------------------------------------------------------------------------
_______________________________________________
-- 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 |
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|