[asterisk-users] How to detect if SIP extension BUSY?
Gergo Csibra
csibra at gmail.com
Thu Aug 14 09:30:18 CDT 2008
Wednesday, February 13, 2008, 2:56:42 PM, Michiel wrote:
> On 13:14, Wed 13 Feb 08, Gergo Csibra wrote:
>> 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 1.4 with russell's patch applied
> asterisk + function from russell:
> http://www.voip-info.org/wiki/view/Asterisk+func+Devstate
OK. I've tried Russel's devstate function and also
SIPPEER(ext:curcalls) function but they have the same problem.
Devstate shows only called SIP extensions as BUSY, but caller is not,
and SIPPEER(ext:curcalls) shows only call count 1 on called extension,
on caller is still 0. So if I make a call for example from sipext1 to
sipext2 the devstate shows NOT_INUSE on sipext1 and BUSY on sipext2,
but in real world they both BUSY, also with curcalls, on sipext1 the
call count is 0, and on sipext2 is 1.
And in dialplan I can only test the CALLERID(num) or CALLERID(name)
but they are user setable, so if some user changes it, I must to
modify my dialplan.
Another way?
--
Best regards,
Gergo mailto:csibra at gmail.com
More information about the asterisk-users
mailing list