Have you tried: http://wiki.freeswitch.org/wiki/Event_Socket#sendevent Example of sendevent with a message body, the length of the body is specified by content-length: sendevent NOTIFY profile: internal content-type: application/simple-message-summary event-string: check-sync user: 1005 host: 192.168.10.4 content-length: 2 OK Another example with a notify: sendevent NOTIFY profile: internal content-type: application/simple-message-summary event-string: check-sync user: 1005 host: 99.157.44.194 content-length: 2 OK Results in a packet like this: NOTIFY sip:1005@99.157.44.203 SIP/2.0 Via: SIP/2.0/UDP 99.157.44.194;rport;branch=z9hG4bKpH2DtBDcDtg0N Max-Forwards: 70 From: <sip:1005@99.157.44.194>;tag=Dy3c6Q1y15v5S To: <sip:1005@99.157.44.194> Call-ID: 129d1446-0063-122c-15aa-001a923f6a0f CSeq: 104766492 NOTIFY Contact: <sip:mod_sofia@99.157.44.194:5060> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-9578:9586 Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH Supported: 100rel, timer, precondition, path, replaces Event: check-sync Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary Subscription-State: terminated;timeout Content-Type: application/simple-message-summary Content-Length: 2 OK On Wed, Aug 8, 2012 at 10:40 AM, Lappe, Adam <Adam.Lappe@qsc.de> wrote:
I am trying to send a NOTIFY Message to my Gateway that looks like this:* ***
** **
NOTIFY sip:(address)@(host):(port) SIP/2.0****
VIA: SIP/2.0/UDP (address):(port)****
From:;tag=1****
To:****
Call-ID: whatever****
CSeq: 1 NOTIFY****
Contact:****
Event: message-summary****
Subscription-State: terminated****
Content-Type: application/simple-message-summary****
Content-Length: 23****
** **
Messages-Waiting: yes****
** **
** **
Is it possible to make the FreeSWITCH send such a message to my gateway?** **
** **
Thanks,****
Adam**** ------------------------------
*Von:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *Im Auftrag von *David Villasmil *Gesendet:* Dienstag, 7. August 2012 11:59 *An:* FreeSWITCH Users Help *Betreff:* Re: [Freeswitch-users] sendevent to Gateway****
** **
Hello,****
** **
What EXCATLY do you want to send?****
** **
David****
On Tue, Aug 7, 2012 at 11:48 AM, Lappe, Adam <Adam.Lappe@qsc.de> wrote:*** *
I am still looking for a solution.****
Is there no one who has an idea?****
****
Thanks,****
Adam****
**** ------------------------------
*Von:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *Im Auftrag von *Lappe, Adam *Gesendet:* Freitag, 3. August 2012 11:53 *An:* 'FreeSWITCH-users@lists.freeswitch.org' *Betreff:* [Freeswitch-users] sendevent to Gateway****
****
Hi all,****
****
i am trying to make the freeswitch send a event (or SIP Message) to my gateway.****
I can only find examples how to send events to registered endpoint but not to my gateway.****
****
Shouldn’t it be possible to do this via the event socket?****
****
Thanks in advance and best regards,****
Adam****
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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****
** **
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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