Answering calls on the server side.
Hello,
I'm experimenting with directly handling incoming calls in the application's SSAS script. So far, an incoming call is successfully answered but I cannot seem to properly create and write a stream for it. The created .flv file is lesser than 1KB and unplayable. This makes me think that the file only contains header information and no actual data.
See my altered versions of the FlashPhone's main.asc sendOnLeg and sendLegStatusUpdate functions:

Implementation around the Stream object in the sendOnLeg function is meant to replace the client side NetStream implementation to subscribe to the remote stream.
Any clues as to why this server side handling of the incoming call isn't properly creating a stream?
Thanks,
- Georges
