Hi I have the following configuration | UA1 --|------ asterisk1 -----------------------+ UA2 --|------ asterisk2 -----------------------+ DB UA3 --|------ asterisk3 -----------------------+ UA4 --|------ asterisk4 -----------------------+ | All UA is located in the same area. A seperated PC is used as a centralized DB for storing a common dial plan, user account and register infomration. UA1 can make call to UA2,UA3 and UA4. UA2 can make call to UA1, UA3 but not UA4. UA3 can make call to UA4 but not UA1, UA2 UA4 failed to make call to all UA.>From the CLI and log below, asterisk shows it can't create channel.As I expect, all UA should able to find each other. However, some of them are failed to find others. I have no idea why they can't find each other well. Is it the configuration problem? Anyone can help? -- Executing Dial("SIP/871966629896-5373", "SIP/871966760539|15") Jun 20 17:42:16 NOTICE[23355]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) -- Executing Hangup("SIP/871966629896-5373", "") NOTICE[28269] app_dial.c: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
Hi ... In my configuration below, I use realtime architecture in our system. I have one device attached to each asterisk server. There is no record when I issue "sip show users or sip show registry in CLI. I wonder how can I know who is registered in asterisk. What command is it? On 6/20/06, unplug <maillisting@gmail.com> wrote:> Hi > I have the following configuration > > | > UA1 --|------ asterisk1 -----------------------+ > UA2 --|------ asterisk2 -----------------------+ DB > UA3 --|------ asterisk3 -----------------------+ > UA4 --|------ asterisk4 -----------------------+ > | > > All UA is located in the same area. A seperated PC is used as a > centralized DB for storing a common dial plan, user account and > register infomration. > UA1 can make call to UA2,UA3 and UA4. > UA2 can make call to UA1, UA3 but not UA4. > UA3 can make call to UA4 but not UA1, UA2 > UA4 failed to make call to all UA. > > From the CLI and log below, asterisk shows it can't create channel. > As I expect, all UA should able to find each other. However, some of > them are failed to find others. I have no idea why they can't find > each other well. Is it the configuration problem? Anyone can help? > > -- Executing Dial("SIP/871966629896-5373", "SIP/871966760539|15") > Jun 20 17:42:16 NOTICE[23355]: app_dial.c:1040 dial_exec_full: Unable > to create channel of type 'SIP' (cause 3 - No route to destination) > == Everyone is busy/congested at this time (1:0/0/1) > -- Executing Hangup("SIP/871966629896-5373", "") > > NOTICE[28269] app_dial.c: Unable to create channel of type 'SIP' > (cause 3 - No route to destination) >
----- unplug <maillisting@gmail.com> wrote:> In my configuration below, I use realtime architecture in our > system. I have one device attached to each asterisk server. There > is > no record when I issue "sip show users or sip show registry in CLI. > I > wonder how can I know who is registered in asterisk. What command is > it?The Asterisk Realtime implementation does not currently support sharing a registration database among multiple servers and having them be aware of the peers registered via the other servers. This will be addressed during the next development cycle, though. -- Kevin P. Fleming Senior Software Engineer Digium, Inc.
Is it the way for asterisk realtime system? register: UA1 --register--> asterisk1 -----> store user information in DB UA2 --register--> asterisk2 ----> store user information in DB UA1 --invite-UA2-------> asterisk1 ----> asterisk1 query UA2 information in DB ----->asterisk1 -----invite--> UA2 finally: UA1 -------asterisk1 ----------UA2 (2 legs keeping in asterisk1) Am I right? On 6/21/06, Kevin P. Fleming <kpfleming@digium.com> wrote:> > ----- unplug <maillisting@gmail.com> wrote: > > In my configuration below, I use realtime architecture in our > > system. I have one device attached to each asterisk server. There > > is > > no record when I issue "sip show users or sip show registry in CLI. > > I > > wonder how can I know who is registered in asterisk. What command is > > it? > > The Asterisk Realtime implementation does not currently support sharing a registration database among multiple servers and having them be aware of the peers registered via the other servers. This will be addressed during the next development cycle, though. > > -- > Kevin P. Fleming > Senior Software Engineer > Digium, Inc. > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
BTW, do you mean this function will be included in next release? When will be the next release available? On 6/21/06, unplug <maillisting@gmail.com> wrote:> Is it the way for asterisk realtime system? > register: > UA1 --register--> asterisk1 -----> store user information in DB > UA2 --register--> asterisk2 ----> store user information in DB > UA1 --invite-UA2-------> asterisk1 ----> asterisk1 query UA2 information in DB > ----->asterisk1 -----invite--> UA2 > finally: UA1 -------asterisk1 ----------UA2 (2 legs keeping in asterisk1) > Am I right? > > > On 6/21/06, Kevin P. Fleming <kpfleming@digium.com> wrote: > > > > ----- unplug <maillisting@gmail.com> wrote: > > > In my configuration below, I use realtime architecture in our > > > system. I have one device attached to each asterisk server. There > > > is > > > no record when I issue "sip show users or sip show registry in CLI. > > > I > > > wonder how can I know who is registered in asterisk. What command is > > > it? > > > > The Asterisk Realtime implementation does not currently support sharing a registration database among multiple servers and having them be aware of the peers registered via the other servers. This will be addressed during the next development cycle, though. > > > > -- > > Kevin P. Fleming > > Senior Software Engineer > > Digium, Inc. > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
----- unplug <maillisting@gmail.com> wrote:> Is it the way for asterisk realtime system? > register: > UA1 --register--> asterisk1 -----> store user information in DB > UA2 --register--> asterisk2 ----> store user information in DB > UA1 --invite-UA2-------> asterisk1 ----> asterisk1 query UA2 > information in DB > ----->asterisk1 -----invite--> UA2 > finally: UA1 -------asterisk1 ----------UA2 (2 legs keeping in > asterisk1)No, this is not supported at this time. If the UAs are behind NATs, then this wouldn't work even if the database was set up properly, because UA2's NAT is not prepared to accept SIP signaling from asterisk1 anyway. -- Kevin P. Fleming Senior Software Engineer Digium, Inc.
----- unplug <maillisting@gmail.com> wrote:> BTW, do you mean this function will be included in next release? > When > will be the next release available?No, it will not be in the next release (which is Asterisk 1.4). It may be in Asterisk 1.6, scheduled for January or so of 2007, but as I said in my other reply, even with the database support set up properly, there are still significant problems with operating this way, depending on how the network is structured. -- Kevin P. Fleming Senior Software Engineer Digium, Inc.
Thanks for your reply. As you said, my expectation is wrong in the current release. How can I implement load balancing using multiple asterisk of current release with a centralized database in another way? Is it possible? Any clue? Thanks! On 6/23/06, Kevin P. Fleming <kpfleming@digium.com> wrote:> ----- unplug <maillisting@gmail.com> wrote: > > BTW, do you mean this function will be included in next release? > > When > > will be the next release available? > > No, it will not be in the next release (which is Asterisk 1.4). It may be in Asterisk 1.6, scheduled for January or so of 2007, but as I said in my other reply, even with the database support set up properly, there are still significant problems with operating this way, depending on how the network is structured. > > -- > Kevin P. Fleming > Senior Software Engineer > Digium, Inc. > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Could you show me the what we need to change in asterisk to support multi-asterisk with a common database operation? On 6/23/06, Kevin P. Fleming <kpfleming@digium.com> wrote:> ----- unplug <maillisting@gmail.com> wrote: > > BTW, do you mean this function will be included in next release? > > When > > will be the next release available? > > No, it will not be in the next release (which is Asterisk 1.4). It may be in Asterisk 1.6, scheduled for January or so of 2007, but as I said in my other reply, even with the database support set up properly, there are still significant problems with operating this way, depending on how the network is structured. > > -- > Kevin P. Fleming > Senior Software Engineer > Digium, Inc. > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >