Does asterisk block multiple register attempts from the same ip address?
Heres my example
64.72.100.139 = Asterisk
166.67.78.9   = NAT(PAT) IP Address on Cisco Pix Firewall

pbx*CLI>sip show peers

2815551212/2815  166.67.78.9      D   N      255.255.255.255  63289
Unmonitored
2815553434/2815  166.67.78.9      D   N      255.255.255.255  64019
Unmonitored


Now in this scenario 2 devices are behind a symmetric firewall.  Both phones
are set to re-register every 5 minutes. I start out with both phones turned
off. I turn phone 2815551234(A) on and it registers and i can make a call to
it every single time. Now I turn phone 2815551212(B) on and it registers.
Right after phone B registers, I call phone A and i get "maximum retries
exceeded" call failure. If I call phone B it rings with no problems.  After
5 minutes, phone A re-registers and now I can call phone A no problems, but
phone B no longer works.  This goes on and on....Its whatever IP phone
registers last is the only phone I am able to complete calls.

Heres my current sip.conf
[281551212]
type=friend
secret=password
nat=yes
canreinvite=no
host=dynamic
dtmfmode=rfc2833
context=cytelmain

[2815553434]
type=friend
secret=password
nat=yes
canreinvite=no
host=dynamic
dtmfmode=rfc2833
context=cytelmain


Now if i change 2815553434 host=166.67.78.9  On the CLI I am getting

Jul 14 14:13:20 NOTICE[1133718080]: chan_sip.c:7293 handle_request:
Registration from '2815553434 <sip:[EMAIL PROTECTED]>' failed for
'166.67.78.9'

BUT, I am now able to call both phones at the same time and they both ring.
This sounds like Asterisk is blocking multiple connections  from the same IP
Address?  How do i go about fixing this?


THANKS!!!!!!!!!!


harold

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to