[Home]

Summary:ASTERISK-07024: [patch] setting the sourceaddress parameter in iax.conf doesnt function
Reporter:Dinesh Nair (alphaque)Labels:
Date Opened:2006-05-23 10:55:18Date Closed:2006-05-23 16:47:27
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_iax2.c.diff
( 1) chan_iax2-1.2.7.1.diff
Description:setting the sourceaddress parameter in iax.conf, which is supposed to bind the outgoing IAX packets to the address defined in sourceaddress always doesnt work. this is due to an incomplete sockaddr structure being used in the call to check_srcaddr. the patch below fixes this behaviour, allowing sourceaddress to function the way it's supposed to.

****** ADDITIONAL INFORMATION ******

the attached chan_iax2-1.2.7.1.diff fixes the same on asterisk 1.2.7.1
Comments:By: Russell Bryant (russell) 2006-05-23 16:47:26

fixed in the 1.2 branch and trunk in revisions 29849 and 29850, thanks!