[asterisk-users] Sip from ip address

Geraint Lee geraint at gmail.com
Thu Sep 23 09:59:38 CDT 2010


Is there a way to specify which IP address to originate calls from in a peer
on sip.conf?

I need to send calls from 10.1.3.10 which is a routed network through
openvpn, but it's using 10.39.0.10 which is a vpn IP address - the asterisk
box is the same box as the vpn bridge for the 10.1.3.0/24 network. I can't
set the host as 10.39.x.x as it is dynamic.

i can't change bindaddr since i need to be able to receive connections from
the external ip address as well as the internal address - unless there's a
way to specify 2 ip's to use?

For now i will use "friend" with a dynamic host instead of peer, but would
prefer to use peer without having to use username and passwords.

Cheers

Geraint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100923/9a7925a7/attachment.htm 


More information about the asterisk-users mailing list