VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jbr at consiglia.dk Guest
|
Posted: Fri Sep 26, 2008 7:01 am Post subject: [Freeswitch-users] Sendevent syntax |
|
|
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Sep 26, 2008 9:11 am Post subject: [Freeswitch-users] Sendevent syntax |
|
|
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:
Quote: | 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
|
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Sep 26, 2008 9:23 am Post subject: [Freeswitch-users] Sendevent syntax |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|