Do not dial digits when none were specified for sig_pri based calls

(closes issue #15524)
Reported by: elguero
Patches:
      pri-sig-no-dest-set.patch uploaded by elguero (license 37)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.6
Jeff Peeler 16 years ago
parent 5484d2f5d0
commit 16328efb78

@ -1789,10 +1789,11 @@ int sig_pri_call(struct sig_pri_chan *p, struct ast_channel *ast, char *rdest, i
p->outgoing = 1;
c = strchr(dest, '/');
if (c)
if (c) {
c++;
else
c = dest;
} else {
c = "";
}
l = NULL;
n = NULL;

Loading…
Cancel
Save