SWITCH_EVENT_NOTIFY in mod_sofia.c Sent from my iPhone
On Jun 25, 2014, at 7:48 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Bump …
Nothing?
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@fs_bfis.bizfocused.com Registrations: ================================================================================================= Call-ID: bc443fed-451b172@192.168.1.32 User: 220@fs_bfis.bizfocused.com Contact: "BFIS Line1" <sip:220@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@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@fs_bfis.bizfocused.com login: 220@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org
<image001.png>
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@bizfocused.com> wrote:
Thanks Brian.
Please confirm, my phone registers to 220@xyz.dom.com through a port that is sofia profile external, should I have profile: external and leave 220@xyz.domain.com?
I have it setup as multi-tennant, if that matters.
Thanks again, Sean
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org