summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f5d5a79c6..c5badfe90 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -18934,14 +18934,6 @@ static char *_sip_qualify_peer(int type, int fd, struct mansession *s, const str
struct sip_peer *peer;
int load_realtime;
- const char *id = astman_get_header(m,"ActionID");
- char idText[256] = "";
-
- if (!ast_strlen_zero(id)) {
- snprintf(idText, sizeof(idText), "ActionID: %s\r\n", id);
- }
-
-
if (argc < 4)
return CLI_SHOWUSAGE;
@@ -18958,11 +18950,7 @@ static char *_sip_qualify_peer(int type, int fd, struct mansession *s, const str
}
if (type != 0) {
- astman_append(s,
- "Event: SIPqualifypeerComplete\r\n"
- "%s"
- "\r\n",
- idText);
+ astman_send_ack(s, m, "Qualify Peer successful");
}
return CLI_SUCCESS;