Hi. I am trying to user event_sockets to light a lamp on another freeswitch. Running version 1.5.8b+git~20140101T180840Z~e75497c98d~32bit (git e75497c 2014-01-01 18:08:40Z 32bit) I send the following to the remote freeswitch but it does not affect the lamps. The following does reach the freeswitch and the phone does receive data, it is below. sendevent PRESENCE_IN proto: sip from: 25@group1.sipline.ca login: 25@group1.sipline.ca event_type: presence alt_event_type: dialog Presence-Call-Direction: inbound answer-state: confirmed from the snom 370 <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:25@group1.sipline.ca"> </dialog-info> Any ideas what I might be doing wrong Darcy Primrose voice2net
Sorry, did not read far enough, found as anthony pointed out using unique-id: foo in the sendevent solves the problem It did indeed solve the problem. Darcy Primrose ----- Original Message ----- From: fs To: FreeSWITCH Users Help Sent: Monday, March 03, 2014 9:45 PM Subject: [Freeswitch-users] presence_in Hi. I am trying to user event_sockets to light a lamp on another freeswitch. Running version 1.5.8b+git~20140101T180840Z~e75497c98d~32bit (git e75497c 2014-01-01 18:08:40Z 32bit) I send the following to the remote freeswitch but it does not affect the lamps. The following does reach the freeswitch and the phone does receive data, it is below. sendevent PRESENCE_IN proto: sip from: 25@group1.sipline.ca login: 25@group1.sipline.ca event_type: presence alt_event_type: dialog Presence-Call-Direction: inbound answer-state: confirmed from the snom 370 <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1" state="full" entity="sip:25@group1.sipline.ca"> </dialog-info> Any ideas what I might be doing wrong Darcy Primrose voice2net ------------------------------------------------------------------------------ _________________________________________________________________________ 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 ------------------------------------------------------------------------------ No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4259 / Virus Database: 3705/7148 - Release Date: 03/03/14
When I use event_sockets to set a blf (for a nite answer button) it illuminated, but the next subscribe from the phone cancels the light. Any ideas. Sending to lite the lamps sendevent PRESENCE_IN proto: sip from: 25@group1.sipline.ca login: 25@group1.sipline.ca event_type: presence alt_event_type: dialog Presence-Call-Direction: inbound answer-state: confirmed
Do you happen to have a record in sip_subscription? What phones are you using? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 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 Mar 3, 2014, at 9:47 PM, Darcy Primrose <fs@voice2net.ca> wrote:
When I use event_sockets to set a blf (for a nite answer button) it illuminated, but the next subscribe from the phone cancels the light.
Any ideas.
Sending to lite the lamps
sendevent PRESENCE_IN proto: sip from: 25@group1.sipline.ca login: 25@group1.sipline.ca event_type: presence alt_event_type: dialog Presence-Call-Direction: inbound answer-state: confirmed
I will check, I use snom 320,370,710 ,720 and grandstream gxp2100 and gxp2124 They all act the same. Darcy Primrose am----- Original Message ----- From: "Brian West" <brian@freeswitch.org> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Monday, March 03, 2014 10:58 PM Subject: Re: [Freeswitch-users] presence_In Not keeping presence
Do you happen to have a record in sip_subscription? What phones are you using?
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 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 Mar 3, 2014, at 9:47 PM, Darcy Primrose <fs@voice2net.ca> wrote:
When I use event_sockets to set a blf (for a nite answer button) it illuminated, but the next subscribe from the phone cancels the light.
Any ideas.
Sending to lite the lamps
sendevent PRESENCE_IN proto: sip from: 25@group1.sipline.ca login: 25@group1.sipline.ca event_type: presence alt_event_type: dialog Presence-Call-Direction: inbound answer-state: confirmed
_________________________________________________________________________ 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
----- No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4259 / Virus Database: 3705/7148 - Release Date: 03/03/14
It appears it is disappearing in the freeswitch. I set the snom phones to subscription expiry to about 5 days, set it to '0' in the freeswitch internal profile. Then issued the command. The lites stay illuminated on the Existing phones, however, if I configure a new phone and boot it up, it does not get a confirmed stated from the freeswitch, I have to re send the command to lite the lite on the phone. Darcy ----- Original Message ----- From: "Darcy Primrose" <fs@voice2net.ca> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Monday, March 03, 2014 11:03 PM Subject: Re: [Freeswitch-users] presence_In Not keeping presence
I will check, I use snom 320,370,710 ,720 and grandstream gxp2100 and gxp2124 They all act the same.
Darcy Primrose
am----- Original Message ----- From: "Brian West" <brian@freeswitch.org> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Monday, March 03, 2014 10:58 PM Subject: Re: [Freeswitch-users] presence_In Not keeping presence
Do you happen to have a record in sip_subscription? What phones are you using?
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 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 Mar 3, 2014, at 9:47 PM, Darcy Primrose <fs@voice2net.ca> wrote:
When I use event_sockets to set a blf (for a nite answer button) it illuminated, but the next subscribe from the phone cancels the light.
Any ideas.
Sending to lite the lamps
sendevent PRESENCE_IN proto: sip from: 25@group1.sipline.ca login: 25@group1.sipline.ca event_type: presence alt_event_type: dialog Presence-Call-Direction: inbound answer-state: confirmed
_________________________________________________________________________ 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
----- No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4259 / Virus Database: 3705/7148 - Release Date: 03/03/14
_________________________________________________________________________ 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
----- No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4259 / Virus Database: 3705/7148 - Release Date: 03/03/14
participants (3)
-
Brian West
-
Darcy Primrose
-
fs