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

jwexler at mail.usa.com jwexler at mail.usa.com
Fri Jul 30 02:18:42 CDT 2010


That helped. I can now register both.
Looks like I need to forward all traffic from the second asterisk instance
to the main one for all the users to successfully register and talk to each
other.
Is forwarding all traffic from one instance to the main one possible? How
can I do that?

Thanks
JW

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kyle Kienapfel
Sent: Friday, July 30, 2010 9:31 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Registering 2 phone numbers to same router

On Thu, Jul 29, 2010 at 4:05 PM, jwexler <jwexler at mail.usa.com> wrote:
> 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
>

So asterisk registers with the router that your isp gave you? I'd try
multiple asterisks with the same ip address, just different ports for
SIP and RTP.

Are you sure its limited by mac address? a quicker test to probe for
that would be to use two softphones on the same computer, one for each
sip accounts

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list