Fix SIP for outbound too
authorMark Spencer <markster@digium.com>
Wed, 1 Oct 2003 03:03:42 +0000 (03:03 +0000)
committerMark Spencer <markster@digium.com>
Wed, 1 Oct 2003 03:03:42 +0000 (03:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1590 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index d5d59e0..3152389 100755 (executable)
@@ -856,6 +856,7 @@ static int sip_call(struct ast_channel *ast, char *dest, int timeout)
        ast_log(LOG_DEBUG, "Outgoing Call for %s\n", p->username);
        res = find_user(p,INC_OUT_USE);
        p->restrictcid = ast->restrictcid;
+       p->jointcapability = p->capability;
        transmit_invite(p, "INVITE", 1, NULL, vxml_url,distinctive_ring, 1);
        if (p->maxtime) {
                /* Initialize auto-congest time */