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

Paul Belanger pabelanger at digium.com
Tue Mar 20 09:52:57 CDT 2012


On 12-03-20 10:30 AM, Dan Cropp wrote:
> 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.
>
>
Simply open a new issue in JIRA[1], then attach your patch.  Please use 
svn diff when uploading patches.  You might also be required to sign a 
user agreement, the link it at the top.

[1] https://issues.asterisk.org/jira/
-- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | 
IRC: pabelanger (Freenode) Check us out at: http://digium.com & 
http://asterisk.org





More information about the asterisk-dev mailing list