In addition, I have issued the 'openserctl fifo which' command to see which commands are enabled and I do not see the stats and other t_uac commands available as in some examples (ul_stats, t_uac_from, etc).
How do these extra commands get enabled? (I'm using 1.1.0 and I assume that they are supported on this version).
Furthermore, how is it possible to enable the udp sockets interface for fifo?
Thanks again, Liran.
On 8/14/07, liran tal liransgarage@gmail.com wrote:
Hey everyone,
Following a very interesting but old and un-answered post here: http://www.voipuser.org/forum_topic_6616.html about the integration of Click-To-Call web applications with OpenSER I wanted to give it a try myself through the FIFO interface.
Before jumping into scripts and code I was wondering if someone can make it clear how to use those fifo commands that "initiate" a call between 2 parties, from that post, the user uses:
/* construct FIFO command */ $fifo_cmd=":t_uac:".$myfilename."\n". "REFER\n".$caller."\n". "p-version: ".$signature."\n". "Contact: ".$web_contact."\n". "Referred-By: ".$web_contact."\n". "Refer-To: ".$callee."\n". "\n". /* EoHeader */ ".\n\n"; /* EoFifoRequest */
Is there documentation available on the various fifo commands like this that I can use? Can I simply echo the fifo command string to /tmp/openser_fifo?
Thanks in advance, Regards, Liran.