VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
gergo at csibra.hu Guest
|
Posted: Sat Feb 09, 2008 4:29 am Post subject: [asterisk-users] How to detect if SIP extension BUSY? |
|
|
Hi,
My problem is in subject. As I read in documentations and
voip-info.org I can't user ChanIsAvalil because it not detects BUSY
information on SIP channel. I've tried to use SIPPEER function, but it
gives "OK (9 ms)" back on BUSY SIP channel. I use Asterisk 1.2.15, SIP
extensions are Linksys PAP2. Have any other idea?
--
Best regards,
Csibra Gergo mailto:gergo at csibra.hu |
|
Back to top |
|
|
csibra at gmail.com Guest
|
Posted: Wed Feb 13, 2008 7:14 am Post subject: [asterisk-users] How to detect if SIP extension BUSY? |
|
|
Saturday, February 9, 2008, 10:29:08 AM, Csibra wrote:
Quote: | My problem is in subject. As I read in documentations and
voip-info.org I can't user ChanIsAvalil because it not detects BUSY
information on SIP channel. I've tried to use SIPPEER function, but it
gives "OK (9 ms)" back on BUSY SIP channel. I use Asterisk 1.2.15, SIP
extensions are Linksys PAP2. Have any other idea?
|
Well?
Is it impossible to detect BUSY on SIP channels?
--
Best regards,
Gergo mailto:csibra at gmail.com |
|
Back to top |
|
|
oej at edvina.net Guest
|
Posted: Wed Feb 13, 2008 7:55 am Post subject: [asterisk-users] How to detect if SIP extension BUSY? |
|
|
13 feb 2008 kl. 13.14 skrev Gergo Csibra:
Quote: | Saturday, February 9, 2008, 10:29:08 AM, Csibra wrote:
Quote: | My problem is in subject. As I read in documentations and
voip-info.org I can't user ChanIsAvalil because it not detects BUSY
information on SIP channel. I've tried to use SIPPEER function, but
it
gives "OK (9 ms)" back on BUSY SIP channel. I use Asterisk 1.2.15,
SIP
extensions are Linksys PAP2. Have any other idea?
|
Well?
Is it impossible to detect BUSY on SIP channels?
| Place a call to it and if the phone reports BUSY, asterisk will return
BUSY.
Another way is to use the GROUPCOUNT set of functions, to keep a state
in Asterisk or to use the embedded call counter in the SIP channel
driver, that is reported in the SIPPEER function.
As often is the case, there are many ways to solve an issue in Asterisk.
/Olle
---
* Olle E. Johansson - oej at edvina.net
* Asterisk Training http://edvina.net/training/ |
|
Back to top |
|
|
michiel at vanbaak.info Guest
|
Posted: Wed Feb 13, 2008 7:56 am Post subject: [asterisk-users] How to detect if SIP extension BUSY? |
|
|
On 13:14, Wed 13 Feb 08, Gergo Csibra wrote:
Quote: | Saturday, February 9, 2008, 10:29:08 AM, Csibra wrote:
Quote: | My problem is in subject. As I read in documentations and
voip-info.org I can't user ChanIsAvalil because it not detects BUSY
information on SIP channel. I've tried to use SIPPEER function, but it
gives "OK (9 ms)" back on BUSY SIP channel. I use Asterisk 1.2.15, SIP
extensions are Linksys PAP2. Have any other idea?
|
Well?
Is it impossible to detect BUSY on SIP channels?
|
not in stock 1.2
Bristuff has a function for it, and russell created a
function for it in current trunk that is also available as
patch to 1.4
So you have 2 possibilities:
- install bristuff 1.2 or 1.4
- install 1.4 with russell's patch applied
bristuff examples:
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+BristuffDevstate
asterisk + function from russell:
http://www.voip-info.org/wiki/view/Asterisk+func+Devstate
--
Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD
"Why is it drug addicts and computer aficionados are both called 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
|