Hi guys! I'm considering to use SIMPLE protocol for IM in my application, but get a following error trying to send a message from one registered user to another: [ERR] sofia_presence.c:93 Chat proto [sip] from [1001@xx.xxx.xx.xx] to [1000@xx.xxx.xx.xx] 1111111111 Invalid Profile xx.xxx.xx.xx Should presence be enabled in order SIMPLE to work? What additional steps do I have to complete in order to make presence work in FS besides setting "manage_presence" param in SIP profile to true? Best regards, Robert.
I think you need to enable presence as well as have the right profile aliases in place (they are in the default configuration). Mike On Sep 24, 2009, at 4:20 PM, RobertT wrote:
Hi guys!
I'm considering to use SIMPLE protocol for IM in my application, but get a following error trying to send a message from one registered user to another: [ERR] sofia_presence.c:93 Chat proto [sip] from [1001@xx.xxx.xx.xx] to [1000@xx.xxx.xx.xx] 1111111111 Invalid Profile xx.xxx.xx.xx
Should presence be enabled in order SIMPLE to work? What additional steps do I have to complete in order to make presence work in FS besides setting "manage_presence" param in SIP profile to true?
Best regards, Robert. _______________________________________________ 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
Does this message means I've got problems with presence? [ERR] sofia_presence.c:611 DUMP PRESENCE SQL: select sip_subscriptions.proto,sip_subscriptions.sip_user,sip_subscriptions.sip_host,sip_subscriptions.sub_to_user,sip_subscriptions.sub_to_host,sip_subscriptions.event,sip_subscriptions.contact,sip_subscriptions.call_id,sip_subscriptions.full_from,sip_subscriptions.full_via,sip_subscriptions.expires,sip_subscriptions.user_agent,sip_subscriptions.accept,sip_subscriptions.profile_name,'Registered(TLS)','unknown','74.208.167.44',sip_presence.status,sip_presence.rpid from sip_subscriptions left join sip_presence on (sip_subscriptions.sub_to_user=sip_presence.sip_user and sip_subscriptions.sub_to_host=sip_presence.sip_host and sip_subscriptions.profile_name=sip_presence.profile_name) where (event='presence' or event='dialog') and sub_to_user='1000' and (sub_to_host='xx.xxx.x.xx' or presence_hosts like '%xx.xxx.x.xx%') and (sip_subscriptions.profile_name = 'external' or sip_subscriptions.presence_hosts != sip_subscriptions.sub_to_host) EVENT DUMP: Event-Name: [PRESENCE_IN] Core-UUID: [04df3ad6-511b-6d4f-bd4f-517682672b76] ... answer-state: [resubscribe]
participants (2)
-
Michael Jerris
-
RobertT