Asterisk / IAX General - asterisk defaultip settings always send to port 5060.


bitpacket - Jan 11, 2010 - 11:51 AM

Hello All,

i have the following settings,

[outbound-peer]
type=peer
host=dynamic
defaultip=192.168.22.33
port=9000
username=1234
secret=124


with the above setting, whenever i try to put an outbound call, asterisk sends the invite message to 192.168.22.33 but it sends to port 5060 and not to 9000..

as per the explanation in sip.conf file, it says,

port= ; The port number we want to connect to on the remote side
; Also used as "defaultport" in combination with "defaultip" settings

But its not working.. pls let me know how to make the asterisk send to port 9000 with defaultip settings..

Thanks
Bitpacketier....
Dprasad - Mar 09, 2010 - 06:33 AM

Hello,


Try giving static host.

You can also try giving port no next to ip address

Exp:
defaultip=192.168.22.33:9000


Let me know the result.


Thanks,
CSS_ETS03

VoIP User Forum Thread || From : www.voipuser.org