Thanks everyone for the replies. The problem is that ATA can't be configured to use separate ports on its side like other adapters (for example Linksys SPA or PAP2). Both channels use 5060. Apparently the only way to use both channels is to register them with different servers.
Thanks, Liviu ----- Original Message ----- From: Mike Ashton To: Liviu Toma Sent: Sunday, June 28, 2009 8:06 AM Subject: Re: [on-asterisk] Re: Making Asterisk listen on 5060 and 5061 Liviu, The easier solution is to configure the ATA to use 5060 & 5061, and both register with your asterisk server on port 5060. This also works beter with home nat routers since the internal end points are on different ports at the same IP. Mike Liviu Toma wrote: I forgot to mention: when both channels of the ATA are enabled, neither one is able to register. If I disable either one of the channels, the other one registers right away, so I am guessing all the settings should be OK. Liviu ----- Original Message ----- From: "Liviu Toma" <[email protected]> To: <[email protected]> Sent: Friday, June 26, 2009 11:07 PM Subject: Making Asterisk listen on 5060 and 5061 Hello, Is there any way to make Asterisk listen on two UDP ports for SIP messages, such as 5060 and 5061 ? I am using an ATA that has 2 lines (Motorola VT2142, but it applies to other adapters as well) and I am trying to make both register with Asterisk. The problem is both channels send registration messages from the same IP and port, almost at the same time (without waiting for response for the first registration request). If I run a trace in Asterisk, I am seeing a lot of messages like "Correct auth, but based on stale nonce received from ...<peer>" so I am guessing that Asterisk isn't able to keep track of the registrations based on the account used. Needless to say, the adapter doesn't appear to have a setting to use different UDP ports for the two channels on it's side. Any idea ? Thanks, Liviu --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] -- Mike Ashton Quality Track Intl CTO Ph: 647-724-3500 x 301 Cell: 416-527-4995 Fax: 416-352-6043 QTI CONFIDENTIAL AND PROPRIETARY INFORMATION The contents of this material are confidential and proprietary to Quality Track International, Inc. and may not be reproduced, disclosed, distributed or used without the express permission of an authorized representative of QTI. Use for any purpose or in any manner other than that expressly authorized is prohibited. If you have received this communication in error, please immediately delete it and all copies, and promptly notify the sender. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
