maplerain / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

Add support for different To and Target URI in outgoing call and sending IM #328

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to use different URIs in the Request URI and To headers when sending 
messages or making outgoing calls.

For calls we've tracked the code to tsip_dialog.c, line 1141, see below:

    if(ss->to){
                self->uri_remote = tsk_object_ref(ss->to);
                self->uri_remote_target = tsk_object_ref(ss->to); /* Request-URI. */
            }

In boghe, we'd need the SipService's MakeCall method to receive the additional 
URI, sort of:
SipAVCall^ SipService::MakeCall(rtSipUri^ pTarget, rtSipUri^ pTo, bool 
bWithVideo, rtActionConfig^ pConfig)

This is something very important for us and has already been provided by other 
SIP stacks such as pjsip, see
https://trac.pjsip.org/repos/ticket/1688

Thanks,
Juan

Original issue reported on code.google.com by j...@juanagui.com on 28 Nov 2013 at 6:45

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 6 Dec 2013 at 3:41

Attachments:

GoogleCodeExporter commented 9 years ago
We're reviewing the patch. You should have received (via mail) a contributor 
agreement.

Original comment by boss...@yahoo.fr on 6 Dec 2013 at 3:44