[Serusers] ser2-sasi : how to send instant message from shell script

Rafael rafco18 at aol.com
Wed Jul 2 20:17:53 CEST 2008


Hi all,
i have running ser2-sasi.
is there a possibility to send instant message from a shell script like 
in the older versions with the follow example ?

#!/bin/sh
#
cat > /tmp/ser_fifo <<EOF
:t_uac_dlg:hh
NOTIFY
sip:receiver at 127.0.0.1
.
From: sip:originator at foo.bar
To: sip:receiver at 127.0.0.1
foo: bar_special_header
x: y
p_header: p_value
Contact: <sip:devnull at 192.168.0.100:9>
65
Chapter 4. Application Writing
Content-Type: text/plain; charset=UTF-8
.
Hello world!!!! $@
.
EOF


regards
rafael



More information about the sr-users mailing list