Dave Weis | 1 Sep 2003 01:35

RE: DBSaveTree & DBLoadTree


On Sun, 31 Aug 2003, Michiel Betel wrote:
> The db entries persist on reload, on a restart (or crash...) they are
> gone...

On my installation they persist a reload or a stop/start fine. I use it 
for call forward and dnd settings.

dave

> -----Original Message-----
> From: asterisk-users-admin <at> lists.digium.com
> [mailto:asterisk-users-admin <at> lists.digium.com] On Behalf Of Dave Weis
> Sent: zondag 31 augustus 2003 20:39
> To: asterisk-users <at> lists.digium.com
> Subject: Re: [Asterisk-Users] DBSaveTree & DBLoadTree
> 
> 
> 
> On Sun, 31 Aug 2003, Michiel Betel wrote:
> > Has anyone already written something which allows saving and loading 
> > the internal DB settings? All users CFWD and speeldial settings are 
> > stored in the DB in my setup which makes it a pain to restart 
> > Asterisk.... Looking at showtree in db.c (why isn't that exposed in 
> > the CLI?) It shouldn't be too difficult, but I don't want to reinvent 
> > the wheel.
> 
> Doesn't the db stuff persist on disk during reloads?
> 
> > On the same track, I am also looking at exposing DBput & DBget to the 
(Continue reading)

Steven Critchfield | 1 Sep 2003 01:38

Re: Newbie IVR question

On Sun, 2003-08-31 at 16:27, Josh Edwards wrote:
> So I guess what i need is an agi app that goes is passed  callerid and
> ext
> 
> then does a "wait for digit" 
> 
> then writes (callerid,ext,<the digit>) to a database. 
> 
> I do not know perl, so I guess my real question is, is this hard to
> write, has anyone else done it?

php is just perl about 1 and a half revisions ago. It isn't hard. 

> >From: Steven Critchfield 
> >Reply-To: asterisk-users <at> lists.digium.com 
> >To: asterisk-users <at> lists.digium.com 
> >Subject: Re: [Asterisk-Users] Newbie IVR question 
> >Date: 31 Aug 2003 15:54:53 -0500 
> > 
> >On Sun, 2003-08-31 at 15:39, Josh Edwards wrote: 
> > > let me first say this is an amazing product. 
> > > 
> > > 
> > > ok here is my question 
> > > 
> > > what I want to do is be able to have people call me and answar 
> > > questions. The answars to there questions would need to be stored
> in a 
> > > mysql database. 
> > > 
(Continue reading)

Tilghman Lesher | 1 Sep 2003 05:12

Re: DBSaveTree & DBLoadTree

On Sunday 31 August 2003 16:49, Michiel Betel wrote:
> The db entries persist on reload, on a restart (or crash...) they are
> gone...

Are you perhaps running Asterisk as a user other than root?  Sounds like
you might not have permission to write to /var/lib/asterisk/.

-Tilghman
Paul Cheng | 1 Sep 2003 08:12

Re: ENUM, iax,iax2 and h323?

Yes, keep up the good work!

On Sunday, August 31, 2003, at 09:24  AM, Brian West wrote:

> I have added support for enum looks for iax,iax2 and h323.  So far in 
> my
> testing it has worked perfect.  (note: you need to strip the + for iax 
> and
> iax2 calls or they will fail.  h323 will accpet the + but I striped it 
> in
> the below example)
>
> *.1.enum.bkw.org. IN NAPTR 2 42 "u" "h323+E2U" 
> "!^\\+(.*)$!h323:\\1 <at> 1.2.3.4!" .
>
> Also you could do something like this for iax2:
>
> *.8.1.9.1.enum.bkw.org. IN NAPTR 2 42 "u" "iax2+E2U" 
> "!^\\+(.*)$!iax2:username <at> gateway/\\1!" .
>
> (gateway would be setup in iax.conf)
>
> Would anyone else like to see iax, iax2 and h323 enum lookup support 
> in *?
>
> here are my diffs:
> http://www.bkw.org/~brian/app_enumlookup.diff
> http://www.bkw.org/~brian/enum.diff
>
> Thanks,
(Continue reading)

Michiel Betel | 1 Sep 2003 08:16
Picon

RE: DBSaveTree & DBLoadTree

OOOPS.... Indeed! My fault... They do persist if you the system it
correctly.....

Sorry, Michiel

-----Original Message-----
From: asterisk-users-admin <at> lists.digium.com
[mailto:asterisk-users-admin <at> lists.digium.com] On Behalf Of Tilghman Lesher
Sent: maandag 1 september 2003 5:12
To: asterisk-users <at> lists.digium.com
Subject: Re: [Asterisk-Users] DBSaveTree & DBLoadTree

On Sunday 31 August 2003 16:49, Michiel Betel wrote:
> The db entries persist on reload, on a restart (or crash...) they are 
> gone...

Are you perhaps running Asterisk as a user other than root?  Sounds like you
might not have permission to write to /var/lib/asterisk/.

-Tilghman

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users <at> lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
Mickey Binder | 1 Sep 2003 10:51
Picon

Change include contexts runtime

Hi there

How do I change the dialplan runtime, if I for example wants all calls on
the main number to be answered by a voicemail (when it is out-of-office
hours).
I want to be able to change the configuration by pressing a DTMF combination
e.g. *82. Can't figure out whether it is necessary to change contexts or how
to do it.

I have read a lot of examples and config documentation, but I can't figure
out how to do it.

I know there are commands from the CLI to include and not include contexts
but I can't get them to work.
If i write 'include context in default' I can see by 'show dialplan' that
'context' is included in default. But if I want to include a context named
office by typing 'include office in default' I just get 'No such command
'include office' (type 'help for help)

regards
Mickey Binder
Rattana BIV | 1 Sep 2003 11:19

gnuGK + h323 Caller ID

Hi,
 
I use with asterisk gnugk a gatekeeper for h323 client.
 
I don't understand why asterisk can't have the H323-ID (callerID).
 
In the gatekeeper's monitor I have this H323-ID but not in asterisk.
 
Does anyone know something about it, or how can I send a caller ID to asterisk ?
 
 
Rattana
Thomas Haeger | 1 Sep 2003 11:07
Favicon

some pri questions...

Hi all,

i have a few questions about PRI/ISDN:

	1. Are "supplementary services" like conferencing, call brokering or call
forwarding supported by * ?
	2. Is there a way to switch calls "transparent" through * from one port to
another port ?
	3. Is it possible to configure the * so that * detecting dtmf during a call
?

Thanks for answering questions, regards,

Thomas. :-)

*******************************************
beroNet technologies GmbH
Dipl.- Ing. Thomas Häger
Potsdamer Str. 18 A
14513 Teltow

FON:    +49 (0) 3328 3077731
FAX:    +49 (0) 3328 334779
Email:  thomas.haeger <at> beronet.com
*******************************************
Rattana BIV | 1 Sep 2003 11:35

Re: Change include contexts runtime

I have the same problem

----- Original Message -----
From: "Mickey Binder" <mickey <at> comflex.dk>
To: "Asterisk maillist (E-mail)" <asterisk-users <at> lists.digium.com>
Sent: Monday, September 01, 2003 10:51 AM
Subject: [Asterisk-Users] Change include contexts runtime

> Hi there
>
> How do I change the dialplan runtime, if I for example wants all calls on
> the main number to be answered by a voicemail (when it is out-of-office
> hours).
> I want to be able to change the configuration by pressing a DTMF
combination
> e.g. *82. Can't figure out whether it is necessary to change contexts or
how
> to do it.
>
> I have read a lot of examples and config documentation, but I can't figure
> out how to do it.
>
> I know there are commands from the CLI to include and not include contexts
> but I can't get them to work.
> If i write 'include context in default' I can see by 'show dialplan' that
> 'context' is included in default. But if I want to include a context named
> office by typing 'include office in default' I just get 'No such command
> 'include office' (type 'help for help)
>
> regards
> Mickey Binder
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users <at> lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
Thomas Haeger | 1 Sep 2003 13:06
Favicon

Problem with SIP: Maximum retries exceeded

Hi all,

this message occurs if i was connected or not:

WARNING[213006]: File chan_sip.c, Line 432 (retrans_pkt): Maximum retries
exceeded on call 0b03e0c6189a769b54e49eb471f32454 <at> 172.20.23.150 for seqno
102 (Response)

If i was connected, the call will be disconnected after a few seconds.

What does it means ? I don't see anything to configure like Max retries....

Thanks for help,

Thomas.

*******************************************
beroNet technologies GmbH
Dipl.- Ing. Thomas Häger
Potsdamer Str. 18 A
14513 Teltow

FON:    +49 (0) 3328 3077731
FAX:    +49 (0) 3328 334779
Email:  thomas.haeger <at> beronet.com
*******************************************

Gmane