Displaying 3 results from an estimated 3 matches for "function_device_st".
2019 Jan 10
2
Hint and state
Hi,
on an Asterisk 16 with PJSIP I want to know the state of a device (idle,
busy, unavailable, ...) in the dialplan. I tried with ChanIsAvail() but
this one doesn't return the real state (eg a device calling an extension
which is running ChanIsAvail() is marked as idle!)
When I use in a console "core show hints" or "core show hint
<EXTENSION>" I get the right
2020 Jan 30
2
delivery verification of instant messages with pjsip
Hi,
when sending IMs from endpoint to endpoint with the MessageSend() application,
I can check the MESSAGE_SEND_STATUS and send another message to the sender of
the message to notify them that their message was not sent when the status
indicates it.
This works fine with chan_sip. With chan_pjsip, this works differently in
that MESSAGE_SEND_STATUS is "SUCCESS" after sending the
2020 Jan 30
0
delivery verification of instant messages with pjsip
...se. If you
don't want to wait you could use device state to know if the device is
reachable (and thus a MESSAGE has a chance of being sent) using the
DEVICE_STATE dialplan function[2].
[1] https://gerrit.asterisk.org/c/asterisk/+/13674
[2]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+17+Function_DEVICE_STATE
--
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200130/04543208/attachment.html...