[Freeswitch-users] How to send CUSTOM event via event socket?

Helmut Kuper helmut.kuper at ewetel.de
Wed Mar 4 08:54:14 PST 2009


Hello,

how to send a CUSTOM event via event socket? Currently I send this:

sendevent CUSTOM\n
Event-Name: CUSTOM\n
Event-Subclass: myevent::snom-aurl\n
Snom-Event: OFFHOOK\n
\n


I got an +OK reply from FS. I subscribed to ALL event and get only this:

Content-Length: 516
Content-Type: text/event-plain

Event-Name: COMMAND
Core-UUID: 7b2b75a4-08ca-11de-b1f3-3d0cddd2708d
FreeSWITCH-Hostname: ippbx-prod-node0
FreeSWITCH-IPv4: 85.16.246.5
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2009-03-04%2017%3A42%3A35
Event-Date-GMT: Wed,%2004%20Mar%202009%2016%3A42%3A35%20GMT
Event-Date-Timestamp: 1236184955199959
Event-Calling-File: mod_event_socket.c
Event-Calling-Function: read_packet
Event-Calling-Line-Number: 1045
Command: sendevent%20CUSTOM
Event-Name: CUSTOM
Event-Subclass: ewetel%3A%3Asnom-aurl
Snom-Event: OFFHOOK

But there is no CUSTOM event received.

regards
helmut






More information about the FreeSWITCH-users mailing list