Skip to content
Snippets Groups Projects
Commit 6627c56b authored by pk16208's avatar pk16208 Committed by George Joseph
Browse files

chan_sip: SipNotify on Chan_Sip vi AMI behave different to CLI

With tls and udp enabled asterisk generates a warning about sending
message via udp instead of tls.
sip notify command via cli works as expected and without warning.

asterisk has to set the connection information accordingly to connection
and not on presumption

ASTERISK-28057 #close

Change-Id: Ib43315aba1f2c14ba077b52d8c5b00be0006656e
parent 6e1cf9de
No related branches found
No related tags found
No related merge requests found
......@@ -15639,7 +15639,7 @@ static int manager_sipnotify(struct mansession *s, const struct message *m)
return 0;
}
 
if (create_addr(p, channame, NULL, 0)) {
if (create_addr(p, channame, NULL, 1)) {
/* Maybe they're not registered, etc. */
dialog_unlink_all(p);
dialog_unref(p, "unref dialog inside for loop" );
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment