Re: [Asterisk-Dev] New batch of phrases from Allison

2004-12-09 Thread Steven Critchfield
On Thu, 2004-12-09 at 21:10 +, Daniel Pocock wrote:
> 
> >
> >So many of your suggestions are duplicates of sounds that already exist in
> >the asterisk-sounds repository.  Might we not have another community
> >sponsored batch of phrases where 50% of the requests aren't duplicates of
> >sounds that already exist?
> >  
> >
> 
> As I stated, I'm not sure if these were missing entirely from Asterisk 
> or just from the Debian packages.  I just did an apt-get update and my 
> asterisk-sounds package is up to date, but the phrases discussed still 
> aren't present.  If they are just missing from the Debian package, then 
> I will file the bug report in Debian's bug tracker.

Your problem is that the files aren't packaged. The asterisk-sounds
package in debian is the sounds that come as part of the stock asterisk
install. The idea being that they don't change much and the package
downloads will then just be the binary part when it changes.

What you need is in a seperate area on the digium/asterisk CVS server.
Use :pserver:[EMAIL PROTECTED]:/usr/cvsroot and download the module
asterisk-sounds

-- 
Steven Critchfield <[EMAIL PROTECTED]>

___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] Choice of astdb backend -- questions...

2004-12-09 Thread Rob Fugina
Ok, I agree -- nice addition.

But other applications -- LookupCIDName, for example -- would still
use the built-in db1 database, right?

I'm talking about something that would *replace* the builtin astdb.h
functions...

Or is that the integration into CVS-HEAD you're talking about?

Rob
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] New batch of phrases from Allison

2004-12-09 Thread Fran Boon
Daniel Pocock wrote:
As I stated, I'm not sure if these were missing entirely from Asterisk 
or just from the Debian packages.
Phrases already available:
http://voip-info.org/wiki-Asterisk+sound+files
http://voip-info.org/wiki-Asterisk+sound+files+additional
http://voip-info.org/tiki-index.php?page=Asterisk%20sound%20files%20international
Outstanding requests:
http://voip-info.org/wiki-Asterisk+sound+files+requests
http://voip-info.org/tiki-index.php?page=Asterisk%20Sounds%20Request
F
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] New batch of phrases from Allison

2004-12-09 Thread Daniel Pocock

So many of your suggestions are duplicates of sounds that already exist in
the asterisk-sounds repository.  Might we not have another community
sponsored batch of phrases where 50% of the requests aren't duplicates of
sounds that already exist?
 

As I stated, I'm not sure if these were missing entirely from Asterisk 
or just from the Debian packages.  I just did an apt-get update and my 
asterisk-sounds package is up to date, but the phrases discussed still 
aren't present.  If they are just missing from the Debian package, then 
I will file the bug report in Debian's bug tracker.

# apt-cache show asterisk-sounds
Package: asterisk-sounds
Status: install ok installed
Priority: optional
Section: comm
Installed-Size: 1852
Maintainer: Mark Purcell <[EMAIL PROTECTED]>
Architecture: all
Source: asterisk
Version: 1.0-1
Replaces: asterisk (<= 0.4.0-5)
Recommends: asterisk
Conflicts: asterisk (<= 0.1.12-3)
Description: Sound files for asterisk
Asterisk is an Open Source PBX and telephony toolkit.
.
This package contains the default sound files for operation of asterisk

___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] New batch of phrases from Allison

2004-12-09 Thread Tilghman Lesher
On Thursday 09 December 2004 14:04, Daniel Pocock wrote:
> I've listed below a few things that are missing, I'm not sure if they
> are just missing from the Debian package or missing completely from
> Asterisk.  I've posted it here as well because I'd like to prompt anyone
> else who uses a currency other than the 'dollar' to add a bugnote as
> well so that your currency can be added:
>
> http://bugs.digium.com/bug_view_page.php?bug_id=0003006
>
> These new phrases are essential for currencies (in the digits
> subdirectory): - euro
> - cent
> - cents
> - pound
> - pence
> - penny
> - p (the poms often say 'p' instead of pence or penny or pennies)
>
> I also couldn't find 'point' as in (.), the decimal point.
>
> There are many other currencies, maybe people can post which ones are
> important.
>
> Also, the use of the word 'pound' for the hash (#) key - most of the
> world just says 'hash', but this seems to be missing at the moment.  It
> would be great to have both.

So many of your suggestions are duplicates of sounds that already exist in
the asterisk-sounds repository.  Might we not have another community
sponsored batch of phrases where 50% of the requests aren't duplicates of
sounds that already exist?

-- 
Tilghman
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] New batch of phrases from Allison

2004-12-09 Thread Daniel Pocock
I've listed below a few things that are missing, I'm not sure if they 
are just missing from the Debian package or missing completely from 
Asterisk.  I've posted it here as well because I'd like to prompt anyone 
else who uses a currency other than the 'dollar' to add a bugnote as 
well so that your currency can be added:

http://bugs.digium.com/bug_view_page.php?bug_id=0003006
These new phrases are essential for currencies (in the digits subdirectory):
- euro
- cent
- cents
- pound
- pence
- penny
- p (the poms often say 'p' instead of pence or penny or pennies)
I also couldn't find 'point' as in (.), the decimal point. 

There are many other currencies, maybe people can post which ones are 
important. 

Also, the use of the word 'pound' for the hash (#) key - most of the 
world just says 'hash', but this seems to be missing at the moment.  It 
would be great to have both.

___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev


RE: [Asterisk-Dev] Choice of astdb backend -- questions...

2004-12-09 Thread Brian West
Ya we hope to get it in CVS-HEAD sometime soon.. it's a very nice addition.


bkw

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:asterisk-dev-
> [EMAIL PROTECTED] On Behalf Of TC
> Sent: Thursday, December 09, 2004 1:07 PM
> To: Rob Fugina; Asterisk Developers Mailing List
> Subject: Re: [Asterisk-Dev] Choice of astdb backend -- questions...
> 
> No licensing issues at ALLL
>  just cvs backlog issues & integration
> http://sqlite.org/
> Sources are in the public domain. Use for any purpose.
> http://sqlite.org/copyright.html
> 
> - Original Message -
> From: "Rob Fugina" <[EMAIL PROTECTED]>
> To: "Asterisk Developers Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, December 09, 2004 11:01 AM
> Subject: Re: [Asterisk-Dev] Choice of astdb backend -- questions...
> 
> 
> > On Thu, 9 Dec 2004 11:33:42 -0600, Brian West <[EMAIL PROTECTED]> wrote:
> > > Go get res_sqlite from asterisk-addons
> > >
> > > It blows away the db1 support.
> > >
> > > bkw
> >
> > By its location in asterisk-addons, I infer that there are similar
> > licensing incompatabilities...  Is there no interest in
> > upgrading/updating what's distributed with the normal asterisk
> > distribution?
> >
> > Rob
> > ___
> > Asterisk-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-dev
> ___
> Asterisk-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-dev

___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


[Asterisk-Dev] New batch of phrases from Allison

2004-12-09 Thread Rob Fugina
See the following:

http://bugs.digium.com/bug_view_page.php?bug_id=0003006

I'll be collecting suggestions and requests, as well as donations, to
pay Allison to do another batch of new phrases for Asterisk.  The
result will be donated to the Asterisk community, and submitted to the
powers that be for inclusion in CVS.

Please email me or add a comment on the bug tracker with your suggestions.

Donations can be made via PayPal to robf at geekthing dot com.

Thanks,
Rob
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] Choice of astdb backend -- questions...

2004-12-09 Thread TC
No licensing issues at ALLL
 just cvs backlog issues & integration
http://sqlite.org/
Sources are in the public domain. Use for any purpose. 
http://sqlite.org/copyright.html

- Original Message - 
From: "Rob Fugina" <[EMAIL PROTECTED]>
To: "Asterisk Developers Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 2004 11:01 AM
Subject: Re: [Asterisk-Dev] Choice of astdb backend -- questions...


> On Thu, 9 Dec 2004 11:33:42 -0600, Brian West <[EMAIL PROTECTED]> wrote:
> > Go get res_sqlite from asterisk-addons
> > 
> > It blows away the db1 support.
> > 
> > bkw
> 
> By its location in asterisk-addons, I infer that there are similar
> licensing incompatabilities...  Is there no interest in
> upgrading/updating what's distributed with the normal asterisk
> distribution?
> 
> Rob
> ___
> Asterisk-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-dev
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] Choice of astdb backend -- questions...

2004-12-09 Thread Rob Fugina
On Thu, 9 Dec 2004 11:33:42 -0600, Brian West <[EMAIL PROTECTED]> wrote:
> Go get res_sqlite from asterisk-addons
> 
> It blows away the db1 support.
> 
> bkw

By its location in asterisk-addons, I infer that there are similar
licensing incompatabilities...  Is there no interest in
upgrading/updating what's distributed with the normal asterisk
distribution?

Rob
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] Choice of astdb backend -- questions...

2004-12-09 Thread TC
heavy lobby for sql lite to be "THE DB" for * :)
lets have a show of hands, all in favour ...
> Go get res_sqlite from asterisk-addons
> 
> It blows away the db1 support.
> 
> bkw

___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] IAX2 Hangup Cause

2004-12-09 Thread Tilghman Lesher
On Thursday 09 December 2004 14:16, Pertti Pikkarainen wrote:
> A question for Tilghman Lesher:
> would your patch work if SendText is used in priority 102 and make then
> the following hangup signal busy cause 17 ?

I have no idea if the patch works whatsoever.  I created it quickly on the
fly, and as I have no need for it, I cannot test it.  You, of course, are
welcome to try it out and see if it works for your purposes.

-- 
Tilghman
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] IAX2 Hangup Cause

2004-12-09 Thread Pertti Pikkarainen
Eric Wieling aka ManxPower wrote:
reseaux wrote:
Dear ManxPower
I have made another post where i suggest to use "sendText" to 
send the HangupCause to the * box that have generate the call 
(client), but i cant able to find how can receive it..
Some idea?

I know of no solution or workaround other than to write support for it 
into IAX2
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev

I have this problem as well. At the moment it would be enough if a few 
'states' could be passed to
the PRI line in the other end. If  busy (17) and unallocated(1) causes 
could be signalled to the PRI line in the opposite
end of IAX2, that would take care of most of  ... well,  at least my - 
problems concerning this matter.
If anyone who can do this  could make a quote directly, I am interested 
in paying for this developement.

A question for Tilghman Lesher:
would your patch work if SendText is used in priority 102 and make then
the following hangup signal busy cause 17 ?
-- Pertti
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev


[Asterisk-Dev] (no subject)

2004-12-09 Thread Justin Herman

___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


RE: [Asterisk-Dev] chan->priority = 0 ?

2004-12-09 Thread Brian West
Have you rebuilt your app since the channel.h changes.  You'll also need to
make sure you have the latest everything in CVS-HEAD it is not broken.  If
channel.h changes you really need to make clean and rebuild EVERY SINGLE app
you have otherwise you'll have strange issues such as this.

Also:

memset(cd.cardid,0,sizeof(cd.cardid));
memset(cd.credit,0,sizeof(cd.credit));
memset(cd.destination,0,sizeof(cd.destination));
memset(cd.tariffid,0,sizeof(cd.tariffid));
memset(cd.active,0,sizeof(cd.active));
memset(cd.rate,0,sizeof(cd.rate));
memset(cd.dialstr,0,sizeof(cd.dialstr));
memset(cd.prefixid,0,sizeof(cd.prefixid));
memset(cd.providerid,0,sizeof(cd.providerid));
memset(cd.newdestination,0,sizeof(cd.newdestination));
memset(cd.ccprefix,0,sizeof(cd.ccprefix));


All those lines can be reduced to exactly one:

memset(cd,0,sizeof(struct calldata));

Thanks,
Brian

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:asterisk-dev-
> [EMAIL PROTECTED] On Behalf Of Wolfgang Pichler
> Sent: Thursday, December 09, 2004 5:41 AM
> To: [EMAIL PROTECTED]
> Subject: [Asterisk-Dev] chan->priority = 0 ?
> 
> hi all,
> 
> i do have a problem with the chan->priority variable - my application
> (app_prepaid_auth_cid) gets called from an extension at priority 3 - so
> the variable chan->priority should contain the value 3. But it always
> contains 0 as priority.
> 
> Here is the part from extension.conf
> --
> exten => _.,3,PrepaidAuthCID(${CALLERID})
> --
> 
> and attached is the c source file - the error happens on line 342
> 
> can someone help me with this strange error ?
> 
> regards,
> Wolfgang


___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


AW: [Asterisk-Dev] Re: Capi and Asterisk

2004-12-09 Thread SIN - Robert Siedl
Hi Max,

thank you for your tip, but this is not my solution. I have test this.

I think, I must change the chan_capi.c file. Did you know?

beste regards, 

Robert Siedl 
(Geschäftsführer) 

Siedl International Networks
A-3500 Krems, Magnesitstraße 1

Tel: +43 (2732) 71545 DW11
Fax: +43 (2732) 71545 DW91
Web: http://www.sin.co.at

Eine gute EDV macht SIN(n):
- Linuxlösungen
- Kommunikationssysteme
- Groupware- und Workflowsolution
- VoIP Telefonie
- Security- und VPN Systeme
- IT Consulting & Projektmanagement

PS: Der SuSE Linux Open Exchange Server ist die openSource Alternative für
Groupware und Messaging in Kombination mit Outlook oder ein Webinterface!

++ Virenanalyse ++

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Reinhard Max
Gesendet: Donnerstag, 09. Dezember 2004 17:19
An: Asterisk Developers Mailing List
Betreff: [Asterisk-Dev] Re: Capi and Asterisk


On Thu, 9 Dec 2004 at 07:25, SIN - Robert Siedl wrote:

> [...]
> -- Sent into invalid extension 's' in context 'menue_start' on 
> [...] How can I say asterisk or the capi driver, when none 0 or number
> come, dial 0 ?

exten => s,1,Goto(0,1)

cu
Reinhard
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht. Nichts
Verdächtiges gefunden.

keine Anlagen gefunden
---

Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
Nichts Verdächtiges gefunden.

keine Anlagen gefunden
---


___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [Asterisk-Dev] IAX2 Frame_Text to send Hangup Cause

2004-12-09 Thread Tilghman Lesher
On Thursday 09 December 2004 05:38, reseaux wrote:
> Dear List
>   i have post yestarday a mail where i can try to explain my problem of
> interconnect two * box and receive the Hangup Cause from the * end point
> (TDM PRI), after some test i see that i cant receive the right Cause ID, i
> have look inside the Iax2.c but im not a c developer so i decide to try the
> SendTEXT application but without lucky because i cant receive the Text from
> the Source * box. Example:
>
> A Server (source Call)
> [extension.conf]
> exten=>_X.,1,Dial(IAX2/test:[EMAIL PROTECTED]/${EXTEN}
> exten=>_X.,2,Hangup
>
> B Server (Termination Call)
> [extension.conf]
> exten=>_X.,1,Dial(Zap/g0)
> exten=>_X.,2,SendTEXT(${HANGUPCAUSE})
> exten =>_X.,3,Hangup
>
> After sending the Text how can "Client" is able to receive?

Maybe something simple like this?  (see attached patch)

You'd just have to modify your sendtext to something like
SendText(hangupcause=${HANGUPCAUSE}), which leaves more room
for future sending of messages in this way.

-- 
Tilghman
Index: channels/chan_iax2.c
===
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.221
diff -u -r1.221 chan_iax2.c
--- channels/chan_iax2.c29 Nov 2004 03:24:35 -  1.221
+++ channels/chan_iax2.c9 Dec 2004 17:34:15 -
@@ -5378,6 +5378,11 @@
if (f.subclass != iaxs[fr.callno]->videoformat) {
ast_log(LOG_DEBUG, "Ooh, video format changed 
to %d\n", f.subclass & ~0x1);
iaxs[fr.callno]->videoformat = f.subclass & 
~0x1;
+   }
+   }
+   if (f.frametype == AST_FRAME_TEXT) {
+   if (!strncasecmp(f.data, "hangupcause=", 12)) {
+   iaxs[fr.callno]->owner->hangupcause = 
atoi(f.data + 12);
}
}
if (f.frametype == AST_FRAME_IAX) {
___
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev