Perl has Net::SIP, http://search.cpan.org/~sullr/Net-SIP-0.49/lib/Net/SIP.pod

There doesn't appear to be anything in pear.php.net for SIP, but you might be able to find a library w/ some searching.

On Fri, 31 Oct 2008, Elliott Jeyaseelan wrote:

Hi Simon,

Thanks for getting back.

I am going to try that from sipsak....

Could this be somehow sent via AMI also using perl or php?

Elliott



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Simon P. Ditner
Sent: Thursday, October 30, 2008 10:40 PM
To: Elliott Jeyaseelan
Cc: Toronto Asterisk UG
Subject: Re: [on-asterisk] Polycom 3.1 firmware pop-up
notification on phones display

I would likely use "sipsak", which is a command line tool for
crafting sip messages. It says in that PDF that only warning
codes 300 to 399 are supported.
399 is the generic warning parameter (see the SIP RFC3261,
section 20.43 on 'Warning'), so it would likely go something
like this (I have not tried it yet):

sip endpoint: [EMAIL PROTECTED]:5060
sip endpoint password: abc123
sip server: 192.168.0.20:5060

192.168.0.100

----
echo 'NOTIFY sip:[EMAIL PROTECTED]:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.0.20
From: <sip:[EMAIL PROTECTED]>
To: <sip:[EMAIL PROTECTED]>
Warning: 399 192.168.0.20 "The sky is falling"
Date: blah
Call-ID: [EMAIL PROTECTED]
CSeq: 1300 NOTIFY
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
' | sipsak -v -f - -s sip:[EMAIL PROTECTED]:5060 -G -a abc123
----

On Thu, Oct 30, 2008 at 12:04 PM, Elliott Jeyaseelan
<[EMAIL PROTECTED]> wrote:
Anyone?

-----Original Message-----
From: Elliott Jeyaseelan [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 26, 2008 2:07 PM
To: Toronto Asterisk UG
Subject: [on-asterisk] Polycom 3.1 firmware pop-up notification on
phones display

Hi,

I was going thru the new 3.1 series of polycom firmware for the
soundpoint series IP phones, (301/501/550 etc) and on page 4-72 of
the Sip 3.1 administrators guide, there is a very short
blurp about
how to display a 3 second notification on the polycom
phone's display
via sip header.

Has any tried this or have a clue on how to do this from
asterisk 1.4?

The pdf can be viewed from the following link if anyone is
interested
in checking this out, I would be very interested to know
how to put
up a server generated message on the phones display sent from
asterisk either triggered by an event, time or other:

http://www.polycom.com/common/documents/support/setup_maintena
nce/produc
ts/voice/spip_ssip_Admin_Guide_SIP_3_1.pdf

Thanks for any suggestions or ideas.

Elliott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]





--
| It ain't what you don't know that gets you into trouble. It's what
| you know for sure that just ain't so.   -- Mark Twain
|
| The Toronto Asterisk Users Group
| Join the discussion group by visiting http://taug.ca




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to