Using svn trunk, I was trying to see what the astdb entry in the sip.conf file does. Nothing :) I presume that it's meant to create an entry in the astdb. so, I have astdb=chan2ext/SIP/grandstream1=1234 in sip.conf But database show only gives *CLI> database show /SIP/Registry/706 : 192.168.0.200:5060:3600:706:sip:706@192.168.0.200:5060 /SIP/Registry/731 : 192.168.6.156:5060:3600:731:sip:731@192.168.6.156:5060 /dundi/secret : RpC4PXLxxxxxxxxxxxxxxxxxtslY5OZOza7OSws60yzaA /dundi/secretexpiry : 1149149129 Do I need to have anything else configured or should I report this as a bug ? Julian
I have just finished building a prototype IVR server on a pc for demonstration purpose. My goal is to build a IVR server with the 4G memory, dual xeon processor and a 4 x E1 card. The server would strictly receive incoming calls and serve WAV files. my question is: Is this not an over kill?............... has anyone done any bench marks to determine the optimal size of an asrerisk machine?? Response would be appreciated. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/
use DBput a DBget (http://www.voip-info.org/wiki/view/Asterisk+database) astdb=chan2ext/SIP/grandstream1=1234 is only variable turby -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Julian Lyndon-Smith Sent: Thursday, June 01, 2006 9:39 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] astdb entry in sip.conf Using svn trunk, I was trying to see what the astdb entry in the sip.conf file does. Nothing :) I presume that it's meant to create an entry in the astdb. so, I have astdb=chan2ext/SIP/grandstream1=1234 in sip.conf But database show only gives *CLI> database show /SIP/Registry/706 : 192.168.0.200:5060:3600:706:sip:706@192.168.0.200:5060 /SIP/Registry/731 : 192.168.6.156:5060:3600:731:sip:731@192.168.6.156:5060 /dundi/secret : RpC4PXLxxxxxxxxxxxxxxxxxtslY5OZOza7OSws60yzaA /dundi/secretexpiry : 1149149129 Do I need to have anything else configured or should I report this as a bug ? Julian _______________________________________________ --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
I've never attempted to use this feature, so I can neither confirm nor deny whether it works/doesn't work/used to work/etc. But what I find really odd, is that the code doesn't even appear to try and parse "astdb" when it's loading the config, at least insofar as I can tell. A quick grep -i astdb shows only two lines: #include "asterisk/astdb.h" ast_verbose(VERBOSE_PREFIX_3 "SIP Seeding peer from astdb: '%s' at %s@%s:%d for %d\n", Neither of which, obviously, is doing what you want it to. I get the same result both with the 1.2.8 tarball and svn trunk from this morning. I would file a bug, I guess. - Brad -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Julian Lyndon-Smith Sent: Thursday, June 01, 2006 5:02 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] astdb entry in sip.conf Err, I'm not trying to write to the db using the dialplan. In sip.conf there seems to be the ability to automatically create a db entry on startup. The line in sip.conf is astdb=chan2ext/SIP/grandstream1=1234 ; ensures an astDB entry exists But it doesn't ensure an astDB entry exists :) Julian. turby wrote:> use DBput a DBget > (http://www.voip-info.org/wiki/view/Asterisk+database) > > astdb=chan2ext/SIP/grandstream1=1234 is only variable > > turby > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Julian > Lyndon-Smith > Sent: Thursday, June 01, 2006 9:39 AM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] astdb entry in sip.conf > > Using svn trunk, I was trying to see what the astdb entry in the > sip.conf file does. > > Nothing :) > > I presume that it's meant to create an entry in the astdb. > > so, I have > > astdb=chan2ext/SIP/grandstream1=1234 > > in sip.conf > > But database show only gives > > *CLI> database show > /SIP/Registry/706 : > 192.168.0.200:5060:3600:706:sip:706@192.168.0.200:5060 > /SIP/Registry/731 : > 192.168.6.156:5060:3600:731:sip:731@192.168.6.156:5060 > /dundi/secret : > RpC4PXLxxxxxxxxxxxxxxxxxtslY5OZOza7OSws60yzaA > /dundi/secretexpiry : 1149149129 > > Do I need to have anything else configured or should I report this as > a bug ? > > > Julian > _______________________________________________ > --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 > > _______________________________________________ > --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 > >_______________________________________________ --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 The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
Interesting.... I always kind of thought is was a cool option to have, though (as I already mentioned) never needed it in my situation(s). That's pretty strange that the option exists in the sample, though. - Brad -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Julian Lyndon-Smith Sent: Thursday, June 01, 2006 8:31 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] astdb entry in sip.conf Yeah, just found http://bugs.digium.com/view.php?id=3359 where it seems to have been closed out, the code never making it into chan_sip.c However, the option *did* make it's way into sip.conf, so I guess that the real bug is that the option is in sip.conf. Bummer. Devels: Any chance of getting 3359 re-opened and put into asterisk ? Julian Watkins, Bradley wrote:> I've never attempted to use this feature, so I can neither confirm nor> deny whether it works/doesn't work/used to work/etc. > > But what I find really odd, is that the code doesn't even appear to > try and parse "astdb" when it's loading the config, at least insofar > as I can tell. A quick grep -i astdb shows only two lines: > > #include "asterisk/astdb.h" > ast_verbose(VERBOSE_PREFIX_3 "SIP Seeding peer from > astdb: '%s' at %s@%s:%d for %d\n", > > Neither of which, obviously, is doing what you want it to. I get the > same result both with the 1.2.8 tarball and svn trunk from thismorning.> > I would file a bug, I guess. > > > - Brad > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Julian > Lyndon-Smith > Sent: Thursday, June 01, 2006 5:02 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] astdb entry in sip.conf > > Err, I'm not trying to write to the db using the dialplan. In sip.conf> there seems to be the ability to automatically create a db entry on > startup. The line in sip.conf is > > astdb=chan2ext/SIP/grandstream1=1234 ; ensures an astDB entry exists > > But it doesn't ensure an astDB entry exists :) > > Julian. > > turby wrote: >> use DBput a DBget >> (http://www.voip-info.org/wiki/view/Asterisk+database) >> >> astdb=chan2ext/SIP/grandstream1=1234 is only variable >> >> turby >> >> -----Original Message----- >> From: asterisk-users-bounces@lists.digium.com >> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Julian >> Lyndon-Smith >> Sent: Thursday, June 01, 2006 9:39 AM >> To: asterisk-users@lists.digium.com >> Subject: [Asterisk-Users] astdb entry in sip.conf >> >> Using svn trunk, I was trying to see what the astdb entry in the >> sip.conf file does. >> >> Nothing :) >> >> I presume that it's meant to create an entry in the astdb. >> >> so, I have >> >> astdb=chan2ext/SIP/grandstream1=1234 >> >> in sip.conf >> >> But database show only gives >> >> *CLI> database show >> /SIP/Registry/706 : >> 192.168.0.200:5060:3600:706:sip:706@192.168.0.200:5060 >> /SIP/Registry/731 : >> 192.168.6.156:5060:3600:731:sip:731@192.168.6.156:5060 >> /dundi/secret : >> RpC4PXLxxxxxxxxxxxxxxxxxtslY5OZOza7OSws60yzaA >> /dundi/secretexpiry : 1149149129 >> >> Do I need to have anything else configured or should I report this as>> a bug ? >> >> >> Julian >> _______________________________________________ >> --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 >> >> _______________________________________________ >> --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 >> >> > > _______________________________________________ > --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 > > The contents of this e-mail are intended for the named addressee only.It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.> _______________________________________________ > --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 > >_______________________________________________ --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 The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.