Polycom And SIP Message
Hi all,
I want to send a text message to a polycom phone. I know how to create a call file – but that will “call” the phone and nothing happens till the phone is answered.
How do I create a call file that will “send” a text message over SIP to the polycom phone?
So the phone does not have to answer – just shows the message.
Thanks,
Jerry
4 thoughts on - Polycom And SIP Message
What is the SIP command you need to send?
Is it a simple “send and you’re done” or is there any sort of acknowledgement you need to get back again?
Antony.
—
Because it messes up the order in which people normally read text.
Please reply to the list;
please *don’t* CC me.
—
I presume it would just be sending a SIP message – no need to get anything back. Just want to pop a message on the phone.
Thanks,
Jerry
Yes, but *what* message do you need to send?
How does a Polycom do this?
Without knowing that, I don’t think we can work out how to ask Asterisk to do it.
Antony.
—
Douglas was one of those writers who honourably failed to get anywhere with
‘weekending’. It put a premium on people who could write things that lasted thirty seconds, and Douglas was incapable of writing a single sentence that lasted less than thirty seconds.
– Geoffrey Perkins, about Douglas Adams
Please reply to the list;
please *don’t* CC me.
—
I think there are some Polycoms that support RFC 3428 SIP MESSAGE for instant messaging eg. Kirks.
Also how long should it display for, do you want a sound to play, should it interrupt users currently on a call, present an interface to acknowledge the message, etc.
Disregarding RFC 3428 method, for SPIP, VVX, and probably a few other Polycom models, you can push XML to the phones via HTTP using something like CURL…
Here’s some Asterisk dial plan example (but put this all on one line):
exten => s,n,TrySystem(hi.php ”
curl
–max-time 1
-d
“
-u “push_username:push_password”
–digest
-H “Content-Type: application/x-com-polycom-spipx”
http://192.168.1.100/push
);
You’ll need to update the IP to match your phone, run a webserver to host hi.php, and set a few things up in your Polycom configs, such as push_username and push_password, but hopefully that helps pop you in the right direction.
Regards,
—