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.
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.
Hi,
That "X_stats" commands are deprecated and removed - use get_statistics instead. ul_stats -> get_statistics usrloc:
Can you point to the examples using these old commands?
Thanks and regards, bogdan
liran tal wrote:
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 mailto: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 <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.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi,
See http://www.openser.org/docs/modules/1.2.x/tm.html#AEN552 for the MI command description.
Regards, Bogdan
liran tal 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.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hey Bogdan,
I must have forgot to mention but I'm running on OpenSER 1.1.0 (svn) but I did check and I have that t_uac_dlg command and the link to it is very helpful though an example would have been best, could you supply one? It is still somewhat cryptic and I'm still very much not certain how to compose an invite message that would connect 2 endpoints (users).
Regarding the statistics, thanks, I used get_statistics as you said. I was doing some extensive digging on google to find bits of information regarding this somewhat grey-area issue, if I encounter any of these pages again (I have some bookmarked so I'll check) I'll let you know.
Thanks, Liran.
On 8/14/07, Bogdan-Andrei Iancu bogdan@voice-system.ro wrote:
Hi,
See http://www.openser.org/docs/modules/1.2.x/tm.html#AEN552 for the MI command description.
Regards, Bogdan
liran tal 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.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Well...an working example is on SVN - examples/ctd.sh
Regards, Bogdan
liran tal wrote:
Hey Bogdan,
I must have forgot to mention but I'm running on OpenSER 1.1.0 (svn) but I did check and I have that t_uac_dlg command and the link to it is very helpful though an example would have been best, could you supply one? It is still somewhat cryptic and I'm still very much not certain how to compose an invite message that would connect 2 endpoints (users).
Regarding the statistics, thanks, I used get_statistics as you said. I was doing some extensive digging on google to find bits of information regarding this somewhat grey-area issue, if I encounter any of these pages again (I have some bookmarked so I'll check) I'll let you know.
Thanks, Liran.
On 8/14/07, *Bogdan-Andrei Iancu* <bogdan@voice-system.ro mailto:bogdan@voice-system.ro> wrote:
Hi, See http://www.openser.org/docs/modules/1.2.x/tm.html#AEN552 <http://www.openser.org/docs/modules/1.2.x/tm.html#AEN552> for the MI command description. Regards, Bogdan liran tal 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. > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@openser.org <mailto:Users@openser.org> > http://openser.org/cgi-bin/mailman/listinfo/users >