Thanks but that much i know. I am saying how can i cause my script to
be triggered based on some event, for example the reciept of an INVITE
message from a given registered sip user.
thanks
smadi
Bouchard, Kevin wrote:
Hi,
I don't know much about asterisk, but you'll have to install a web server on
the same computer to execute CGI scripts if there's no integrated one in
asterisk (Apache is a good one). If I would be you, I would prefer write a Java
servlet instead of a Perl or C script since SIP require a lot of string
manipulations which are easier and faster to handle in Java.
I don't know any IDE for Perl, I always wrote Perl using a notepad editor.
However, there is a lot of IDE for C and the best one I know for Java is
Eclipse. Using Eclipse and Resin (might be possible for other servers), you can
debug your servlet in real-time which is necessary when writing SIP
applications.
Hope this helped,
Kevin Bouchard
Software engineer
Pyxis Products
Cardinal Health
330 St-Vallier Street E., Suite 330
Quebec City, QC, Canada
G1K 9C5
Tel.: (418)872-0172, x8974
Fax: (418)872-0038
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:sip-implementors-
[EMAIL PROTECTED] On Behalf Of m. smadi
Sent: 13 d�cembre, 2004 15:45
To: [EMAIL PROTECTED]
Subject: [Sip-implementors] sip CGI - where do i begin?
hi;
I have an asterisk server, which i am using as a registrar and PSTN GW.
From the very basic understanding that i have of "PROGRAMMING SIP" i
should be able to write a SIP CGI script in Perl or C and run it on the
my asterisk server to do certain tasks.
Let's say that my mini goal is to recieve all the INVITE messages and
based on the CONTACT header send it to a specific channel, can i do
that? where do i begin? for example, is there and a special IDE i have
to use? how do i interact with the server, etc...
Any feedback is higly appreciated.
thanks
moe smadi
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors