Re: [Asterisk-Users] Already on the phone?

2003-10-29 Thread Paul Liew
Michael,

A couple of things - having a quick look at the app_ChanIsAvail code - it
seems that it is designed for Zap devices, so using them on any SIP phones
would not provide the expected result. Secondly, which SIP phone are you
using, I can't put calls on hold and make further calls without parking
them. In either case, I suspect the call has been palmed off to asterisk,
otherwise you wouldn't be able to make further outgoing calls (the incoming
limit would block it). The inuse limit would apply while you are actually in
a call. Does it work when you take the original call back off hold ??

I think having the ability to change the incominglimit from the dialplan
might be a good idea, but I think prior to any discussion on that, this
patch would have to be proven to work reliably and if approved by Digium -
put into the CVS.

Paul

 I put it on hold and placed a few other calls. Then I see:
 pbx1*CLI sip show inuse
 UsernameincomingLimit   outgoingLimit
 12125550011 0   N/A 0   N/A
 1212555 0   N/A 0   N/A
 1212555 0   N/A 0   N/A
 12125550029 0   N/A 0   N/A
 12125550012 0   N/A 0   N/A
 1212555 0   1   0   N/A
 12125550028 0   N/A 0   N/A
 12125550014 0   N/A 0   N/A

 So it looses status of existing call somehow. Now callwaiting is
 there again. It seems that the status is lost after calling chanisavail
 application, although I'm not sure about that.
 Also if I can make a suggestion it would be great not to have
 incominglimit set statically per client, but have an application
 to change it from dialplan (have no idea how hard it is to implement).
 If there are other ways to check if the line is already in use or
 turn on/off callwaiting on SIP clients, that would also be very
 nice and desirable feature.
 Thanks.

 Michael

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Already on the phone?

2003-10-28 Thread Michael Ulitskiy
Hi,

I'm wondering if there's a way within a dialplan or AGI to find out 
if an extension (SIP client) is already in use and the 
person is already on the phone?
By default the channel is assumed available and callwaiting tone
is transmitted to the called extension. AFAIK there's no way to turn
off callwaiting from within the dialplan. 
I need to avoid the callwaiting behavior in some cases and pass the
call to another extension if called extension is already in use. Is this
possible with asterisk? 
I've tried chanisavail application, but since callwaiting is enabled it
always returns true.
Thanks.

Michael

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Already on the phone?

2003-10-28 Thread Paul Liew
Michael,

I've added a patch a week ago on to bugtracker to fix this - feel free to
try it and let me know

http://bugs.digium.com/bug_view_page.php?bug_id=408

Paul
- Original Message - 
From: Michael Ulitskiy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:31 AM
Subject: [Asterisk-Users] Already on the phone?


 Hi,

 I'm wondering if there's a way within a dialplan or AGI to find out
 if an extension (SIP client) is already in use and the
 person is already on the phone?
 By default the channel is assumed available and callwaiting tone
 is transmitted to the called extension. AFAIK there's no way to turn
 off callwaiting from within the dialplan.
 I need to avoid the callwaiting behavior in some cases and pass the
 call to another extension if called extension is already in use. Is this
 possible with asterisk?
 I've tried chanisavail application, but since callwaiting is enabled it
 always returns true.
 Thanks.

 Michael

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users