[Freeswitch-dev] port audio auto_answer
Trixter aka Bret McDanel
trixter at 0xdecafbad.com
Thu Sep 10 16:27:44 PDT 2009
On Thu, 2009-09-10 at 19:14 -0400, vip killa wrote:
> I have a simple question.
> is there anyway to have port audio automatically answer a call when an
> extension is dialed?
There are probably several, that is the thing with freeswitch ... The
way that first comes to mind is event socket, you can force it to issue
a "pa answer" api call when a call goes to a specific extension. Just
watch for whatever event is going to be triggered by the call (could
even be an originate to port audio itself).
I have some scripts that watch for channel creation which could
trivially be modified somewhere in contrib/trixter/ it is written in
perl and uses the FreeSWITCH::Client library that tony wrote.
Trixter http://www.0xdecafbad.com Bret McDanel
pgp key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8AE5C721
More information about the FreeSWITCH-dev