[asterisk-users] Asterisk as useragent registered using 2 accounts
Igor A. Goncharovsky
igi-go at ya.ru
Wed Feb 27 05:36:33 CST 2008
Rizwan Hisham wrote:
> I am having a strange problem. I am using my asterisk server AST1 to
> register with another asterisk server AST2 using 2 accounts (2 register
> commands in sip.conf). I have made 2 local users in AST1, and configured my
> dialplan in such a way that both local accounts on AST1 use different trunks
> to send the call to AST2 server. These 2 different trunks are for 2 accounts
> i have registered on AST1.
> (skiped)
>
> How can i make asterisk realize it?
>
You must enable authentication of INVITE that AST1 send to AST2. Now you
have no authentication of incoming INVITE and AST2 make decision about
used account based only on IP address of caller peer.
Changing insecure=port,invite to insecure=port should help.
--
Best regards,
Igor A. Goncharovsky
More information about the asterisk-users
mailing list