Skip to content
Snippets Groups Projects
Commit 16328efb authored by Jeff Peeler's avatar Jeff Peeler
Browse files

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
parent 5484d2f5
No related branches found
No related tags found
No related merge requests found
...@@ -1789,10 +1789,11 @@ int sig_pri_call(struct sig_pri_chan *p, struct ast_channel *ast, char *rdest, i ...@@ -1789,10 +1789,11 @@ int sig_pri_call(struct sig_pri_chan *p, struct ast_channel *ast, char *rdest, i
p->outgoing = 1; p->outgoing = 1;
c = strchr(dest, '/'); c = strchr(dest, '/');
if (c) if (c) {
c++; c++;
else } else {
c = dest; c = "";
}
l = NULL; l = NULL;
n = NULL; n = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment