Re: [Asterisk-Users] Asterisk - fax - spandsp

2005-05-16 Thread Jean-Yves Avenard
On 16/05/2005, at 11:48 PM, Steve Underwood wrote:How can that work? You can measure the error, but you have no ability to tweak the clock from software. Two cards could only be synced by hardware.Side questions about spandsp... Is it possible to print the fax header like what most faxes do (that is: who is sending the fax, how many pages are included etc...) I'm not talking about printing callerid, often I receive fax from the US (and there's no CallerID being displayed then) but my fax machine can print the fax header very well.Jean-Yves --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 95722686 | office +61 3 8573 5299 | direct +61 3 8573 5200  ___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Asterisk's clients logon failed if asterisk cannot register on its own sip proxy

2005-05-16 Thread lanfei chen
Hi guys,
I have a linux box. It has two network cards.
I configured it as a router. It uses its WAN to 
register onto its own sip proxy and its clients
use its LAN to register onto it. Whenever it cannot
register through its WAN its sip clients(extentions) 
will logon failed.

That is, if asterisk cannot be a sip client it cannot 
be a sip server, either.
I want it to be a working sip server even if it cannot

logon as a sip client.

Who can give me big help to solve this problem.

Thank you so much.

lanfei



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Telephony keypad

2005-05-16 Thread Markus Håkansson
Does anybody know if there are any external telephone-keypads for sale
anywhere? (containing the keys 0-9, *, # and onhook/offhook would do)
I am looking for a keypad to control a softphone and would prefer the
controls to be in the physical world instead of as a window.



Sincerely,
Markus Hakansson


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Spanish Voicemail sounds

2005-05-16 Thread Rene Mayorga
Hi,
I'm looking for a good spanish sounds for voicemail, I've already  try
with the sounds on the voip-info.org, but I'll like to try another spanish
sounds,

Thanks in advance
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] zttest

2005-05-16 Thread Waldo Rubinstein
I have tried disabling H/T, setpci (from Gustavo Alvarez's email),  
assigning unique IRQs, and swapping PCI slots. Yet, I still get very  
similar results as:

--- Results after 20 passes ---
Best: 99.987793 -- Worst: 99.975586 -- Average: 99.986572
The only reason I'm looking into this is because my users are saying  
that the quality of the calls with the previous PBX was better and  
clearer. With *, they hear everything fine, but, every once in a  
while there is like air gaps or white noise that last for fractions  
of a second. Am I looking in the right place?

- Waldo
On May 16, 2005, at 6:14 PM, Rich Adamson wrote:
Rich, did you check IRQ's?  Our zttest results didn't improve  
markedly
when we did either change (IRQ's or H/T), but the problem went away
regardless.

Other than that Digium have recommended throwing out our SCSI320 RAID
hardware and replacing it with IDE (i.e. not SATA) kit, although
thankfully we haven't had to make this retarded change (yet).
I would also recommend trying to disable H/T in the BIOS (rather than
via software) as I wonder if H/T still runs on your box (but is not
accessed by the OS), so may still be causing you grief.
Yes, been through the majority of items including irq's, swapped
motherboards, ide only, nothing else running, command line only (no
frame buffers), upgrade from rhv9 to fedora 3, mucked with pci
latency, etc.  Had not tried the hyperthread thing until now, but
that had no effect either. Even upgraded the TDM card to the latest
rev h.
Still think its either a bad TDM card design, or, TDM driver issue
as to why we can't approach zttest results of 100%.
I'm hoping that Steve Underwood's utility to measure the TDM results
helps to identify the root cause.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lucent TNT & ASTERISK

2005-05-16 Thread Vamsi Pottangi
Did you try out oh323 ? It worked for me.
Please follow the steps required to get oh323 working.
On Lucent gateeeper, add asterisk as a H323 gateway.

Cheers,
~Vamsi

On 5/16/05, list <[EMAIL PROTECTED]> wrote:
> Anybody using asterisk to talk to a lucent tnt gatekeeper via h323? Any
> suggestions or recommendations about how I can get this working? Any config
> examples?
> 
> thanks,
> jon
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lucent TNT & ASTERISK

2005-05-16 Thread Vamsi Pottangi
Did you try out oh323 ? It worked for me.
Please follow the steps required to get oh323 worki

On 5/16/05, list <[EMAIL PROTECTED]> wrote:
> Anybody using asterisk to talk to a lucent tnt gatekeeper via h323? Any
> suggestions or recommendations about how I can get this working? Any config
> examples?
> 
> thanks,
> jon
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Web Client with IAX2 and ilbc

2005-05-16 Thread Anton Krall
Guys.

Maybe this is asking for a lot :) but is there any web client that can use
IAX2 and ilbc?

This is for a "call us" web idea Any leads?

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Using prepaid calling cards to dial out with Asterisk - extensions.conf

2005-05-16 Thread Don Fanning
Title: Using prepaid calling cards to dial out with Asterisk - extensions.conf






How would one setup a extensions.conf (or other file) to use calling cards to dial out with?


Thanks,

Don Fanning

Freelance Hacker - Producer of the 3 M's (Music, Movies and Microcode)

Wherever you go, There you are. - Buckaroo Banzai



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Warning[3817] and REGISTER

2005-05-16 Thread Romain Barrallon
Hi,

I'm a student working on an implementation of asterisk en linux (red hat 9.0).
I'm trying to register a sip softphone (XLite) en asterisk en local.
I have 2 problems :

- When I execute asterisk there is a warning and a noise in the headphones :
May 16 22:12:22 WARNING[3817]: chan_oss.c:269 sound_thread: Read error on sound
device: Resource temporarily unavailable

Does it come from the driver of the sound card ?

- The softphone seems to send the good REGISTER SIP request but never
get an answer and doesn't appears in asterisk list (sip show
registry). The sip server adress is good (localhost) and the sip port
is the same for asterisk and xlite (5060).

What could be the problem ?

Thanks for helpìng me,

Romain


-- 
Romain Barrallon
- Etudiant en Télécommunications, Services et Usages à l'INSA de Lyon (France)
- Estudiante de intercambio en la Universidad Tecnica Federico Santa
Maria de Valparaíso (Chile)
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Home Usage

2005-05-16 Thread Johnathan Corgan
Kerry Garrison wrote:
PSTN line 1 - Parent's line
PSTN line 2 - Kids' line
PSTN line 3 - Bussiness line
VOIP Provider 1 - Broadvoice
VOIP Provider 2 - VOIPJet
A call into Line 1 answers "For Kerry press 1, For Karen press 2"
A call into Line 2 answers "For Taylor press 1, For Chris press 2"
A call into Line 3 answers "Thank you for calling tech data pros blah blah
blah"
All outbound calls got out broadvoice first, voipjet as a backup, and the
pstn lines as a third backup.
Is that trick enough?
Add soft phones for your wife's relatives scattered all over the world 
with PCs and Internet access.  Give them voicemail, and outbound access 
to your free stuff.  Achieve marital bliss.

-Johnathan
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] outlook express intregation

2005-05-16 Thread Kerry Garrison
Cick2Dial is for NEC's PBX. 

Omniis Asterisk TAPI driver is for Asterisk
http://www.omniis.com/ntsgr/cms/page.asp?688

I checked it and sure enough, OE will only use a local modem as far as I can
tell.
-Kerry


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm
Sent: Monday, May 16, 2005 5:50 PM
To: Asterisk Users
Subject: Re: [Asterisk-Users] outlook express intregation


> I can think of a number of reasons to use Outlook over OE, but that's 
> not relevant to the question. What is relevant is that OE supports 
> TAPI dialing the same as Outlook does. So you could installed the 
> Asterisk TAPI driver and it should work just fine.

You say OE does support TAPI. Someone else posted eariler that it does
not. Which is it? Have you been successful in getting click2dial working in
OE?

-Matthew


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Queue question

2005-05-16 Thread jason walker



 
 
I have a queue set 
up where SIP extensions and ZAP channels dump into. On the SIP calls, I can 
force the caller ID since I know the calling party and the called party. The SIP 
calls do not necessarily go through the queue, but are directly dialed between 
users.
 
The ZAP is a little 
more difficult since within the queue I do not know which SIP user is going to 
receive the call from the group.
 
The main thing I 
need to figure out is how to grab the IP address of the SIP user that receives 
the call so I can send caller ID via a tcp/ip call, basically a screen pop. 

 
Between SIP users I 
can do a DBget from the SIP portion of the database. But how do I determine, via 
the dialplan, where the call ends up? Also, once I submit a call to the queue 
from the dialplan, I seem to loose control of the call within the dialplan. Is 
this by design?
 
Thank you in 
advance.
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 5/16/2005
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Help with extensions - can't dial 700

2005-05-16 Thread Ariel Batista
Check features.conf for parking extensions. There default is 700

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Mason
Sent: Monday, May 16, 2005 8:51 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] Help with extensions - can't dial 700

I have been working on integrating some FXS ports into my dial plan
delivered via a channel bank and testing with an analog handset.

The receptionist is on Extension 700. All other SIP phones are 7XX.
>From a SIP phone I can dial 700 and all other extensions.
>From the analog handset I can dial any other extension but not the 700
number. Weird? Yep.
The CLI does not show any dialing when I dial 700.

Extensions.conf

[office]
exten => 700,1,Dial(SIP/700,20)
exten => 700,2,VoiceMail,u700
exten => 700,102,VoiceMail,b700

exten => 701,1,Dial(SIP/701,20)
exten => 701,2,VoiceMail,u701
exten => 701,102,VoiceMail,b701

exten => 702,1,Dial(SIP/702,20)
exten => 702,2,VoiceMail,u702
exten => 702,102,VoiceMail,b702

exten => 703,1,Dial(SIP/703,20)
exten => 703,2,VoiceMail,u703
exten => 703,102,VoiceMail,b703

..

[zap-in]
exten => s,1,NoOp(Starting Zap-in)
include => office

==
zapata.conf
[channels]
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes

context=zap-in
group=1
signalling=fxo_ks
faxdetect=incoming
channel => 1-12



Chris Mason
US Number: (646)722-0001 US Fax (815)301-9759
Skype: netconcepts
 


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Home Usage

2005-05-16 Thread Michael Graves
On Mon, 16 May 2005 20:18:49 -0500, Brian Roy wrote:

>On 5/16/05, Nathan Pralle <[EMAIL PROTECTED]> wrote:
>> Hi all.
>> 
>> I'm curious to hear about other people's HOME usage of Asterisk.  Do you
>> have a really neat setup for home use?  Fun stuff with VM and/or
>> forwarding and custom scripts?
>
>
>If you are married, the goal is spousal approval. If you can achieve
>that, bliss
>
>Here is my setup
>
>PSTN from Bell. 
>
>This line is connected to a SPA-3K to convert it to SIP and into
>Asterisk. The line has call forward busy on it from Bell and directed
>to my Broadvoice line. So when someone is on the PSTN line, it
>forwards to the Broadvoice line and comes in as a new call.
>
>Broadvoice line used to call adjacent counties that would normally be
>toll. Also, I have a phone number terminated in Rhode Island so my
>friends and family can call a local number to reach me.
>
>VoipJet for outbound long distance. 
>
>SPA-3k fxs port has replaced all the analog wiring in my house. When
>you pick up an analog line somewhere, it's on the SPA.
>
>All my callerID is logged to a database where it is identified as a
>call for my wife or myself. This is used when activating a "follow-me
>feature". One cool thing I did was ask the caller what their music
>preference is when trying to located us. They got to choose from
>1. Rock
>2. Country
>3. Classical
>4. R&B
>That is stored in the database so every time they call that is the
>music they get when trying to located us. People think that is cool.
>
>My system has been rock solid. My wife doesn't even know she's using a
>PBX. We have lots of little bells and whistles setup with our home
>automation (X10) stuff and lots of little scripts for things.
>
>Good luck!
>
>-Chuji

Would you be willing to share that MOH logic? I'd be interested in
something similar.

Michael

--
Michael Graves   [EMAIL PROTECTED]
Sr. Product Specialist  www.pixelpower.com
Pixel Power Inc. [EMAIL PROTECTED]

o713-861-4005
o800-905-6412
c713-201-1262



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] DTMF asterisk-2-asterisk using SIP w/ dtmfmode=rfc2833

2005-05-16 Thread Gary Reuter
Hi,
I'm am getting doubled DTMF on some digits with one of my providers
who also uses asterisk.  We're using SIP, with dtmfmode set to
rfc2833, and the codec G.711.
Once out of every five or ten calls, there are no problems, but more
often than not, the DTMF is getting doubled-up on at least one of the
digits of the extension dialed.
I've tested with a CVS-HEAD from Febuary, and just now reproduced it
with a fresh install (CVS-HEAD-05/16/05-20:22:32).
I've used ethereal to capture the RTP stream and cannot see anything
wrong with the 'RTP EVENT' packets -- whether my asterisk box sees the
correct extension or not, the RTP EVENTs look okay as far as I can
tell.   There's no evidence of the DTMF being doubled before getting
to my box.

Has anyone else encountered this problem and found a solution?
If the RTP EVENTs are good, where should I be looking for the problem?

Thanks in advance for any help... 

Kinda stumped,

-Gary
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Help with extensions - can't dial 700

2005-05-16 Thread Chris Mason
Thanks, I removed that and will test. I don't have an analog extension here,
I am testing using SIP remotely, will have to go to the resort to test.

Chris Mason
US Number: (646)722-0001 US Fax (815)301-9759
Skype: netconcepts
 


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Asterisk and a D/42NS

2005-05-16 Thread Corey Hickey
Hello,

The company I work for deploys and manages telecom hardware for small- to
medium-sized businesses. My boss has asked me to investigate Asterisk as a
possible PBX for deploying to customers along with IP phones. The general
layout would be:

 -- --
|trunk |-- |  LAN,|
| (T1/analogs/ |  ===> | Asterisk | => |IP phones |
| etc.)|--  --
 --

I'm building a test machine right now to experiment with using one of our
analog lines. We have two spare Dialogic D/42NS cards, and I was hoping I
would make one of them work. Has anyone tried that model? I haven't found
any information, good or bad.

The supported hardware list on asterisk.org has the D/41JCT-LS. Is that a
very similar card? Could I "pretend" the D/42NS is a D/41JCT-LS?

Thanks,
Corey

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Home Usage

2005-05-16 Thread Brian Roy
On 5/16/05, Nathan Pralle <[EMAIL PROTECTED]> wrote:
> Hi all.
> 
> I'm curious to hear about other people's HOME usage of Asterisk.  Do you
> have a really neat setup for home use?  Fun stuff with VM and/or
> forwarding and custom scripts?


If you are married, the goal is spousal approval. If you can achieve
that, bliss

Here is my setup

PSTN from Bell. 

This line is connected to a SPA-3K to convert it to SIP and into
Asterisk. The line has call forward busy on it from Bell and directed
to my Broadvoice line. So when someone is on the PSTN line, it
forwards to the Broadvoice line and comes in as a new call.

Broadvoice line used to call adjacent counties that would normally be
toll. Also, I have a phone number terminated in Rhode Island so my
friends and family can call a local number to reach me.

VoipJet for outbound long distance. 

SPA-3k fxs port has replaced all the analog wiring in my house. When
you pick up an analog line somewhere, it's on the SPA.

All my callerID is logged to a database where it is identified as a
call for my wife or myself. This is used when activating a "follow-me
feature". One cool thing I did was ask the caller what their music
preference is when trying to located us. They got to choose from
1. Rock
2. Country
3. Classical
4. R&B
That is stored in the database so every time they call that is the
music they get when trying to located us. People think that is cool.

My system has been rock solid. My wife doesn't even know she's using a
PBX. We have lots of little bells and whistles setup with our home
automation (X10) stuff and lots of little scripts for things.

Good luck!

-Chuji
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] GSM bandwidth

2005-05-16 Thread Michael Welter
Would someone please show me how to calculate the required bandwidth for 
50 GSM channels on a _trunked_ IAX connection(s)?  100 channels?

What would be the packet size?  Header is 12 bytes?  Data is chan*?
50 packets/second * size = ?
Is there an upper limit on a trunked IAX connection?
Thanks!

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Help with extensions - can't dial 700

2005-05-16 Thread Mojo with Horan & Company, LLC
Just a shot in the dark:  do you have features.conf with the following 
lines in it?  Could be that asterisk's sample config file got in the 
way...  Call Parking defaults to using extension 700:

[general]
parkext => 700
Mojo
Chris Mason wrote:
I have been working on integrating some FXS ports into my dial plan
delivered via a channel bank and testing with an analog handset.
The receptionist is on Extension 700. All other SIP phones are 7XX.
From a SIP phone I can dial 700 and all other extensions.
From the analog handset I can dial any other extension but not the 700
number. Weird? Yep.
The CLI does not show any dialing when I dial 700.
Extensions.conf

[office]
exten => 700,1,Dial(SIP/700,20)
exten => 700,2,VoiceMail,u700
exten => 700,102,VoiceMail,b700
exten => 701,1,Dial(SIP/701,20)
exten => 701,2,VoiceMail,u701
exten => 701,102,VoiceMail,b701
exten => 702,1,Dial(SIP/702,20)
exten => 702,2,VoiceMail,u702
exten => 702,102,VoiceMail,b702
exten => 703,1,Dial(SIP/703,20)
exten => 703,2,VoiceMail,u703
exten => 703,102,VoiceMail,b703
...
[zap-in]
exten => s,1,NoOp(Starting Zap-in)
include => office
==
zapata.conf
[channels]
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
context=zap-in
group=1
signalling=fxo_ks
faxdetect=incoming
channel => 1-12

Chris Mason
US Number: (646)722-0001 US Fax (815)301-9759
Skype: netconcepts
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Help with extensions - can't dial 700

2005-05-16 Thread Chris Mason
I have been working on integrating some FXS ports into my dial plan
delivered via a channel bank and testing with an analog handset.

The receptionist is on Extension 700. All other SIP phones are 7XX.
>From a SIP phone I can dial 700 and all other extensions.
>From the analog handset I can dial any other extension but not the 700
number. Weird? Yep.
The CLI does not show any dialing when I dial 700.

Extensions.conf

[office]
exten => 700,1,Dial(SIP/700,20)
exten => 700,2,VoiceMail,u700
exten => 700,102,VoiceMail,b700

exten => 701,1,Dial(SIP/701,20)
exten => 701,2,VoiceMail,u701
exten => 701,102,VoiceMail,b701

exten => 702,1,Dial(SIP/702,20)
exten => 702,2,VoiceMail,u702
exten => 702,102,VoiceMail,b702

exten => 703,1,Dial(SIP/703,20)
exten => 703,2,VoiceMail,u703
exten => 703,102,VoiceMail,b703

...

[zap-in]
exten => s,1,NoOp(Starting Zap-in)
include => office

==
zapata.conf
[channels]
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes

context=zap-in
group=1
signalling=fxo_ks
faxdetect=incoming
channel => 1-12



Chris Mason
US Number: (646)722-0001 US Fax (815)301-9759
Skype: netconcepts
 


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] outlook express intregation

2005-05-16 Thread Matthew Boehm

> I can think of a number of reasons to use Outlook over OE, but that's not
> relevant to the question. What is relevant is that OE supports TAPI dialing
> the same as Outlook does. So you could installed the Asterisk TAPI driver
> and it should work just fine.

You say OE does support TAPI. Someone else posted eariler that it does
not. Which is it? Have you been successful in getting click2dial working in
OE?

-Matthew


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] CLI and DNIS presented to Analog extension

2005-05-16 Thread Peter Jenkins
My company is based in Australia and we have a need to be able to
present CLI (ANI) and DNIS to an analog extension. Currently our PABX
vendor is saying they can only deliver CLI between the first and second
cadence. 

The system will collect calls via an aggregate of ISDN PRI services from
the PSTN and then direct them to the analog extensions in a hunt group
configuration. It is important that the analog extension be presented
with DNIS information as it needs to know who the call was originally
intended (another system is connected to the analog extension). I have
been told that you can get CLI+DNIS to an analog extension direct from
the carrier in the US however this is unfortunately not available in
Australia.

I am getting some headwind from my organisation about the possible use
of Asterisk which is based around the fear of the unknown. If anyone is
aware of this configuration being used with Asterisk then I might have a
chance of at least getting them to let me test the configuration.

Thanks in advance.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static on TDM Zaptel FXO

2005-05-16 Thread Jeremy Parr
On 5/16/05, Gregory Wiktor - ADCom Corp. <[EMAIL PROTECTED]> wrote:
> Hello All,
> I recently put in a zaptel 1fxo/1fxs card.  I am experiencing heavy
> static.
> 
> Even with the pots line disconnected, if I do a dial I still get static.
> This way I know it's not the line, but rather something on the card.
> 
> I tried alternate pci slots.
> 
> This card has a power connector, does anyone know what the power
> requirements are?  The unit is in a small case with a 2.4ghz p-4 and
> 512mb ram, on an intel board with 533fsb.  All other functions are fine.
> 
> I am using the latest CVS on Debian 2.6test
> 
> Anyone experience this?

Have you tried a different phone? Does the static appear immediately
when you pick up the phone? Or on the second or third time?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Callerid not passing across IAX2 trunk

2005-05-16 Thread John L. Magee



Trunk 
between two Asterisk systems does not pass Callerid. Both systems use Voicepulse 
Connect and do pass callerid over that connection.
 
 
jlm --- John 
L Magee [EMAIL PROTECTED] 
http://adamaircraft.com 
US Office:  +1(303)406-5959
US 
Mobile:  +1(917)855-7109 US Facsimile:   +1(646)349-2741 US Home Office: +1(720)227-0137 
 
 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Home Usage

2005-05-16 Thread Kerry Garrison
PSTN line 1 - Parent's line
PSTN line 2 - Kids' line
PSTN line 3 - Bussiness line
VOIP Provider 1 - Broadvoice
VOIP Provider 2 - VOIPJet

A call into Line 1 answers "For Kerry press 1, For Karen press 2"
A call into Line 2 answers "For Taylor press 1, For Chris press 2"
A call into Line 3 answers "Thank you for calling tech data pros blah blah
blah"

All outbound calls got out broadvoice first, voipjet as a backup, and the
pstn lines as a third backup.

Is that trick enough?
-Kerry


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nathan Pralle
Sent: Monday, May 16, 2005 2:35 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Home Usage

Hi all.

I'm curious to hear about other people's HOME usage of Asterisk.  Do you
have a really neat setup for home use?  Fun stuff with VM and/or forwarding
and custom scripts?

I'm working on my own solution; curious as to what others have/use.

Nathan

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] outlook express intregation

2005-05-16 Thread Kerry Garrison
C F wrote:
> Why would you use outlook express when you could use Outlook? I don't 
> think outlook express is worth the effort of click to dial.

>Why use a PC when I could use a mac? I don't think a PC is worth the
effort.
>However, I have to work with the customer and if a customer says "Can it be
used with 
>OE?" I don't want to give the answer of "don't use OE, it sucks.
>Use Outlook."

>FWIW, OE launches on my machine in about 3 seconds. O takes about 30. Plus
most people 
>don't need all the extras that O provides.

I can think of a number of reasons to use Outlook over OE, but that's not
relevant to the question. What is relevant is that OE supports TAPI dialing
the same as Outlook does. So you could installed the Asterisk TAPI driver
and it should work just fine.

Kerry Garrison
http://techdatapros.com - http://geekgazette.com



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] xbox asterisk?

2005-05-16 Thread Dean Collins
Yep, Cringley pointed out that MS delivering quasi pc's was the end game
here.

Delivering a true voice service over this is obviously on the cards.
Then delivering asp payg services is only 1 step removed.

Hopefully google will come along with their net based office
competition.


Dean

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of Colin Anderson
> Sent: Monday, 16 May 2005 7:30 PM
> To: 'C F'; 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] xbox asterisk?
> 
> 
> > interesting comment this week about the Xbox - any intelligent
thoughts
> > here?
> 
> Semi-intelligent:
> 
> xbox, as with any pc hardware, is commoditized to the point of
absurdity.
> The shift of the pc industry has changed from hardware driving the
> industry
> forward, to software, and specifically IP (Intellectual Property) in
the
> form of specific functionality (Skype, for example is more Hype than
Tech,
> but it is a more or less recognizable and bankable name brand. Ditto
> Napster,Itunes, sort of.) The hardware simply becomes the medium.
Hardware
> these days is simply meatspace TCP/IP to deliver services that the
meat
> will
> spend money on. Microsoft and Sony are pursuing the console platform
as a
> means of delivery for next-gen services, ostensibly as a means of
> delivering
> a better gaming experience. Xbox Live is a means for Microsoft to
shake
> out
> how such a service will work. Seems to me, the guy that delivers 50 to
100
> million consoles with an Ethernet port and a hard drive to north
american
> households will automatically have a huge premade installed base for
any
> other service they choose to market on that console. Microsoft has
*not*
> gone after the guys who ran arbitrary code on xbox thru the buffer
overrun
> in the James Bond game and later put out the modchips as much as they
> *could* have, because they want to learn more about how the best and
> brightest minds reverse engineer encryption down at the bus level, and
> take
> those lessons and apply them to Xbox 360, make it so tight that
there's no
> way anyone will be able to run arbitrary code on it. Other lessons,
you
> will
> see when the console is released. It will be smaller. It will run
cooler.
> There will be decent controllers. They will stop using crappy Mitsumi
> drives
> that flake out. One thing Microsoft is absolutely brilliant at, is
taking
> a
> turd and polishing it until it shines (precedent and disclaimer: I
bought
> MS
> Access 2.0 / I own an xbox)
> 
> Now, let's see: An industry giant, markets a console that they loose
tons
> of
> money on. They don't seem to care, which is unlike them, because
Microsoft
> cutting bait is legion (BOB, Cairo, WinFS, I could go on for days)
> instead,
> they come out with ANOTHER box that they will loose even MORE money
on. It
> will be as good as, or better than Cell, run on broadband, and locked
up
> internally tighter than Warren Buffet's sphincter before he announces
a
> full
> point rate hike. Oh yeah, it also happens to be a kick ass PC. That
runs
> on
> your TV. And only Microsoft code (or duly appointed licensees) will
run on
> it. And everyone in North America will have one. Unlike 3Com's stupid
> fantasizing about Audrey, the games on the Xbox will make people
*want* to
> have one.
> 
> This is probably the best way to stage your service rollout.
> 
> You have a captive audience, with hardware they already own, which is
not
> a
> specific purpose console, but a general purpose turing machine that
just
> *happens* to run games. They *know* how to do an online service, with
> lessons learned from Xbox Live. They *know* how to mess with
> reverse-engineering attempts, so they can lock out any attempt at
running
> any code that they don't get a piece of. At that point, you come out
with
> your entire service offering. VoIP? check. Tivo? check. Movies on
demand?
> check. MSN portal? check. Need Word for a weekend? check. All for
$14.95 a
> month X installed base = lots of dough coming in for little effort
> outlaid.
> No boxes. No shrinkwrap. No CD's. Just bits going from 1 server to 1
box,
> that'll be $2.99 please.
> 
> I hate to say it, but it's pretty damned smart.
> 
> PS I read somewhere that Mark has Asterisk running on his Xbox with
USB
> FXO
> adapters. Good luck on the 360, though.
> 
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ASTCC does not count all calls

2005-05-16 Thread Darren Wiebe
Thanks, I just submitted a patch.  http://bugs.digium.com/view.php?id=4300
Darren
Nabeel Jafferali wrote:
Will this fix it or is the \@ change necessary also.  If it is, I will get
a patch in
tomorrow.
   

I just checked - Dial(Local/1416967/routes/n) is not valid.
Dial(Local/[EMAIL PROTECTED]/n) is valid. Therefore, you would need the
other change as well.
--
Nabeel Jafferali
X2 Networks
www.x2n.ca
T: 1.647.722.6900
  1.877.VOIP.X2N
F: 1.866.655.6698
FWD: 46990
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] xbox asterisk?

2005-05-16 Thread Terry H. Gilsenan



Actually, for a pre 1.5 xbox gentoox is fairly simple to 
install once you know the tricks and have a copy of Mechassault 

 
The problem is going to be that the xbox has 64Mb ram, and 
asterisk is going to have difficulty sharing this with the 
OS.
 
I have several xbox-en that have had additional USB ports 
installed and are operating as firewalls with Gentoox and iptables, squid, 
shorewall, etc... so I have not doubt about the installability of linux on the 
xbox and the useability of the xbox-linux package (?), but I think that asterisk 
will have trouble with the memory size.
 
I am willing to give it a go though and report back in a 
week or so
 
Regards,
T
 

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Michael 
  StahlSent: Tuesday, 17 May 2005 8:59 AMTo: Asterisk 
  Users Mailing List - Non-Commercial DiscussionSubject: RE: 
  [Asterisk-Users] xbox asterisk?
  
  Although getting Linux running on the XBox sounds easy 
  - it's not.  In particular, if you get a ver 1.6 box you will be hard 
  pressed to get Linux installed.  Be prepared to spend $ on a boot chip, a 
  replacement DVD drive (unless you are lucky to get one of the samsung drives), 
  an upgraded hard disk (10gb doesn't hold a lot of voice mail), 
  etc.
   
  All in, you will spend $500.  For that money you 
  can go to Best Buy and get a returned/open box PC with more 
  horsepower.
   
  Mike
  
  
  
  From: Dean Collins 
  [mailto:[EMAIL PROTECTED] Sent: Monday, May 16, 2005 10:40 
  AMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: [Asterisk-Users] xbox 
  asterisk?
  
  
  http://www.pbs.org/cringely/pulpit/pulpit20050512.html
   
  interesting comment this week 
  about the Xbox – any intelligent thoughts here?
   
  I know the price point puts it 
  above most users Asterisk outlay (I run mine on a $100 P3 
  -800)
   
  But interesting to see what 
  happens if people start running video conferencing etc on their home asterisk 
  servers, and lets face it where else can you buy this kind of subsidized 
  processing power from at that price.
   
   
  Cheers,
  Dean
   
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] outlook express intregation

2005-05-16 Thread Matthew Boehm
C F wrote:
> Why would you use outlook express when you could use Outlook? I don't
> think outlook express is worth the effort of click to dial.

Why use a PC when I could use a mac? I don't think a PC is worth the effort.
However, I have to work with the customer and if a customer says "Can it be
used with OE?" I don't want to give the answer of "don't use OE, it sucks.
Use Outlook."

FWIW, OE launches on my machine in about 3 seconds. O takes about 30. Plus
most people don't need all the extras that O provides.

-Matthew

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] xbox asterisk?

2005-05-16 Thread Colin Anderson

> interesting comment this week about the Xbox – any intelligent thoughts
> here? 

Semi-intelligent:

xbox, as with any pc hardware, is commoditized to the point of absurdity.
The shift of the pc industry has changed from hardware driving the industry
forward, to software, and specifically IP (Intellectual Property) in the
form of specific functionality (Skype, for example is more Hype than Tech,
but it is a more or less recognizable and bankable name brand. Ditto
Napster,Itunes, sort of.) The hardware simply becomes the medium. Hardware
these days is simply meatspace TCP/IP to deliver services that the meat will
spend money on. Microsoft and Sony are pursuing the console platform as a
means of delivery for next-gen services, ostensibly as a means of delivering
a better gaming experience. Xbox Live is a means for Microsoft to shake out
how such a service will work. Seems to me, the guy that delivers 50 to 100
million consoles with an Ethernet port and a hard drive to north american
households will automatically have a huge premade installed base for any
other service they choose to market on that console. Microsoft has *not*
gone after the guys who ran arbitrary code on xbox thru the buffer overrun
in the James Bond game and later put out the modchips as much as they
*could* have, because they want to learn more about how the best and
brightest minds reverse engineer encryption down at the bus level, and take
those lessons and apply them to Xbox 360, make it so tight that there's no
way anyone will be able to run arbitrary code on it. Other lessons, you will
see when the console is released. It will be smaller. It will run cooler.
There will be decent controllers. They will stop using crappy Mitsumi drives
that flake out. One thing Microsoft is absolutely brilliant at, is taking a
turd and polishing it until it shines (precedent and disclaimer: I bought MS
Access 2.0 / I own an xbox)

Now, let's see: An industry giant, markets a console that they loose tons of
money on. They don't seem to care, which is unlike them, because Microsoft
cutting bait is legion (BOB, Cairo, WinFS, I could go on for days) instead,
they come out with ANOTHER box that they will loose even MORE money on. It
will be as good as, or better than Cell, run on broadband, and locked up
internally tighter than Warren Buffet's sphincter before he announces a full
point rate hike. Oh yeah, it also happens to be a kick ass PC. That runs on
your TV. And only Microsoft code (or duly appointed licensees) will run on
it. And everyone in North America will have one. Unlike 3Com's stupid
fantasizing about Audrey, the games on the Xbox will make people *want* to
have one. 

This is probably the best way to stage your service rollout. 

You have a captive audience, with hardware they already own, which is not a
specific purpose console, but a general purpose turing machine that just
*happens* to run games. They *know* how to do an online service, with
lessons learned from Xbox Live. They *know* how to mess with
reverse-engineering attempts, so they can lock out any attempt at running
any code that they don't get a piece of. At that point, you come out with
your entire service offering. VoIP? check. Tivo? check. Movies on demand?
check. MSN portal? check. Need Word for a weekend? check. All for $14.95 a
month X installed base = lots of dough coming in for little effort outlaid.
No boxes. No shrinkwrap. No CD's. Just bits going from 1 server to 1 box,
that'll be $2.99 please. 

I hate to say it, but it's pretty damned smart. 

PS I read somewhere that Mark has Asterisk running on his Xbox with USB FXO
adapters. Good luck on the 360, though.

 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Dial plan - does not stop after first match

2005-05-16 Thread Jean-Yves Avenard
HelloOn 17/05/2005, at 8:13 AM, Michael Stahl wrote: My dial plan seems to work great - in that when I call extensions 1234 it connects to 1234.  Strangely, after the call terminates (the other side hangs up first), Asterisk continues in the same context and then matches to extensions _. which causes an invalid extension error!   Why does asterisk not leave the context (called internalmenu) after the remote hangup?  Instead, it continues to the InternalInvalid context (included later in the InternalMenu context).   I'm confused!   Here is a snippet of the relevant context and macro.  Thanks, Mike  But that's exactly what your dialplan ask asterisk to do: keep doing stuff after the call has hanged up.If you do not want to continue after Dial, then make sure there a Hangup and nothing else after that. ;; Macros;   [macro-stdexten];; Standard extension macro:;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well;   ${ARG2} - Device(s) to ring;exten => s,1,Playback(transfer,skip)  ; "Please hold while..." but skip if channel is not up;exten => s,2,SendText('Calling extension '${ARG1}) ; Tell the user what extension being calledexten => s,2,SetVar(LastStatus=CallDone) ; Ensure script knows that a Dial was completedexten => s,3,Dial(${ARG2},${RINGTIME},r) ; Ring the interface, 20 seconds maximumexten => s,4,NoOp(${DIALSTATUS})  ; Show status after hangupexten => s,5,Goto(s-${DIALSTATUS},1)  ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER) Here , you tell asterisk to Goto s-. after the Dial operation...  exten => s-NOANSWER,1,Voicemail(u${ARG1}) ; If unavailable, send to voicemail w/ unavail announce   exten => s-BUSY,1,Voicemail(b${ARG1})  ; If busy, send to voicemail w/ busy announce   exten => s-ANSWER,1,NoOp   ; If call answered, then do nothing after hangup   exten => _s-.,1,Goto(s-NOANSWER,1)  ; Treat anything else as no answer   exten => a,1,VoicemailMain(${ARG1})  ; If they press *, send the user into VoicemailMain     --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 95722686 | office +61 3 8573 5299 | direct +61 3 8573 5200  ___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] xbox asterisk?

2005-05-16 Thread Michael Stahl



Although getting Linux running on the XBox sounds easy - 
it's not.  In particular, if you get a ver 1.6 box you will be hard pressed 
to get Linux installed.  Be prepared to spend $ on a boot chip, a 
replacement DVD drive (unless you are lucky to get one of the samsung drives), 
an upgraded hard disk (10gb doesn't hold a lot of voice mail), 
etc.
 
All in, you will spend $500.  For that money you 
can go to Best Buy and get a returned/open box PC with more 
horsepower.
 
Mike



From: Dean Collins [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 16, 2005 10:40 AMTo: Asterisk Users 
Mailing List - Non-Commercial DiscussionSubject: [Asterisk-Users] 
xbox asterisk?


http://www.pbs.org/cringely/pulpit/pulpit20050512.html
 
interesting comment this week about 
the Xbox – any intelligent thoughts here?
 
I know the price point puts it above 
most users Asterisk outlay (I run mine on a $100 P3 
-800)
 
But interesting to see what happens 
if people start running video conferencing etc on their home asterisk servers, 
and lets face it where else can you buy this kind of subsidized processing power 
from at that price.
 
 
Cheers,
Dean
 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Static on TDM Zaptel FXO

2005-05-16 Thread Gregory Wiktor - ADCom Corp.
A kernel recompile managed to give me an average of 99.98%, but I am not
certain that this is optimal.  It seems that I get some background hiss,
although the static is gone.

Anyone out there with higher than this?

Thanks,
Greg 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gregory
Wiktor - ADCom Corp.
Sent: Monday, May 16, 2005 5:40 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Static on TDM Zaptel FXO

Hello,
Yes in the bios I set unused irq's.  Zttest is sporadic.

This is a non HT cpu, on a standard ide drive.  It is basically just a
p4-2.4 with a single ide, onboard lan, and that's about it.  All other
asterisk functions work well.

Next step I think I'll try it on another board and see what happens...
Or maybe recompile the kernel.

Greg 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Damian
Funnell
Sent: Monday, May 16, 2005 5:30 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Static on TDM Zaptel FXO

Hi Gregory,

Have you checked that the card is on its own IRQ?

There has been a bit of discussion about this type of thing recently on
the list, do a search on the archive to find the various threads.

Try running zttest and see what accuracy it is reporting - anything less
than 99.99% is supposedly bad.

Various 'fixes' (work-arounds) are to make sure the zaptel is on it's
own IRQ, disable Hyperthreading and remove RAID controllers or any other
high-performance devices that support DMA and other things that are
likely to compete with the zaptel.

Good luck.
D.

FFF Managed Technology Ltd
60 Cook St
P.O. 6368 Wellesley St
Auckland
t +64 9 356 2911
f +64 9 358 9070
m +64 21 415 297
w www.fff.co.nz



Gregory Wiktor - ADCom Corp. wrote:

>Hello All,
>I recently put in a zaptel 1fxo/1fxs card.  I am experiencing heavy 
>static.
>
>Even with the pots line disconnected, if I do a dial I still get
static.
>This way I know it's not the line, but rather something on the card.
>
>I tried alternate pci slots.
>
>This card has a power connector, does anyone know what the power 
>requirements are?  The unit is in a small case with a 2.4ghz p-4 and 
>512mb ram, on an intel board with 533fsb.  All other functions are
fine.
>
>I am using the latest CVS on Debian 2.6test
>
>Anyone experience this?
>
>Regards,
>Greg
>___
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>  
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] H323 to SIP

2005-05-16 Thread Jeromy Grimmett
Title: Message




Hi 
all,
 
All outbound calls 
work perfect from my SIP ATA 
186...
 
SIP ATA 186 (w/ 
private IP) > Asterisk > H323 (public IP) > TDM > works 
perfect
 
TDM > H323 
(public IP) > Asterisk > SIP ATA 186 (w/ private IP) > fast busy with 
this error message in the CLI of Asterisk:
 
May 17 05:29:20 
WARNING[27823]: pbx.c:1890 ast_pbx_run: Channel 'OH323/R156' sent into invalid 
extension 's' in context 'default', but no invalid handlerCall 
'ip$200.94.273.2:10172/156' cleared.
anyone with any 
ideas i would greatly appreciate it...
 
Thanks,
Jeromy
 



  
  

  


  

  
  

  


  
  Global reach, local 
  touch...

  

  


  Jeromy GrimmettCEO 
  Comuniquémonos, Inc. / SA1212 South Hampton DriveAlexandria, LA 
71301 

  [EMAIL PROTECTED]IM: MSN: 
[EMAIL PROTECTED]http://www.comuniquemonos.com 
  

  
  
tel: fax: 
  mobile: 
+593 (4) 287 3854(501) 
  646-0680+593 (9) 366 6521 
  
  
  

  


  Add me to your address book...
  Want a signature like 
  this?
 
<>___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Queued calls

2005-05-16 Thread Jason Walker




 
I need to track the 
final leg of a queue'd call from a ZAP channel to 
SIP channel through a call queue.
 
What I currently 
have setup is a queue that internal SIP traffic can call into and then receive 
on the far end. Since the ${EXTEN} is pre-determined based on the calling party, 
I can do a DBget within the dial plan to extract the IP from their 
registration.
 
When external calls 
come into the * box, the call gets routed to the same queue but I can not figure 
out how to determine the SIP extension the call eventually ended up at. In the 
CLI, I see an 'agent_call' directive and the call is sent to the appropriate SIP 
extension. But how, within the dialplan, can I retrieve that SIP 
call?
 
Also, once I route a 
call into the queue, the dialplan no longer appears to have control of the call. 
I can not find the config on how to control the call in 
queue.
 
 
Thank 
you.
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 5/16/2005
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] outlook express intregation

2005-05-16 Thread C F
Why would you use outlook express when you could use Outlook? I don't
think outlook express is worth the effort of click to dial.

On 5/16/05, Matthew Boehm <[EMAIL PROTECTED]> wrote:
> All of the stuff I've googled for and read on wiki all relate to "Outlook".
> Has anyone been successful in getting "Outlook Express" to do click to dial?
> 
> -Matthew
> 
> --
> 
> Matthew Boehm, IT DirectorCypress Telecommunications
> [EMAIL PROTECTED]   3838 N. Sam Houston Parkway E #400
> T: 832-200-8640 x3044  Houston, TX 77032
> 
> My girlfriend was recently diagnosed with multiple personality disorder;
>  When she called yesterday, my CallerID box exploded.
> 
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Dial plan - does not stop after first match

2005-05-16 Thread Michael Stahl



My dial plan seems 
to work great - in that when I call extensions 1234 it connects to 1234.  
Strangely, after the call terminates (the other side hangs up first), Asterisk 
continues in the same context and then matches to extensions _. which causes an 
invalid extension error!
 
Why does asterisk 
not leave the context (called internalmenu) after the remote hangup?  
Instead, it continues to the InternalInvalid context (included later in the 
InternalMenu context).   I'm confused!
 
Here is a snippet of 
the relevant context and macro.  Thanks,
Mike
 
;; 
Macros;
 
[macro-stdexten];; Standard extension macro:;   
${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as 
well;   ${ARG2} - Device(s) to ring;exten => 
s,1,Playback(transfer,skip)  ; "Please hold while..." but skip if 
channel is not up;exten => s,2,SendText('Calling extension 
'${ARG1}) ; Tell the user what extension being calledexten => 
s,2,SetVar(LastStatus=CallDone) ; Ensure script knows that a Dial was 
completedexten => s,3,Dial(${ARG2},${RINGTIME},r) ; Ring the 
interface, 20 seconds maximumexten => 
s,4,NoOp(${DIALSTATUS})  ; Show status after hangupexten => 
s,5,Goto(s-${DIALSTATUS},1)  ; Jump based on status 
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
 
exten => s-NOANSWER,1,Voicemail(u${ARG1}) ; If unavailable, send to 
voicemail w/ unavail announce
 
exten => s-BUSY,1,Voicemail(b${ARG1})  ; If busy, send to 
voicemail w/ busy announce
 
exten => s-ANSWER,1,NoOp   ; If call answered, then do 
nothing after hangup
 
exten => _s-.,1,Goto(s-NOANSWER,1)  ; Treat anything else as 
no answer
 
exten => a,1,VoicemailMain(${ARG1})  ; If they press *, send 
the user into VoicemailMain
 
 
 
 
;; 
Extensions available to all 
callers;[default]
 
; Local extensions begin with 2XXXexten => 
${EXT_MIKE},1,Macro(stdexten,${EXTEN},${CON_MIKE})  ; Mike Stahl 
extensionexten => 
${EXT_SPA1},1,Macro(stdexten,${EXTEN},${CON_SPA1})  ; SPA line 1 
extensionexten => 
${EXT_SPA2},1,Macro(stdexten,${EXTEN},${CON_SPA2})  ; SPA line 2 
extensionexten => 
${EXT_DIANA},1,Macro(fakeexten,${EXTEN},${CON_DIANA})  ; Diana Stahl 
extensionexten => 
${EXT_KLAUS},1,Macro(stdexten,${EXTEN},${CON_KLAUS})  ; Klaus Stahl 
extensionexten => 
${EXT_BOB},1,Macro(fakeexten,${EXTEN},${CON_BOB})  ; Bob Stahl 
extensionexten => 
${EXT_BILL},1,Macro(fakeexten,${EXTEN},${CON_BILL})  ; Bill Stahl 
extension
 
; Direct into voicemail systemexten => 
${EXT_VOICEMAIL},1,VoicemailMainexten => ${EXT_VOICEMAIL},2,Hangup
 
; Dial by nameexten => 1,1,Directory(default)   ; 
Send user to the directory
 
 
 
;; Menu 
available to internal callers - full 
access;[menuinternal]
 
include => fwd ; Allow outbound access on 
FWD using 8 prefixinclude => trunkfullaccess   ; Allow 
full access to external line(s)include => 
default; Allow access to all extensions
 
; Administration menuexten => 
${EXT_ADMIN},1,Goto(menuadmin,s,1)
 
; After a message left, offer instruction what to do.; This menu is 
never reached INITIALLY if a specific extension is enteredexten => 
s,1,GotoIf($["${LastStatus}" != "CallDone"] & $["${LastStatus}" != 
""]?4) exten => 
s,2,SetVar(LastStatus=Try1)exten => s,3,Goto(11)exten => 
s,4,GotoIf($["${LastStatus}" != 
"Try1"]?10) exten => 
s,5,SetVar(LastStatus=UserIdle)exten => s,6,Goto(11)exten => 
s,7,GotoIf($["${LastStatus}" != 
"InvalidExtension"]?13) 
exten => s,8,SetVar(LastStatus=UserInvalid)exten => 
s,9,Goto(11)exten => s,10,SetVar(LastStatus=Error)exten => 
s,11,Background(ocg/enterextension) ; PLAY enter the extension you wish to 
dial 
 
; "*" Repeat the previous menuexten => *,1,Goto(s,1)
 
; "#" hangup exten => 
#,1,Goto(internalendcall,s,1)   ; End the call
 
; If any other extension then say invalid (used only for initial connection 
to allow connection; instead of 403 error)include => 
internalinvalid
 
; If they take too long, check if completed something useful (LastStatus) 
go back to menu, else timeoutexten => t,1,GotoIf($["${LastStatus}" = 
"UserIdle"] | $["${LastStatus}" = "UserInvalid"] | $["${LastStatus}" = 
"Error"]?internalendcall,s,1) 
exten => t,2,Wait(RepeatMenuWaitTime)  ; Wait for seconds 
before playing menu after  last command/eventexten => 
t,3,Goto(s,1); Go back to the main menu and repeat 
prompt
 
; If they enter an invalid extension.  Should only get here from 
_.,1exten => i,1,SetVar(LastStatus=InvalidExtension)exten => 
i,2,Background(pbx-invalid)   ; "That's not valid, try again" 
exten => i,3,Wait(1) exten => i,4,Goto(s,1) 
 
; timeout overallexten => T,1,Goto(internalendcall,s,1)
 
[internalinvali

Re: [Asterisk-Users] Outgoing spool file ignored

2005-05-16 Thread Jean-Denis Girard
Andres Paglayan a écrit :
File::copy does copy, it re-writes the file,
you need to move it.
so when the the pointer is placed the file is already there.
Well from File::Copy man page, about the move() function:
"If possible, move() will simply rename the file."
I thought it was the case on Linux, but I'll probably change to 
system(mv ...) just to be sure.

Thanks for all the replies.
Jean-Denis
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


FW: [Asterisk-Users] Static on TDM Zaptel FXO

2005-05-16 Thread Gregory Wiktor - ADCom Corp.
 

-Original Message-
From: Gregory Wiktor - ADCom Corp. 
Sent: Monday, May 16, 2005 5:40 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Static on TDM Zaptel FXO

Hello,
Yes in the bios I set unused irq's.  Zttest is sporadic.

This is a non HT cpu, on a standard ide drive.  It is basically just a
p4-2.4 with a single ide, onboard lan, and that's about it.  All other
asterisk functions work well.

Next step I think I'll try it on another board and see what happens...
Or maybe recompile the kernel.

Greg 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Damian
Funnell
Sent: Monday, May 16, 2005 5:30 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Static on TDM Zaptel FXO

Hi Gregory,

Have you checked that the card is on its own IRQ?

There has been a bit of discussion about this type of thing recently on
the list, do a search on the archive to find the various threads.

Try running zttest and see what accuracy it is reporting - anything less
than 99.99% is supposedly bad.

Various 'fixes' (work-arounds) are to make sure the zaptel is on it's
own IRQ, disable Hyperthreading and remove RAID controllers or any other
high-performance devices that support DMA and other things that are
likely to compete with the zaptel.

Good luck.
D.

FFF Managed Technology Ltd
60 Cook St
P.O. 6368 Wellesley St
Auckland
t +64 9 356 2911
f +64 9 358 9070
m +64 21 415 297
w www.fff.co.nz



Gregory Wiktor - ADCom Corp. wrote:

>Hello All,
>I recently put in a zaptel 1fxo/1fxs card.  I am experiencing heavy 
>static.
>
>Even with the pots line disconnected, if I do a dial I still get
static.
>This way I know it's not the line, but rather something on the card.
>
>I tried alternate pci slots.
>
>This card has a power connector, does anyone know what the power 
>requirements are?  The unit is in a small case with a 2.4ghz p-4 and 
>512mb ram, on an intel board with 533fsb.  All other functions are
fine.
>
>I am using the latest CVS on Debian 2.6test
>
>Anyone experience this?
>
>Regards,
>Greg
>___
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>  
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] spandsp in 64 bit Linux on AMD64

2005-05-16 Thread Juan Jose Comellas
Is there any stable version of spandsp that works on a 64 bit Linux on an 
AMD64 machine. When compiling version 0.0.1k I get the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -c testcpuid.c -MT testcpuid.lo -MD 
-MP -MF .deps/testcpuid.TPlo  -fPIC -DPIC -o .libs/testcpuid.lo
/tmp/ccXxGHg6.s: Assembler messages:
/tmp/ccXxGHg6.s:8: Error: suffix or operands invalid for `pushf'
/tmp/ccXxGHg6.s:9: Error: suffix or operands invalid for `pushf'
/tmp/ccXxGHg6.s:10: Error: suffix or operands invalid for `pop'
/tmp/ccXxGHg6.s:13: Error: suffix or operands invalid for `push'
/tmp/ccXxGHg6.s:14: Error: suffix or operands invalid for `popf'
/tmp/ccXxGHg6.s:15: Error: suffix or operands invalid for `pushf'
/tmp/ccXxGHg6.s:16: Error: suffix or operands invalid for `pop'
/tmp/ccXxGHg6.s:17: Error: suffix or operands invalid for `popf'
make[2]: *** [testcpuid.lo] Error 1



-- 
Juan Jose Comellas
([EMAIL PROTECTED])

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Redirect two channels to each other?

2005-05-16 Thread mattf
This may be somewhat of a cross-post with -dev, but I have Manager Bridge
Action working under CVS_HEAD and releases 1.0.6-7.
http://bugs.digium.com/view.php?id=4297

MATT---

-Original Message-
From: Josiah Bryan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 1:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Redirect two channels to each other?


On Wednesday 27 April 2005 11:38 am, Alexander Lopez wrote:
> As ny 10 year old step-daugher says "I don't get it.."
>
> Can't you just do a redirect if you specify the channels, * doesn't care
> if they are bridged together or not.  You may end up with zombie
> channels if the other leg does not drop, but you could do a soft hangup
> and take care of that..
>
>
> Or am I missing something


I dunno...maybe _im_ missing something..

IIRC (http://www.voip-info.org/wiki-Asterisk+Manager+API+Action+Redirect), 
Manager action 'Redirect' only takes Channel, ExtraChannel, Exten, Context, 
and Priority as parameters.  
 
Example (transferring existing 2 party call to a meetme room): 
 
Action: Redirect 
Channel: Zap/73-1 
ExtraChannel: SIP/199testphone-1f3c 
Exten: 8600029 
Context: default 
Priority: 1 

The problem is that you cant redirect to an existing _channel_.  I dont know

of any channel 'hack' like there is for Local extensions (e.g. to make an 
extension look like a channel, use Local/[EMAIL PROTECTED], etc - is there the 
inverse of that? Make a channel look like an extension?) 

It almost sounds like there needs to me a new manager action:

Action: Bridge
ChannelA: SIP/199testfone-1f3c
ChannelB: Zap/6-1


It sounds like the intrinsic functionality for 'bridging' is already there
in 
Asterisk (duh!), it just needs to be encapsulated in a manager action.

Any takers? Maybe a bounty is needed...?
 
-josiah

-- 
Josiah Bryan
IT Coordinator
Productive Concepts, Inc.
[EMAIL PROTECTED]
(765) 964-6009, ext. 224
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Matthew Boehm
Preston Garrison wrote:

> the database.  But that is mostly due to the fact that realtime
> queries the database 4 times everytime it needs a sip record.  Also


?? I have not observed this 4 query behavior. I only see 1 query.

-Matthew
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Senad J
[EMAIL PROTECTED] wrote:
> Actually using voicemail from db is alot smarter then using SIP from
> the database.


Depens how you administer your configuration files.

>But that is mostly due to the fact that realtime
> queries the database 4 times everytime it needs a sip record.  Also
> mysql doesn't keep everything in memory at all.  It only keeps stuff
> it needs to in memory, that it finds itself accessing alot.  The
> algorithms are pretty damn good in mysql about what to keep in memory.

I was not talking about MySQL on a single host...
I was refering to MYSQL Cluster.

Regards,

Senad 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Pass variable to Authenticate?

2005-05-16 Thread Moises Silva
Hi Dana. 

Not sure how to do it with DBget, but currently im using AGI for all
the authentication process. I Think is a very good solution. Its a lot
easier to make a program in a high level language like PHP and tell
asterisk with a simple SetVar(authenticated=1) if the user is allowed
to continue.
Basically the flow of events is:

- the user dial some number
- asterisk prompts for the agent login and saves it in a channel variable
- asterisk prompts for the agent password and saves it in other channel var
- asterisk launch an AGI application
   - the agi script retrieves the login and password saved by Asterisk
   - the agi script check the database to find a match entry
   - the agi script set an Asterisk variable to tell if the user
its authorized or not
- asterisk reads the variable that agi should have set
- if the variable is 1 continue, otherwise ask the password again or
hangup, or whatever...

If you need more help just ask. I tough many people here knows other
options, or may be a better implementation.

Best Regards

- moy

On 5/16/05, Dana Olson <[EMAIL PROTECTED]> wrote:
> I'm trying to figure out a way to make my own agent login, because I
> don't like how the default works.
> 
> I have the login and logout working fine using the dynamic add and
> remove commands, but I need to be able to create a list of users and
> passwords.
> 
> I thought of a way to do it using a list of passwords, but the agent
> would only ever be prompted for their password. I won't want that.
> 
> Basically, what I want to do is this:
> 
> Read in the username, ex. 4567
> Read in the password, ex. 1234
> Pass 12344567 to the Authenticate command, which checks in the file
> for that password.
> 
> I can't figure out a way to do it, and it may not even be possible.
> 
> Is there another way to do it? Can I somehow utilize the DBget and
> DBput commands? I couldn't find much info on it in the wiki, and my
> impression is that I have to use only the blacklist or cidname
> databases.
> 
> Any ideas would be helpful.
> --
> Dana
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 


-- 
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org";
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Static on TDM Zaptel FXO

2005-05-16 Thread Gregory Wiktor - ADCom Corp.
Hello,
Yes in the bios I set unused irq's.  Zttest is sporadic.

This is a non HT cpu, on a standard ide drive.  It is basically just a
p4-2.4 with a single ide, onboard lan, and that's about it.  All other
asterisk functions work well.

Next step I think I'll try it on another board and see what happens...
Or maybe recompile the kernel.

Greg 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Damian
Funnell
Sent: Monday, May 16, 2005 5:30 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Static on TDM Zaptel FXO

Hi Gregory,

Have you checked that the card is on its own IRQ?

There has been a bit of discussion about this type of thing recently on
the list, do a search on the archive to find the various threads.

Try running zttest and see what accuracy it is reporting - anything less
than 99.99% is supposedly bad.

Various 'fixes' (work-arounds) are to make sure the zaptel is on it's
own IRQ, disable Hyperthreading and remove RAID controllers or any other
high-performance devices that support DMA and other things that are
likely to compete with the zaptel.

Good luck.
D.

FFF Managed Technology Ltd
60 Cook St
P.O. 6368 Wellesley St
Auckland
t +64 9 356 2911
f +64 9 358 9070
m +64 21 415 297
w www.fff.co.nz



Gregory Wiktor - ADCom Corp. wrote:

>Hello All,
>I recently put in a zaptel 1fxo/1fxs card.  I am experiencing heavy 
>static.
>
>Even with the pots line disconnected, if I do a dial I still get
static.
>This way I know it's not the line, but rather something on the card.
>
>I tried alternate pci slots.
>
>This card has a power connector, does anyone know what the power 
>requirements are?  The unit is in a small case with a 2.4ghz p-4 and 
>512mb ram, on an intel board with 533fsb.  All other functions are
fine.
>
>I am using the latest CVS on Debian 2.6test
>
>Anyone experience this?
>
>Regards,
>Greg
>___
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>  
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Broadvoice Toll-Free IVR issues

2005-05-16 Thread Paul
You should try each possible setting and see if the primary and tollfree 
numbers work with them. Then call BV, wait on hold for 15 minutes and 
get dropped to a fast busy signal.

[EMAIL PROTECTED] wrote:
I'm using dtmf=inband and dtmfmode=inband. Should I try rfc2833? From what
I could tell, Broadvoice "might" support it, but others have said that they
don't.
Original Message:
-
From: Paul [EMAIL PROTECTED]
Date: Mon, 16 May 2005 15:28:48 -0400
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Broadvoice Toll-Free IVR issues
[EMAIL PROTECTED] wrote:
 

Perhaps someone else has had this issue. I currently have BroadVoice as my
SIP provider with two phone numbers. The first number is my primary local
number; the second is an 877 toll-free number.
The issue is with the IVR abilities. When calling the primary number you
can press 200 at the main menu and receive my extension. When calling the
877 number, 200 will result in “that option is invalid”… Heck, just after
pressing “2” it will give that message. If you press 1 it takes you to the
support queue. The IVR is set up to give you the sales queue after pressing
2, but it doesn’t do that either.
Anyone have any ideas?

   

I remember running into something else that was different for the 
tollfree number with BV. IIRC - the supported codecs differed. It makes 
me think that the tollfree calls come from a different gateway. They 
only allow one SIP device(whether hardware or software) per account 
which rules out the most obvious workaround for the problem. Looks to me 
like dtmf settings are different on the two gateways/routers they are using.

 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Iqbal

and running mysql with master slave config, can also allow load balancing
on the queries, but the problem is I just cant get it too work :-)

Iqbal

On 5/16/2005, "Preston Garrison" <[EMAIL PROTECTED]> wrote:

>Actually using voicemail from db is alot smarter then using SIP from
>the database.  But that is mostly due to the fact that realtime queries
>the database 4 times everytime it needs a sip record.  Also mysql
>doesn't keep everything in memory at all.  It only keeps stuff it needs
>to in memory, that it finds itself accessing alot.  The algorithms are
>pretty damn good in mysql about what to keep in memory.
>
>Preston Garrison
>direct: 877-748-4142
>fax: 310-774-3901
>cell: 623-748-4140
>
>-Original Message-
>From: Senad J <[EMAIL PROTECTED]>
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>
>Sent: Mon, 16 May 2005 20:33:32 +0100
>Subject: RE: [Asterisk-Users] voicemail.conf from DB
>
>In my opinion.. using voicemail from DB is not good
>for "scaling up" scenarios... in particular if you need to
>provide HA of five nine... 99.999%
>
>The cluster database (well in particular MYSQL puts everything in
>RAM)... so
>as the user base grows.. so does RAM requirement...
>
>Ta
>Senad
>
>[EMAIL PROTECTED] wrote:
>> Hi
>>
>> I have been playing with trying to get voicemail.conf from DB, I am
>> using cvs-head, but when I start asterisk, it dies a horrible death,
>> because it cant load any voicemil setting.
>>
>> I looked at my mysql logs to see what query was being sent, and I get
>>
>> SELECT category, var_name, var_val, cat_metric FROM voicemail_users
>> WHERE filename='voicemail.conf' and commented=0 ORDER BY filename,
>> cat_metric desc, var_metric asc, category, var_name, var_val, id;
>>
>> which is in no way related to the table I created following the
>> example on the wiki.
>>
>> Is there another table format , I have
>>
>>
>+-+---+--+-+-++
>>> Field   | Type  | Null | Key | Default | Extra  |
>>
>+-+---+--+-+-++
>>> uniqueid| int(11)   |  | PRI | NULL| auto_increment |
>>> customer_id | int(11)   |  | | 0   ||
>>> context | varchar(50)   |  | | ||
>>> mailbox | int(5)|  | MUL | 0   ||
>>> password| varchar(4)|  | | 0   ||
>>> fullname| varchar(50)   |  | | ||
>>> email   | varchar(50)   |  | | ||
>>> pager   | varchar(50)   |  | | ||
>>> stamp   | timestamp(14) | YES  | | NULL||
>>
>+-+---+--+-+-++
>>
>>
>> tks
>> Iqbal
>> ___
>> Asterisk-Users mailing list
>> Asterisk-Users@lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>___
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>___
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Home Usage

2005-05-16 Thread Nathan Pralle
Hi all.
I'm curious to hear about other people's HOME usage of Asterisk.  Do you 
have a really neat setup for home use?  Fun stuff with VM and/or 
forwarding and custom scripts?

I'm working on my own solution; curious as to what others have/use.
Nathan
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: SpanDSP TXFax and multipage faxes problems (aditional info)

2005-05-16 Thread Nenad Radosavljevic
Lee,
thanks for the explanations.
Since I finaly figured out where to find spandsp debug information (it is 
printed only on the console where the asterisk is run, not in Asterisk 
remote console nor in Asterisk log files), I have gathered some debug logs 
and emailed them to Steve, asking him for his oppinion on problem (logs are 
long so I won't bother list with them).

Anyway, thanks again.
Regards,
Nenad

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] xbox asterisk?

2005-05-16 Thread C F
I didn't read the whole article, but with the known ways of getting
the xBox to boot into your favorite *nix kernel (just google a bit),
it just sounds like an easy way to get your favorite game to pause
when the phone rings.

On 5/16/05, Dean Collins <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> http://www.pbs.org/cringely/pulpit/pulpit20050512.html 
> 
>   
> 
> interesting comment this week about the Xbox – any intelligent thoughts
> here? 
> 
>   
> 
> I know the price point puts it above most users Asterisk outlay (I run mine
> on a $100 P3 -800) 
> 
>   
> 
> But interesting to see what happens if people start running video
> conferencing etc on their home asterisk servers, and lets face it where else
> can you buy this kind of subsidized processing power from at that price. 
> 
>   
> 
>   
> 
> Cheers, 
> 
> Dean 
> 
>   
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] Forwarding To Cell Phones with Asterrisk PBX

2005-05-16 Thread Colin Anderson



Yeah, I have it in 
my dialplan and use it heavily. Just make another Dial() command to the 
cellphone the next priority in the dialplan underneath the Dial() statement for 
your extension. For example:
 
Extension is: 
12345
SIP extension is: 
SIP/12345
Cell number is: 
555-1212
 
in 
Extensions.conf:
 
[myphonecontext]
 
exten => 
12345,1,Dial(SIP/12345,40) 'Dial extension 12345 for 40 seconds. If no one picks 
up then...
exten => 
12345,2,Dial(ZAP/g0/5551212,25) 'Forward the call out to the user's cell. Once 
they pick up, a native bridge of ZAP channels occur and Asterisk is out 'of the 
media stream
exten => 
12345,3,(anything else that happens later, like go to voicemail, 
etc)
 
It's important to 
time how long it takes for the remote user's cellphone to pick up for voicemail. 
If the user's voicemail on the cell kicks in after, say 4 rings, time your 
second Dial() command to be just short of that, otherwise the remote caller will 
get the cell phone's voicemail, which is probably not the desired behavior. In 
my case, I set it for 25 seconds, as our cells' voicemail kicks in after 30 
seconds. If there's no call pickup on the cell, call processing continues to the 
next priority, which is voicemail or IVR depending on what number they called. 

 
Also note that once 
the native bridging happens, you are using two lines, 1 inbound to Asterisk, and 
1 outbound from Asterisk to the cell phone. Line capacity becomes an issue 
unless you have lots of channels, like a PRI, or if your useage is light, like 
no more than 1/2 of your total Zap channels could be inbound and forwarded to 
your remote user's cells at any one point in time. 
 
hth

  -Original Message-From: Theo Chao 
  [mailto:[EMAIL PROTECTED]Sent: Monday, May 16, 2005 2:39 
  PMTo: asterisk-users@lists.digium.comSubject: 
  [Asterisk-Users] Forwarding To Cell Phones with Asterrisk 
  PBX
  
  Hello,
   
  My company has a 800 number that we use for 
  customer service.  However, instead of having our customer service reps 
  at the office, we route these calls to their cell phones using a service 
  provided by gosolo.com.  However our current system isn't ideal because 
  it will call each number in order causing longer and longer waits when we've 
  got people on the line.   Our goal is to set up a system that allows 
  us to design the way calls into an 800 number are routed out to our cell 
  phones.
   
  I've been reading about Asterisk and VoIP to see 
  if we can better this process by having all the reps called at once, and 
  whichever person answers first handles the call.  It looks like this may 
  be possible with the dial command (http://www.voip-info.org/wiki-Asterisk+cmd+DIal)   
  However, would we be able to forward incoming calls to cellular phones?  
  The wiki reference for the dial command talks about using channels and the 
  list of possible channels doesn't seem to have an option for cell 
  phones.  
   
  Additionally, I've looked at http://www.voip-info.org/tiki-index.php?page=Asterisk%20Connecting%20to%20the%20Cellular%20Network 
  to see how to connect Asterisk to a cellular network.  However it looks 
  to me like this is a method to take a call placed to a cell phone and route it 
  so that other home phones could be used instead.  Is there a method to go 
  the other way around and take a call placed to a land line and route it to the 
  cell phone?
   
  Thanks,Theo
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Forwarding To Cell Phones with Asterrisk PBX

2005-05-16 Thread Paul
Theo Chao wrote:
Hello,
 
My company has a 800 number that we use for customer service.  
However, instead of having our customer service reps at the office, we 
route these calls to their cell phones using a service provided by 
gosolo.com.  However our current system isn't ideal because it will 
call each number in order causing longer and longer waits when we've 
got people on the line.   Our goal is to set up a system that allows 
us to design the way calls into an 800 number are routed out to our 
cell phones.
 
I've been reading about Asterisk and VoIP to see if we can better this 
process by having all the reps called at once, and whichever person 
answers first handles the call.  It looks like this may be possible 
with the dial command 
(http://www.voip-info.org/wiki-Asterisk+cmd+DIal)   However, would we 
be able to forward incoming calls to cellular phones?  The wiki 
reference for the dial command talks about using channels and the list 
of possible channels doesn't seem to have an option for cell phones. 
 
Additionally, I've looked at 
http://www.voip-info.org/tiki-index.php?page=Asterisk%20Connecting%20to%20the%20Cellular%20Network 
to see how to connect Asterisk to a cellular network.  However it 
looks to me like this is a method to take a call placed to a cell 
phone and route it so that other home phones could be used instead.  
Is there a method to go the other way around and take a call placed to 
a land line and route it to the cell phone?
 
Thanks,
Theo
Have the system call multiple numbers and start playing an identifying 
message on answer. The first one to send back a dtmf 1 gets the call. 
That prevents the * system from sending callers into things like cell 
voicemail or network error messages.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] POE hub

2005-05-16 Thread Max W Blackmer Jr
>  Original Message 
> Subject: [Asterisk-Users] POE hub
> From: "Chris Mason" <[EMAIL PROTECTED]>
> Date: Sun, May 15, 2005 9:19 pm
> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
> 
>
> I need to connect up to sixteen phones per building, I can use a cheap hub,
> but POE would be useful. Is there a cheap POE hub available? Everything I
> have seen has been expensive.

Well for inexpensive you could look at D-Link They have 2 switches that
provide POE.

DES-1316 Web-Smart 16-port Switch Web-Smart Switch with (8) Ports
10/100Mbps and (8) PoE 802.3af 10/100 ports
List price is  $499.99 USD. I can get them for $420 USD.

DES-1526 Web-Smart 24-port PoE 10/100 + 2 Combo Gigabit Copper/SFP ports
Switch.
List price is $999. I can get them for $850.

Cheers,

Max W. Blackmer, Jr.


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] voicemail on server, path format

2005-05-16 Thread Iqbal

Hi

can the path format be changed on the server, eg can lookup be

../context/1/2/3/123.gsm

kind of like what you would have in order to store email across a
filesystem, it makes lookups and scalability much much better/faster

Iqbal
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Static on TDM Zaptel FXO

2005-05-16 Thread Damian Funnell
Hi Gregory,
Have you checked that the card is on its own IRQ?
There has been a bit of discussion about this type of thing recently on 
the list, do a search on the archive to find the various threads.

Try running zttest and see what accuracy it is reporting - anything less 
than 99.99% is supposedly bad.

Various 'fixes' (work-arounds) are to make sure the zaptel is on it's 
own IRQ, disable Hyperthreading and remove RAID controllers or any other 
high-performance devices that support DMA and other things that are 
likely to compete with the zaptel.

Good luck.
D.
FFF Managed Technology Ltd
60 Cook St
P.O. 6368 Wellesley St
Auckland
t +64 9 356 2911
f +64 9 358 9070
m +64 21 415 297
w www.fff.co.nz

Gregory Wiktor - ADCom Corp. wrote:
Hello All,
I recently put in a zaptel 1fxo/1fxs card.  I am experiencing heavy
static.  

Even with the pots line disconnected, if I do a dial I still get static.
This way I know it's not the line, but rather something on the card.
I tried alternate pci slots.
This card has a power connector, does anyone know what the power
requirements are?  The unit is in a small case with a 2.4ghz p-4 and
512mb ram, on an intel board with 533fsb.  All other functions are fine.
I am using the latest CVS on Debian 2.6test
Anyone experience this?
Regards,
Greg
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ShoreTel 210 MGCP phone drops calls with MGCP RSIP

2005-05-16 Thread Ben Dugdale
Not sure how much of this you want to see.  The drop is at the end.

MGCP Debugging Enabled
MGCP read:
NTFY 4255 [EMAIL PROTECTED] MGCP 1.0
X: 1C8A5876
O: l/hd

from 192.168.1.137:2427
Verb: 'NTFY', Identifier: '4255', Endpoint:
'[EMAIL PROTECTED]', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'NTFY' on [EMAIL PROTECTED]
Transmitting:
200 4255 OK

 to 192.168.1.137:2427
-- Creating connection for [EMAIL PROTECTED] in
cxmode: sendrecv callid: 5af2b0987ba3281b
We're at 192.168.0.5 port 5004
Answering with capability 4
Posting Request:
CRCX 209 [EMAIL PROTECTED] MGCP 1.0
C: 5af2b0987ba3281b
L: p:20, a:PCMU
M: sendrecv
X: 7ba3281b

v=0
o=root 28578 28578 IN IP4 192.168.0.5
s=session
c=IN IP4 192.168.0.5
t=0 0
m=audio 5004 RTP/AVP 0
a=rtpmap:0 PCMU/8000
 to 192.168.1.137:2427
-- MGCP Asked to indicate tone: L/dl on
[EMAIL PROTECTED] in cxmode: sendrecv
Posting Request:
RQNT 210 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
S: L/dl
 to 192.168.1.137:2427
MGCP read:
200 209 OK
I: 3886

v=0
o=Broadcom 14470 209 IN IP4 192.168.1.137
s=MGCP call
c=IN IP4 192.168.1.137
b=AS:64
t=0 0
m=audio 5004 RTP/AVP 0
a=sendrecv
a=ptime:20

from 192.168.1.137:2427
Verb: '200', Identifier: '209', Endpoint: 'OK', Version: '(null)'
2 headers, 9 lines
Capabilities: us - 4, them - 4, combined - 4
Non-codec capabilities: us - 1, them - 0, combined - 0
MGCP read:
NTFY 4256 [EMAIL PROTECTED] MGCP 1.0
X: 7BA3281B
O: aud(2)

from 192.168.1.137:2427
Verb: 'NTFY', Identifier: '4256', Endpoint:
'[EMAIL PROTECTED]', Version: 'MGCP 1.0'
3 headers, 0 lines
Handling request 'NTFY' on [EMAIL PROTECTED]
Transmitting:
200 4256 OK

 to 192.168.1.137:2427
-- MGCP Asked to indicate tone: L/dl on
[EMAIL PROTECTED] in cxmode: sendrecv
Queueing Request:
RQNT 211 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
S: L/dl
 to 192.168.1.137:2427
May 16 13:47:07 NOTICE[28578]: chan_mgcp.c:3242 handle_request: Received
unknown event 'aud(2)' from [EMAIL PROTECTED]
MGCP read:
200 210 OK

from 192.168.1.137:2427
Verb: '200', Identifier: '210', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
Posting Queued Request:
RQNT 211 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
S: L/dl
 to 192.168.1.137:2427
MGCP read:
200 211 OK

from 192.168.1.137:2427
Verb: '200', Identifier: '211', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
-- MGCP asked to indicate -1 'UNKNOWN' condition on channel
MGCP/[EMAIL PROTECTED]
-- MGCP Asked to indicate tone:  on
[EMAIL PROTECTED] in cxmode: sendrecv
Posting Request:
RQNT 212 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1.137:2427
-- MGCP asked to indicate -1 'UNKNOWN' condition on channel
MGCP/[EMAIL PROTECTED]
-- MGCP Asked to indicate tone:  on
[EMAIL PROTECTED] in cxmode: sendrecv
Queueing Request:
RQNT 213 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1.137:2427
MGCP read:
200 212 OK

from 192.168.1.137:2427
Verb: '200', Identifier: '212', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
Posting Queued Request:
RQNT 213 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1.137:2427
MGCP read:
200 213 OK

from 192.168.1.137:2427
Verb: '200', Identifier: '213', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
-- MGCP asked to indicate -1 'UNKNOWN' condition on channel
MGCP/[EMAIL PROTECTED]
-- MGCP Asked to indicate tone:  on
[EMAIL PROTECTED] in cxmode: sendrecv
Posting Request:
RQNT 214 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1.137:2427
-- MGCP asked to indicate -1 'UNKNOWN' condition on channel
MGCP/[EMAIL PROTECTED]
-- MGCP Asked to indicate tone:  on
[EMAIL PROTECTED] in cxmode: sendrecv
Queueing Request:
RQNT 215 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1.137:2427
MGCP read:
200 214 OK

from 192.168.1.137:2427
Verb: '200', Identifier: '214', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
Posting Queued Request:
RQNT 215 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1.137:2427
MGCP read:
200 215 OK

from 192.168.1.137:2427
Verb: '200', Identifier: '215', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
-- MGCP asked to indicate -1 'UNKNOWN' condition on channel
MGCP/[EMAIL PROTECTED]
-- MGCP Asked to indicate tone:  on
[EMAIL PROTECTED] in cxmode: sendrecv
Posting Request:
RQNT 216 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1.137:2427
-- MGCP asked to indicate -1 'UNKNOWN' condition on channel
MGCP/[EMAIL PROTECTED]
-- MGCP Asked to indicate tone:  on
[EMAIL PROTECTED] in cxmode: sendrecv
Queueing Request:
RQNT 217 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1.137:2427
MGCP read:
200 216 OK

from 192.168.1.137:2427
Verb: '200', Identifier: '216', Endpoint: 'OK', Version: '(null)'
1 headers, 0 lines
Posting Queued Request:
RQNT 217 [EMAIL PROTECTED] MGCP 1.0
X: 1c8a5876
R: L/hu(N),L/hf(N)
 to 192.168.1

Re: [Asterisk-Users] zttest

2005-05-16 Thread Rich Adamson
> Rich, did you check IRQ's?  Our zttest results didn't improve markedly 
> when we did either change (IRQ's or H/T), but the problem went away 
> regardless.
> 
> Other than that Digium have recommended throwing out our SCSI320 RAID 
> hardware and replacing it with IDE (i.e. not SATA) kit, although 
> thankfully we haven't had to make this retarded change (yet).
> 
> I would also recommend trying to disable H/T in the BIOS (rather than 
> via software) as I wonder if H/T still runs on your box (but is not 
> accessed by the OS), so may still be causing you grief.

Yes, been through the majority of items including irq's, swapped
motherboards, ide only, nothing else running, command line only (no
frame buffers), upgrade from rhv9 to fedora 3, mucked with pci
latency, etc.  Had not tried the hyperthread thing until now, but 
that had no effect either. Even upgraded the TDM card to the latest 
rev h.

Still think its either a bad TDM card design, or, TDM driver issue
as to why we can't approach zttest results of 100%.

I'm hoping that Steve Underwood's utility to measure the TDM results
helps to identify the root cause.



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Iqbal

Hi

tks for the feedback, the admintool i cant use, because users create/add
themselves to the system themselves, could be 100 or 1000+ users. Hence
I could get my script which create user/pass details in myqsql to call
the voicemail script to create the physical path on the server, but
appending 1000+ lines to voicemail.conf doesnt seem like a good idea,
and then reloading each time.

I looked at the realtime feature in asterisk and it looked good, I want
to store the voicemail on the server itself, (wish i could change the
dir struture though, rather than have one ../context/voicemail etc I
would want it split like a mbox mail directory structure for large
scalabilty---but thats another story-new thread), and the mapping ,
user/pass details for each user pull from the DB.

Iqbal

On 5/16/2005, "Senad J" <[EMAIL PROTECTED]> wrote:

>[EMAIL PROTECTED] wrote:
>> but the other choice is to keep editing the voicemail.conf file,
>> everytime I add a new user, which again is not really scalable.
>
>Using an administration interface of some kind will solve this issue.
>>
>> I dont wish to store the voicemail in the DB, just the conf file
>> itself, mysql will easily in a clusered scenario support 100K+
>> entries.
>>
>
>Fine...
>> What setup would you recommend
>
>Do do what?
>
>Senad
>___
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Static on TDM Zaptel FXO

2005-05-16 Thread Gregory Wiktor - ADCom Corp.
Hello All,
I recently put in a zaptel 1fxo/1fxs card.  I am experiencing heavy
static.  

Even with the pots line disconnected, if I do a dial I still get static.
This way I know it's not the line, but rather something on the card.

I tried alternate pci slots.

This card has a power connector, does anyone know what the power
requirements are?  The unit is in a small case with a 2.4ghz p-4 and
512mb ram, on an intel board with 533fsb.  All other functions are fine.

I am using the latest CVS on Debian 2.6test

Anyone experience this?

Regards,
Greg
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Forwarding To Cell Phones with Asterrisk PBX

2005-05-16 Thread Theo Chao




Hello,
 
My company has a 800 number that we use for 
customer service.  However, instead of having our customer service reps at 
the office, we route these calls to their cell phones using a service provided 
by gosolo.com.  However our current system isn't ideal because it will call 
each number in order causing longer and longer waits when we've got people on 
the line.   Our goal is to set up a system that allows us to design 
the way calls into an 800 number are routed out to our cell phones.
 
I've been reading about Asterisk and VoIP to see if 
we can better this process by having all the reps called at once, and whichever 
person answers first handles the call.  It looks like this may be possible 
with the dial command (http://www.voip-info.org/wiki-Asterisk+cmd+DIal)   
However, would we be able to forward incoming calls to cellular phones?  
The wiki reference for the dial command talks about using channels and the list 
of possible channels doesn't seem to have an option for cell phones.  

 
Additionally, I've looked at http://www.voip-info.org/tiki-index.php?page=Asterisk%20Connecting%20to%20the%20Cellular%20Network 
to see how to connect Asterisk to a cellular network.  However it looks to 
me like this is a method to take a call placed to a cell phone and route it so 
that other home phones could be used instead.  Is there a method to go the 
other way around and take a call placed to a land line and route it to the cell 
phone?
 
Thanks,Theo
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Senad J
[EMAIL PROTECTED] wrote:
> but the other choice is to keep editing the voicemail.conf file,
> everytime I add a new user, which again is not really scalable.

Using an administration interface of some kind will solve this issue.
> 
> I dont wish to store the voicemail in the DB, just the conf file
> itself, mysql will easily in a clusered scenario support 100K+
> entries. 
> 

Fine...
> What setup would you recommend

Do do what?

Senad
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Broadvoice Toll-Free IVR issues

2005-05-16 Thread [EMAIL PROTECTED]
I'm using dtmf=inband and dtmfmode=inband. Should I try rfc2833? From what
I could tell, Broadvoice "might" support it, but others have said that they
don't.

Original Message:
-
From: Paul [EMAIL PROTECTED]
Date: Mon, 16 May 2005 15:28:48 -0400
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Broadvoice Toll-Free IVR issues


[EMAIL PROTECTED] wrote:

>Perhaps someone else has had this issue. I currently have BroadVoice as my
>SIP provider with two phone numbers. The first number is my primary local
>number; the second is an 877 toll-free number.
>
>The issue is with the IVR abilities. When calling the primary number you
>can press 200 at the main menu and receive my extension. When calling the
>877 number, 200 will result in “that option is invalid”… Heck, just after
>pressing “2” it will give that message. If you press 1 it takes you to the
>support queue. The IVR is set up to give you the sales queue after pressing
>2, but it doesn’t do that either.
>
>Anyone have any ideas?
>
>  
>
I remember running into something else that was different for the 
tollfree number with BV. IIRC - the supported codecs differed. It makes 
me think that the tollfree calls come from a different gateway. They 
only allow one SIP device(whether hardware or software) per account 
which rules out the most obvious workaround for the problem. Looks to me 
like dtmf settings are different on the two gateways/routers they are using.


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



mail2web - Check your email from the web at
http://mail2web.com/ .


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NAT and sip issues

2005-05-16 Thread Richard Malcolm-Smith

G.Marshall wrote:
The rtp audio is going phone to phone, not via asterisk.  This is one of
the reasons I am trying to set up SER with Asterisk.
I thought that canreinvite=no was supposed to force the audio to go via asterisk?


smime.p7s
Description: S/MIME Cryptographic Signature
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Preston Garrison
Actually using voicemail from db is alot smarter then using SIP from 
the database.  But that is mostly due to the fact that realtime queries 
the database 4 times everytime it needs a sip record.  Also mysql 
doesn't keep everything in memory at all.  It only keeps stuff it needs 
to in memory, that it finds itself accessing alot.  The algorithms are 
pretty damn good in mysql about what to keep in memory.

Preston Garrison
direct: 877-748-4142
fax: 310-774-3901
cell: 623-748-4140
-Original Message-
From: Senad J <[EMAIL PROTECTED]>
To: Asterisk Users Mailing List - Non-Commercial Discussion 

Sent: Mon, 16 May 2005 20:33:32 +0100
Subject: RE: [Asterisk-Users] voicemail.conf from DB

In my opinion.. using voicemail from DB is not good
for "scaling up" scenarios... in particular if you need to
provide HA of five nine... 99.999%
The cluster database (well in particular MYSQL puts everything in 
RAM)... so
as the user base grows.. so does RAM requirement...

Ta
Senad
[EMAIL PROTECTED] wrote:
Hi
I have been playing with trying to get voicemail.conf from DB, I am
using cvs-head, but when I start asterisk, it dies a horrible death,
because it cant load any voicemil setting.
I looked at my mysql logs to see what query was being sent, and I get
SELECT category, var_name, var_val, cat_metric FROM voicemail_users
WHERE filename='voicemail.conf' and commented=0 ORDER BY filename,
cat_metric desc, var_metric asc, category, var_name, var_val, id;
which is in no way related to the table I created following the
example on the wiki.
Is there another table format , I have

+-+---+--+-+-++
Field   | Type  | Null | Key | Default | Extra  |

+-+---+--+-+-++
uniqueid| int(11)   |  | PRI | NULL| auto_increment |
customer_id | int(11)   |  | | 0   ||
context | varchar(50)   |  | | ||
mailbox | int(5)|  | MUL | 0   ||
password| varchar(4)|  | | 0   ||
fullname| varchar(50)   |  | | ||
email   | varchar(50)   |  | | ||
pager   | varchar(50)   |  | | ||
stamp   | timestamp(14) | YES  | | NULL||

+-+---+--+-+-++

tks
Iqbal
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Asterisk@home backup/restore question

2005-05-16 Thread Irakli Natsvlishvili
As far as I understand, it is in .gz file. Based on what schedule backup is
performed? Is it changeable? How to set more then one backup destination?
For example, over the net? How do I selectively restore files? For example,
I do want to restore only sip.conf and leave everything? Do I have to do it
manually?


I.N. 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manny A. Wise
Sent: Sunday, May 15, 2005 1:56 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] [EMAIL PROTECTED] backup/restore question

@home do that for you everyday...;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Irakli
Natsvlishvili
Sent: Sunday, May 15, 2005 2:52 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] [EMAIL PROTECTED] backup/restore question

Hello,

How do I routinely backup all necessary configuration files on [EMAIL 
PROTECTED] Is
there any procedure/tool/script for it? And if I need to move * with
existing configuration on a new hardware, what is the best way to do it? 

Thanks
I.N. 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] zttest

2005-05-16 Thread Damian Funnell
Rich, did you check IRQ's?  Our zttest results didn't improve markedly 
when we did either change (IRQ's or H/T), but the problem went away 
regardless.

Other than that Digium have recommended throwing out our SCSI320 RAID 
hardware and replacing it with IDE (i.e. not SATA) kit, although 
thankfully we haven't had to make this retarded change (yet).

I would also recommend trying to disable H/T in the BIOS (rather than 
via software) as I wonder if H/T still runs on your box (but is not 
accessed by the OS), so may still be causing you grief.

D.
FFF Managed Technology Ltd
60 Cook St
P.O. 6368 Wellesley St
Auckland
t +64 9 356 2911
f +64 9 358 9070
m +64 21 415 297
w www.fff.co.nz

Rich Adamson wrote:
On May 16, 2005, at 14:37, Rich Adamson wrote:
   

Hi Waldo, it really depends on who you ask - Digium say that anything
less than 99.99% is going to result in problems, but ours  
regularly runs
at around 99.98% and we don't have any problems.

One of our boxes was running at around 99.96% and we had major issues
with the voice quality packing up from time to time.  We disabled  
hyper
threading and put the TDM400P on its own IRQ and the results came  
back
up over 99.98% (haven't had any problems since).

   

How do you disable hyper threading (what's the command and where is it
placed)?
 

If this is a Linux box, look at the kernel boot arguments in [lilo| 
grub].conf and append "noht", that disables it. My grub.conf on one  
of my boxes looks like this:

title CentOS (2.4.21-27.0.4.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-27.0.4.ELsmp ro root=LABEL=/ noht
initrd /initrd-2.4.21-27.0.4.ELsmp.img
   

Thanks, I added the noht, rebooted, and still get zttest results that
consistently at 99.987793%, both before and after the change. Guess 
hyper threading has nothing to do with it on this particular system.

This is a new motherboard and it doesn't indicate anything in the bios
relative to hyper threads either.
Rich
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Transfer of Calls Between Legacy PBX and Asterisk

2005-05-16 Thread Joan Bautista
Hi, We have a scenario where we receive calls from 2 different places:
1- Avaya IP Office
2- CIC Interactive Intelligence PBX 
and the calls are transfer automatically to an Asterisk Box.

The problem we are experiencing is that more that half of those calls
come with Echo and Jitter. For outbounds calls everything works
perfect.
I'm on RH9 Stable v1.4 Version, using an quadspad TMD400P digium card
and have attached 2 pri lines.
Calls transfers to my Asterisk Box are received directly to my T1 lines.
My server is configure accordingly Digiums standards, however I found
this issue annoying and don't have a clue was going on.
We someone has experienced the same problem I maybe would guide me in
solving this problem I would be more than glad.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] outlook express intregation

2005-05-16 Thread Florian Overkamp
Hi, 

> -Original Message-
> All of the stuff I've googled for and read on wiki all relate 
> to "Outlook".
> Has anyone been successful in getting "Outlook Express" to do 
> click to dial?

I don't think Outlook Express has any support for that kind of thing at all.
No TAPI hooks in there at least as far as I can tell. 

Florian


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Iqbal
but the other choice is to keep editing the voicemail.conf file, 
everytime I add a new user, which again is not really scalable.

I dont wish to store the voicemail in the DB, just the conf file itself, 
mysql will easily in a clusered scenario support 100K+ entries.

What setup would you recommend
iqbal
Senad J wrote:
In my opinion.. using voicemail from DB is not good
for "scaling up" scenarios... in particular if you need to
provide HA of five nine... 99.999%
The cluster database (well in particular MYSQL puts everything in RAM)... so
as the user base grows.. so does RAM requirement...
Ta
Senad
[EMAIL PROTECTED] wrote:
 

Hi
I have been playing with trying to get voicemail.conf from DB, I am
using cvs-head, but when I start asterisk, it dies a horrible death,
because it cant load any voicemil setting.
I looked at my mysql logs to see what query was being sent, and I get
SELECT category, var_name, var_val, cat_metric FROM voicemail_users
WHERE filename='voicemail.conf' and commented=0 ORDER BY filename,
cat_metric desc, var_metric asc, category, var_name, var_val, id;
which is in no way related to the table I created following the
example on the wiki.
Is there another table format , I have
+-+---+--+-+-++
   

Field   | Type  | Null | Key | Default | Extra  |
 

+-+---+--+-+-++
   

uniqueid| int(11)   |  | PRI | NULL| auto_increment |
customer_id | int(11)   |  | | 0   ||
context | varchar(50)   |  | | ||
mailbox | int(5)|  | MUL | 0   ||
password| varchar(4)|  | | 0   ||
fullname| varchar(50)   |  | | ||
email   | varchar(50)   |  | | ||
pager   | varchar(50)   |  | | ||
stamp   | timestamp(14) | YES  | | NULL||
 

+-+---+--+-+-++
tks
Iqbal
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
   


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
.
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Senad J
In my opinion.. using voicemail from DB is not good
for "scaling up" scenarios... in particular if you need to
provide HA of five nine... 99.999%

The cluster database (well in particular MYSQL puts everything in RAM)... so
as the user base grows.. so does RAM requirement...

Ta
Senad

[EMAIL PROTECTED] wrote:
> Hi
>
> I have been playing with trying to get voicemail.conf from DB, I am
> using cvs-head, but when I start asterisk, it dies a horrible death,
> because it cant load any voicemil setting.
>
> I looked at my mysql logs to see what query was being sent, and I get
>
> SELECT category, var_name, var_val, cat_metric FROM voicemail_users
> WHERE filename='voicemail.conf' and commented=0 ORDER BY filename,
> cat_metric desc, var_metric asc, category, var_name, var_val, id;
>
> which is in no way related to the table I created following the
> example on the wiki.
>
> Is there another table format , I have
>
> +-+---+--+-+-++
>> Field   | Type  | Null | Key | Default | Extra  |
> +-+---+--+-+-++
>> uniqueid| int(11)   |  | PRI | NULL| auto_increment |
>> customer_id | int(11)   |  | | 0   ||
>> context | varchar(50)   |  | | ||
>> mailbox | int(5)|  | MUL | 0   ||
>> password| varchar(4)|  | | 0   ||
>> fullname| varchar(50)   |  | | ||
>> email   | varchar(50)   |  | | ||
>> pager   | varchar(50)   |  | | ||
>> stamp   | timestamp(14) | YES  | | NULL||
> +-+---+--+-+-++
>
>
> tks
> Iqbal
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Using PAP2 with g723

2005-05-16 Thread M. Ehsanul Karim
Hello,
  Anyone using Linksys PAP2 NA with g723 with asterisk ? Please let me know if you could make it work.as noramlly the voice quality gets horrible with tversion of g723 for pap2.
 
Thanks.
 
Ehsan___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Pass variable to Authenticate?

2005-05-16 Thread Justin B Newman
Dana Olson wrote:
I thought of a way to do it using a list of passwords, but the agent
would only ever be prompted for their password. I won't want that.
Basically, what I want to do is this:
Read in the username, ex. 4567
Read in the password, ex. 1234
Pass 12344567 to the Authenticate command, which checks in the file
for that password.
I can't figure out a way to do it, and it may not even be possible.
Is there another way to do it? Can I somehow utilize the DBget and
DBput commands? I couldn't find much info on it in the wiki, and my
impression is that I have to use only the blacklist or cidname
databases.
Dana:
- Read in the username
- Do a DBGET for the password associated with that username
- Authenticate(password)
Yours,
-jbn
Justin B Newman
BinFone Telecom
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Asterisk and Avaya 4602 SIP phone

2005-05-16 Thread Yao, Yuanbin








Hi,

 

I have been trying to connect Avaya 4602 SIP phone
to Asterisk, but the phone keeps rebooting after I downloaded the SIP software
(Avaya phone release 050205).  I would like to know if anyone succeeded to
hook up Avaya SIP phone to Asterisk. I appreciate your help!

 

Regards,

 

yyao

 

 






___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] zttest

2005-05-16 Thread Jens Vagelpohl
On May 16, 2005, at 19:04, Damian Funnell wrote:
...Jens makes a liar out of me, although I read that the 'noht'  
switch stops the OS from using H/T but doesn't disable it  
completely.  I make no warranties regarding the accuracy of this  
information, though.
OK, let me rephrase it: After using "noht" "top" showed the physical  
number of CPUs again, not double that. That's the one thing I can  
confirm! ;)

jens
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Outbound Faxes with spandsp

2005-05-16 Thread Matthew
This is what I'm trying to set up:
Incoming:
PRI-->Cisco VG200-->Cisco Call Manager 3.34 -->(over h.323)--> Asterisk Box
Outgoing:
Asterisk Box -->(over h.323)--> Cisco Call Manager 3.34 --> Cisco VG200 --> PRI

The incoming part seems to work great.

The outgoing part does not work quite so well. The pages that go
through end up being of random lengths. From what I've been reading
the most likely cause is frame slips and timing issues. Given the set
up how would I go about correcting the timing. I haven't been able to
find much on how to fix it. I realize that faxing over IP can be
problematic, but why would incoming work, but not outgoing?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: IAX jitter

2005-05-16 Thread Tony Mountifield
In article <[EMAIL PROTECTED]>,
Steven Langley <[EMAIL PROTECTED]> wrote:
> 
> I have a question regarding IAX jitter. I have 3 users on a LAN dialing into
> a Meetme conference on an Asterisk box which is also hosted on the LAN. I
> have set jitterbuffer = no and tos = lowdelay. Now, for 2 of the users the
> audio is fine, but for the 3rd user there is intermittent break up in the
> audio when they are receiving. I have had a look at "iax2 show channels" and
> for the first 2 users (those with no audio problems), the Jitter is low
> (0006ms), and the Lag is relatively high (00070ms). For the 3rd user (the
> one with audio breaking up), the Jitter is relatively high (0627ms) and the
> Lag is relatively low compared to the others (00012ms).
> 
> All of the users are on the same LAN, so can't quite understand the
> differences.

Are you using ztdummy on kernel 2.6?

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error running Make config on Debian Sarge

2005-05-16 Thread Andres Paglayan
follow this link
ignore the German and see the commands
http://www.vonloesch.de/node/17 
for the last part be sure that you modprobe the right driver for your
particular device.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] mysql debug

2005-05-16 Thread Jim Sturtevant








I’m cdr_mysql for about a month and it appeared to
be working well.  My server has very little volume 10-20 calls an
hour.  Today there appears to be a gap of about 3 hours where no CDR
records were logged to the MySQL database.  I have done a couple of
reloads during that period which appears to have restarted it as it is now
logging CDR records again without needing to shutdown/restart asterisk or the
server.

 

I reviewed the asterisk logs and don’t see any
mention of problems writing to the database.  Which log should I be
looking at?

 

Is there a way to have * log to both MySQL and a .csv file
(as backup), or should I bite the bullet and move to Radius for capturing
billing records?

 

Thanks

 






___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] zttest

2005-05-16 Thread Rich Adamson
> On May 16, 2005, at 14:37, Rich Adamson wrote:
> >> Hi Waldo, it really depends on who you ask - Digium say that anything
> >> less than 99.99% is going to result in problems, but ours  
> >> regularly runs
> >> at around 99.98% and we don't have any problems.
> >>
> >> One of our boxes was running at around 99.96% and we had major issues
> >> with the voice quality packing up from time to time.  We disabled  
> >> hyper
> >> threading and put the TDM400P on its own IRQ and the results came  
> >> back
> >> up over 99.98% (haven't had any problems since).
> >>
> >
> > How do you disable hyper threading (what's the command and where is it
> > placed)?
> 
> If this is a Linux box, look at the kernel boot arguments in [lilo| 
> grub].conf and append "noht", that disables it. My grub.conf on one  
> of my boxes looks like this:
> 
> title CentOS (2.4.21-27.0.4.ELsmp)
>  root (hd0,0)
>  kernel /vmlinuz-2.4.21-27.0.4.ELsmp ro root=LABEL=/ noht
>  initrd /initrd-2.4.21-27.0.4.ELsmp.img

Thanks, I added the noht, rebooted, and still get zttest results that
consistently at 99.987793%, both before and after the change. Guess 
hyper threading has nothing to do with it on this particular system.

This is a new motherboard and it doesn't indicate anything in the bios
relative to hyper threads either.

Rich


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Pass variable to Authenticate?

2005-05-16 Thread Dana Olson
I'm trying to figure out a way to make my own agent login, because I
don't like how the default works.

I have the login and logout working fine using the dynamic add and
remove commands, but I need to be able to create a list of users and
passwords.

I thought of a way to do it using a list of passwords, but the agent
would only ever be prompted for their password. I won't want that.

Basically, what I want to do is this:

Read in the username, ex. 4567
Read in the password, ex. 1234
Pass 12344567 to the Authenticate command, which checks in the file
for that password.

I can't figure out a way to do it, and it may not even be possible.

Is there another way to do it? Can I somehow utilize the DBget and
DBput commands? I couldn't find much info on it in the wiki, and my
impression is that I have to use only the blacklist or cidname
databases.

Any ideas would be helpful.
--
Dana
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ShoreTel 210 MGCP phone drops calls with MGCP RSIP

2005-05-16 Thread Duane Cox
RSIP = Restart in Progress.  This message is sent from and endpoint to the 
call-agent when the line is being disabled/reenabled,
and at startup.

I would think that * should tear down any active calls that is going on when a 
RSIP comes in, so from what I am reading this is
correct.  The bigger question is, why is your phone sending RSIP during a call? 
 Maybe your phone isn't 100% setup yet, but enough
to get calls up.

See if you can capture an "mgcp debug" from the * CLI.

Duane


- Original Message - 
From: "Ben Dugdale" <[EMAIL PROTECTED]>
To: 
Sent: Monday, May 16, 2005 12:39 PM
Subject: [Asterisk-Users] ShoreTel 210 MGCP phone drops calls with MGCP RSIP


> I've got a ShoreTel 210 MGCP phone drops calls.  My packet
> capture indicates that the phone may be trying to renew its registration
> with *, but reports Restart Method of Disconnected (frame 2), then *
> seems to take that as a sign that it has lost the connection and closes
> things down.  The phone, meanwhile, seems to think it can continue the
> conversation until a few ICMP "port unreachable" packets set it straight.
>
> I am able to duplicate this on a fairly regular basis and it appears
> that the call is always dropped similarly.  Everything is groovy until
> the first MGCP RSIP during a call.  The phone seems to send these MGCP
> RSIPs (perhaps on a schedule, looks like every 120 seconds) even when
> there is no call taking place.
>
> Is my diagnosis correct?  What can I do about it?
>
> ...Normal RTP, then one final RTP packet and the following...
>
>   1   0.00  192.168.0.5 5004 192.168.1.137 5004 UDP Source port:
> 5004  Destination port: 5004
>   2   0.007970 192.168.1.137 2427 192.168.0.5  2727 MGCP RSIP 14831
> [EMAIL PROTECTED] MGCP 1.0
>   3   0.008096  192.168.0.5 2727 192.168.1.137 2427 MGCP 200 14831 OK
>   4   0.008150  192.168.0.5 2727 192.168.1.137 2427 MGCP RQNT 7
> [EMAIL PROTECTED] MGCP 1.0
>   5   0.008186  192.168.0.5 2727 192.168.1.137 2427 MGCP AUEP 8
> [EMAIL PROTECTED] MGCP 1.0
>   6   0.008267  192.168.0.5 2727 192.168.1.137 2427 MGCP DLCX 9
> [EMAIL PROTECTED] MGCP 1.0
>   7   0.009226  192.168.0.5 4569 192.168.1.135 4569 IAX2 IAX, source
> call# 2, timestamp 61056ms HANGUP
>   8   0.012188 192.168.1.135 4569 192.168.0.5  4569 IAX2 IAX, source
> call# 10281, timestamp 61056ms ACK
>   9   0.015216 192.168.1.137 5004 192.168.0.5  5004 UDP Source port:
> 5004  Destination port: 5004
>  10   0.015265  192.168.0.5  192.168.1.137  ICMP Destination unreachable
> (Port unreachable)
>  11   0.029923 192.168.1.137 2427 192.168.0.5  2727 MGCP 200 7 OK
>  12   0.030090  192.168.0.5 2727 192.168.1.137 2427 MGCP RQNT 10
> [EMAIL PROTECTED] MGCP 1.0
>  13   0.035268 192.168.1.137 5004 192.168.0.5  5004 UDP Source port:
> 5004  Destination port: 5004
>  14   0.035306  192.168.0.5  192.168.1.137  ICMP Destination unreachable
> (Port unreachable)
>  15   0.050434 192.168.1.137 2427 192.168.0.5  2727 MGCP 200 8 OK
>  16   0.055251 192.168.1.137 5004 192.168.0.5  5004 UDP Source port:
> 5004  Destination port: 5004
>  17   0.055282  192.168.0.5  192.168.1.137  ICMP Destination unreachable
> (Port unreachable)
>  18   0.077638 192.168.1.137 2427 192.168.0.5  2727 MGCP 250 9
> Connection was deleted
>  19   0.100808 192.168.1.137 2427 192.168.0.5  2727 MGCP 200 10 OK
>
> rtp.conf:
>
> [general]
> rtpstart=5004
> rtpend=5005
>
> mgcp.conf:
>
> [general]
> port = 2727
> bindaddr = 0.0.0.0
>
> [192.168.1.137]
> host= 192.168.1.137
> context = home
> callerid= "ShoreTel" <4368>
> dtmfmode= inband
> accountcode = 1000
> amaflags= billing
> callwaiting = no
> callreturn  = no
> cancallforward  = no
> canreinvite = no
> transfer= no
> line => SHOR_001049007E83
>
> -- 
> Ben Dugdale <[EMAIL PROTECTED]>
>
>
>





> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Broadvoice Toll-Free IVR issues

2005-05-16 Thread Paul
[EMAIL PROTECTED] wrote:
Perhaps someone else has had this issue. I currently have BroadVoice as my
SIP provider with two phone numbers. The first number is my primary local
number; the second is an 877 toll-free number.
The issue is with the IVR abilities. When calling the primary number you
can press 200 at the main menu and receive my extension. When calling the
877 number, 200 will result in “that option is invalid”… Heck, just after
pressing “2” it will give that message. If you press 1 it takes you to the
support queue. The IVR is set up to give you the sales queue after pressing
2, but it doesn’t do that either.
Anyone have any ideas?
 

I remember running into something else that was different for the 
tollfree number with BV. IIRC - the supported codecs differed. It makes 
me think that the tollfree calls come from a different gateway. They 
only allow one SIP device(whether hardware or software) per account 
which rules out the most obvious workaround for the problem. Looks to me 
like dtmf settings are different on the two gateways/routers they are using.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] voicemail.conf from DB

2005-05-16 Thread Iqbal
Hi
I have been playing with trying to get voicemail.conf from DB, I am 
using cvs-head, but when I start asterisk, it dies a horrible death, 
because it cant load any voicemil setting.

I looked at my mysql logs to see what query was being sent, and I get
SELECT category, var_name, var_val, cat_metric FROM voicemail_users 
WHERE filename='voicemail.conf' and commented=0 ORDER BY filename, 
cat_metric desc, var_metric asc, category, var_name, var_val, id;

which is in no way related to the table I created following the example 
on the wiki.

Is there another table format , I have
+-+---+--+-+-++
| Field   | Type  | Null | Key | Default | Extra  |
+-+---+--+-+-++
| uniqueid| int(11)   |  | PRI | NULL| auto_increment |
| customer_id | int(11)   |  | | 0   ||
| context | varchar(50)   |  | | ||
| mailbox | int(5)|  | MUL | 0   ||
| password| varchar(4)|  | | 0   ||
| fullname| varchar(50)   |  | | ||
| email   | varchar(50)   |  | | ||
| pager   | varchar(50)   |  | | ||
| stamp   | timestamp(14) | YES  | | NULL||
+-+---+--+-+-++
tks
Iqbal
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Asterisk Fax On Demand using SPANDSP?

2005-05-16 Thread mchapman2
Hi-

Does anyone have any dial plan examples pertaining to a Fax On Demand 
using * and Spandsp? 

Thanks,

Mike C.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Outgoing spool file ignored

2005-05-16 Thread Andres Paglayan
File::copy does copy, it re-writes the file,
you need to move it.
so when the the pointer is placed the file is already there.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] IAX jitter

2005-05-16 Thread Marty Mastera



 

  
  
  Steven Langley wrote: 
  




Hi 
there

I have a question regarding IAX 
jitter. I have 3 users on a LAN dialing into a Meetme conference on an 
Asterisk box which is also hosted on the LAN. I have set jitterbuffer = no 
and tos = lowdelay. Now, for 2 of the users the audio is fine, but for the 
3rd user there is intermittent break up in the audio when they 
are receiving. I have had a look at “iax2 show channels” and for the first 2 
users (those with no audio problems), the Jitter is low (0006ms), and the 
Lag is relatively high (00070ms). For the 3rd user (the one with 
audio breaking up), the Jitter is relatively high (0627ms) and the Lag is 
relatively low compared to the others 
(00012ms).

All of the users are on the same 
LAN, so can’t quite understand the differences.

Any explanations / ideas would 
be much welcome.

Thanks

Steven
  I'm having the same issue; I'd love to know how to actually diagnose the 
  issue.I assume there is somewhere on the voip-info.org wiki about 
  this?JD 
I'm in the same boat, although I'm only using IAX2 for connectivity to my 
provider.  The phones themselves are SIP, but some users (really 
should be read all users, but at different times) experience bad audio - 
described as "cutting-out" from the remote party.  My user is 
heard correctly by the remote party but the remote party is bad to my 
user.  Doesn't seem to matter whether it's inbound or 
outbound.  
 
Marty 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Error running Make config on Debian Sarge

2005-05-16 Thread Paul
Ben Johnson wrote:
I am running Asterisk 1.0.7 on Debian Sarge RC3.  When I attempt to 
run "make config" to create the zaptel boottime script I receive the 
following

if [ -d /etc/rc.d/init.d ]; then \
   install -D -m 755 zaptel.init /etc/rc.d/init.d/zaptel; \
   chkconfig --add zaptel; \
elif [ -d /etc/init.d ]; then \
   install -D -m 755 zaptel.init /etc/init.d/zaptel; \
   chkconfig --add zaptel; \
fi
/bin/sh: line 1: chkconfig: command not found
make: *** [config] Error 127
Also if I "make config" on asterisk, i get the following
if [ -d /etc/rc.d/init.d ]; then \
   install -m 755 contrib/init.d/rc.redhat.asterisk 
/etc/rc.d/init.d/asterisk; \
   /sbin/chkconfig --add asterisk; \
elif [ -d /etc/init.d ]; then \
   install -m 755 init.asterisk /etc/init.d/asterisk; \
fi
install: cannot stat `init.asterisk': No such file or directory
make: *** [config] Error 1


After looking around a bit, it appears that there is a file 
/usr/src/asterisk/contrib/init.d/rc.debian.asterisk and 
/usr/src/zaptel/zaptel.ini that are supposed to be used for the 
startup scripts.  So I copied zaptel.init to /etc/init.d/zaptel and 
tried running it to verify proper operation.  When I run the script, I 
receive

./zaptel: line 12: /etc/rc.d/init.d/functions: No such file or directory
So what can I try next.  Right now I am just typing the commands when 
the box is restarted, but I would like to get this resolved so I don't 
have to.

If you can't use the debian binaries already available, look at the 
debian source for these packages. You can modify that source and build 
packages. You can at least look at the packaging to see what build and 
runtime dependencies exist.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Outgoing spool file ignored

2005-05-16 Thread Jean-Denis Girard
Eric Wieling aka ManxPower a écrit :
trixter http://www.0xdecafbad.com wrote:
How do you create them?
There is a race condition with asterisk and the spool where if you
create the file or copy it into the queue directory asterisk tries to
read and parse the file before you have finished writing it.  A
suggested method instead is to create it on the same partition then move
it into the appropriate directory to prevent this from occuring.

Create the file somwhere else.  Set the mtime (I think) to sometime in 
the future.  Move the file to /var/spool/asterisk/ourgoing.  Change the 
mtime to the current time or some time in the past.

Thanks, I will try that.
Difficulty is that it happenned only twice in the last couple of months, 
so it will be difficult to know if it is solved or not.

Jean-Denis
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lucent TNT & ASTERISK

2005-05-16 Thread Duane Cox
I know others have this hardware config, but they use SIP between the two.

- Original Message - 
From: "list" <[EMAIL PROTECTED]>
To: 
Sent: Monday, May 16, 2005 12:02 PM
Subject: [Asterisk-Users] Lucent TNT & ASTERISK


> Anybody using asterisk to talk to a lucent tnt gatekeeper via h323? Any 
> suggestions or recommendations about how I can get this working? Any config 
> examples?
> 
> thanks,
> jon 
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] POE hub

2005-05-16 Thread Sean Milheim (iDREUS Corporation)
Planet FGSW-2402PVS: Web/Smart 24-Port 802.3af 10/100 PoE Ethernet
Switch + 2 Slots for Gigabit options (MII-xxx) with a MSRP of $869.95.

Also midspan poe hub 

Planet POE-2400: 24-Port 802.3af Power over Ethernet Injector Hub with a
MSRP of $729.95.

On Mon, 2005-05-16 at 11:24 -0500, Steve Maroney wrote:
> Well, I dont know the model numberr of the 3com poe hub that I used but it
> worked just fine with the polycom ip phones.
> 
> Thank you,
> Steve Maroney
> 
> On Mon, 16 May 2005, Chris Hills wrote:
> 
> > Steve Maroney wrote:
> >
> > >The cheapest I have found was a 3COM 24 Port for $799.00.
> > >
> > >Thank you,
> > >Steve Maroney
> > >
> > >
> > Be warned, we are a 3Com house, and I ordered a 4400 PWR to test it
> > would work with our Siemens hard phones. Lucky I did, because it turns
> > out they are not compatible! It seems the 3Com POE switches will only
> > power 3Com devices. Instead, I ordered a bunch of PowerDsine injectors
> > which work fine, and power a much greater range of devices.
> >
> > Regards
> >
> > --
> > Chris Hills
> > IT Services
> > North East Worcestershire College
> >
> > ___
> > Asterisk-Users mailing list
> > Asterisk-Users@lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
-- 

Regards,

Sean Milheim
iDREUS Corporation
(941) 739-0051 ext. 1005


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] How to connect two Asterisk servers

2005-05-16 Thread Kanuri, Seshu (Company IT)
Frank,

Your solution is not clear to me. Can you tell me what Step 2 will do?

[general] 
register => [EMAIL PROTECTED]

How will it resolve the name obelix as an authenticated user, assuming
that asterix is reolved using dns? 

Seshu



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frank
Becker
Sent: Saturday, May 14, 2005 5:42 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] How to connect two Asterisk servers

> Pls I want to know how to connect two Asterisk servers with sip,on the

> voip-info.org the iax details exist but the sip there is nothing about

> its details,pls any one can help.

Its quite simple:
Server2 (name obelix) should register at server1 (name asterix)

1. Enter in asterix: /etc/sip.conf - Server 1
[obelix]
;secret=
username=obelix
from_user=obelix
type=friend
context=default
host=dynamic
nat=no

2. in obelix: /etc/sip.conf enter 
the following in the section  - server 2 
[general] 
register => [EMAIL PROTECTED]

3. in obelix: To forward a call to asterix 
   simply use the following:  - Server 2

exten => s,1,Dial(SIP/[EMAIL PROTECTED],30,Ttr)


Hope this helps

Frank
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited. 
 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk - fax - spandsp

2005-05-16 Thread Peter Svensson
On Mon, 16 May 2005, Steve Underwood wrote:

> >It is possible, though complicated, to synchronize the 2Mbit clocks on two 
> >unrelated cards by measuring the accumulated phase shift (difference in 
> >interrupt rate) over time and compensating, thus implementing a PLL in 
> >software. Digium has not shown any intereset in such a solution. It is not 
> >clear if the internal hardware clock generator can be fine tuned enough to 
> >implement this.
> >  
> >
> How can that work? You can measure the error, but you have no ability to 
> tweak the clock from software. Two cards could only be synced by hardware.

In most hardware the clock you use is not provided by a crystal. Rather
the crystal provides a reference for a pll. The conversion factor between
the crystan and the derived clock is usually tunable.

Whether the actual clock on the Digium cards is tunable enough I do not 
know. There are quite a few references to programming the clock in the 
source. 

Peter


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] ShoreTel 210 MGCP phone drops calls with MGCP RSIP

2005-05-16 Thread Ben Dugdale
I've got a ShoreTel 210 MGCP phone drops calls.  My packet
capture indicates that the phone may be trying to renew its registration
with *, but reports Restart Method of Disconnected (frame 2), then *
seems to take that as a sign that it has lost the connection and closes
things down.  The phone, meanwhile, seems to think it can continue the
conversation until a few ICMP "port unreachable" packets set it straight.

I am able to duplicate this on a fairly regular basis and it appears
that the call is always dropped similarly.  Everything is groovy until
the first MGCP RSIP during a call.  The phone seems to send these MGCP
RSIPs (perhaps on a schedule, looks like every 120 seconds) even when
there is no call taking place.

Is my diagnosis correct?  What can I do about it?

...Normal RTP, then one final RTP packet and the following...

  1   0.00  192.168.0.5 5004 192.168.1.137 5004 UDP Source port:
5004  Destination port: 5004
  2   0.007970 192.168.1.137 2427 192.168.0.5  2727 MGCP RSIP 14831
[EMAIL PROTECTED] MGCP 1.0
  3   0.008096  192.168.0.5 2727 192.168.1.137 2427 MGCP 200 14831 OK
  4   0.008150  192.168.0.5 2727 192.168.1.137 2427 MGCP RQNT 7
[EMAIL PROTECTED] MGCP 1.0
  5   0.008186  192.168.0.5 2727 192.168.1.137 2427 MGCP AUEP 8
[EMAIL PROTECTED] MGCP 1.0
  6   0.008267  192.168.0.5 2727 192.168.1.137 2427 MGCP DLCX 9
[EMAIL PROTECTED] MGCP 1.0
  7   0.009226  192.168.0.5 4569 192.168.1.135 4569 IAX2 IAX, source
call# 2, timestamp 61056ms HANGUP
  8   0.012188 192.168.1.135 4569 192.168.0.5  4569 IAX2 IAX, source
call# 10281, timestamp 61056ms ACK
  9   0.015216 192.168.1.137 5004 192.168.0.5  5004 UDP Source port:
5004  Destination port: 5004
 10   0.015265  192.168.0.5  192.168.1.137  ICMP Destination unreachable
(Port unreachable)
 11   0.029923 192.168.1.137 2427 192.168.0.5  2727 MGCP 200 7 OK
 12   0.030090  192.168.0.5 2727 192.168.1.137 2427 MGCP RQNT 10
[EMAIL PROTECTED] MGCP 1.0
 13   0.035268 192.168.1.137 5004 192.168.0.5  5004 UDP Source port:
5004  Destination port: 5004
 14   0.035306  192.168.0.5  192.168.1.137  ICMP Destination unreachable
(Port unreachable)
 15   0.050434 192.168.1.137 2427 192.168.0.5  2727 MGCP 200 8 OK
 16   0.055251 192.168.1.137 5004 192.168.0.5  5004 UDP Source port:
5004  Destination port: 5004
 17   0.055282  192.168.0.5  192.168.1.137  ICMP Destination unreachable
(Port unreachable)
 18   0.077638 192.168.1.137 2427 192.168.0.5  2727 MGCP 250 9
Connection was deleted
 19   0.100808 192.168.1.137 2427 192.168.0.5  2727 MGCP 200 10 OK

rtp.conf:

[general]
rtpstart=5004
rtpend=5005

mgcp.conf:

[general]
port = 2727
bindaddr = 0.0.0.0

[192.168.1.137]
host= 192.168.1.137
context = home
callerid= "ShoreTel" <4368>
dtmfmode= inband
accountcode = 1000
amaflags= billing
callwaiting = no
callreturn  = no
cancallforward  = no
canreinvite = no
transfer= no
line => SHOR_001049007E83

-- 
Ben Dugdale <[EMAIL PROTECTED]>




mgcp.dmp
Description: Binary data
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Asterisk-Users] Setting DID info for analog Zap channels

2005-05-16 Thread Steve Prior
Is there any way to fill in the DID information for analog Zap
channels?  I've got a TDM422P and since I know the phone numbers
associated with each of the 2 FXO channels I'd like to set that
so that future extensions contexts can use it and the caller-id
info in the form mydidnum/callerid like I can with VOIP DIDs.
I haven't found if there is a variable that can be set with this
info.
If there is an easy way to set the DID information, then I believe
I can provide a solution for some [EMAIL PROTECTED] users who are trying to
make use of incoming call routing for Zap channels.
Thanks
Steve
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] IAX jitter

2005-05-16 Thread JD Austin






Steven Langley wrote:

  
  
  
  
  Hi there
   
  I have a question
regarding IAX jitter. I have 3 users on a
LAN dialing into a Meetme conference on an Asterisk box which is also
hosted on
the LAN. I have set jitterbuffer = no and tos = lowdelay. Now, for 2 of
the
users the audio is fine, but for the 3rd user there is
intermittent
break up in the audio when they are receiving. I have had a look at
“iax2
show channels” and for the first 2 users (those with no audio
problems),
the Jitter is low (0006ms), and the Lag is relatively high (00070ms).
For the 3rd
user (the one with audio breaking up), the Jitter is relatively high
(0627ms)
and the Lag is relatively low compared to the others (00012ms).
   
  All of the users are on
the same LAN, so can’t quite
understand the differences.
   
  Any explanations / ideas
would be much welcome.
   
  Thanks
   
  Steven
  

I'm having the same issue; I'd love to know how to actually diagnose
the issue.
I assume there is somewhere on the voip-info.org wiki about this?

JD
-- 
JD Austin
Twin Geckos Technology Services LLC
email: [EMAIL PROTECTED]
http://www.twingeckos.com
phone/fax: 480.422.1250 


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] POE hub

2005-05-16 Thread Colin Anderson
> It seems the 3Com POE switches will only
> power 3Com devices.

Not so, my 3Com is powering Mitel phones no problem. That being said, it's
important to look at the spec as advertised on the tech brief whether it's
'af' compliant or not. I think Cisco phones, for example, are oddballs.
Also, power draw is a concern. My 3com will shut down the port whenever
there is > 14w draw per port. My Mitels push it. 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NAT and sip issues

2005-05-16 Thread G.Marshall

The rtp audio is going phone to phone, not via asterisk.  This is one of
the reasons I am trying to set up SER with Asterisk.

>> I have an asterisk server behind NAT - no audio on the test external
>> calls
>> I
>> have tried making so far.
>>
>> Read http://www.voip-info.org/wiki-Asterisk+SIP+NAT+solutions - No
>> solution
>> evident from there, sounds like I have case 9. I would have thought that
>> all I
>> would have to do is port foward and have the external IP on the asterisk
>> server,
>> which I have done
>>
>> I have fowared 5060UDP, 8000UDP, and  35000 to 37000 UDP to the internal
>> IP
>> (192.168.1.115)
>>
>> I have put 35000 and 37000 into the rtp.conf as the start/end ports
>>
>> extracts of sip.conf:
>>
>> externip = 60.234.129.154
>> localnet = 192.168.1.115
>> localmask = 255.255.255.0
>>
>>
>> [88]
>> type=friend
>> secret=**
>> dtmfmode=rfc2833
>> nat=yes
>> host=dynamic
>> canreinvite=no
>>
>>
>> Trying with xlite at the other end
>>
>> Registered ok, can dial both ways, just no audio at all.
>>
>> In the log of xlite (cant see it at the moment as im not vnc'd in at the
>> moment)
>> it showed the xlite machines private IP address on some of the
>> transactions that
>> were logged.
>>
>> The client has a dynamic IP address so cant really be specified anywhere
>> in the
>> xlite configuration, I am also not sure on all the different firewall
>> types.
>>
>> I was under the impression that there was no need to configure any
>> portfowards
>> at the sip softphone end.
>>
>> I will hopefully be using xlite or similar from a location with a very
>> locked
>> down firewall environment. I want to check all works on a normal nat
>> router
>> before trying it behind the nasty nat/firewall at this location.
>> ___
>> Asterisk-Users mailing list
>> Asterisk-Users@lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


  1   2   3   >