[Freeswitch-users] custom events

Tihomir Culjaga tculjaga at gmail.com
Wed Nov 3 15:22:21 PDT 2010


hello,

im trying to get a custom event on an event socket outbound mode.

on the eventsocket i subscribe only to "my events" with command 'myevents'
and when i send a custom event, it seems not working ?!?!




myevents

Content-Type: command/reply
Reply-Text: +OK Events Enabled

event plain CUSTOM

Content-Type: command/reply
Reply-Text: +OK event listener enabled plain



sendevent CUSTOM
Event-Name: CUSTOM
Event-Subclass: CUSTOM
State: ACTIVE

Content-Type: command/reply
Reply-Text: +OK




when i subscribe to all events ... im getting it correctly ...

event plain all

Content-Type: command/reply
Reply-Text: +OK event listener enabled plain

sendevent CUSTOM
Event-Name: CUSTOM
Event-Subclass: CUSTOM
State: ACTIVE

Content-Type: command/reply
Reply-Text: +OK

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

Core-UUID: 04567a60-3b49-4645-82c8-4c5effd061a5
FreeSWITCH-Hostname: cc01
FreeSWITCH-IPv4: 89.201.165.245
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2010-11-03%2023%3A26%3A37
Event-Date-GMT: Wed,%2003%20Nov%202010%2022%3A26%3A37%20GMT
Event-Date-Timestamp: 1288823197412378
Event-Calling-File: mod_event_socket.c
Event-Calling-Function: read_packet
Event-Calling-Line-Number: 1131
Command: sendevent%20CUSTOM%20
Event-Name: CUSTOM
Event-Subclass: CUSTOM
State: ACTIVE



So, what the issue might be ?
Whet m'i missing ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101103/10dbcb25/attachment.html 


More information about the FreeSWITCH-users mailing list