[asterisk-users] unregistered trunks and registered phones coming from the same IP

Ricardo Carvalho rjcarvalho.lists at gmail.com
Mon Feb 14 12:46:19 CST 2011


Hi,

I manage an SBC which stands between my company server farm and some SIP
telco trunks. The system works fine, for inbound and outbound calls.

Now I've configured the SBC to also act as a registration proxy, forwarding
SIP registrations coming from the Internet to my asterisk servers.
It all seems fine, but it doesn't work well, because by the time at least
one phone registers through the SBC to some asterisk server (lets say,
server_A), future incoming calls coming from my SIP telco trunks to my
server_A got refused by the asterisk running on that server, with "401
Unauthorized" messages back to the SBC.
Seems like that since the moment asterisk binds some contact to the IP of
the SBC, because it registered through it, from that moment, asterisk only
accepts calls from that IP if those INVITEs carry correct registration to my
server (even if those calls came from my SBC, a trusted trunk, not
registered in asterisk).
My phones are configured with type=friend. I've also tried type=peer and
type=user, but it doesn't solve the problem.

Any ideas to fix this?

Best regards,
Ricardo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110214/038d24dc/attachment.htm>


More information about the asterisk-users mailing list