[asterisk-users] Registering 2 phone numbers to same router

jwexler at mail.usa.com jwexler at mail.usa.com
Thu Jul 29 18:05:39 CDT 2010


On Thu, Jul 29, 2010 at 10:15 PM, Paul Belanger wrote:
> MAC Address? Are you sure?  Why would your ISP care about level 2?  I
> could understand IP address (level 3).  If this is the case, you will
> need to spoof your MAC.

Actually, it is mind boggling that the isp even cares about restricting
phone registrations per device which is apparently what they are trying to
do. Without a work around, I would need to have 3 separate machines just to
register the three phone numbers. That would be a real mess. On their ip
phone settings page, there is a column labeled "mac address". They do not
display the mac addresses that they populate there but they do restrictions
by info received on the nic from which the registration was sent.
Unfortunately, simply spoofing the mac address would be insufficient because
there is no way to specify which nic to use in the 2 register statements in
sip.conf. I have not been able to use iptables or ip route to make up an
additional address to the router that asterisk can use successfully. I can
do so such that firefox can access, login to, and update the router but not
asterisk for some strange reason. The router is at 192.168.40.1. I set up
192.168.40.3 as a new ip that just routes to 192.168.40.1 which firefox is
happy with. Asterisk chokes. Maybe because of the rt200ne patch? Link is in
Japanese but it patches sip.c so that I can register with the router:
http://voip-info.jp/index.php/RT-200NE%E5%AF%BE%E5%BF%9C%E3%83%91%E3%83%83%E
3%83%81
Or some other cause? Suggestions on some kind of workaround be really
appreciated? I hope some day, Asterisk will provide the option to specify
registrations by nic interface.
Thanks
JW





More information about the asterisk-users mailing list