Re: [asterisk-users] BLF functionality

2008-08-14 Thread Dan Peters
Thanks Everyone for all of the help.  We got the lamps working on a test
1.4 server.  We will now try to port the changes over to our production
1.2 server.

Just like Sean wrote our 'general' section lines were not in the
'general' section.  Now they are.

Thanks, Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Fullerton
Sent: Wednesday, August 13, 2008 12:07 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] BLF functionality

Sean Dennis wrote:
 I find it amazing how often I find myself stuck on a problem and then

 someone else posts a question about it to the list. I am in the same 
 boat with the OP (although I never thought to test incoming calls
until 
 I read his message). If I call a phone it will show busy, however if
I 
 make a call from that phone it still shows as idle. I've set
call-limit 
 and limitonpeers and restarted asterisk but still no joy. What am I 
 missing? I'm running 1.4.21.2

 Relevant sip.conf:

 [lan-soundpointip](!)
 type=friend
 host=dynamic
 disallow=all
 allow=ulaw
 dtmfmode=rfc2833
 qualify=no
 call-limit=10
 limitonpeers=yes

 [3900](lan-soundpointip)
 username=3900
 secret=sdjghdfkjhgdf
 context=phone-operator
 callerid=Operator 3900

 [3917](lan-soundpointip)
 username=3917
 secret=dfkghdjfhdkfd
 context=phone-isdept
 callerid=Dave Fullerton 3917
 mailbox=3117

   
 In my general section of my sip.conf I have:
 
 allowsubscribe=yes
 notifyringing=yes
 limitonpeer=yes
 notifyhold=yes
 
 and it works both ways.
 

The problem was I had limitonpeers in the wrong place. I didn't have it 
set in the [general] section, only on the peers/users. If I had bothered

to search the sample sip.conf file before hand I would have seen that.

Thanks.

-Dave

___
-- 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


Re: [asterisk-users] BLF functionality

2008-08-13 Thread Johansson Olle E


13 aug 2008 kl. 00.45 skrev Dan Peters:

We have had Asterisk up and running for a while now and it works  
very well.  Recently we tried to integrate a Linsys SPA962 with the  
associated SPA932 console.  We can get the BLF lights to blink when  
a phone is ringing and we can get the BLF lights to go solid when  
that call is picked up.  My question is about the BLF for the phone  
that placed the call.  Is the BLF supposed to light up when the  
handset is picked up and a dial tone is heard?  Right now that is  
not happening.  The BLF lights only seem to operate for phones that  
are RECEIVING calls and not MAKING them.


It all depends on the version of Asterisk you are using. In Asterisk  
1.4, there's an option called limitonpeers that will

make sure that both incoming and outgoing calls are accounted for.

The subscription only checks the peer part of a SIP type=friend. With  
limitonpeers set, Asterisk only uses the peer

call counter for both incoming and outgoing calls.

In Asterisk 1.6.0 beta, there's an additional setting for setting a  
busy level, allowing for a few more calls while still

busy - in order to allow call transfers while on the phone.

In Asterisk SVN trunk the user object is removed and the problem  
doesn't exist any more.


/O

smime.p7s
Description: S/MIME cryptographic signature
___
-- 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

Re: [asterisk-users] BLF functionality

2008-08-13 Thread Dave Fullerton
Johansson Olle E wrote:
 
 13 aug 2008 kl. 00.45 skrev Dan Peters:
 
 We have had Asterisk up and running for a while now and it works very 
 well.  Recently we tried to integrate a Linsys SPA962 with the 
 associated SPA932 console.  We can get the BLF lights to blink when a 
 phone is ringing and we can get the BLF lights to go solid when that 
 call is picked up.  My question is about the BLF for the phone that 
 placed the call.  Is the BLF supposed to light up when the handset is 
 picked up and a dial tone is heard?  Right now that is not happening.  
 The BLF lights only seem to operate for phones that are RECEIVING 
 calls and not MAKING them.

 It all depends on the version of Asterisk you are using. In Asterisk 
 1.4, there's an option called limitonpeers that will
 make sure that both incoming and outgoing calls are accounted for.
 
 The subscription only checks the peer part of a SIP type=friend. With 
 limitonpeers set, Asterisk only uses the peer
 call counter for both incoming and outgoing calls.
 
 In Asterisk 1.6.0 beta, there's an additional setting for setting a busy 
 level, allowing for a few more calls while still
 busy - in order to allow call transfers while on the phone.
 
 In Asterisk SVN trunk the user object is removed and the problem doesn't 
 exist any more.
 

I find it amazing how often I find myself stuck on a problem and then 
someone else posts a question about it to the list. I am in the same 
boat with the OP (although I never thought to test incoming calls until 
I read his message). If I call a phone it will show busy, however if I 
make a call from that phone it still shows as idle. I've set call-limit 
and limitonpeers and restarted asterisk but still no joy. What am I 
missing? I'm running 1.4.21.2

Relevant sip.conf:

[lan-soundpointip](!)
type=friend
host=dynamic
disallow=all
allow=ulaw
dtmfmode=rfc2833
qualify=no
call-limit=10
limitonpeers=yes

[3900](lan-soundpointip)
username=3900
secret=sdjghdfkjhgdf
context=phone-operator
callerid=Operator 3900

[3917](lan-soundpointip)
username=3917
secret=dfkghdjfhdkfd
context=phone-isdept
callerid=Dave Fullerton 3917
mailbox=3117

___
-- 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


Re: [asterisk-users] BLF functionality

2008-08-13 Thread Sean Dennis


 I find it amazing how often I find myself stuck on a problem and then 
 someone else posts a question about it to the list. I am in the same 
 boat with the OP (although I never thought to test incoming calls until 
 I read his message). If I call a phone it will show busy, however if I 
 make a call from that phone it still shows as idle. I've set call-limit 
 and limitonpeers and restarted asterisk but still no joy. What am I 
 missing? I'm running 1.4.21.2

 Relevant sip.conf:

 [lan-soundpointip](!)
 type=friend
 host=dynamic
 disallow=all
 allow=ulaw
 dtmfmode=rfc2833
 qualify=no
 call-limit=10
 limitonpeers=yes

 [3900](lan-soundpointip)
 username=3900
 secret=sdjghdfkjhgdf
 context=phone-operator
 callerid=Operator 3900

 [3917](lan-soundpointip)
 username=3917
 secret=dfkghdjfhdkfd
 context=phone-isdept
 callerid=Dave Fullerton 3917
 mailbox=3117

   
In my general section of my sip.conf I have:

allowsubscribe=yes
notifyringing=yes
limitonpeer=yes
notifyhold=yes

and it works both ways.


___
-- 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


Re: [asterisk-users] BLF functionality

2008-08-13 Thread Dave Fullerton
Sean Dennis wrote:
 I find it amazing how often I find myself stuck on a problem and then 
 someone else posts a question about it to the list. I am in the same 
 boat with the OP (although I never thought to test incoming calls until 
 I read his message). If I call a phone it will show busy, however if I 
 make a call from that phone it still shows as idle. I've set call-limit 
 and limitonpeers and restarted asterisk but still no joy. What am I 
 missing? I'm running 1.4.21.2

 Relevant sip.conf:

 [lan-soundpointip](!)
 type=friend
 host=dynamic
 disallow=all
 allow=ulaw
 dtmfmode=rfc2833
 qualify=no
 call-limit=10
 limitonpeers=yes

 [3900](lan-soundpointip)
 username=3900
 secret=sdjghdfkjhgdf
 context=phone-operator
 callerid=Operator 3900

 [3917](lan-soundpointip)
 username=3917
 secret=dfkghdjfhdkfd
 context=phone-isdept
 callerid=Dave Fullerton 3917
 mailbox=3117

   
 In my general section of my sip.conf I have:
 
 allowsubscribe=yes
 notifyringing=yes
 limitonpeer=yes
 notifyhold=yes
 
 and it works both ways.
 

The problem was I had limitonpeers in the wrong place. I didn't have it 
set in the [general] section, only on the peers/users. If I had bothered 
to search the sample sip.conf file before hand I would have seen that.

Thanks.

-Dave

___
-- 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


[asterisk-users] BLF functionality

2008-08-12 Thread Dan Peters
We have had Asterisk up and running for a while now and it works very
well.  Recently we tried to integrate a Linsys SPA962 with the
associated SPA932 console.  We can get the BLF lights to blink when a
phone is ringing and we can get the BLF lights to go solid when that
call is picked up.  My question is about the BLF for the phone that
placed the call.  Is the BLF supposed to light up when the handset is
picked up and a dial tone is heard?  Right now that is not happening.
The BLF lights only seem to operate for phones that are RECEIVING calls
and not MAKING them.

 

Thanks,

 

Dan Peters

___
-- 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

Re: [asterisk-users] BLF functionality

2008-08-12 Thread Paul Hales

There is no BLF state for 'off hook' (at least in Asterisk) - so what 
you have here is what you are going to get.

regards,

PaulH


Dan Peters wrote:

 We have had Asterisk up and running for a while now and it works very 
 well.  Recently we tried to integrate a Linsys SPA962 with the 
 associated SPA932 console.  We can get the BLF lights to blink when a 
 phone is ringing and we can get the BLF lights to go solid when that 
 call is picked up.  My question is about the BLF for the phone that 
 placed the call.  Is the BLF supposed to light up when the handset is 
 picked up and a dial tone is heard?  Right now that is not happening.  
 The BLF lights only seem to operate for phones that are RECEIVING 
 calls and not MAKING them.

  

 Thanks,

  

 Dan Peters

 

 ___
 -- 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


Re: [asterisk-users] BLF functionality

2008-08-12 Thread Rob Hillis
Dan Peters wrote:

 We have had Asterisk up and running for a while now and it works very 
 well.  Recently we tried to integrate a Linsys SPA962 with the 
 associated SPA932 console.  We can get the BLF lights to blink when a 
 phone is ringing and we can get the BLF lights to go solid when that 
 call is picked up.  My question is about the BLF for the phone that 
 placed the call.  Is the BLF supposed to light up when the handset is 
 picked up and a dial tone is heard?  Right now that is not happening.  
 The BLF lights only seem to operate for phones that are RECEIVING 
 calls and not MAKING them.


Asterisk can only detect when a call has been placed.  Once the call has 
been made and the other end is ringing, is the calling extension showing up?

If not, I've seen this problem before with Asterisk 1.4.  You need to 
ensure that the following configuration items are set in sip.conf:-

* call-limit must be set for every extension.  Usually set this to a
  large arbitrary number such as 100. (or 1 if you don't want
  another call to be received when the extension is on the phone)
* notifyringing should be set to yes.
* If you're using RealTime, ensure you have both rtcachefriends and
  rtupdate set to yes.
* limitonpeers must be set to yes if you're using type=peer. (this
  is the most likely culprit since it's missing from the default
  config files)


___
-- 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