I'm trying to connect my Nokia N900 to an Auerswald COMpact 5020 VoIP PBX, registration & outgoing calls work like a charm, but I've got a problem with incoming calls.
The PBX provides INVITEs without an SDP-body to the phone, which in turn answers 100 & 180 (ringing). If I click the accept-button the phone sends a 480:
--- LOG excerpt ---
(telepathy-sofiasip:32602): tpsip-DEBUG: _tpsip_media_channel_add_member: accepting an incoming invite
(telepathy-sofiasip:32602): tpsip-DEBUG: tpsip_media_session_debug: SIP media session [invite-received ]: accepting the session
(telepathy-sofiasip:32602): tpsip-WARNING **: priv_session_respond: cannot respond with a valid SDP answer, were all streams closed?
(telepathy-sofiasip:32602): tpsip-DEBUG: priv_session_rollback: enter
(telepathy-sofiasip:32602): tpsip-DEBUG: tpsip_media_session_terminate: enter
(telepathy-sofiasip:32602): tpsip-DEBUG: tpsip_media_session_terminate: sending the 480 response to an incoming INVITE
--- full log at: http://paste.q0a.de/m3562
... instead of that I'd expect it to reply a 200 with SDP-answer, but I can't figure out how to get tp-sofiasip to do that for me :-)
I've tried several variations of ...
user_sdp = g_string_append (user_sdp, "m=audio 0 RTP/AVP 0\r\n");
nua_respond (priv->nua_op, SIP_200_OK,
... and the like in the else-part of priv_session_respond, but that doesn't help much. Session negotiation doesn't work that way either, probably since a real port no. must be provided, but how to set these up!?
I have not much of a clue of all the SIP-stuff and really got stuck here :-/
any help appreciated, cheers,
PS: I've tried version 0.6.3 and Git/master
No, third party call control scenarios (see RFC 3725) are not supported yet.
Work is needed in the TpsipMediaSession state machine to untangle the offer-answer states from processing INVITE requests as such.
*** Bug 41782 has been marked as a duplicate of this bug. ***
(In reply to comment #1)
> No, third party call control scenarios (see RFC 3725) are not supported yet.
> Work is needed in the TpsipMediaSession state machine to untangle the
> offer-answer states from processing INVITE requests as such.
what about support third party call control scenarios?.
I've installed GNOME 3.4 with Empathy 3.4 and doesn't accept incoming calls.
I've once more tried to make telepathy-rakia + empathy support 3pcc INVITEs as sent by a Auerswald PBX (Commander 6000) on incoming calls.
The following patch applies to latest telepathy-rakia release 0.7.4
(unfortunately this bug tracker is broken and doesn't allow upload of attachments currently)
I'm not quite sure whether that's the best way to implement 3pcc support, but it at least works with the aforementioned PBX :-)
Created attachment 67240 [details] [review]
3pcc support patch against tpsip 0.6.3
I've backported the patch to telepathy sofia-sip version 0.6.3 for my Nokia N900 mobile phone.