I want to do the following:
Originate a call via event_socket, I get back a job_uuid. Then I want to
control the call when it's established (2 call legs).
Scanning the variables of the 2 call legs I currentyl cannot see any
relation between the job_uuid and the uuid of the resulting call legs.
I
Peter P GMX pisze:
I want to do the following:
Originate a call via event_socket, I get back a job_uuid. Then I want to
control the call when it's established (2 call legs).
Scanning the variables of the 2 call legs I currentyl cannot see any
relation between the job_uuid and the uuid of the
Here are 3 ways:
1) subscribe to the BACKGROUND_JOB event and find the one with the same
job-uuid
then the body of that message is the output from your backgrounded FSAPI
call which in the case
of an originate will contain the uuid of the actual channel.
2) You can do as suggested and
Hello Thanks for your hints,
I now added {initiator_uuid=my_uuid} prefix to the dialstring.
Then I catch the channel_answer event, get this variable_initiator_uuid
and pass it to the application. This works like a charm.
Thanks to all.
Best regards
Peter
Anthony Minessale schrieb:
Here are 3