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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org