Hey Markus,
thanks for inputs.
I got your points.
Let me give you some details. I have two boards running
freeswitch; Both have PSTN number at the back-end. (Presumably
these are also SOft SIP phone as per my understanding in FS).
So, I want to automate a call between these two guys. Where I want
to write some scripts, that suppose originate from ENDPOINT A and
call to ENDPOINT B.
And, then EP B auto-answers the call. (I can take up media path
manual; One can after picking up calls, speak manually holding
Handsets.)
Till now, somehow, using fs_cli originate I am able to DIAL B.
But, B still has to pick manually.
Now, from your explanation what I think is, you are right in the
sense of making receiving automatic. I mean, I will have to
intervene somewhere on receiving endpoint and configure
auto-answer somewhere; AM I RIGHT? This is what you are trying to
explain in the context of receive path.
Again thanks for inputs. They are helping.
Regards
Bhavesh
GS LAB
(O) +91 20 4671 1256
(M) +91 86000 64681
On 11-07-2014 18:12, Markus Lindenberg wrote:
Hi Bhavesh,
what exactly are you trying to achive?
If you originate a call, freeswitch creates two outgoing
calls (it calls the "caller", as soon as the caller picks up,
a call to the callee is created and the calls are bridged). So
technically from the phone's perspective that's just two
normal incoming phonecalls.
Not to answer a call programatically, you'd have to control
the phone. With some SIP phone you could make them answer the
call automatically by setting a SIP header (e.g. for Snom:
http://wiki.snom.com/Category:HowTo:Intercom).
Or you could control the phone itself using a CTI mechanism
supported by the phone, like uaCSTA.
For analog lines that's not even possible I think, because
there's no way to tell the phone that it should answer the
call. What you can do though is look at mod_fifo and log those
people in as "consumers", so their phones are always off-hook
and connected to mod_fifo. I guess you can then write some
scrips that connect a caller to a waiting consumer without
having to touch the phone.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org