Fix SIP for outbound too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-01 03:03:42 +00:00
parent 694d3435e1
commit 80f05b38b0

View File

@@ -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); ast_log(LOG_DEBUG, "Outgoing Call for %s\n", p->username);
res = find_user(p,INC_OUT_USE); res = find_user(p,INC_OUT_USE);
p->restrictcid = ast->restrictcid; p->restrictcid = ast->restrictcid;
p->jointcapability = p->capability;
transmit_invite(p, "INVITE", 1, NULL, vxml_url,distinctive_ring, 1); transmit_invite(p, "INVITE", 1, NULL, vxml_url,distinctive_ring, 1);
if (p->maxtime) { if (p->maxtime) {
/* Initialize auto-congest time */ /* Initialize auto-congest time */