If you were doing a forked dial or similar action, we would not know what the bleg is until its connected, in fact, there isn't a bleg until we return from originate.  Which would be when we receive early media from the other side, unless you are using ignore_early_media, which would be on answer.

Mike

On Apr 17, 2014, at 6:51 AM, Peter Olsson <peter@olssononline.se> wrote:

I believe there is another var (signal_bond, or something similar IIRC) that is populated earlier. It's probably not a good idea to change the bleg_uuid var yourself.


2014-04-17 12:02 GMT+02:00 mbo <mbodbg@gmx.net>:
I noticed that the variable bleg_uuid is only set when a bridged call gets connected, not if the call end with hangup cause NO_ANSWER or BUSY. Is this by intension? I need to linl the both call legs even when the call get’s bot connected, can I set the bleg_uuid by my self on bridge with the uuid of the a_leg or is this not a good idea?

Thanks

Markus