Jon Schøpzinsky
2006-Jun-09 02:44 UTC
SV: [Asterisk-Users] Database file to copy for active sessions.
Hello I can save you a lot of time, and tell you that it wont work. It does hold some registration information in the asterisk database, but most of the information is kept internally in Asterisk. Just FYI. Jon _____ Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Shenen Shenen Sendt: 9. juni 2006 11:37 Til: asterisk-users@lists.digium.com Emne: [Asterisk-Users] Database file to copy for active sessions. How can I copy all the contenent of the asterisk database to another machine? I want copy all the active sessions from one HYPERLINK "mailto:asterisk@home"asterisk@home to another one and running on the second(this I can do using vrrp protocol, it isn't a problem), I want copy only all the active sessions and softphone registrations to another HYPERLINK "mailto:asterisk@home"asterisk@home and then run on it. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060609/fba6ee2f/attachment.htm
Shenen Shenen
2006-Jun-09 02:55 UTC
[Asterisk-Users] Database file to copy for active sessions.
ok...but if I run a softphone and it is registered in the CLI and I see this: -- Registered SIP '655' at 192.168.251.10 port 1175 expires 900 this registration where is put?in which file? Can I copy this registration to another machine? On 6/9/06, Jon Sch?pzinsky <jos@detele.dk> wrote:> > Hello > > > > I can save you a lot of time, and tell you that it wont work. > > > > It does hold some registration information in the asterisk database, but > most of the information is kept internally in Asterisk. > > Just FYI. > > > > Jon > > > ------------------------------ > > *Fra:* asterisk-users-bounces@lists.digium.com [mailto: > asterisk-users-bounces@lists.digium.com] *P? vegne af *Shenen Shenen > *Sendt:* 9. juni 2006 11:37 > *Til:* asterisk-users@lists.digium.com > *Emne:* [Asterisk-Users] Database file to copy for active sessions. > > > > How can I copy all the contenent of the asterisk database to another > machine? > > I want copy all the active sessions from one asterisk@home to another one > and running on the second(this I can do using vrrp protocol, it isn't a > problem), I want copy only all the active sessions and softphone > registrations to another asterisk@home and then run on it. > > > > > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>-- > > 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/20060609/8812193e/attachment.htm
Jon Schøpzinsky
2006-Jun-09 03:03 UTC
SV: [Asterisk-Users] Database file to copy for active sessions.
It's a little more tricky than that. Our solution involves an external manager application, some clever IAX2 routing and dialplan mysql queries. We tried the solution with just copying the registration, but it seems as though the SIP channel has the registry information in an Internal data structure. Jon _____ Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Shenen Shenen Sendt: 9. juni 2006 11:56 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [Asterisk-Users] Database file to copy for active sessions. ok...but if I run a softphone and it is registered in the CLI and I see this: -- Registered SIP '655' at HYPERLINK "http://192.168.251.10"192.168.251.10 port 1175 expires 900 this registration where is put?in which file? Can I copy this registration to another machine? On 6/9/06, Jon Sch?pzinsky <HYPERLINK "mailto:jos@detele.dk"jos@detele.dk> wrote: Hello I can save you a lot of time, and tell you that it wont work. It does hold some registration information in the asterisk database, but most of the information is kept internally in Asterisk. Just FYI. Jon _____ Fra: HYPERLINK "mailto:asterisk-users-bounces@lists.digium.com" \nasterisk-users-bounces@lists.digium.com [mailto:HYPERLINK "mailto:asterisk-users-bounces@lists.digium.com" \n asterisk-users-bounces@lists.digium.com] P? vegne af Shenen Shenen Sendt: 9. juni 2006 11:37 Til: HYPERLINK "mailto:asterisk-users@lists.digium.com" \nasterisk-users@lists.digium.com Emne: [Asterisk-Users] Database file to copy for active sessions. How can I copy all the contenent of the asterisk database to another machine? I want copy all the active sessions from one HYPERLINK "mailto:asterisk@home" \nasterisk@home to another one and running on the second(this I can do using vrrp protocol, it isn't a problem), I want copy only all the active sessions and softphone registrations to another HYPERLINK "mailto:asterisk@home" \nasterisk@home and then run on it. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 _______________________________________________ --Bandwidth and Colocation provided by HYPERLINK "http://easynews.com/" \nEasynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: HYPERLINK "http://lists.digium.com/mailman/listinfo/asterisk-users" \nhttp://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060609/ad5ef28e/attachment.htm
Jon Schøpzinsky
2006-Jun-09 03:36 UTC
SV: [Asterisk-Users] Database file to copy for active sessions.
There is a solution, but its not straight forward, and not really documented anywhere. A possible solution, is to set a SER server up, before your asterisk, and let that handle the SIP registrations. Jon _____ Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne af Shenen Shenen Sendt: 9. juni 2006 12:21 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [Asterisk-Users] Database file to copy for active sessions. So my only solution is to use only X-lite softphone where I can add more than 1 proxy, and a Cisco switchboard where I can set up a VRRP protocol, so in case of fall, the cisco make the resolutions of all tables and permited me to call from IP phones like CISCO IP phones or wi_fi phone without problems or registration in asterisk.....I think......becouse in this way I see there isn't a solution....right? On 6/9/06, Jon Sch?pzinsky <HYPERLINK "mailto:jos@detele.dk"jos@detele.dk> wrote: It's a little more tricky than that. Our solution involves an external manager application, some clever IAX2 routing and dialplan mysql queries. We tried the solution with just copying the registration, but it seems as though the SIP channel has the registry information in an Internal data structure. Jon _____ Fra: HYPERLINK "mailto:asterisk-users-bounces@lists.digium.com" \nasterisk-users-bounces@lists.digium.com [mailto:HYPERLINK "mailto:asterisk-users-bounces@lists.digium.com" \n asterisk-users-bounces@lists.digium.com] P? vegne af Shenen Shenen Sendt: 9. juni 2006 11:56 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [Asterisk-Users] Database file to copy for active sessions. ok...but if I run a softphone and it is registered in the CLI and I see this: -- Registered SIP '655' at HYPERLINK "http://192.168.251.10/" \n192.168.251.10 port 1175 expires 900 this registration where is put?in which file? Can I copy this registration to another machine? On 6/9/06, Jon Sch?pzinsky <HYPERLINK "mailto:jos@detele.dk" \n jos@detele.dk> wrote: Hello I can save you a lot of time, and tell you that it wont work. It does hold some registration information in the asterisk database, but most of the information is kept internally in Asterisk. Just FYI. Jon _____ Fra: HYPERLINK "mailto:asterisk-users-bounces@lists.digium.com" \nasterisk-users-bounces@lists.digium.com [mailto:HYPERLINK "mailto:asterisk-users-bounces@lists.digium.com" \n asterisk-users-bounces@lists.digium.com] P? vegne af Shenen Shenen Sendt: 9. juni 2006 11:37 Til: HYPERLINK "mailto:asterisk-users@lists.digium.com" \nasterisk-users@lists.digium.com Emne: [Asterisk-Users] Database file to copy for active sessions. How can I copy all the contenent of the asterisk database to another machine? I want copy all the active sessions from one HYPERLINK "mailto:asterisk@home" \nasterisk@home to another one and running on the second(this I can do using vrrp protocol, it isn't a problem), I want copy only all the active sessions and softphone registrations to another HYPERLINK "mailto:asterisk@home" \nasterisk@home and then run on it. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 _______________________________________________ --Bandwidth and Colocation provided by HYPERLINK "http://easynews.com/" \nEasynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: HYPERLINK "http://lists.digium.com/mailman/listinfo/asterisk-users" \nhttp://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 _______________________________________________ --Bandwidth and Colocation provided by HYPERLINK "http://easynews.com/" \nEasynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: HYPERLINK "http://lists.digium.com/mailman/listinfo/asterisk-users" \nhttp://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 08-06-2006 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060609/b6d66d69/attachment.htm