[Asterisk-Users] help

Kevin VanBorrendam kevin.vanborrendam at tremware.com
Fri Aug 20 05:23:55 MST 2004


Please unsubscribe me from the distribution list.  Thanks.

-----Original Message-----
From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of asterisk-users-request at lists.digium.com
Sent: Friday, August 20, 2004 8:11 AM
To: asterisk-users at lists.digium.com
Subject: Asterisk-Users digest, Vol 1 #4999 - 13 msgs

Send Asterisk-Users mailing list submissions to
	asterisk-users at lists.digium.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.digium.com/mailman/listinfo/asterisk-users
or, via email, send a message with subject or body 'help' to
	asterisk-users-request at lists.digium.com

You can reach the person managing the list at
	asterisk-users-admin at lists.digium.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Asterisk-Users digest..."


Today's Topics:

   1. Re: spandsp (administrator tootai)
   2. Number unavailable (Thomas Kuepper)
   3. Problem with asterisk and pgsql (DIPAK PAUL)
   4. Re: telnet and Root (Thomas Kuepper)
   5. Re: telnet and Root (Roberto Piola)
   6. x100p won't answer (Imran Akbar)
   7. Multi-bitrate codecs (Simone Ricci)
   8. Re: problem in with mysql modules.conf to load cdr_addon_mysql.so (Lerale Erwan)
   9. IAXY S100I noise (Conrad Vermeulen)
  10. Re: Request for help designing an unusual * application (Rich Adamson)
  11. Problem in with mysql modules.conf to load cdr_addon_mysql.so (DIPAK PAUL)
  12. Re: Problem in with mysql modules.conf to load cdr_addon_mysql.so (Lerale Erwan)
  13. Re: How to run different codecs between the same endpoints on an IAX trunk? (Andrew Kohlsmith)

--__--__--

Message: 1
Date: Fri, 20 Aug 2004 12:01:37 +0200
From: administrator tootai <admin at tootai.net>
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] spandsp
Reply-To: asterisk-users at lists.digium.com

Simone Ricci a écrit :

> [...]
> Bingo! Maybe spandsp isn't SMP friendly...thus it doesn't work with 
> multiprocessor/hyperthreading systems? Can anyone confirm this? 
> Eventually, try booting your system with a non-SMP kernel, just to see 
> what happens.

If nobody do it this days I will do it next week.

-- 
Daniel

--__--__--

Message: 2
To: asterisk-users at lists.digium.com
From: Thomas Kuepper <tk at teldafax.de>
Subject: [Asterisk-Users] Number unavailable
Date: Fri, 20 Aug 2004 11:57:25 +0200
Reply-To: asterisk-users at lists.digium.com

hi list,

no call into pstn and from pstn to asterisk endpoints displays the=20
calling party number. I see in my sip phones number unavailable. in the=20=

asterisk cdrs i see the number which is calling but at the endpoints=20
its unavailable.

any hints how i can activate to display the calling from number?

thx
--
Thomas K=FCpper

01063 Telecom GmbH & Co. KG
Mottmannstr. 2
53842 Troisdorf

Telefon: 02241-9434-506
Telefax: 02241-9434-846

E-Mail: thomas.kuepper at 01063telecom.de
E-Mail: tk at teldafax.de
Homepage: http://www.01063telecom.de

---------------------------------------
Diese Nachricht ist vertraulich. Sie ist ausschliesslich fuer den im
Adressfeld ausgewiesenen Adressaten bestimmt. Sollten Sie nicht der
vorgesehene Empfaenger sein, so bitten wir um eine kurze Nachricht. Jede
unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Da=20=

wir
nicht die Echtheit oder Vollstaendigkeit der in dieser Nachricht=20
enthaltenen
Informationen garantieren koennen, schliessen wir die rechtliche
Verbindlichkeit der vorstehenden Erklaerungen und Aeusserungen aus. Wir
verweisen in diesem Zusammenhang auch auf die fuer uns geltenden=20
Regelungen
ueber die Verbindlichkeit von Willenserklaerungen mit verpflichtendem
Inhalt, die in den bank- bzw. unternehmensueblichen
Unterschriftenverzeichnissen bekannt gemacht werden.
---------------------------------------
This message is confidential and may be privileged. It is intended=20
solely
for the named addressee. If you are not the intended recipient please=20
inform
us. Any unauthorised dissemination, distribution or copying hereof is
prohibited. As we cannot guarantee the genuineness or completeness of=20
the
information contained in this message, the statements set forth above=20
are
not legally binding. In connection therewith, we also refer to our=20
governing
regulations of concerning signatory authority published in the standard=20=

bank
or company signature lists with regard to the legally binding effect of
statements made with the intent to obligate us.
---------------------------------------


--__--__--

Message: 3
From: "DIPAK PAUL" <dipak_kr_paul at hotmail.com>
To: asterisk-users at lists.digium.com
Cc: asterisk-perl-subscribe at lists.gnuinter.net
Date: Fri, 20 Aug 2004 15:32:13 +0530
Subject: [Asterisk-Users] Problem with asterisk and pgsql
Reply-To: asterisk-users at lists.digium.com

Hi

I am a asterisk user.

My asterisk is working fine. But I want to store all the billing information 
ot the postgradesql. I had installed properly in my linux box.

But when I have used

createdb mydb

I faced this type of problem

"createdb: could not connect to database template1: could not connect to 
server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
"
I have already start pgsql from the services

Please help me.

Thanks in advanced.

Dipak Kumar Paul

_________________________________________________________________
Marriage?  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join 
BharatMatrimony.com for free.


--__--__--

Message: 4
From: Thomas Kuepper <tk at teldafax.de>
Subject: Re: [Asterisk-Users] telnet and Root
Date: Fri, 20 Aug 2004 12:02:37 +0200
To: asterisk-users at lists.digium.com
Reply-To: asterisk-users at lists.digium.com


--Apple-Mail-2-872324320
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=ISO-8859-1;
	format=flowed

use ssh instead of telnet. telnet is a bad idea.


Am 20.08.2004 um 11:39 schrieb neil:

> Sorry if this is posted to the wrong forum but as it is related to a=20=

> problem I have with Asterisk it may just scrape through!!
>
> =A0
>
> I am running Fedora 1 and I can telnet in to my asterisk box as any=20
> user except root and am using the same credentials as logging in=20
> locally. I am new to Linux and any help would be gratefully=20
> appreciated.
>
> =A0
>
> Thanks
>
> =A0
>
> Neil
>
--
Thomas K=FCpper

01063 Telecom GmbH & Co. KG
Mottmannstr. 2
53842 Troisdorf

Telefon: 02241-9434-506
Telefax: 02241-9434-846

E-Mail: thomas.kuepper at 01063telecom.de
E-Mail: tk at teldafax.de
Homepage: http://www.01063telecom.de

---------------------------------------
Diese Nachricht ist vertraulich. Sie ist ausschliesslich fuer den im
Adressfeld ausgewiesenen Adressaten bestimmt. Sollten Sie nicht der
vorgesehene Empfaenger sein, so bitten wir um eine kurze Nachricht. Jede
unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Da=20=

wir
nicht die Echtheit oder Vollstaendigkeit der in dieser Nachricht=20
enthaltenen
Informationen garantieren koennen, schliessen wir die rechtliche
Verbindlichkeit der vorstehenden Erklaerungen und Aeusserungen aus. Wir
verweisen in diesem Zusammenhang auch auf die fuer uns geltenden=20
Regelungen
ueber die Verbindlichkeit von Willenserklaerungen mit verpflichtendem
Inhalt, die in den bank- bzw. unternehmensueblichen
Unterschriftenverzeichnissen bekannt gemacht werden.
---------------------------------------
This message is confidential and may be privileged. It is intended=20
solely
for the named addressee. If you are not the intended recipient please=20
inform
us. Any unauthorised dissemination, distribution or copying hereof is
prohibited. As we cannot guarantee the genuineness or completeness of=20
the
information contained in this message, the statements set forth above=20
are
not legally binding. In connection therewith, we also refer to our=20
governing
regulations of concerning signatory authority published in the standard=20=

bank
or company signature lists with regard to the legally binding effect of
statements made with the intent to obligate us.
---------------------------------------


--Apple-Mail-2-872324320
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
	charset=ISO-8859-1

use ssh instead of telnet. telnet is a bad idea.



Am 20.08.2004 um 11:39 schrieb neil:


<excerpt><fontfamily><param>Arial</param><x-tad-bigger>Sorry if this
is posted to the wrong forum but as it is related to a problem I have
with Asterisk it may just scrape through!!</x-tad-bigger></fontfamily>


=
<fontfamily><param>Arial</param><x-tad-bigger>=A0</x-tad-bigger></fontfami=
ly>


<fontfamily><param>Arial</param><x-tad-bigger>I am running Fedora 1
and I can telnet in to my asterisk box as any user except root and am
using the same credentials as logging in locally. I am new to Linux
and any help would be gratefully =
appreciated.</x-tad-bigger></fontfamily>


=
<fontfamily><param>Arial</param><x-tad-bigger>=A0</x-tad-bigger></fontfami=
ly>


=
<fontfamily><param>Arial</param><x-tad-bigger>Thanks</x-tad-bigger></fontf=
amily>


=
<fontfamily><param>Arial</param><x-tad-bigger>=A0</x-tad-bigger></fontfami=
ly>


=
<fontfamily><param>Arial</param><x-tad-bigger>Neil</x-tad-bigger></fontfam=
ily>


</excerpt>--

Thomas K=FCpper


01063 Telecom GmbH & Co. KG

Mottmannstr. 2

53842 Troisdorf


Telefon: 02241-9434-506

Telefax: 02241-9434-846


E-Mail: thomas.kuepper at 01063telecom.de

E-Mail: tk at teldafax.de

Homepage: http://www.01063telecom.de


---------------------------------------

Diese Nachricht ist vertraulich. Sie ist ausschliesslich fuer den im

Adressfeld ausgewiesenen Adressaten bestimmt. Sollten Sie nicht der

vorgesehene Empfaenger sein, so bitten wir um eine kurze Nachricht.
Jede

unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Da
wir

nicht die Echtheit oder Vollstaendigkeit der in dieser Nachricht
enthaltenen

Informationen garantieren koennen, schliessen wir die rechtliche

Verbindlichkeit der vorstehenden Erklaerungen und Aeusserungen aus. Wir

verweisen in diesem Zusammenhang auch auf die fuer uns geltenden
Regelungen

ueber die Verbindlichkeit von Willenserklaerungen mit verpflichtendem

Inhalt, die in den bank- bzw. unternehmensueblichen

Unterschriftenverzeichnissen bekannt gemacht werden.

---------------------------------------

This message is confidential and may be privileged. It is intended
solely

for the named addressee. If you are not the intended recipient please
inform

us. Any unauthorised dissemination, distribution or copying hereof is

prohibited. As we cannot guarantee the genuineness or completeness of
the

information contained in this message, the statements set forth above
are

not legally binding. In connection therewith, we also refer to our
governing

regulations of concerning signatory authority published in the
standard bank

or company signature lists with regard to the legally binding effect of

statements made with the intent to obligate us.

---------------------------------------



--Apple-Mail-2-872324320--


--__--__--

Message: 5
From: Roberto Piola <Roberto.Piola at gruppoih.it>
To: "'asterisk-users at lists.digium.com'" <asterisk-users at lists.digium.com>
Cc: "'neil at 3tech.biz'" <neil at 3tech.biz>
Date: Fri, 20 Aug 2004 12:31:28 +0200
Subject: [Asterisk-Users] Re: telnet and Root
Reply-To: asterisk-users at lists.digium.com

you can login as root only on the console or on the lines listed in
/etc/securetty

if you want to log in remotely as root, you can either:
- log in as a regular user and then issue the "su -" command in order to
become root
- use a ssh client (secure shell) instead of telnet (well, you can disable
root access in ssh as well)

------ Original message:

From: "neil" <neil at 3tech.biz>
To: <asterisk-users at lists.digium.com>
Date: Fri, 20 Aug 2004 10:39:03 +0100
Subject: [Asterisk-Users] telnet and Root

Sorry if this is posted to the wrong forum but as it is related to a problem
I have with Asterisk it may just scrape through!!

 

I am running Fedora 1 and I can telnet in to my asterisk box as any user
except root and am using the same credentials as logging in locally. I am
new to Linux and any help would be gratefully appreciated.

 

Thanks



--__--__--

Message: 6
Date: Fri, 20 Aug 2004 15:35:31 +0500
From: Imran Akbar <mail at akbars.net>
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] x100p won't answer
Reply-To: asterisk-users at lists.digium.com

Hi,
    I just got two digium x100p clones and installed asterisk on fedora 
core 2 which took some tweaking.  After getting asterisk up I installed 
the zaptel stuff - then modprobed zaptel, wcfxs (for the fxo cards), 
which worked fine.  ztcfg is showing two channels configured, but when I 
start asterisk and do show channels, i see no active channels.

zapata.conf has:
signalling = fxs_ks
context = line1
channel => 1

signalling = fxs_ks
context = line1
channel => 2

zaptel.conf has:
loadzone=us
defaultzone=us
fxsks=1-2

extensions.conf has:
[line1]
exten => s,1,Answer
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => s,4,BackGround(demo-congrats)
exten => s,5,BackGround(demo-instruct)

[line2]
exten => s,1,Answer
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => s,4,BackGround(demo-congrats)
exten => s,5,BackGround(demo-instruct)

I have no idea why it's not working
would appreciate any help

Thanks,
Imran

--__--__--

Message: 7
Date: Fri, 20 Aug 2004 12:42:31 +0200
From: Simone Ricci <simone.ricci at cwnet.it>
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Multi-bitrate codecs
Reply-To: asterisk-users at lists.digium.com

Anyone knows if there's a way to select the bitrate of those codecs 
supporting multiple bitrates (eg. g.726)? I've tried searching and 
googling a lot, but without useful results...

Cheers,
Simone.

--__--__--

Message: 8
Date: Fri, 20 Aug 2004 12:54:59 +0200
From: Lerale Erwan <erwan at fr.clara.net>
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] problem in with mysql modules.conf to load cdr_addon_mysql.so
Reply-To: asterisk-users at lists.digium.com

On Fri, Aug 20, 2004 at 03:25:31PM +0530, DIPAK PAUL wrote:
> 
> [cdr_addon_mysql.so]Aug 20 15:18:38 WARNING[1076245120]: loader.c:242 
> ast_load_resource: /usr/lib/asterisk/modules/cdr_addon_mysql.so: cannot 
> open shared object file: No such file or directory
> Aug 20 15:18:38 WARNING[1076245120]: loader.c:374 load_modules: Loading 
> module cdr_addon_mysql.so failed!

Hello,

Do you really have cdr_addon_mysql.so in /usr/lib/asterisk/modules/ ?

did you run :

www# make install
for x in  cdr_addon_mysql.so; do install -m 755 $x /usr/lib/asterisk/modules ; done
www# 

?

Cheers
r1
-- 
Manager Support Pro - www.claranet.fr

--__--__--

Message: 9
From: Conrad Vermeulen <conrad at novagrove.com>
To: asterisk-users at lists.digium.com
Date: Fri, 20 Aug 2004 12:42:43 +0200
Subject: [Asterisk-Users] IAXY S100I noise
Reply-To: asterisk-users at lists.digium.com


Hi,

What noise should I expect to hear once I've plugged an IAXY into my
network and connected to Asterisk?

I suspect I should hear a dialtone? 

I'm not sure if I have a faulty device or have a configuration issue.

Currently,it is making a seriously strange noise - machine gun like with
static. 

Any comments appreciated.

Thanks,

Conrad




--__--__--

Message: 10
Date: Fri, 20 Aug 2004 05:59:09 -0600
From: Rich Adamson <radamson at routers.com>
Subject: Re: [Asterisk-Users] Request for help designing an unusual * application
To: asterisk-users at lists.digium.com
Reply-To: asterisk-users at lists.digium.com

> I have been reading asterisk doc's for the past couple weeks, and
> monitoring this list.  I have to implement an unusual (I think)
> application of asterisk.  I have the beginnings of a plan, and I would
> like to throw it up here for comments.
> 
> The application:
> An after-hours emergency support "hotline" for our technology company.
> 
> We have 5 different support people that take turns on 24-hour call (at
> any time, one support person is "on call").  We may have 3 or more
> contact numbers for each person, eg:
> - office phone
> - cell phone
> - home phone
> 
> The support people, and their contact numbers, would ideally be stored
> in a database.
> 
> When a customer calls in, they get a canned greeting, and then they
> leave a message.  Asterisk records it.
> 
> Asterisk then tries to reach the current "on call" person.  It starts

Technically, all of that's very possible.

Having been through similar on-call arrangements in a previous life,
you might want to consider a slightly different management approach.

Whoever is the primary on-call person, allow that person to call into
asterisk and enter their on-call number. Store it, and use it for
delivery of the calls. Same for a secondary (or backup) on call person.

The management problem with your approach essentially is one that 
says the 'system' will dictate the calling numbers. In practical cases,
if the on-call person knowingly is at a location where cell phones (etc)
don't work, the system breaks down. Whereas, if you allow the on-call
person to program a "can-be-reached-at" variable, the on-call
person has the freedom to move around and it becomes that person's
responsibility to provide the contact number. Accountability is
shifted to the on-call person, which then avoids the finger pointing
that happens when the 'system' can't properly dispatch the call.
Same technical requirements, slightly different way to handle the
called numbers.

Using an approach similar to the above, its trivial to build an
escalation process into the call delivery mechanism. (E.g, if the
primary on-call person doesn't respond within xx minutes, then
dispatch the secondary. If that person doesn't respond, dispatch
same message to a manager, etc, etc.)

Typical problems go something like:
 - was in church/mass, turned my cell phone off
 - guess its  marginal coverage at my girlfriend's house
 - I was at xyz's house and didn't receive the call
 - etc

Rich



--__--__--

Message: 11
From: "DIPAK PAUL" <dipak_kr_paul at hotmail.com>
To: asterisk-users at lists.digium.com
Date: Fri, 20 Aug 2004 17:02:02 +0530
Subject: [Asterisk-Users] Problem in with mysql modules.conf to load cdr_addon_mysql.so
Reply-To: asterisk-users at lists.digium.com

Hi Lerale Erwan

I have used "make install" after downloaded the asterisk and also i have 
used another time "make install" after
using

cd /usr/src
cvs checkout asterisk-addons

There are no cdr_addon_mysql.so file not created in the 
/usr/lib/asterisk/modules/  and also /usr/src/asterisk/cdr directory.

The sorce directories of my machine are

/usr/src/asterisk

/usr/src/asterisk-addons
In this directory present the files:
cdr_addon_mysql.c
Makefile
mkdep
mysql-vm-routines.h
and three directory configs,CVS,doc.

My previous mail is

I have installed asterisk from cvs properly. I have try to store the billing
information in the mysql database.

I had used this

cd /usr/src
cvs checkout asterisk-addons

And also copy sample configuration file to /etc/asterisk/cdr_mysql.conf &
edit it according to my requirements.

I had edit the modules.conf to load cdr_addon_mysql.so

my cdr_mysql.conf file is like

[global]
hostname=localhost
dbname=asteriskcdrdb
password=password
user=asteriskcdruser
port=3306
sock=/var/lib/mysql/mysql.sock

And also I had added one line in the module.conf file

load => cdr_addon_mysql.so

and again I make and make install in the asterisk

But when I have using this command "./asterisk -vvvvc"

I got an error message and stop

[cdr_addon_mysql.so]Aug 20 15:18:38 WARNING[1076245120]: loader.c:242
ast_load_resource: /usr/lib/asterisk/modules/cdr_addon_mysql.so: cannot open
shared object file: No such file or directory
Aug 20 15:18:38 WARNING[1076245120]: loader.c:374 load_modules: Loading
module cdr_addon_mysql.so failed!

Please help me

Thanks in advanced

Dipak Kumar Paul

_________________________________________________________________
Sports, sports and more sports! Keep up with all the action! 
http://www.msn.co.in/sports/  Stay connected with MSN Sports!


--__--__--

Message: 12
Date: Fri, 20 Aug 2004 13:40:44 +0200
From: Lerale Erwan <erwan at fr.clara.net>
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Problem in with mysql modules.conf to load cdr_addon_mysql.so
Reply-To: asterisk-users at lists.digium.com

On Fri, Aug 20, 2004 at 05:02:02PM +0530, DIPAK PAUL wrote:
> 
> There are no cdr_addon_mysql.so file not created in the 
> /usr/lib/asterisk/modules/  and also /usr/src/asterisk/cdr directory.

So... that's definitly your problem :) 

Did you run "make install" here :

/usr/local/src/ASTERISK/asterisk-addons

?
-- 
Manager Support Pro - www.claranet.fr

--__--__--

Message: 13
From: Andrew Kohlsmith <akohlsmith-asterisk at benshaw.com>
Organization: Benshaw Canada
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] How to run different codecs between the same endpoints on an IAX trunk?
Date: Fri, 20 Aug 2004 07:52:44 -0400
Reply-To: asterisk-users at lists.digium.com

On Thursday 19 August 2004 18:11, Kris Boutilier wrote:
> I have a situation where I'm using G.729A as my IAX trunking codec. Now I
> need to push some short duration, low bitrate modem traffic over the link
> (a credit card terminal). Obviously the modem audio isn't going to survive
> the G.729 codec process intact, so for the times the device is used I'd
> like to service calls from that device (and only that device) with a
> higher-data rate codec.

Am I missing something?  I do this with my Office Asterisk and Colocation 
Asterisk boxes all the time.

On the colocation asterisk box (office asterisk box is pretty much identical 
to allow outgoing calls and outgoing faxes):

[officeasterisk]
type=peer
host=192.168.2.2
qualify=500
notransfer=yes

[officephone]
type=user
context=officephone
host=192.168.2.2
qualify=500
disallow=ulaw
notransfer=yes

[officefax]
type=user
context=faxout
host=192.168.2.2
qualify=500
disallow=all
allow=ulaw
notransfer=yes

When a fax call comes in from the PRI, it calls officefax.  When a phone call 
comes in, it calls officephone.  Similarly when someone calls out, it calls 
colophone (same as officephone but with different host), and likewise, 
outgoing faxes use colofax.

Seems to be working fine here, and has since June when we moved.  :-)

Now I have turned off trunking between officeasterisk and coloasterisk -- the 
20040806 CVS HEAD seemed to not like to trunk between two boxes running that 
code, but would trunk just fine to RC1 (with the trunking fixes that Steve 
did)...

Is this the kind of thing you want?  I was trunking between office and 
colocation up until the last source update I did and it seemed to work just 
fine.

-A.


--__--__--

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users


End of Asterisk-Users Digest



More information about the asterisk-users mailing list