Re: [Asterisk-Users] Anyone parked in your Asterisk?

2005-11-22 Thread Erik

this is very welcome as i need to keep track of agent status using the SNOM BLF


Alexander Lopez wrote:
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:asterisk-users-
[EMAIL PROTECTED] On Behalf Of Olle E Johansson
Sent: Monday, November 21, 2005 1:13 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Anyone parked in your Asterisk?

Alexander Lopez wrote:


Does it hold state information for any channel? Even ZAP, IAX,
etc!!!

If it does, Olle, you have just placed us one step closer to being
 
 able
 
to emulate a Key system!!!



This fix is very focused on parking. Previous to this fix, we can
 
 check
 
device status
in chan_agent, chan_iax2 and chan_sip. show channeltypes tell you
which channels
in your Asterisk that support device status notification.

The ability to visually see parking lots has been asked for, and I
created this by adding
device status notification in chan_local (does an extension exist or
 
 not
 
in the active dialplan?)
and a notification system in res_features whenever parking adds or
removes an extension
- i.e. parks a call. It is a strange form of abstraction, but it works
 
 :-)
 
/O
___
 
 
 Since the state gets updated every time an event happens. Event being
 placing or receiving a call.
 
 Would it be a good idea to add this to the IsChanAvail application (such
 as IsExtenAvail)?? That would give us a channel independent application
 to update the notification system. It would put more work into the
 dialplan but it could be handled by a macro for the lazy...  
 
 Or am I just not understanding the notification idea.
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Anyone parked in your Asterisk?

2005-11-21 Thread Olle E. Johansson
Based on a discussion on the IRC a long time ago (several days) I've
created a patch for 1.2 in the bug tracker that allows you to see if a
parking lot is occupied or not - provided you use the Flash panel or SIP
subscriptions.

What you do:
* Patch the 1.2 source with the patch in
  http://bugs.digium.com/view.php?id=5779

* Add an extension in your dialplan with a hint that uses the local
  channel (yes, the patch adds device state to the local channel)

  exten= 100,hint,local/[EMAIL PROTECTED]

* Add a subscription to this extension in a SIP phone, like Eye-beam

* As soon as there's a call parked on that parking log (701), you will
  see it visually - how depends on the phone.

This hack possibly have other uses as well, feel free to explore.
If it doesn't work, tell me more in the bug tracker. If it does work,
tell me about it in the bug tracker.

/O
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Anyone parked in your Asterisk?

2005-11-21 Thread Alexander Lopez
 
Does it hold state information for any channel? Even ZAP, IAX,
etc!!!

If it does, Olle, you have just placed us one step closer to being able
to emulate a Key system!!!

 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Olle E. Johansson
 Sent: Monday, November 21, 2005 11:45 AM
 To: Users Asterisk
 Subject: [Asterisk-Users] Anyone parked in your Asterisk?
 
 Based on a discussion on the IRC a long time ago (several 
 days) I've created a patch for 1.2 in the bug tracker that 
 allows you to see if a parking lot is occupied or not - 
 provided you use the Flash panel or SIP subscriptions.
 
 What you do:
 * Patch the 1.2 source with the patch in
   http://bugs.digium.com/view.php?id=5779
 
 * Add an extension in your dialplan with a hint that uses the local
   channel (yes, the patch adds device state to the local channel)
 
   exten= 100,hint,local/[EMAIL PROTECTED]
 
 * Add a subscription to this extension in a SIP phone, like Eye-beam
 
 * As soon as there's a call parked on that parking log (701), you will
   see it visually - how depends on the phone.
 
 This hack possibly have other uses as well, feel free to explore.
 If it doesn't work, tell me more in the bug tracker. If it 
 does work, tell me about it in the bug tracker.
 
 /O
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Anyone parked in your Asterisk?

2005-11-21 Thread BJ Weschke
On 11/21/05, Alexander Lopez [EMAIL PROTECTED] wrote:

 Does it hold state information for any channel? Even ZAP, IAX,
 etc!!!

 If it does, Olle, you have just placed us one step closer to being able
 to emulate a Key system!!!


  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  Olle E. Johansson
  Sent: Monday, November 21, 2005 11:45 AM
  To: Users Asterisk
  Subject: [Asterisk-Users] Anyone parked in your Asterisk?
 
  Based on a discussion on the IRC a long time ago (several
  days) I've created a patch for 1.2 in the bug tracker that
  allows you to see if a parking lot is occupied or not -
  provided you use the Flash panel or SIP subscriptions.
 
  What you do:
  * Patch the 1.2 source with the patch in
http://bugs.digium.com/view.php?id=5779
 
  * Add an extension in your dialplan with a hint that uses the local
channel (yes, the patch adds device state to the local channel)
 
exten= 100,hint,local/[EMAIL PROTECTED]
 
  * Add a subscription to this extension in a SIP phone, like Eye-beam
 
  * As soon as there's a call parked on that parking log (701), you will
see it visually - how depends on the phone.
 
  This hack possibly have other uses as well, feel free to explore.
  If it doesn't work, tell me more in the bug tracker. If it
  does work, tell me about it in the bug tracker.
 

 I believe it holds state information for parked channels by using the
Local channel to get at the status of the parked extensions. It's a
very nice new feature, no doubt.

--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Anyone parked in your Asterisk?

2005-11-21 Thread Olle E Johansson

Alexander Lopez wrote:



Does it hold state information for any channel? Even ZAP, IAX,
etc!!!

If it does, Olle, you have just placed us one step closer to being able
to emulate a Key system!!!
 

This fix is very focused on parking. Previous to this fix, we can check 
device status
in chan_agent, chan_iax2 and chan_sip. show channeltypes tell you 
which channels

in your Asterisk that support device status notification.

The ability to visually see parking lots has been asked for, and I 
created this by adding
device status notification in chan_local (does an extension exist or not 
in the active dialplan?)
and a notification system in res_features whenever parking adds or 
removes an extension

- i.e. parks a call. It is a strange form of abstraction, but it works :-)

/O
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Anyone parked in your Asterisk?

2005-11-21 Thread Alexander Lopez


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Olle E Johansson
 Sent: Monday, November 21, 2005 1:13 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] Anyone parked in your Asterisk?
 
 Alexander Lopez wrote:
 
 
 Does it hold state information for any channel? Even ZAP, IAX,
 etc!!!
 
 If it does, Olle, you have just placed us one step closer to being
able
 to emulate a Key system!!!
 
 
 This fix is very focused on parking. Previous to this fix, we can
check
 device status
 in chan_agent, chan_iax2 and chan_sip. show channeltypes tell you
 which channels
 in your Asterisk that support device status notification.
 
 The ability to visually see parking lots has been asked for, and I
 created this by adding
 device status notification in chan_local (does an extension exist or
not
 in the active dialplan?)
 and a notification system in res_features whenever parking adds or
 removes an extension
 - i.e. parks a call. It is a strange form of abstraction, but it works
:-)
 
 /O
 ___

Since the state gets updated every time an event happens. Event being
placing or receiving a call.

Would it be a good idea to add this to the IsChanAvail application (such
as IsExtenAvail)?? That would give us a channel independent application
to update the notification system. It would put more work into the
dialplan but it could be handled by a macro for the lazy...  

Or am I just not understanding the notification idea.
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users