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

Pezhman Lali lopl at lopl.net
Tue Feb 15 06:41:37 CST 2011


please send your sip.conf, is any NAT procedure implemented in your network?


On Mon, Feb 14, 2011 at 10:16 PM, Ricardo Carvalho <
rjcarvalho.lists at gmail.com> wrote:

> 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.
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110215/b75a70f1/attachment.htm>


More information about the asterisk-users mailing list