aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-09 20:54:10 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-09 20:54:10 +0000
commitdf059f676d45e1a02e2b01a452fb5a32fdd20bc0 (patch)
treef33be31fdb9c21c925f8a629b8ba5a750af4e2da
parent2a466a71aacb788358f9e018bd1e9406ef724afb (diff)
Merged revisions 199818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r199818 | dvossel | 2009-06-09 15:47:57 -0500 (Tue, 09 Jun 2009) | 11 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.0@199821 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index c2e9886fb..dba3506ff 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -14512,7 +14512,7 @@ static char *sip_notify(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a
return CLI_FAILURE;
}
- if (create_addr(p, a->argv[i], 0)) {
+ if (create_addr(p, a->argv[i], 1)) {
/* Maybe they're not registered, etc. */
sip_destroy(p);
ast_cli(a->fd, "Could not create address for '%s'\n", a->argv[i]);