Use the same parameter to the two "Registry" AMI events - ChannelDriver
[asterisk/asterisk.git] / channels / chan_sip.c
index 97d5d2b..c8a375d 100644 (file)
@@ -12694,7 +12694,7 @@ static int handle_response_register(struct sip_pvt *p, int resp, char *rest, str
                        r->regstate = REG_STATE_UNREGISTERED;
                        transmit_register(r, SIP_REGISTER, NULL, NULL);
                }
-               manager_event(EVENT_FLAG_SYSTEM, "Registry", "Channel: SIP\r\nUsername: %s\r\nDomain: %s\r\nStatus: %s\r\n", r->username, r->hostname, regstate2str(r->regstate));
+               manager_event(EVENT_FLAG_SYSTEM, "Registry", "ChannelDriver: SIP\r\nUsername: %s\r\nDomain: %s\r\nStatus: %s\r\n", r->username, r->hostname, regstate2str(r->regstate));
                break;
        case 479:       /* SER: Not able to process the URI - address is wrong in register*/
                ast_log(LOG_WARNING, "Got error 479 on register to %s@%s, giving up (check config)\n", p->registry->username,p->registry->hostname);