Re: [asterisk-users] Asterisk Real Time and sip.conf file used at thesame time

2006-08-17 Thread kjcsb


I guess my problem might be that, because I pretend Asterisk to use my 
sip.conf
static configuration file and also MySQL tables referenced in 
extconfig.conf

like this:

[settings]
sipusers = mysql,asterisk,sip
sippeers = mysql,asterisk,sip
voicemail = mysql,asterisk,voicemail

While I'm using one thing I can't use the other right???


Based on my limited knowledge you *can* use both at the same time.

Any Sip details created in the sip table in your asterisk database will 
be available immediately to Asterisk. They will not be reported in the 
command line if you enter sip show peers. This is sometimes called realtime 
dynamic.


Any Sip entries in sip.conf will *also* be available to Asterisk but only on 
reload e.g. sip reload. These will be reported in the command line if you 
enter sip show peers.


However to complicate matters further there are two additional things to be 
aware of:

realtime caching
realtime static

Realtime caching loads the sip details from the database in a similar way to 
how the details from sip.conf are loaded i.e. both the details from sip.conf 
and from the database will be reported if you enter sip show peers. However 
changes made in the database are not immediately available - you need to 
reload just like if you made a change in sip.conf. To enabled this you must 
set rtcachefriends=yes in sip.conf


Realtime static is totally different to the realtime discussed above. It 
uses a different database structure and is intended to replace the Asterisk 
static files. Beyond that I'm unsure.


Personally I think realtime is a very misleading name. Extconfig would be 
a better term. Extconfig allows Asterisk to read its configuration files 
from any external source. Asterisk can be configured to source certain 
configuration files (e.g. sip.conf) internally (the default which will read 
from a text file) or (these are mutually exclusive) from an external source 
such as a database (so-called realtime static). *In addition*, Extconfig can 
read configuration information from an external source on-the-fly (realtime 
dynamic) or cached (realtime cached).


If anything I've said above is incorrect I'd sure appreciate an expert 
correcting me.


Cameron 


___
--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


RE: [asterisk-users] Asterisk Real Time and sip.conf file used at

2006-08-17 Thread Rushowr
Realtime configuration is when you tell Asterisk to use the database for
reading the sip global configuration items. 

Static configuration is when you use the sip.conf file to store the sip
global configuration items. 

You cannot mix the two. That's all. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yusuf
Sent: Wednesday, August 16, 2006 3:35 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk Real Time and sip.conf file used at


 On Wed, 2006-08-16 at 19:03 +0100, Ricardo Carvalho wrote:
 Is it possible to use Asterisk RealTime and also config files (like
 sip.conf) at the same time?
 As much as I know, only one thing can be used and I need them both 
 working!...


   Yes, you can use both at the same time.  The only restriction is
that 
 you cannot use the realtime static configuration and realtime 
 configuration.

 --

Hi

realtime static configuration and realtime configuration???
What is the difference, can you please explain?

thanks,
yusuf


--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

___
--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


[asterisk-users] Asterisk Real Time and sip.conf file used at the same time

2006-08-16 Thread Ricardo Carvalho
Is it possible to use Asterisk RealTime and also config files (like 
sip.conf) at the same time?
As much as I know, only one thing can be used and I need them both 
working!...


Thanks,

Ricardo.
___
--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


Re: [asterisk-users] Asterisk Real Time and sip.conf file used at the same time

2006-08-16 Thread Aaron Daniel
Yes.

On Wed, 2006-08-16 at 19:03 +0100, Ricardo Carvalho wrote:
 Is it possible to use Asterisk RealTime and also config files (like 
 sip.conf) at the same time?
 As much as I know, only one thing can be used and I need them both 
 working!...
 
 Thanks,
 
 Ricardo.
 ___
 --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
-- 
Aaron Daniel
Computer Systems Technician
Sam Houston State University
[EMAIL PROTECTED]
(936) 294-4198

___
--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


Re: [asterisk-users] Asterisk Real Time and sip.conf file used at the same time

2006-08-16 Thread Carlos Chavez
On Wed, 2006-08-16 at 19:03 +0100, Ricardo Carvalho wrote:
 Is it possible to use Asterisk RealTime and also config files (like 
 sip.conf) at the same time?
 As much as I know, only one thing can be used and I need them both 
 working!...
 

Yes, you can use both at the same time.  The only restriction is that
you cannot use the realtime static configuration and realtime
configuration.

-- 
Carlos Chavez Prats
Director de Tecnología
Telecomunicaciones Abiertas de México S.A. de C.V.
Tel: +52-55-91169161 Ext 2001


signature.asc
Description: This is a digitally signed message part
___
--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


Re: [asterisk-users] Asterisk Real Time and sip.conf file used at

2006-08-16 Thread Yusuf

 On Wed, 2006-08-16 at 19:03 +0100, Ricardo Carvalho wrote:
 Is it possible to use Asterisk RealTime and also config files (like
 sip.conf) at the same time?
 As much as I know, only one thing can be used and I need them both
 working!...


   Yes, you can use both at the same time.  The only restriction is that
 you cannot use the realtime static configuration and realtime
 configuration.

 --

Hi

realtime static configuration and realtime configuration???
What is the difference, can you please explain?

thanks,
yusuf


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
--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


Re: [asterisk-users] Asterisk Real Time and sip.conf file used at

2006-08-16 Thread Carlos Chavez
On Wed, 2006-08-16 at 21:34 +0200, Yusuf wrote:
 Hi
 
 realtime static configuration and realtime configuration???
 What is the difference, can you please explain?
 
 thanks,
 yusuf
 
 
You should probably read the following:

http://www.voip-info.org/wiki/view/Asterisk+RealTime

-- 
Carlos Chavez Prats
Director de Tecnología
Telecomunicaciones Abiertas de México S.A. de C.V.
Tel: +52-55-91169161 Ext 2001


signature.asc
Description: This is a digitally signed message part
___
--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


Re: [asterisk-users] Asterisk Real Time and sip.conf file used at the same time

2006-08-16 Thread rcarvalho
I guess my problem might be that, because I pretend Asterisk to use my sip.conf
static configuration file and also MySQL tables referenced in extconfig.conf
like this:

[settings]
sipusers = mysql,asterisk,sip
sippeers = mysql,asterisk,sip
voicemail = mysql,asterisk,voicemail

While I'm using one thing I can't use the other right???

Thanks once more,

Ricardo.






Quoting Carlos Chavez [EMAIL PROTECTED]:

 On Wed, 2006-08-16 at 19:03 +0100, Ricardo Carvalho wrote:
  Is it possible to use Asterisk RealTime and also config files (like
  sip.conf) at the same time?
  As much as I know, only one thing can be used and I need them both
  working!...
 

   Yes, you can use both at the same time.  The only restriction is that
 you cannot use the realtime static configuration and realtime
 configuration.

 --
 Carlos Chavez Prats
 Director de Tecnología
 Telecomunicaciones Abiertas de México S.A. de C.V.
 Tel: +52-55-91169161 Ext 2001




___
--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


RE: [asterisk-users] Asterisk Real Time and sip.conf file used at thesame time

2006-08-16 Thread Rushowr
You CAN use both. You cannot use both if you tell asterisk to get the WHOLE
sip configuration file from the database. But, in your case, realtime peers
and users

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 7:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion; Carlos Chavez
Cc: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk Real Time and sip.conf file used at
thesame time

I guess my problem might be that, because I pretend Asterisk to use my
sip.conf static configuration file and also MySQL tables referenced in
extconfig.conf like this:

[settings]
sipusers = mysql,asterisk,sip
sippeers = mysql,asterisk,sip
voicemail = mysql,asterisk,voicemail

While I'm using one thing I can't use the other right???

Thanks once more,

Ricardo.






Quoting Carlos Chavez [EMAIL PROTECTED]:

 On Wed, 2006-08-16 at 19:03 +0100, Ricardo Carvalho wrote:
  Is it possible to use Asterisk RealTime and also config files (like
  sip.conf) at the same time?
  As much as I know, only one thing can be used and I need them both 
  working!...
 

   Yes, you can use both at the same time.  The only restriction is
that 
 you cannot use the realtime static configuration and realtime 
 configuration.

 --
 Carlos Chavez Prats
 Director de Tecnología
 Telecomunicaciones Abiertas de México S.A. de C.V.
 Tel: +52-55-91169161 Ext 2001




___
--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