[asterisk-dev] I believe there is a typo in channels/chan_iax2.c

Dan Cropp dan at amtelco.com
Tue Mar 20 09:30:55 CDT 2012


Forgive me, I'm not sure where to send this or the process on updating
the code.

 

On Asterisk 10.2, I believe there is a typo

The file is channels/chan_iax2.c

Line 8839 reads...

manager_event(EVENT_FLAG_SYSTEM, "PeerStatus", "ChannelType:
IAX2\r\nPeer: IAX2/%s\r\nPeerStatus: Registered\r\nAddress: %s\r\nPost:
%d\r\n", p->name, ast_inet_ntoa(sin->sin_addr), n\

tohs(sin->sin_port));

 

I believe the Post in the string should read Port.

This would match another case where PeerStatus has a Port parameter.

 

I looked at the trunk and the same typo is present.

 

Dan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120320/25c17f97/attachment.htm>


More information about the asterisk-dev mailing list