Created attachment 32693 [details]
While testing my fix for bgo #582597, I hit an issue in the following scenario:
- Ask to the echo to call you (!callme)
- Check the "send video" ticky box and accept the call
- The call is closed by the echo bot.
Seems we are re-using "stream1" for the video stream which is already used by the audio one.
Re-using the stream name isn't the issue here. What happens is that you get an incoming jingle session with one content, then before accepting gabble is asked to add a second content. It internally adds this content, but for some reason doesn't send out a content-add. Instead when gabble accepts the call it includes both the original content and the new content in the session-accept message (?!). Which rightfully confuses the gabble on the other hand as a content it never saw before magically appeared.