Yes, transfer is your friend in this scenario. :)
-MC
Michael Collins wrote:I may have just answered my own question - quite by accident while working on another problem.
> Are you trying to bridge the current leg (user <--> voicemail) to
> another endpoint? If so, how are you doing that? Are you transferring
> the leg back into the dialplan for processing?
>
I was sending the call back to the dial plan for processing, but I was using the execute_extension
application instead of transfer
It looks like execute_extension doesn't affect the destination_number variable, whereas transfer
changes the destination number, and sets the previously dialed number as RDNIS.
Changing my logic to use transfer instead of execute_extension seems to have solved things.
-Tim
_______________________________________________
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