i want to put sip peer registration command register => in my database . anybody have any idea about it how to do this fahd
You could check these links. I'm trying to do the sip peer registration like this but I get some error about username / auth name mismatch. I think I do something wrong in the MySQL table. I hope it works for you and if it works I would like to hear it from you. Good luck http://www.voip-info.org/tiki-index.php?page=Asterisk+RealTime http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip On 10/25/05, Fahd <fahad@supertec.com> wrote:> > i want to put sip peer registration command register => > in my database . anybody have any idea about it how to do this > > fahd > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Tijmen van den Brink Wilhelminaweg 46 3441 XC Woerden Tel: 0642233831 MSN: tijmenvandenbrink@hotmail.com Skype: tijmenvdbrink@skype.com SIP:697116@fwd.pulver.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051025/3f7cbc16/attachment.htm
Hello! As I know, the "register" is a variable of [general] section in sip.conf. You can't use it in database, ie you can't add new registers without reload the asterisk.. I am right? Regards. Jsalas. -----Mensaje original----- De: tijmen van den brink [mailto:tijmen.vandenbrink@gmail.com] Enviado el: Tuesday, October 25, 2005 9:26 AM Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [Asterisk-Users] Realtime sip register=> You could check these links. I'm trying to do the sip peer registration like this but I get some error about username / auth name mismatch. I think I do something wrong in the MySQL table. I hope it works for you and if it works I would like to hear it from you. Good luck http://www.voip-info.org/tiki-index.php?page=Asterisk+RealTime <http://www.voip-info.org/tiki-index.php?page=Asterisk+RealTime> http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip <http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip> On 10/25/05, Fahd < fahad@supertec.com <mailto:fahad@supertec.com> > wrote: i want to put sip peer registration command register => in my database . anybody have any idea about it how to do this fahd _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com> -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com <mailto:Asterisk-Users@lists.digium.com> http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> -- Tijmen van den Brink Wilhelminaweg 46 3441 XC Woerden Tel: 0642233831 MSN: tijmenvandenbrink@hotmail.com <mailto:tijmenvandenbrink@hotmail.com> Skype: tijmenvdbrink@skype.com <mailto:tijmenvdbrink@skype.com> SIP:697116@fwd.pulver.com <mailto:SIP:697116@fwd.pulver.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051025/16a5afe6/attachment.htm
yes, I tested too and it's works. The Problem is when we want to add (or delete) registers without reload the asterisk. We are using it like a "border" server wich is registered like many users in a SER machine and the "real" endpoints are registered in the asterisk. Regards. Jsalas -----Mensaje original----- De: Luca Lafranchi Lists [mailto:lists@idea-net.ch] Enviado el: Wednesday, October 26, 2005 5:51 AM Para: 'Asterisk Users Mailing List - Non-Commercial Discussion' Asunto: RE: [Asterisk-Users] Realtime sip register=> Hi, I saw (and it's works), that you can mix the realtime and static mode. In extconfig.conf file configure to use sip.conf in realtime ... ;realtime sipusers => mysql,pbx,PBX_sip_buddies sippeers => mysql,pbx,PBX_sip_buddies ... Don't delete the sip.conf file! In the sip.conf file define only the [general] section with your register variables and use sip_buddies table to define your SIP client. When you start Asterisk server, the sip.conf file will read the [general section (with your register variables) and after the sip_buddies table.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Olle E. Johansson > Sent: marted?, 25. ottobre 2005 16:11 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Realtime sip register=> > > Juan Salas wrote: > > Hello! > > > > As I know, the "register" is a variable of [general] section in > sip.conf. > > You can't use it in database, ie you can't add new registers without > reload > > the asterisk.. > You can have a static config in a database, but you will still have to > reload. > > /O > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > __________ NOD32 1.1264 (20051024) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com_______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users