Use the same parameter to the two "Registry" AMI events - ChannelDriver
authorOlle Johansson <oej@edvina.net>
Fri, 6 Apr 2007 19:26:01 +0000 (19:26 +0000)
committerOlle Johansson <oej@edvina.net>
Fri, 6 Apr 2007 19:26:01 +0000 (19:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60531 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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);