Bug 32808 - Support a 3pcc INVITE without SDP-body
Summary: Support a 3pcc INVITE without SDP-body
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: rakia (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Mikhail Zabaluev
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
: 41782 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-03 18:45 UTC by Stefan Siegl
Modified: 2019-12-03 19:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
3pcc support patch against tpsip 0.6.3 (4.55 KB, patch)
2012-09-16 12:30 UTC, Stefan Siegl
Details | Splinter Review

Description Stefan Siegl 2011-01-03 18:45:07 UTC
Hello,

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,
                   SOATAG_USER_SDP_STR (user_sdp->str),
                   SOATAG_RTP_SORT(SOA_RTP_SORT_REMOTE),
                   SOATAG_RTP_SELECT(SOA_RTP_SELECT_ALL),
                   NUTAG_AUTOANSWER(0),
                   TAG_END());

... 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,

  stesie

PS: I've tried version 0.6.3 and Git/master
Comment 1 Mikhail Zabaluev 2011-01-04 04:53:04 UTC
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.
Comment 2 Mikhail Zabaluev 2011-10-14 05:42:07 UTC
*** Bug 41782 has been marked as a duplicate of this bug. ***
Comment 3 José Illescas Pérez 2012-04-18 04:23:40 UTC
(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.

Hello,

what about support third party call control scenarios?.

I've installed GNOME 3.4 with Empathy 3.4 and doesn't accept incoming calls.

Regards.
Comment 4 Stefan Siegl 2012-09-10 22:07:10 UTC
Hello there,

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

https://gist.github.com/3694310

(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 :-)

cheers,
  stesie
Comment 5 Stefan Siegl 2012-09-16 12:30:50 UTC
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.
Comment 6 GitLab Migration User 2019-12-03 19:37:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-rakia/issues/15.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.