[Asterisk-Users] differentiating busy & not connected
Glen
asterisk at empireenterprises.com
Mon Feb 14 17:26:00 MST 2005
For those who may be searching, you can accomplish this using the
${DIALSTATUS} variable.
The variable will report CONGESTED if the device (channel) is not
available, & will report BUSY if it is in use.
-g
On Sat, 2005-02-12 at 02:52 +0100, Philipp von Klitzing wrote:
> Hi!
>
> > How can I determine whether a sip device is busy (channel unavailable),
> > or it is not registered/connected?
>
> For the latter try "database show sip" or DBGet(...) respectively. Won't
> work with RealTime in Head though, I assume. ;->
>
> Busy: You can always employ CheckGroup() and the like, although that
> gives you only the Asterisk view of things, not the SIP UAs point of
> view. Maybe sipsak and a custom SIP message can help, but that's of
> course outside of Asterisk.
>
> Philipp
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list