Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add code block

...

Code Block
sendevent SEND_INFO
profile: external
content-type: text/plain
to-uri: sip:1@2.3.4.5
from-uri: sip:1@1.2.3.4
content-length: 15

test

 

sendmsg

 
Code Block
titleUsage
sendmsg <uuid>

...

 

Send a message to the call of given uuid (call-command execute or hangup), see examples below.

...

Since messaging format is similar to RFC2882 if you are using any libraries that follow the line wrapping recommendation of RFC 2822 make sure that you disable line wrapping as FreeSWITCH will ignore wrapped lines.

 

Code Block
titleExample

...

sendmsg <uuid>
call-command: execute
execute-app-name: playback
execute-app-arg: /tmp/test.wav

...

 

call-command

The first command is Call-Command, it can do one of the following subcommands:

...