[asterisk-users] Get the status of a PJSIP endpoint?

George Joseph george.joseph at fairview5.com
Tue Nov 18 11:55:23 CST 2014


On Mon, Nov 17, 2014 at 1:52 PM, John Kiniston <johnkiniston at gmail.com>
wrote:

> Is there an equivalent to ${SIPPEER(${peer},status)} for PJSIP?
>
>
I could swear there was a non-obvious way to get state but I guess it's so
non-obvious that I can't find it again.   I'll create one if I can;t find
it.


> 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?
>
>
Yeah, this isn't going to give you current state.


>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141118/a2b1a0f8/attachment.html>


More information about the asterisk-users mailing list