[asterisk-users] Get the status of a PJSIP endpoint?
John Kiniston
johnkiniston at gmail.com
Mon Nov 17 14:52:26 CST 2014
Is there an equivalent to ${SIPPEER(${peer},status)} for PJSIP?
The closest I've been able to get is to use AST_SOURCERY to see if they
have a contact
${AST_SORCERY(res_pjsip,aor,${peer},contact) but I'm not certain if I'll
still have a contact entry after a phone has gone unreachable?
--
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
---Heinlein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141117/bc5c3cb4/attachment.html>
More information about the asterisk-users
mailing list