I have tried to get an understanding of the possibilities of sendevent, and with the help from Brian West I had successes with a few, as shown in the examples below: Sendevent NOTIFY Event-string: talk content-length: 2 content-type: application/simple-message-summary Profile: internal User: 1000088881000 Host: 10.3.1.11 Sendevent SEND_MESSAGE Content-length: 2 content-type: application/simple-message-summary Profile: internal User: 1000088881000 Host: 10.3.1.11 Sendevent MESSAGE_WAITING MWI-Message-Account: 1000088881000@10.3.1.11 MWI-Messages-Waiting: 3 MWI-Voice-Message: 2/1 (1/1) I lack a general understanding of the syntax. I have tried to hangup a session using CHANNEL_HANGUP where I made a qualified guess about the headers, but it did not work (instead I used "api uuid_kill <uuid>"). Could I have an overview of the syntax or a hint about which code I could look at in order to get a more full understanding? /Jon
Jon, Exact examples are listed on the jira you opened at http://jira.freeswitch.org/browse/SFSIP-92 /b On Sep 26, 2008, at 6:59 AM, Jon Bruel wrote:
I have tried to get an understanding of the possibilities of sendevent, and with the help from Brian West I had successes with a few, as shown in the examples below: Sendevent NOTIFY Event-string: talk content-length: 2 content-type: application/simple-message-summary Profile: internal User: 1000088881000 Host: 10.3.1.11
Sendevent SEND_MESSAGE Content-length: 2 content-type: application/simple-message-summary Profile: internal User: 1000088881000 Host: 10.3.1.11
Sendevent MESSAGE_WAITING MWI-Message-Account: 1000088881000@10.3.1.11 MWI-Messages-Waiting: 3 MWI-Voice-Message: 2/1 (1/1)
I lack a general understanding of the syntax. I have tried to hangup a session using CHANNEL_HANGUP where I made a qualified guess about the headers, but it did not work (instead I used "api uuid_kill <uuid>"). Could I have an overview of the syntax or a hint about which code I could look at in order to get a more full understanding? /Jon
_______________________________________________ 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
On this bit of info you don't send an event to hang a channel up... when you api uuid_kill the event is fired for all to see. /b On Sep 26, 2008, at 6:59 AM, Jon Bruel wrote:
I lack a general understanding of the syntax. I have tried to hangup a session using CHANNEL_HANGUP where I made a qualified guess about the headers, but it did not work (instead I used "api uuid_kill <uuid>"). Could I have an overview of the syntax or a hint about which code I could look at in order to get a more full understanding? /Jon
participants (2)
-
Brian West
-
Jon Bruel