|Summary:||ASTERISK-01316: [patch] rtp.c does not allow to bind to an address.. now it does :)|
|Date Opened:||2004-03-31 07:13:17.000-0600||Date Closed:||2004-05-18 22:47:17|
|Environment:||Attachments:||( 0) rtp_bindaddr.diff|
( 1) rtp.conf.sample-1.1.diff
|Description:||rtp.c does not allow for binding to an IP to resolve some odd connection issues. This patch will allow a bindaddr=x.x.x.x line in the rtp.conf file to bind this to an ip, as we should anyway.|
****** ADDITIONAL INFORMATION ******
Thanks to slePP for helping me whilst I am still learning all of this c stuff :P
|Comments:||By: slepp (slepp) 2004-03-31 07:18:12.000-0600|
Tested and verified that it works. (Based off of a need to have it on the multiple IPs on one NIC thing on our server)
By: mh720 (mh720) 2004-03-31 16:53:32.000-0600
tested and working here. note that this duplicates bug
this patch submitted by twister is how I would like to see this issue handled.
Maintainers, please consider adding to cvs and closing this bug and 1019.
By: twisted (twisted) 2004-03-31 18:05:23.000-0600
oops.. silly me for not checking first. *THWAPS SELF*
By: slepp (slepp) 2004-04-02 02:32:40.000-0600
Added file rtp.conf.sample-1.1.diff which is a diff to show example usage of the bindaddr= in rtp.conf.
By: Olle Johansson (oej) 2004-04-17 17:18:44
Friends, we have two patches to solve the same problem. Please agree on one solution that works for everyone. Thank you!
By: ncruz (ncruz) 2004-04-19 03:02:35
The only problem i see with this patch, is that if you use for bindaddr an address different than the one used for sip bindaddr, the sdp body doesn't get updated... Look at 1019 on how to do that.
You also don't seem to check if the ip adrress given is a host or an ip, or if it is ok at all...
edited on: 04-19-04 01:58
By: twisted (twisted) 2004-04-19 19:17:41
1019 actually *supposedly* handles getbyhostname() and correct lookups with SDP redirection. Closing this one as focus should be placed there.
By: Brian West (bkw918) 2004-05-18 22:47:17
close not resolve