[Freeswitch-users] Automation of calls?

Markus Lindenberg markus.lindenberg at gmail.com
Fri Jul 11 16:42:57 MSD 2014


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.




On Fri, Jul 11, 2014 at 10:52 AM, Bhavesh Soni <bhavesh.soni at gslab.com>
wrote:

> Can I achieve this using DIALPLANs?
> If yes, any example/link giving directions on dialplans.
>
> Regards
> Bhavesh
> GS LAB
> (O) +91 20 4671 1256
> (M) +91 86000 64681
>
> On 11-07-2014 12:06, Normando Hall wrote:
> > Hi Bravesh.
> >
> > I sugest to use events socket to implement the full ESL API from you own
> > lnaguage. It is more flexible than scripts applications.
> >
> > This is my advice.
> >
> > Normando
> >
> >
> > El 11/07/2014 03:22 a.m., Bhavesh Soni escribió:
> >> Guys,
> >>
> >> Are there APIs available to automate calls in freeswitch.
> >>
> >> DIALING:
> >> TIll now using mod_lua, I have tried "originate"; And I am able to
> >> establish a call(again tweaking some logs, i found endpoint URI and used
> >> this with originate); In logs I can see multiple UUIDs generated, and I
> >> dont know which one is the correct for the session initiated with which
> >> I can answer from other end.
> >>
> >> Answering:
> >> On other side, to answer incoming call, I am not able to find or do
> >> anything as of now. I have tried uuid_answer; but with no luck.(I tried
> >> uuid_answer with all different UUID I saw at originate), But no luck.
> >>
> >> Apart from these, are there other approaches. I am using freeswitch
> >> version 1.2.1(I know quite an old; but I dont have much liberty to
> >> update this.)
> >>
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140711/a8655acb/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list