I have tried the wiki page https://wiki.freeswitch.org/wiki/PRESENCE_IN_event_example suggests with telnet to my event socket.

 

I sent auth <redacted>.

Then I sent:

sendevent PRESENCE_IN

proto: sip

from: 220@<redacted>.com

login: 220@<redacted>.com

event_type: presence

alt_event_type: dialog

Presence-Call-Direction: outbound

answer-state: confirmed

 

I get back:

Content-Type: command/reply

Reply-Text: +OK 5c5423dd-4c88-4fa8-b5c9-8445e8d69bae

 

I don’t even see a sip packet being sent in my logfile with  sofia global siptrace on

 

Any ideas what I am missing?