Hi<br><br>I am using outbound event socket connection in dialplan using <br><br><action application="socket" data="esl:8022 async full"/>. <br><br>The scenario is like this:<br><br>1. Call from PSTN to FS (leg A) with socket application in dialplan as above<br>
2. FS bridges the call to endpoint (leg B)<br>3. Endpoint picks up the call (there is a call no 1 established with legs A-B)<br>4. Endpoint holds call no 1<br>5. Endpoint invites somebody via FS (leg C) with socket application in dialplan as above<br>
6. FS invites PSTN gateway (leg D)<br>7. D picks up the call (not there is a call no 2 established with legs C-D)<br>8. Endpoint makes attended transfer between calls no 1 and no 2<br>9. A speaks with D, call no. 2 is ended, call no. 1 is modified to include legs A and D<br>
<br>My event receiver (esl:8022) receives two connections - one for each call. However the second socket connection ends as soon as Endpoint does a transfer (point no 8).<br><br>This doesn't happen when Endpoint does a blind transfer - both event connections last until A and D are disconnected (in blind transfer scenario there is no leg C, Endpoint sends REFER to D in point 5 but it creates another socket connection).<br>
<br>Is there any method to keep the event connection alive until A and D are connected with attended transfer? I have tried "myevents", "events all plain" and "linger" but it doesn't help - second event connection is closed as soon as connection in transferred.<br>
<br>-- <br>Marcin Gozdalik<br>