search for: peer_set_srcaddr

Displaying 1 result from an estimated 1 matches for "peer_set_srcaddr".

2007 Dec 18
2
Asterisk/iaxclient IAX2 source port
...nd IAX2 connections? I've tried using "sourceaddress" to no avail. I can set it to: proper.ip.of.box:4569 or 0.0.0.0:4569 and it works as expected. But if I try to set it to: proper.ip.of.box:5000 or 0.0.0.0:5000 it fails around line 8536 in channels/chan_iax2.c, function peer_set_srcaddr, specifically: if (ast_netsock_find(netsock, &sin)) { always returns false unless the port is set to 4569. Thus tripping the error message: chan_iax2.c:8940 peer_set_srcaddr: Non-local or unbound address specified (0.0.0.0:5000) in sourceaddress for 'test-trunk', reverting to defa...