the presence stuff is automatic so when the phone re-registers it probably turns it back off.
snom does not do the nonce count thing right so it re-challenges every time and causes a presence event.


2010/2/4 Christian Löschenkohl <christian.loeschenkohl@xpirio.com>
hello

i have a little problem with setting the presence information manually (on and off)

with an outbound socket script i do send a event like this

sendevent PRESENCE_IN
proto: sip
from: xxxx@mydomain.com
login: xxxx@mydomain.com
event_type: presence
alt_event_type: dialog
Presence-Call-Direction: outbound
answer-state: confirmed

i monitor the estension on a snom phone with bfl (function key mode)

the problem is now that the led on the monitoring snom gets lit very short an the is off again
if i put a sleep in the outbound socket script the led lights up as long as i set the timeout.

the expected behaviour is that the led lights up and can be switched off with another
event (then answer-state: terminated)

we do use trunk rev. 16456 in proxy mode
br

--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T  +43 (0) 5 77 11 - 1000
F  +43 (0) 5 77 11 - 1002
E  christian.loeschenkohl@xpirio.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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900