[asterisk-users] how to set the busy signal usign softphones
nik600
nik600 at gmail.com
Fri Jan 2 10:41:00 CST 2009
Thanks for your reply.
Now, i use devstate too, but it doesn't work (or, maybe i suppose that
it should work differently) when the called user has an outgoing call.
this is my extension.conf:
exten => _XXX,1,ExecIf($[${DEVSTATE(SIP/${EXTEN})} = INUSE],Busy)
exten => _XXX,2,Dial(SIP/${EXTEN})
Now, suppose to have 3 users: 200,201,202.
201 calls 200 (devstate of SIP/200 is NOT_INUSE) -> OK
202 calls 200 (devstate of SIP/200 is INUSE) -> OK.
BUT, with these scenario:
200 calls 201 (devstate of SIP/201 is NOT_INUSE) -> OK
202 calls 200 (devstate of SIP/200 is NOT_INUSE) -> ?????? why ???.
Thanks to all
On Sat, Dec 20, 2008 at 5:50 PM, Yehavi Bourvine
<yehavi.bourvine at gmail.com> wrote:
> I use the dev_state() function to find the status of the called phone. If it
> is BUSY then I call the busy() application to signal a busy tone.
> Firthermore, I also consult a MySQL table to see whether the user wants
> waiting calls or not and decide accordingly.
>
> __Yehavi:
>
> 2008/12/20 nik600 <nik600 at gmail.com>
>>
>> On Sat, Dec 20, 2008 at 2:25 PM, Benoit <maverick at maverick.eu.org> wrote:
>> >
>> > Have you tried to set the call-limit to 10 or 2 for example, i know it's
>> > what's needed for the queue system to detect
>> > busy on sip softphone
>> >
>> >
>> Yes, but if i set the call-limit to 2 the user receive more than 1
>> call (correctly...up to 2 calls), even when he is busy.
>>
>> --
>> /*************/
>> nik600
>> http://www.kumbe.it
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> 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 --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
/*************/
nik600
http://www.kumbe.it
More information about the asterisk-users
mailing list