Skip to content
Snippets Groups Projects
Commit 59d93c1e authored by David Vossel's avatar David Vossel
Browse files

CLI NOTIFY sending wrong transport type.

SIP's cli NOTIFY command only used UDP rather than copying the transport type from the peer.

(closes issue #15283)
Reported by: jthurman
Patches:
      sip-notify-tcp-svn199728.patch uploaded by jthurman (license 614)
Tested by: jthurman, dvossel



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@199818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 856fda9f
No related branches found
No related tags found
No related merge requests found
...@@ -16694,7 +16694,7 @@ static char *sip_cli_notify(struct ast_cli_entry *e, int cmd, struct ast_cli_arg ...@@ -16694,7 +16694,7 @@ static char *sip_cli_notify(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
return CLI_FAILURE; return CLI_FAILURE;
} }
   
if (create_addr(p, a->argv[i], NULL, 0)) { if (create_addr(p, a->argv[i], NULL, 1)) {
/* Maybe they're not registered, etc. */ /* Maybe they're not registered, etc. */
dialog_unlink_all(p, TRUE, TRUE); dialog_unlink_all(p, TRUE, TRUE);
dialog_unref(p, "unref dialog inside for loop" ); dialog_unref(p, "unref dialog inside for loop" );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment