4 Oct
2010
4 Oct
'10
7:55 p.m.
Michael Collins wrote:
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 may have just answered my own question - quite by accident while working on another problem. 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