On 07/23/14 05:03, Olli Heiskanen wrote:
Hi,
Thanks very much for this, that solved the double-m-line issue. Now I'm calling rtpengine_offer in a branch route.
One issue still remains; the call still gets connected to the called zoiper client, but it gets hung up right away. I traced this to be caused by a BYE message from Kamailio, which I think may be caused by the fact that the SDP returning to the chrome/websocket caller contains RTP/AVP profile, which it doesn't support. What I don't know is why this happens.
...
I suspect there is a 200 OK message going from Kamailio to the ws client that has the RTP/AVP profile, as the Jssip library gets an error stating: "Failed to set remote answer sdp: Failed to push down transport description: Answerer must use either active or passive value for setup attribute."
Any idea on what's going wrong here?
Yes, I see there's an a=setup:actpass in the answer, which shouldn't be there. Could you post the entire log for the whole call (just the rtpengine part) so I can see why it's putting that there?
cheers