Hello everyone,<div><br></div><div>I'm using mod_event_socket in inbound mode to 'remote control' a FreeSwitch instance. I'm using the raw TCP interface (not any of the available language bindings). My problem now is, if I do a command like</div>
<div><br></div><div> bgapi originate sofia/gateway/mygw/0123456789 &park</div><div><br></div><div>and try to match the channel which is created by this command to the command itself, this seems to be very difficult. I cannot do it on timing only, because many channels may be created in a very short time and the order of originate-CHANNEL_CREATE will probably not be consistent.</div>
<div><br></div><div>Is there any 'best practice' how to solve this problem?</div><div><br></div><div>One solution seems to be to set {origination_uuid=x-y-z-k} in the originate section, but this does not reliably work with failover routing (for example, if I specify two gateways and the call gets rejected on the first and then originated on the second, the origination_uuid will not be the same any more).</div>
<div><br></div><div>Greetings,</div><div>Roland</div><div><div><br></div><div><br></div></div>