[Freeswitch-users] sendevent PRESENCE_IN

Sean Devoy sdevoy at bizfocused.com
Thu Jun 26 04:48:15 MSD 2014


Bump ...

Nothing?

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sean Devoy
Sent: Tuesday, June 24, 2014 5:26 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] sendevent PRESENCE_IN

OK, no redacting here ....

fs_bfis.bizfocused.com is aliased to external

sofia status profile external user 220 at fs_bfis.bizfocused.com<mailto:220 at fs_bfis.bizfocused.com>
Registrations:
=================================================================================================
Call-ID:        bc443fed-451b172 at 192.168.1.32<mailto:bc443fed-451b172 at 192.168.1.32>
User:           220 at fs_bfis.bizfocused.com<mailto:220 at fs_bfis.bizfocused.com>
Contact:        "BFIS Line1" <sip:220 at 68.54.94.72:5063;fs_nat=yes>
Agent:          Cisco/SPA504G-7.5.5
Status:         Registered(AUTO-NAT)(unknown) EXP(2014-06-24 17:23:56) EXPSECS(77)
Host:           fs_bfis.bizfocused.com
IP:             68.54.94.72
Port:           5063
Auth-User:      220
Auth-Realm:     fs_bfis.bizfocused.com
MWI-Account:    220 at voicemail_BFIS

Total items returned: 1

telnet into port 8021 and authenticate, then send exactly this with 2 <enters> at the end:
sendevent PRESENCE_IN
proto: sip
from:  220 at fs_bfis.bizfocused.com<mailto:220 at fs_bfis.bizfocused.com>
login:  220 at fs_bfis.bizfocused.com<mailto:220 at fs_bfis.bizfocused.com>
profile: external
event_type: presence
alt_event_type: dialog
Presence-Call-Direction: outbound
answer-state: confirmed

sofia global siptrace on logfile shows NO packets with 220 in them!!

What am I missing???

Thanks,
Sean

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Tuesday, June 24, 2014 1:16 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] sendevent PRESENCE_IN

Make sure your domains are properly aliased to the profile otherwise it won't find the proper profile to send the notify out.  I would have to double check but I'm pretty sure you might be missing this element.

--
Brian West
brian at freeswitch.org<mailto:brian at freeswitch.org>

[cid:image001.png at 01CF90B6.C8503120]

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)













On Jun 24, 2014, at 12:03 PM, Sean Devoy <sdevoy at bizfocused.com<mailto:sdevoy at bizfocused.com>> wrote:

Thanks Brian.

Please confirm,  my phone registers to 220 at xyz.dom.com<mailto:220 at xyz.dom.com> through a port that is sofia profile external, should I have profile: external and leave 220 at xyz.domain.com<mailto:220 at xyz.domain.com>?

I have it setup as multi-tennant, if that matters.

Thanks again,
Sean


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140626/fafe68fe/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 21896 bytes
Desc: image001.png
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140626/fafe68fe/attachment-0001.png 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list