[Freeswitch-users] Call back through SIP trunk

Avi Marcus avi at avimarcus.net
Wed Dec 31 20:36:02 MSK 2014


I've used a lua script to grab the information (and make sure it's a valid
callback), hangup, and then run:

freeswitch.msleep(2000); --wait 2 seconds to make sure their side will
actually have the call over
api = freeswitch.API()
api:execute("originate", your-dialstring)

-Avi

On Wed, Dec 31, 2014 at 11:37 AM, Sina Owolabi <notify.sina at gmail.com>
wrote:

> Hi List!
>
>
> FreeSWITCHNewbie here.
> Please can I have some guidance on how to setup call back?
>
> I would like to be able to dial the DID attached to the SIP trunk
> Freeswitch is registered to, and then have freeSWITCH hang up the call
> and dial the caller id number back through any other SIP trunk
> FreeSWITCH Is registered with, but with the origination number set to
> the DID that the first call came through in the first place.
>
> Please is this possible just through the dial plan?
>
> Thanks for any help!
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20141231/ba8cd14c/attachment.html 


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