[Freeswitch-users] event from LUA to phones
Tóth Róbert
trob at freemail.hu
Sun Dec 5 20:11:28 MSK 2010
Hi
I would like send an event from LUA to a phone, with this header:
Event: x-gs-screen
(This message makes the Grandstream phone refresh its Idle-Screen)
I tried this:
eout = freeswitch.Event("NOTIFY");
eout.addHeader(eout, "profile", "mellek-belso");
eout.addHeader(eout, "to-uri", "sip:50 at 192.168.1.10");
eout.addHeader(eout, "from-uri", "sip:50 at 192.168.1.10");
eout.addHeader(eout, "event-string", "x-gs-screen");
eout.fire(eout);
and played with it a lot, e.g. add more headers, change the IPs, ...
but the SIP message does not arrive to the phone, altough there are not any error message.
How can i do this?
Thanks
More information about the FreeSWITCH-users
mailing list