Re: [Asterisk-Users] Asterisk won't answer incoming analog line

2005-02-11 Thread Lane
On Saturday 12 February 2005 00:07, Rich Adamson wrote:
> > I had to return my TDM11B because it put the PSTN line 'off hook' the
> > moment I plugged it in and wouldn't hang it up.
> >
> > The new card seems to work because I can actually make an outgoing call
> > from the FXO port to my cell phone, so I'm pretty happy about that.
> >
> > But Asterisk doesn't recognize incoming calls from the PSTN.  If I dial
> > my home phone from my cell phone asterisk does not even recognize the
> > ring.
> >
> > Below is (I think) the relevant config files.  My question is:  How do I
> > make asterisk recognize when the phone is ringing?
> >
> > Thanks in advance
> >
> > lane
> >
> > ;zaptel.conf
> > fxsks=4
> > fxoks=1
> > loadzone = us
> > defaultzone=us
> > ;
> >
> > ;zapata.conf
> >
> > [channels]
> > language=en
> > rxwink=300
> > usecallerid=yes
> > cidsignalling=bell
> > hidecallerid=no
> > callwaiting=yes
> > usecallingpres=yes
> > threewaycalling=yes
> > cancallforward=yes
> > callreturn=yes
> > echocancel=yes
> > echocancelwhenbridged=yes
> > rxgain=0.0
> > txgain=0.0
> > callgroup=1
> > pickupgroup=1
> > immediate=no
> > signalling => fxo_ks
> > channel => 1
> > signalling => fxs_ks
> > channel => 4
> >
> > ; extensions.conf
> > [globals]
> > CONSOLE=Zap/1
> > TRUNK=Zap/4
> > TRUNKMSD=1
> >
> > [trunklocal]
> > exten => _9NXX,1,PlayBack(vm-dialout)
> > exten => _9NXX,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
> > exten => _9NXX,3,Congestion
> >
> > [incoming]
> > exten => s,1,Answer
> > exten => s,2,DigitTimeout,5
> > exten => s,3,ResponseTimeout,10
> > exten => s,4,Playback(tt-weasels)
> > ;
> > [local]
> > ignorepat => 9
> > include => trunklocal
> > ;
> > [default]
> > include=incoming
> > include=local
>
> In the zapata.conf definitions for the two channels, do something like
> this:
>
> immediate=no
> signalling => fxo_ks
> channel => 1
> context=incoming  ; < where to send incoming calls within
> extensions.conf signalling => fxs_ks
> channel => 4
>
> Add the above statement, and then your dialplan context 'incoming'
> will be executed when receiving a call.
>
> It might also help the learning process if you reorganize those
> two channels so that you can see which parameters are being applied
> to which channels. Something like this says exactly the same thing
> as above:
>
> [channels]
> language=en
> busydetect=yes
> busycount=6
> cidsignalling=bell
> cidstart=ring
> callerid=asreceived
>
> ; this section is for the fxs port (telephone instrument)
> context=fxs-line
> rxwink=300
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> threewaycalling=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> callgroup=1
> pickupgroup=1
> immediate=no
> signalling => fxo_ks
> channel => 1
>
> ; this section is for the fxo port (pstn line)
> context=incoming  ; < where to send incoming calls within
> extensions.conf rxwink=300
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> threewaycalling=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> callgroup=1
> pickupgroup=1
> immediate=no
> signalling => fxs_ks
> channel => 4
>
> Now if you look over the parameters within each section, you've got
> to ask yourself some questions.
> - Why would you have these parameters on a fxs port (telephone)?
> context=fxs-line
> rxwink=300
> usecallerid=yes
> cidsignalling=bell
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> threewaycalling=yes
> cancallforward=yes
> callreturn=yes
> The above parameters are associated with fxo ports (not fxs ports).
> Remove them.
>
> - Why do you have:
> rxwink=300
> in either of the two contexts above?  If you're interfacing to a US
> pstn line, I doubt you really need that parameter in either channel.
>
> - In the Channel => 4 section, you will probably want:
> echotraining=yes
>  or
> echotraining=800
> to improve the echo canceller operation. 800 works best for my system.
>
> - You'll probably want to add:
> busydetect=yes
> busycount=6
> in the top level [channels] section to help avoid voices falsely
> causing dropped pstn calls. (Some voices might be interpreted as
> dtmf or other tones causing * to drop the call.)
>
> - in the extensions.conf dialplan entry:
> [incoming]
> exten => s,1,Answer
> exten => s,2,DigitTimeout,5
> exten => s,3,ResponseTimeout,10
> exten => s,4,Playback(tt-weasels)
> you'll probably want to change that last statement to use 'Background'
> to play the audio instead of 'Playback'. See the 'show application
> background' for details. (Essentially, background allows you dialplan entry
> to listen for users to press a key, while the playback ignores user key
> presses.
>
> Rich
>
>
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To U

Re: [Asterisk-Users] Is there a Caller ID issue in the latest CVSStable

2005-02-11 Thread Robert L Mathews
Nicol?s Gudi?o <[EMAIL PROTECTED]> wrote:
Paul, 1.0.5 stable suffers from caller id issues as well, at least for
SIP channels. What fixed things for me was swapping in app_dial.c from
1.0.2 stable (didn't try others). You could also just diff app_dial.c
between versions to find the problem but I took the lazy way out the
first time around.

Drumkilla reverted the callerid changes on the latest stable (thanks
Russell!). You will be fine if you checkout stable from CVS now.
Hmmm; I think I'm still having problems with it, using a completely 
fresh checkout and compile:
Connected to Asterisk CVS-v1-0-02/11/05-17:34:08

I have two Zap FXS lines and two SIP phones, and:
- Zap channel to Zap channel, caller ID works (displays correctly on the 
analog phone display).
- SIP phone to Zap channel, caller ID works.
- SIP phone to ZIP phone, caller ID does NOT work (Grandstream phone 
displays "Err").
- Zap channel to SIP phone, caller ID does NOT work.
- Incoming Free World Dialup calls to Zap channel extension, caller ID 
works.
- Incoming Free World Dialup calls to SIP phone extension, caller ID 
does NOT work.

So it seems that asterisk stable, as of today, does not send correct 
caller ID on calls that end up on SIP phones, unless I'm doing something 
boneheaded (although I used almost-identical config files on 1.0.2 with 
no trouble).

A tcpdump shows that asterisk is sending this in the SIP INVITE header 
to the phone:

From: "asterisk" ;
(IP address obscured; it's correct in the original.) But somehow 
"asterisk" appears instead of the correct caller ID. Wasn't that the bug 
other people were seeing that the stable update was supposed to fix? 
Have I missed something obvious?

--
Robert L Mathews, Tiger Technologies   http://www.tigertech.net/
___
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] dtmfmode and IAX protocol

2005-02-11 Thread Rich Adamson
> > > There's enough information if he's using FWD's 8XX-gateway for his 
> > > toll-free calls to UPS, the bank, etc.
> > 
> > No there isn't. We don't know how the Sipura is configured, we don't
> > know for sure what the associated sip def's are, we don't know exactly
> > what path was used to dial each call (eg, x100p, tdm, fwd), etc. All
> > we know is something doesn't work via fwd, but calls via something
> > to the bank and fedex work. We do know that fwd-iax wants g711, and if
> > that path is being used for all calls, you'd have to guess that
> > at least one or two dtmf digits would get through to the destination
> > and cause invalid number messages. Since he didn't mention that, its
> > highly likely his path to the bank and fedex are different then the
> > fwd path. 
> > 
> 
> For example all calls go through Sipura-3000
> If I connect to UPS over PSTN line on Sipura box DTMF is working just
> fine I can select any option from the menu choices.  
> 
> Though I think I'm being connected to two different call centers even
> though I call the same tall-free number.
> If I dial over PSTN line it has different recording then if I dial over
> Line1 (on Sipura-3000) and IAX to FWD, recording is different.
> 
> But again the same thing is with FedEx I'm connected to two different
> call centers I think, but everything works with FedEx.
> 
> Calling DHL over IAX and FWD, DTMF doesn't work either but going though
> PSTN line on Sipura-3000 works fine.

Joseph,
The level of detail provided in the above is much better compared to
your previous posts. Now we have a better clue what you're trying to
do.

There are two possibilities for why dtmf is not working the way you'd
like.
1. the dtmf definitions between the spa-3000 and asterisk are not in
   sync. (look at the /usr/src/asterisk/configs/sip.conf.sample file
   for dtmfmode, and try different modes. You might have to stop/start
   asterisk and the spa-3k to force a renotiated mode.)
2. FWD's system might not be configured to correctly handle dtmf over
   iax. (If that is the problem, its likely the issue is their definitions
   between asterisk and whatever they are using for equipment to terminate
   that call. Nothing you can do about that other then see if you can get
   Ed Guy at FWD to help diagnose the problem.)

If you'd care to pass along the 800 numbers for each of those companies
that you are dialing, I can try making the same calls from my system
since I have the same devices available here. That would at least allow 
me to run some of the debug and packet tracing tools to help identify 
the issue.

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


Re: [Asterisk-Users] Asterisk won't answer incoming analog line

2005-02-11 Thread Rich Adamson
> I had to return my TDM11B because it put the PSTN line 'off hook' the moment 
> I 
> plugged it in and wouldn't hang it up.
> 
> The new card seems to work because I can actually make an outgoing call from  
> the FXO port to my cell phone, so I'm pretty happy about that.
> 
> But Asterisk doesn't recognize incoming calls from the PSTN.  If I dial my 
> home phone from my cell phone asterisk does not even recognize the ring.
> 
> Below is (I think) the relevant config files.  My question is:  How do I make 
> asterisk recognize when the phone is ringing?
> 
> Thanks in advance
> 
> lane
> 
> ;zaptel.conf
> fxsks=4
> fxoks=1
> loadzone = us
> defaultzone=us
> ;
> 
> ;zapata.conf
> 
> [channels]
> language=en
> rxwink=300
> usecallerid=yes
> cidsignalling=bell
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> threewaycalling=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> callgroup=1
> pickupgroup=1
> immediate=no
> signalling => fxo_ks
> channel => 1
> signalling => fxs_ks
> channel => 4
> 
> ; extensions.conf
> [globals]
> CONSOLE=Zap/1
> TRUNK=Zap/4
> TRUNKMSD=1
> 
> [trunklocal]
> exten => _9NXX,1,PlayBack(vm-dialout)
> exten => _9NXX,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
> exten => _9NXX,3,Congestion
> 
> [incoming]
> exten => s,1,Answer
> exten => s,2,DigitTimeout,5
> exten => s,3,ResponseTimeout,10
> exten => s,4,Playback(tt-weasels)
> ;
> [local]
> ignorepat => 9
> include => trunklocal
> ;
> [default]
> include=incoming
> include=local

In the zapata.conf definitions for the two channels, do something like this:

immediate=no
signalling => fxo_ks
channel => 1
context=incoming; < where to send incoming calls within 
extensions.conf
signalling => fxs_ks
channel => 4

Add the above statement, and then your dialplan context 'incoming'
will be executed when receiving a call.

It might also help the learning process if you reorganize those
two channels so that you can see which parameters are being applied
to which channels. Something like this says exactly the same thing
as above:

[channels]
language=en
busydetect=yes
busycount=6
cidsignalling=bell
cidstart=ring
callerid=asreceived

; this section is for the fxs port (telephone instrument)
context=fxs-line
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
signalling => fxo_ks
channel => 1

; this section is for the fxo port (pstn line)
context=incoming; < where to send incoming calls within 
extensions.conf
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
signalling => fxs_ks
channel => 4

Now if you look over the parameters within each section, you've got
to ask yourself some questions.
- Why would you have these parameters on a fxs port (telephone)?
context=fxs-line
rxwink=300
usecallerid=yes
cidsignalling=bell
hidecallerid=no
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
cancallforward=yes
callreturn=yes
The above parameters are associated with fxo ports (not fxs ports).
Remove them.

- Why do you have:
rxwink=300
in either of the two contexts above?  If you're interfacing to a US
pstn line, I doubt you really need that parameter in either channel.

- In the Channel => 4 section, you will probably want:
echotraining=yes
 or
echotraining=800
to improve the echo canceller operation. 800 works best for my system.

- You'll probably want to add:
busydetect=yes
busycount=6
in the top level [channels] section to help avoid voices falsely
causing dropped pstn calls. (Some voices might be interpreted as
dtmf or other tones causing * to drop the call.)

- in the extensions.conf dialplan entry:
[incoming]
exten => s,1,Answer
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => s,4,Playback(tt-weasels)
you'll probably want to change that last statement to use 'Background'
to play the audio instead of 'Playback'. See the 'show application background'
for details. (Essentially, background allows you dialplan entry to listen
for users to press a key, while the playback ignores user key presses.

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] Q: Can Zap channels be arbitrarily numbered?

2005-02-11 Thread asterisk
Folks,

My production * box is equipped with a T100P card and a TDM400P
card, which gives me channels numbered 1 through 28. Is it possible to
assign arbitrary channel numbers so that, for example, the phone at
extension 2100 is connected to channel 2100? Such a scheme would make
selecting a channel for barge-in much easier . . .

Cheers,

Rob

___
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 won't answer incoming analog line

2005-02-11 Thread Lane
I had to return my TDM11B because it put the PSTN line 'off hook' the moment I 
plugged it in and wouldn't hang it up.

The new card seems to work because I can actually make an outgoing call from  
the FXO port to my cell phone, so I'm pretty happy about that.

But Asterisk doesn't recognize incoming calls from the PSTN.  If I dial my 
home phone from my cell phone asterisk does not even recognize the ring.

Below is (I think) the relevant config files.  My question is:  How do I make 
asterisk recognize when the phone is ringing?

Thanks in advance

lane

;zaptel.conf
fxsks=4
fxoks=1
loadzone = us
defaultzone=us
;

;zapata.conf

[channels]
language=en
rxwink=300
usecallerid=yes
cidsignalling=bell
hidecallerid=no
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
signalling => fxo_ks
channel => 1
signalling => fxs_ks
channel => 4

; extensions.conf
[globals]
CONSOLE=Zap/1
TRUNK=Zap/4
TRUNKMSD=1

[trunklocal]
exten => _9NXX,1,PlayBack(vm-dialout)
exten => _9NXX,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9NXX,3,Congestion

[incoming]
exten => s,1,Answer
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => s,4,Playback(tt-weasels)
;
[local]
ignorepat => 9
include => trunklocal
;
[default]
include=incoming
include=local
___
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] Re: Codec Issue on IAX trunk? (Solved)

2005-02-11 Thread Rich Adamson
> > Personal opinion (and everyone has one) is the problem is a little
> > deeper then just a codec. Try 'iax2 debug', place a call, and look
> > through the early part of that trace. Are IP's right, etc?
> >
> > I believe the native 0 is simply suggesting there is no match when
> > negotiating the codec. The "4" is ulaw (show codecs).
> >
> > If you can, post the appropriate iax contexts from both sides (change
> > the passwords) and maybe some of the debug. (Or better yet for now,
> > email that to me directly and save the list a little bandwidth.)
> 
> 
> I believe you are right that there was a deeper problem.  
> Unfortunately, I don't know what it was, but at least things are 
> working right now.
> 
> I got really suspicious when the iax2 debug showed nothing!  I 
> screwed around with the config a little more and found that the error 
> message I got was really only coming from one side, and not the other.  
> I restarted asterisk, no dice.  I stopped asterisk, recompiled from 
> exactly the same source, started up again, and all is well.  Don't know 
> what's behind that.  Hmm.
> 
> Anyhoo, thanks for the user/peer setup and your time!

Those type changes to iax.conf require a full stop of asterisk followed
by a cold asterisk startup. A restart from the CLI won't cut it.

Were you previously doing the CLI restart?

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] i want to load chan_h323.so

2005-02-11 Thread ???




I use Fedora core 2, and openssl-0.9.7, expat-1.95.7 is installed by rpm packages.

I downloaded pwlib-1.5.2 and openh323-1.12.2 at my home directory(/root/root_src), asterisk 1.0.4 at directory /usr/src/ and have installed successfully.

Asterisk is executed normally, but module chan_h323.so cannot be loaded.

The message is :

# asterisk ?vvvgc
.
.some message
.
Asterisk Ready.
*CLI> load chan_h323.so
/root/root_src/openh323/lib/libh323_linux_x86_r.so.1.12.2: undefined symbol: _Z13vpb_dial_synciPc
Unable to load module chan_h323.so
*CLI>
 

Please give me your solutions. Thank you for your reading.

My install log is :

# tar xvfz pwlib-1.5.2.tar.gz
# tar xvfz openh323-1.12.2.tar.gz
# cd /root/root_src/pwlib
# ./configure
# make
# cd /root/root_src/openh323
# ./configure
# make opt
# cd /usr/src 
# export CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/cvsroot 
# cvs login
# cvs co -r v1-0 asterisk 
# echo $PWLIBDIR
/root/root_src/pwlib
# echo $OPENH323DIR
/root/root_src/openh323
# echo $LD_LIBRARY_PATH
/root/root_src/pwlib/lib:/root/root_src/openh323/lib
# cd /usr/src/asterisk/channels/h323
# make
# cd /usr/src/asterisk
# make install


___
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 .05 release questions on setup.

2005-02-11 Thread [EMAIL PROTECTED]
1. There is a help file you can run from the Linux
command line help-aah. This will tell you how to
change the passwords. On a clean install it tells you
this in the motd.

2. Not sure about this second one. I made some big
changes in asterisk for this release. It now runs as
asterisk not as root and it uses amportal to start not
the startup files in /etc/init.d I think only a clean
install will fix this.

3. A lot of changes in FOP too the config files are in
a different place could cause this problem.

Sorry about all the changes. As we get closer to a 1.0
release of [EMAIL PROTECTED] a lot of this will stabilize.


--- Ariel Batista <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> Great job on the [EMAIL PROTECTED] project. Looks great
> this new version is really nicer looking.  But I
> have a few questions.
> 
> 1) For the new web access http://localIP/maint how
> and where do I change the password.
> 2) Since I don't use the Amp section for setup the
> .conf files I use my own. How do I get the asterisk
> server running status up.  I have it running and
> works but shows up as not running on the web page.
> 3) I upgraded my system from the older .04 by
> downloading the new tar and running your script.
> Then I copied my .conf files back and rebooted. I
> had already changed my password and logins names
> before this.  Asterisk is up and running without any
> issue's. But the Flash Operator panel comes up
> flashing and I can't seem to get it to work.
> 
> I feel you have done a great job and I would like to
> thank you for your setup to us.  I will be sending
> you a donation soon. I am at a small self employed
> computer consultant that has limited funds at
> present.  This is one of the best setups for
> Asterisk that I have seen. I feel your name does not
> do it right due to it can be used for SOHO's and
> other setups.  It's great keep up the good work. You
> actually make AMP work.
> 
> P.S. one more question do you have an area in the
> freenode for chat? If you don't I would love to help
> out in it.  Something like Asterisk-athome would be
> nice.
> 
> Ariel
> 
> 
> > ___
> 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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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] Asterisk@Home 0.5 Released today

2005-02-11 Thread [EMAIL PROTECTED]
not really. you could try to use the tarball install
over what you had but it will wipe out your config
files. In the futurte we will try to be better about
an upgrade path.

--- Ariel Batista <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] wrote:
> > We are releasing a new version of our one-button
> > Asterisk install, [EMAIL PROTECTED], today. This
> release
> > includes a redesigned web interface and
> auto-detection
> > of Digium fxo and fxs cards. We have also fixed a
> lot
> > of bugs and added numerous customer requested
> > enhancements. [EMAIL PROTECTED] is now more secure
> with
> > passwords on the web pages and better Linux
> security.
> 
> Is there an upgrade for current users of .04?
> 
> > http://asteriskathome.sourceforge.net/
> > 
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! Mail - Find what you need with new enhanced
> search.
> > http://info.mail.yahoo.com/mail_250
> > ___
> > 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
> 




__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
___
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 .05 release questions on setup.

2005-02-11 Thread Ariel Batista



Thank you that worked for the passwords.. 
Thanks

  - Original Message - 
  From: 
  dean 
  collins 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Friday, February 11, 2005 10:06 
  PM
  Subject: RE: [Asterisk-Users] [EMAIL PROTECTED] .05 release questions on 
  setup.
  
  
  If you log in via 
  cosole and type in the help-aah command it brings up the new security 
  requirements for changing passwords
   
  I cant help you with 
  the rest as I installed from scratch using the 
  iso.
   
   
   
  
  
  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Ariel BatistaSent: Friday, February 11, 2005 7:55 
  PMTo: 
  asterisk-users@lists.digium.comSubject: [Asterisk-Users] [EMAIL PROTECTED] 
  .05 release questions on setup.
   
  
  Hello,
  
   
  
  Great job on the [EMAIL PROTECTED] project. Looks great this new 
  version is really nicer looking.  But I have a few 
  questions.
  
   
  
  1) For the new web access http://localIP/maint how and where do I 
  change the password.
  
  2) Since I don't use the Amp 
  section for setup the conf files I use my own. How do I get the asterisk 
  server running status up.  I have it running and works but shows up as 
  not running on the web page.
  
  3) I upgraded my system from the 
  older 04 by downloading the new tar and running your script. Then I 
  copied my conf files back and rebooted. I had already changed my password and 
  logins names before this.  Asterisk is up and running without any 
  issue's. But the Flash Operator panel comes up flashing and I can't seem to 
  get it to work.
  
   
  
  I feel you have done a great job 
  and I would like to thank you for your setup to us.  I will be sending 
  you a donation soon. I am at a small self employed computer consultant that 
  has limited funds at present.  This is one of the best setups for 
  Asterisk that I have seen. I feel your name does not do it right due to it can 
  be used for SOHO's and other setups.  
  It's great keep up the good work. You actually make AMP 
  work.
  
   
  
  P.S. one more question do you have 
  an area in the freenode for chat? If you don't I would love to help out in 
  it.  Something like Asterisk-athome would be 
  nice.
  
   
  
  Ariel
  
   
  
   
  
   
  
  

  ___Asterisk-Users 
  mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  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 .05 release questions on setup.

2005-02-11 Thread dean collins








If you log in via cosole and type in the help-aah
command it brings up the new security requirements for changing passwords

 

I cant help you with the rest as I
installed from scratch using the iso.

 

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ariel Batista
Sent: Friday, February 11, 2005
7:55 PM
To:
asterisk-users@lists.digium.com
Subject: [Asterisk-Users]
[EMAIL PROTECTED] .05 release questions on setup.



 



Hello,





 





Great job on the [EMAIL PROTECTED]
project. Looks great this new version is really nicer looking.  But I have
a few questions.





 





1) For the new web access http://localIP/maint how
and where do I change the password.





2) Since I don't use the Amp section for setup the conf
files I use my own. How do I get the asterisk server running status up.  I
have it running and works but shows up as not running on the web page.





3) I upgraded my system from the older 04 by downloading the
new tar and running your script. Then I copied my conf files back and
rebooted. I had already changed my password and logins names before this. 
Asterisk is up and running without any issue's. But the Flash Operator panel
comes up flashing and I can't seem to get it to work.





 





I feel you have done a great job and I would like to thank
you for your setup to us.  I will be sending you a donation soon. I am at
a small self employed computer consultant that has limited funds at
present.  This is one of the best setups for Asterisk that I have seen. I
feel your name does not do it right due to it can be used for SOHO's
and other setups.  It's great keep up the good work. You actually
make AMP work.





 





P.S. one more question do you have an area in the freenode
for chat? If you don't I would love to help out in it.  Something like
Asterisk-athome would be nice.





 





Ariel





 





 





 








___
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] Is no one using MySQL on stable asterisk?

2005-02-11 Thread beonice
I'm still (doggedly) trying to get asterisk to read my
voicemail configuration from MySQL. I'm using the
stable release of Asterisk, from back in December,
before realtime was included.

If anyone has got it to work, please contact me ...
I've posted details, but everyone who's responded so
far has been working with the newer version that uses
realtime.

Unfortunately, this is going to be a production
server, so I need a stable release, hence the
reluctance to upgrade.

Any help or pointers would be deeply appreciated. My
original post is at:

http://lists.digium.com/pipermail/asterisk-users/2005-February/088949.html

Thanks,
Maya
(I _need_ to get this working. I hate being defeated
by a bunch of bits and bytes!)





__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
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] Meetme

2005-02-11 Thread Nitesh Divecha








Hey All,

 

Just finished installing Asterisk and configured all the
necessary parameters to start.

I can’t seem to find the Meetme application in my
asterisk directory. 

 

I downloaded asterisk from CVS and installed it and all my
Snom phones are working and voicemail too.

 

I am getting error: -

Feb 11 17:10:19 WARNING[13042]: pbx.c:1280
pbx_extension_helper: No application 'Meetme' for extension (sip, 5557, 1)

  == Spawn extension (sip, 5557, 1) exited non-zero on
'SIP/phone1-f88d'

 

Do I need zaptel to be installed?

 

Any help will be appreciated.

 

 

Nitesh 

 






___
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] Speech Recognition

2005-02-11 Thread Race Vanderdecken
Ahem,

Being one who has programmed, consulted and argued to points beyond
violence about the subjects of your first paragraph, I shall now
expound.

Expounding begins:

I worked on several projects with a company named Intellivoice that did
" so called voice dialing", voice activated dialing, VAD, as a bread and
butter product in the PSTN/T-1 world.

The product was good at about 3-5 recognitions so long as they were
distinct enough that your well trained dog could understand them as
different commands.

I was first hand witness to many sales and customer meetings, I rode in
the car of the "inventor" and ate lunch with the VAD developers and beat
them often with questions about how they did it and why it did not work.

Personally, I have a Mid-Western trained Mid-Atlantic accent, i.e. no
accent to speak of, so speech and voice recognition engines like me. I
am even tempered and have been working in telecommunications, 22 wpm
Morse code, to Tech Plus, to before NETBIOS, SNB, and 256K twisted pair
Ethernet on 9DB, through voice and right back into VoIP before it was an
acronym. I have been to college to study communications. I have an ear
for dialects and can place most people in 100 mile range within their
State. I coded the Persona project. I have pushed Sphinx down Festivals
throat, and I have worked with Dave. I was working to create voice
X/HTML/XML browser before they were committees. I am pushed speech and
voice and dictation since I got my hands on a computer. I love speech
recognition and generation, period.

So, when I say that you are out of your mind if you think you can get
VAD or SAD to work across the wire if there is an analog device in the
path you should take heed.

VAD on cel-phones works now because the reco is in the phone, for the
most part. VAD over the analog wires can be done but is of no use to
anyone unless they like to scream at the phone from time to time. By the
way screaming at voice-reco engines only makes the angry. So angry in
fact that they will either repeatedly ask you to "please say the name
again" until you calm down or they will deliberately misdial the number
for you. Machines just don't like to be yelled at, ask Woody Allen about
the time beat up his television and the elevator incident.

If you are Digital from speaker to reco then you have a chance. If you
are G.711 all the way you have a chance. And by chance I mean if you use
grammar based recognition and have a caller with an IQ greater then the
first two digit of their Area code.

Zhong's thesis work is interesting and I will state he is on the right
track and I enjoin him to continue his work. Neural works are the right
path, but he needs to re-read Strousstrup on objects in Tries. But short
utterances don't work in communication models; see "trying to
communicate with teenage son" and HDLC.

My Expounding ends.

Yes, what you want can be done, and it would be easy, no, I say trivial
to accomplish.

Follow the dynamic context example. Listen for reco, then create a
dynamic context, then forward to that dynamic context. Easy peasy.

Please contact me, [EMAIL PROTECTED], if you would like to create a
project to do this. I would love to see VAD on VoIP come to fruition in
my lifetime.

Race "The Tyrant" Vanderdecken

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Rozman
Sent: Saturday, January 29, 2005 12:16 PM
To: Jon Radon; Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Speech Recognition

Hi,

probably I won't be much of help, but I'm also looking for speech
recognition solution. But we're actually looking at two problems:
- one would be so called voice dialing (similar to celular phones) - one
records its own spoken names and speaks them after to call certain
person -
this problem is much easier to solve. Recently I have found interesting
project that could be easily integrated for such functionality
(http://www.princeton.edu/~lzhong/DNN.html). I'd like to start doing
this
but don't know much about Asterisk and its eagi interface to get sound
out
of it. I guess some with more insight could easily integrate this code.
This
solution could be probably used for simple 1 word recognition tasks
(like
speak name for outgoing call, or maybe say "sales" to get sales
department -
but as said this is speaker dependent solution.

- using speaker independent solutions for other stuff. I guess that
Sphinx
is at the moment most serious candidate. There is already some work on
connecting speech recognition to MH and I'm sure that guys will help
with
other uses.

What would be most desirable from Asterisk community is some skeleton
code
for eagi interface... I also have question:
does eagi based recognition take place in parallel to other dialplan
activities (like dtmf recognition, actions, etc...) ?

Regards,

Rob.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.d

[Asterisk-Users] Polycom 300 -- "No compatible codecs!"

2005-02-11 Thread Ken D'Ambrosio
I've got all three CODECs the 300 supports -- G.711u, G.177A, and 
G.729AB -- enabled, I've changed the order, I've got them all in allow 
lines in my sip.conf, as follows:

disallow=all
allow=ulaw
allow=alaw
allow=G729
From "sip debug" I get the following snippets:
===
Found description format G729
Found description format PCMA
Found description format PCMU
[...]
Non-codec capabilities: us - 0x1 (g723), peer - 0x1 (g723), combined - 
0x1 (g723)
Feb 11 20:05:51 NOTICE[8718]: chan_sip.c:2789 process_sdp: No compatible 
codecs!
===

Any ideas where I'm going awry?
Thanks,
-Ken
___
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] differentiating busy & not connected

2005-02-11 Thread Philipp von Klitzing
Hi!

> How can I determine whether a sip device is busy (channel unavailable),
> or it is not registered/connected?  

For the latter try "database show sip" or DBGet(...) respectively. Won't 
work with RealTime in Head though, I assume. ;->

Busy: You can always employ CheckGroup() and the like, although that 
gives you only the Asterisk view of things, not the SIP UAs point of 
view. Maybe sipsak and a custom SIP message can help, but that's of 
course outside of Asterisk.

Philipp


___
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] Playing Dialtones

2005-02-11 Thread Howard Lowndes
In AU we have a number of different dialtones defined for various
purposes.

>From indications.conf:
au 400,200,400,2000
au  dial413+438
au  busy425/375,0/375
au  ring413+438/400,0/200,413+438/400,0/2000
au  congestion  425/375,0/375,420/375,0/375
au  callwaiting 425/200,0/200,425/200,0/4400
au  dialrecall  413+438
au  record  !425/1000,!0/15000,425/360,0/15000
au  info425/2500,0/500
au  std
!525/100,!0/100,!525/100,!0/100,!525/100,!0/100,!525/100,!0/100,!525/100
au  facility425
au  stutter 413+438/100,0/40
au  ringmobile  400+450/400,0/200,400+450/400,0/2000

With analogue handsets connected to a zapata interface the standard
dialtone in the off-hook condition is "dial", but if there is a message
waiting then the "stutter" dialtone is sent out when the handset goes
off hook.  These emulate behavour that occurs on the PSTN system.

With the PSTN service the "facility" dialtone is output if the user has
a facility set, such as call forward immediate.

I have a routine in my dialplan which allows the user to set up CFIM,
but what I want it for * to output the "facility" dialtone when the use
user picks up the handset for which a CFIM number is set.

Identifying that a CFIM number is set is not a problem in the dialplan,
but when I run * in verbose mode all I am seeing, when the handset is
lifted, is:
 -- Starting simple switch on 'Zap/2-1'

Does this mean that the context for that extension has started and that
if I put a Playtones command in as the first command in the context,
then I will get what I want to achieve, or do I need to tackle it from
some other direction?


-- 
Howard.
LANNet Computing Associates;
Your Linux people 
--
"When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft."
--
"Flatter government, not fatter government;
Get rid of the Australian states."


___
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] Debian way of compiling zaptel kernel modules

2005-02-11 Thread Tzafrir Cohen
On Thu, Feb 10, 2005 at 09:55:47AM -0800, Geoff Nordli wrote:
> I ran "apt-get -b source zaptel-source" to download and compile the zaptel
> source.
> 
> It successfully compiles and builds the following packages:
> 
> libtonezone-dev_1.0.2-2_i386.deb
> libtonezone1_1.0.2-2_i386.deb
> zaptel-source_1.0.2-2_all.deb
> zaptel_1.0.2-2_i386.deb
> 
> None of them contain the kernel modules.

zaptel-source contains the modules packed nicely for building with the
debian kernel build system.

> 
> Is there a way I can get it to compile the kernel modules?

apt-get install kernel-package 

Do you build a custom kernel or use a standard Debian package?

The latter case is slightly more complicated, as you have to build the
modles package to mach the exact config of the target kernel. But quite
doable.

We build for a number of configs and for 2.4 and 2.6 on the same system
without even resorting to chroot tricks so far.

BTW: did I mention that we have binary packages for standard Debian
Sarge kernels in our apt source?

-- 
Tzafrir Cohen | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage   | a Mutt's  
[EMAIL PROTECTED] ||  best
ICQ# 16849755 | Space reserved for other protocols | friend
___
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] Multiple SIP registrations for one account?

2005-02-11 Thread Philipp von Klitzing
Hi!

> > U sure? What for example if later on the SIP device forwards the call 
> > (note: not using #) and itself steps out of the line?
> 
> That has nothing to with "canreinvite=yes". Setting "canreinvite=no" 
> does _not_ in any way restrict the ability of the SIP peer to 
> redirect/forward or otherwise manipulate the call. It has only one 
> effect: it stops Asterisk from trying to send the media directly to that 
> peer.

Yes, sure, but the question was if that has an effect on the accounting 
(CDR) on the Asterisk side. I haven't tried, but this certainly is 
something worth checking.

Philipp


___
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] SendText application

2005-02-11 Thread Krystian Filiks








Hi All

 

How do I use the sendtext app. In asterisk,
what is the syntax?

 

I would like to send a text message to a SIP phone when a
specific extension is dialed.

 

Thanks

KF






___
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@home .05 release questions on setup.

2005-02-11 Thread Ariel Batista



Hello,
 
Great job on the [EMAIL PROTECTED] project. Looks great this new 
version is really nicer looking.  But I have a few questions.
 
1) For the new web access http://localIP/maint how and where do I 
change the password.
2) Since I don't use the Amp section for setup the 
conf files I use my own. How do I get the asterisk server running status 
up.  I have it running and works but shows up as not running on the web 
page.
3) I upgraded my system from the older 04 by 
downloading the new tar and running your script. Then I copied my conf 
files back and rebooted. I had already changed my password and logins names 
before this.  Asterisk is up and running without any issue's. But the Flash 
Operator panel comes up flashing and I can't seem to get it to 
work.
 
I feel you have done a great job and I would like 
to thank you for your setup to us.  I will be sending you a donation soon. 
I am at a small self employed computer consultant that has limited funds at 
present.  This is one of the best setups for Asterisk that I have seen. I 
feel your name does not do it right due to it can be used for SOHO's and other 
setups.  It's great keep up the good work. You actually make AMP 
work.
 
P.S. one more question do you have an area in the 
freenode for chat? If you don't I would love to help out in it.  Something 
like Asterisk-athome would be nice.
 
Ariel
 
 
 
___
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] Why echo occurs

2005-02-11 Thread Robert Hajime Lanning


> Just out of interest,
>
> When echo occurs (the type where I hear myself echoing as I talk) what
> is bouncing against. Is it the other caller's equipment, the central
> office or something in between?

When you are talking via 4 wire or VoIP phones there is a seperate
outbound audio channel and inbound audio channel, niether the twain
shall meet  no echo

Except for POTS lines (2 wire)... where you have one audio channel
going in both directions.

So you have these: (fixed font spacing needed)

   A   Straight POTS  B
 --
speaker-speaker
 ||
mic  mic

A talks into mic and the audio is injected into the single
audio channel.  A almost immediatly hears his voice in his
own speaker, as the distance between the mic and the speaker
is short.  B hears A's speach a bit later traveling through
the long line.  We have echo as A hears his own voice, but the
timing makes it perceived as "sidetone".

   A   ISDN/VoIP to POTS  B
 --
speaker--===O---speaker
 ||
mic  mic

A talk into mic and the audio is sent as a seperate channel
down the line.  At some point this channel is injected into
the single channel of the POTS line for B.  The return
channel to A picks up everything on the single channel POTS
line (wanting to get B's audio, but also getting A's injected
"mic" channel.)  The distance between A's mic, the injection
point and A's speaker combines to make the delay.  This delay
causes the echo to be heard as an echo and not a sidetone.

* some (not all) VoIP/ISDN phones will simulate "sidetone" by
sampling the mic and sticking it directly in the speaker.  This
is done because us humans are used to the POTS technology and
think the line is dead if we do not hear it.  The same goes for
"comfort noise generation".  If the line is active we expect
analog white noise on it.

-- 
END OF LINE
   -MCP

___
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] ASTCC one stage dialing problem

2005-02-11 Thread Krystian Filiks








Hi All!

 

Maybe someone can help me.

I have 2 problems.

 

I have setup my ASTCC to receive the card number and phone
number to dial in one string from my sip phone.

I dial the destination number and ASTCC authenticates the
call using the CALLERID as card number then I want ASTCC to dial the
destination number ${EXTEN} without asking for the destination digits.

 

Here is how I configured the extentions.conf:

exten =>
_.,1,Answer

exten =>
_.,2,AGI(astcc.agi,${CALLERIDNUM},${EXTEN})

exten =>
_.,3,Hangup

 

The problem I have is that the agi
script do not take the 2nd parameter (${EXTEN})
as the dialed number ASTCC still asks for the number I wish to dial.

 

2nd problem is once the call is hanged up by the
called party ASTCC makes another call by it self and asks for the destination
number again instead of hanging up.

 

Does anyone know how to get this to work?

 

Kind regards

KF






___
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] Problem with # Transfer from queue

2005-02-11 Thread Ryan Stark
Hi I'm having trouble # transfering queue calls.
in extensions.conf I have:
[macro-queue]
;
; Places caller in queue
; ${ARG1} - Queue name to place caller in.
; ${ARG2} - Voicemail Extention
; ${ARG3} - Caller ID to Set.
exten => s,1,DBget(temp=nm/on) ; Get Night key, if not existing,goto 102
exten => s,2,Playback(custom/500/10)
exten => s,3,SetCallerID(${ARG3})
exten => s,4,DigitTimeout(0)
exten => s,5,ResponseTimeout(0)
exten => s,6,Queue(${ARG1}|t)
exten => s,7,Voicemail(su${ARG2})
exten => s,102,Voicemail(su${ARG2})
exten => s,107,Voicemail(su${ARG2})

in queues.conf I have:
[mainq]
member = Agent/10
member = Agent/11
member = Agent/12
member = Agent/13
member = Agent/14
member = Agent/15
member = Agent/16
member = Agent/17
member = Agent/18
member = Agent/20
member = Agent/21
retry = 0
timeout = 20
announce-holdtime = yes
joinempty = yes
announce-frequency = 90
reportholdtime = yes

In features.conf I have:
[general]
parkext => 7000
parkpos => 7001-7020
context => parkedcalls
parkingtime => 90
transfer => #
Normal direct calls are transferable but not the ones from the queue, 
both parties can hear the DTMF.  This same config worked on my old 
asterisk box, but when I moved everything over to this version: 
CVS-HEAD-01/19/05-15:06:17 I can't transfer from the queues.  Is this 
something that might be fixed if I update my src tonight and recompile?

Thanks,
-Ryan
___
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] *.conf files not parsing

2005-02-11 Thread Robert Goodyear
On Feb 11, 2005, at 3:42 PM, Tzafrir Cohen wrote:
On Fri, Feb 11, 2005 at 09:35:12AM -0800, Robert Goodyear wrote:
Has anyone ever seen Asterisk fail to parse files referenced by an
#include by a *.conf command?
e.g.:
Two options:
a. A number of versions have missed the inclusion of that patch. Latest
   version should work (asterisk 1.0.5-1.7) .
b. If you use both xorcom and standard debian testing package, you may
   be using their package.
In any case, what version exactly is your asterisk package?
  dpkg -l asterisk
I deleted all my SRC files, grabbed latest from CVS and it seems to 
work now. Here's what asterisk -V tells me:

Asterisk CVS-HEAD-02/11/05-13:14:58
Thanks!
/rg
___
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: Codec Issue on IAX trunk? (Solved)

2005-02-11 Thread Noah Miller
Hi Rich -
Personal opinion (and everyone has one) is the problem is a little
deeper then just a codec. Try 'iax2 debug', place a call, and look
through the early part of that trace. Are IP's right, etc?
I believe the native 0 is simply suggesting there is no match when
negotiating the codec. The "4" is ulaw (show codecs).
If you can, post the appropriate iax contexts from both sides (change
the passwords) and maybe some of the debug. (Or better yet for now,
email that to me directly and save the list a little bandwidth.)

I believe you are right that there was a deeper problem.  
Unfortunately, I don't know what it was, but at least things are 
working right now.

I got really suspicious when the iax2 debug showed nothing!  I 
screwed around with the config a little more and found that the error 
message I got was really only coming from one side, and not the other.  
I restarted asterisk, no dice.  I stopped asterisk, recompiled from 
exactly the same source, started up again, and all is well.  Don't know 
what's behind that.  Hmm.

Anyhoo, thanks for the user/peer setup and your time!
Thanks,
Noah
___
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] Polycom headset tweaking

2005-02-11 Thread w fm3
Wondering if anyone has any tweaks to get optimum headset sound quality with 
polycoms?

atm i'm trying changing the gains, aes & aec,  in imipmid.cfg
headsets are unamplified, UNEX & GNetcom using G729 codec with SIP 1.4.1 
firmware

Thanks
Walter
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

___
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] *.conf files not parsing

2005-02-11 Thread Tzafrir Cohen
On Fri, Feb 11, 2005 at 09:35:12AM -0800, Robert Goodyear wrote:
> Has anyone ever seen Asterisk fail to parse files referenced by an 
> #include by a *.conf command?
> 
> e.g.:
> 
> #include /etc/asterisk/sip-phones.d/*.conf

This does not work in current stable. IIRC it does work in current HEAD.
However it is part of the Xorcom Rapid package (and not part of the
Debian package)

> 
> Where the dir sip-phones.d contains sip extension conf files.
> 
> This worked fine for nearly a month and then mysteriously stopped 
> working for me last night!

Two options:

a. A number of versions have missed the inclusion of that patch. Latest
   version should work (asterisk 1.0.5-1.7) .

b. If you use both xorcom and standard debian testing package, you may
   be using their package.

In any case, what version exactly is your asterisk package? 

  dpkg -l asterisk

or:

  System information -> Package versions

-- 
Tzafrir Cohen | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage   | a Mutt's  
[EMAIL PROTECTED] ||  best
ICQ# 16849755 | Space reserved for other protocols | friend
___
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] MINNESOTA: TwinCities Asterisk Users Group - Meeting tomorrow Feb 12, 2005

2005-02-11 Thread Eric Osterberg

MINNESOTA: TwinCities Asterisk Users Group - Meeting tomorrow Feb 12, 2005

Hello Fellow Asterisk Users!

This email is to remind everyone of the TwinCities Minnesota users group
meeting. Information is located on the Wiki site.

http://www.voip-info.org/tiki-index.php?page=Asterisk%20User%20Group%20TwinCities%20Minnesota%20USA

Meetings at 2375 University Av W STE120, Saint Paul. 11:30am. Parking is
available behind the building. If you have any questions regarding this
event please contact William Warnecke @ 651-353-2859 (cellphone, call
anytime). Everything is finalized for the meeting, so we just hope to see
you here.

If you miss this meeting, our next is planned for March 12th 2005.
Our regular schedule is the second Saturday of each month. This is our
fourth meeting, of many more to come. We hope you can make it here.

Door Prizes, Free Food, and good company!
 Begins at 11:30am runs about 1.5-2 hours.


Eric Osterberg

Network Engineer  e: staff/scc.net   Personal Email ejo1/scc.net
Sound Choice Comm LLC v: 651 999-0888   Office Hours: M-F 9a-6p
Saint Paul, Minnesota f: 651 644-7990   Support Hours: 7d/24hrs

___
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] Setting a "Forward" to an external number on your phone

2005-02-11 Thread Rich Adamson
> Maybe I have just been looking on the wrong pages but there is a 
> question that is very important for me. I already studied some 
> Demo-Dialplans and made some basic experiences with Asterisk. But what I 
> need to find out is how I can handle this.
> 
> I am leaving my office and I want to tell asterisk to forward calls now 
> to my mobile phone by just hitting a key (on my IP-Phone) or by using a 
> special key-sequence.
> 
> How can this be handled because I need to change the dialplan based on 
> some information coming from a device attached to a channel.
> When back in my office I hit the key again and the calls are now routed 
> to my IP-Phone (or ISDN-Phone on zap-channel) again.
> 
> With IP-Phones I can imagine just unregistering the phone and having a 
> dialplan with a fallback-option or something like that. But what if I 
> want to tell asterisk to forward calls from now on to a number I want to 
> manually add just for today (hitting a key, entering the new target 
> number and that's it). where can I find some information on how to make 
> this feature available.

Here's one way to do that... (the example below was being used to
activate/deact the ivr on our system):

; toggle the ivr by dialing this extension  
exten => 3950,1,DBget(ISIVRON=FEAT/ivron) ; if success, step 2, else 102
exten => 3950,2,GotoIf(${ISIVRON} == yes?3:102)  
exten => 3950,3,DBdel(FEAT/ivron)  
exten => 3950,4,Background(npi-ivroff) 
exten => 3950,5,Hangup  
exten => 3950,102,DBput(FEAT/ivron=yes)
exten => 3950,103,Background(npi-ivron)
exten => 3950,104,Hangup

On whatever sip phone your using, program a key to autodial 3950. First
time activates it, the second call deacts it. If you can't program
a key, then just dial 3950. (I have a softkey on my Cisco 7960
defined to do that.)

Then in your the dialplan entry for your exten, just insert the 
necessary DBget and check its value. If 'yes', send the call to
your cell phone. If no, ring your extension.

If you forget to start the call forwarding before leaving the office,
then use whatever pstn facility you have to dial x3950 to activate
it remotely.

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] Audio issues with greetings & messages

2005-02-11 Thread Steve Blair

 I am using Asterisk as a voicemail server for my SER environment. Once
in a while IP based calls into Asterisk experience intermittent "robotic"
or stuttered sounding audio. This happens with both greeting playback
and message playback. The SER calls crossing the same IP network
do not experience this problem at the same time Asterisk calls do. Are there
parameters specific to this type of call that I should check to address
this issue?
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


[Asterisk-Users] /var/run/asterisk.ctl configuration

2005-02-11 Thread Edwin Groothuis
People who use "asterisk -r" already know that if you don't try it
as root (for example webservers), you don't get access. Of course
you can chmod it aech time you start asterisk, but that gets annoying
after two times.

I have made a patch (against HEAD and 1.0.5) which makes it possible
for you (=asterisk admin) to configure the ownership and permissions
of /var/run/asterisk.ctl.

If you need this feature, see
http://bugs.digium.com/bug_view_page.php?bug_id=0003558 for the
patches.

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://weblog.barnet.com.au/edwin/
___
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: Setting a "Forward" to an external number on your phone

2005-02-11 Thread Jui
Hi Shaun,
thanks for the quick reply. I am using different phones. As IP Phones I 
am using SNOM 190s, but in addition I ahva a "legacy" ISDN-PBX attached 
to Asterisk with some ISDN DECT phones connected to it.
When using the IP phones I guess it might be possible that the IP phone 
does the Call Forward internally (Although I don't know how this is done 
because the froward target could be an other SIP-Client somewhere in the 
world as well as any phone connected to PSTN or POTS somewhere in the 
world).
Therefore I am looking for a solution that works independently of the 
device you are using (ISDN phone, IP phone, etc.). What I thought of is 
telling Asterisk to change the dialpan dynamically for a while by 
entering a "string" on the phone of your choice. In case of an IP phone 
it might be possible to program this string to a programmable key.

Maybe I am just thinking too complex about the whole thing and there is 
an easy solution?

Jui
Shaun Ewing wrote:
I am leaving my office and I want to tell asterisk to forward calls now
to my mobile phone by just hitting a key (on my IP-Phone) or by using a
special key-sequence.

What type phones are you using?
I know that with the Cisco 7940 and 7960 phones that we use, one can
just hit the "CFwdAll' softkey, enter a number (eg: mobile, or another
extension) and press accept.
To cancel call forwarding, just press CFwdAll again. 

Pretty simple.
Caveat: This method will occupy two lines whenever a call is
forwarded. If you use an analogue interface, it's also possible that
the lines will be tied up "forever" because if they don't know the
caller has hung up. The latter isn't an issue with ISDN though (which
we use).

___
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] dtmfmode and IAX protocol

2005-02-11 Thread Joseph
On Fri, 2005-02-11 at 14:51 -0600, Rich Adamson wrote:
> > There's enough information if he's using FWD's 8XX-gateway for his 
> > toll-free calls to UPS, the bank, etc.
> 
> No there isn't. We don't know how the Sipura is configured, we don't
> know for sure what the associated sip def's are, we don't know exactly
> what path was used to dial each call (eg, x100p, tdm, fwd), etc. All
> we know is something doesn't work via fwd, but calls via something
> to the bank and fedex work. We do know that fwd-iax wants g711, and if
> that path is being used for all calls, you'd have to guess that
> at least one or two dtmf digits would get through to the destination
> and cause invalid number messages. Since he didn't mention that, its
> highly likely his path to the bank and fedex are different then the
> fwd path. 
> 

For example all calls go through Sipura-3000
If I connect to UPS over PSTN line on Sipura box DTMF is working just
fine I can select any option from the menu choices.  

Though I think I'm being connected to two different call centers even
though I call the same tall-free number.
If I dial over PSTN line it has different recording then if I dial over
Line1 (on Sipura-3000) and IAX to FWD, recording is different.

But again the same thing is with FedEx I'm connected to two different
call centers I think, but everything works with FedEx.

Calling DHL over IAX and FWD, DTMF doesn't work either but going though
PSTN line on Sipura-3000 works fine.

-- 
#Joseph
___
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] Re: Codec Issue on IAX trunk?

2005-02-11 Thread Rich Adamson
> > >  -- Executing Dial("SIP/68-4ab6",
> > > "IAX2/ast33:pass at 192.168.1.130/08 at from-sip") in new stack
> > > Feb 11 14:16:58 WARNING[5653]: channel.c:1898 ast_request: No
> > > translator path exists for channel type IAX2 (native 0) to 4
> > > Feb 11 14:16:58 NOTICE[5653]: app_dial.c:800 dial_exec: Unable to
> > > create channel of type 'IAX2' (cause 0)
> > >
> > > This is particularly confounding because I have all codecs disabled
> > > except ulaw (all over, sip devices included).  Is it trying to do
> > > native bridging?  No lo comprendo.
> > >
> > > Here's my info:
> > >
> > > ast551:  192.168.1.130
> > > ast33:  192.168.42.130
> > > Version: CVS-HEAD-11/03/04-14:59:37 (both boxes)
> > >
> > > IAX.CONF on ast551:
> > > [general]
> > > bindport=4569
> > > notransfer=yes
> > > disallow=all
> > > allow=ulaw
> > >
> > > [ast33]
> > > type=friend
> > > auth=md5
> > > secret=pass
> > > context=no-callwaiting
> > > host=192.168.42.130
> > > qualify=yes
> > > trunk=yes
> > > disallow=all
> > > allow=ulaw
> > >
> > >
> > > IAX.CONF on ast33:
> > > [general]
> > > bindport=4569
> > > disallow=all
> > > allow=ulaw
> > >
> > > [ast551]
> > > type=friend
> > > auth=md5
> > > secret=pass
> > > context=no-callwaiting
> > > host=192.168.1.130
> > > qualify=yes
> > > trunk=yes
> > > disallow=all
> > > allow=ulaw
> > >
> > >
> > > EXTENSIONS.CONF on ast33:
> > > [from-sip]
> > > exten => 68,1,Dial(SIP/68,20)
> > > exten => 68,2,Voicemail(u118)
> > > exten => 68,102,Voicemail(b118)
> > > exten => 68,103,Hangup
> > >
> > > exten =>
> > > _[012345]X,1,Dial(IAX2/ast33:pass at 192.168.1.130/[EMAIL PROTECTED])
> > >
> > > [no-callwaiting]
> > > include => from-sip
> > > include => outgoing
> > >
> > >
> > > EXTENSIONS.CONF on ast551:
> > > [from-sip]
> > > exten => 19,1,SetGroup(${EXTEN})
> > > exten => 19,2,CheckGroup(1)
> > > exten => 19,103,Goto(19b,1)
> > > exten => 19,3,Dial(SIP/19,20)
> > > exten => 19,4,Voicemail(u18)
> > > exten => 19,5,Hangup
> > >
> > > exten => _6X,1,Dial(IAX2/ast551:pass at 
> > 192.168.42.130/[EMAIL PROTECTED])
> > >
> > > [no-callwaiting]
> > > include => from-sip
> > > include => outgoing
> >
> >
> > Looks like you're are getting caught with using "friends" instead of 
> > peer
> > and user.
> >
> > Try something like this in iax.conf instead:
> > [abc-inc] ; inbound connections from remote site
> > type=user
> > secret=mysecret
> > context=from-site2
> > disallow=all
> > allow=ulaw ; supports only ulaw
> > deny=0.0.0.0/0.0.0.0
> > permit=1.2.3.0/255.255.255.0  ; tighten security a little bit
> >
> > [abc-gw] ; outbound connections to remote site
> > type=peer
> > secret=mysecret
> > username=myusername
> > host=1.2.3.4
> > disallow=all
> > allow=ulaw
> >
> > Then in your dialplan, use something like this to call the remote site:
> > exten => _6X,1,Dial(IAX2/myusername at abc-gw/${EXTEN})
> >
> > and
> >
> > [from-site2]
> > include => local-extns
> >
> > Note: I type the majority of the above from memory, so there are likely
> > some syntax errors in it. But you should get the picture.
> 
> Hi Rich -
> 
> I'm amazed you can type all that from memory!  Thanks for taking the 
> time to do so.
> 
> 
> >  Also, a couple
> > of people on the list indicated the friends/user/peer code is now
> > broken in cvs-head (as of the last couple of days), so if you're
> > running current head, that too could be an issue.
> 
> My CVS HEAD version is pretty old (11/04), so hopefully that's not the 
> issue.
> 
> I tried switching from type=friend over to type=user and type=peer.  
> The results seem to be the same.  I still get that error:
> 
> -- Executing Dial("SIP/69-69ca", "IAX2/ast33-out/[EMAIL PROTECTED]") in 
> new stack
> Feb 11 16:45:48 WARNING[5828]: channel.c:1898 ast_request: No 
> translator path exists for channel type IAX2 (native 0) to 4
> Feb 11 16:45:48 NOTICE[5828]: app_dial.c:800 dial_exec: Unable to 
> create channel of type 'IAX2' (cause 0)
> 
> The part that worries me is the (native 0).  Why is it saying that IAX2 
> is native 0?  With all the disallow=all and allow=ulaw, shouldn't it 
> also be type 4?

Personal opinion (and everyone has one) is the problem is a little
deeper then just a codec. Try 'iax2 debug', place a call, and look
through the early part of that trace. Are IP's right, etc?

I believe the native 0 is simply suggesting there is no match when
negotiating the codec. The "4" is ulaw (show codecs).

If you can, post the appropriate iax contexts from both sides (change
the passwords) and maybe some of the debug. (Or better yet for now,
email that to me directly and save the list a little bandwidth.)

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


Re: [Asterisk-Users] asterisk@home scary log

2005-02-11 Thread Don Murray
Tzafrir Cohen wrote:
On Fri, Feb 11, 2005 at 01:26:25PM -0600, Rich Adamson wrote:
 


The bottom line for those asterisk readers that have actually read this
far is to use complex & lenthy passwords where possible, and some sort of
alerting mechansim when xx number of passwords are guessed incorrectly
(such as an account lockout mechanism with alerts as just one of many 
available choices).
   

I tend to disagree with you regarding the exact length.
An alerting mechanism is there, in the logs. Most linux distros have
some nice log watchers. However it still requires that someone actually
monitors them, as boring as it is.
 

Can anyone recommend a watching tool for this?  I know I can write a 
script myself but if there is a convenient Linux method that is 
prepackaged, that would be good.  Specifically nice would be a mechanism 
like the one referred to above:

"some sort of
alerting mechansim when xx number of passwords are guessed incorrectly
(such as an account lockout mechanism with alerts as just one of many 
available choices)."

Incidentally, I know this thread is somewhat off topic but it has been very 
helpful to me and since reading it I have checked my /var/log/secure logs and 
found that our system has been scanned for ssh-password guessing several times 
over the last few months.  So thanks!
Don

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

2005-02-11 Thread Eric Wieling
Philipp von Klitzing wrote:
Hi!

Can the Dial() command tell the difference between busy and congestion? 
At the moment it seems to be treating them both the same on my server.
Yes, but not on analog ports.
___
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: Codec Issue on IAX trunk?

2005-02-11 Thread Noah Miller
>  -- Executing Dial("SIP/68-4ab6",
> "IAX2/ast33:pass at 192.168.1.130/08 at from-sip") in new stack
> Feb 11 14:16:58 WARNING[5653]: channel.c:1898 ast_request: No
> translator path exists for channel type IAX2 (native 0) to 4
> Feb 11 14:16:58 NOTICE[5653]: app_dial.c:800 dial_exec: Unable to
> create channel of type 'IAX2' (cause 0)
>
> This is particularly confounding because I have all codecs disabled
> except ulaw (all over, sip devices included).  Is it trying to do
> native bridging?  No lo comprendo.
>
> Here's my info:
>
> ast551:  192.168.1.130
> ast33:  192.168.42.130
> Version: CVS-HEAD-11/03/04-14:59:37 (both boxes)
>
> IAX.CONF on ast551:
> [general]
> bindport=4569
> notransfer=yes
> disallow=all
> allow=ulaw
>
> [ast33]
> type=friend
> auth=md5
> secret=pass
> context=no-callwaiting
> host=192.168.42.130
> qualify=yes
> trunk=yes
> disallow=all
> allow=ulaw
>
>
> IAX.CONF on ast33:
> [general]
> bindport=4569
> disallow=all
> allow=ulaw
>
> [ast551]
> type=friend
> auth=md5
> secret=pass
> context=no-callwaiting
> host=192.168.1.130
> qualify=yes
> trunk=yes
> disallow=all
> allow=ulaw
>
>
> EXTENSIONS.CONF on ast33:
> [from-sip]
> exten => 68,1,Dial(SIP/68,20)
> exten => 68,2,Voicemail(u118)
> exten => 68,102,Voicemail(b118)
> exten => 68,103,Hangup
>
> exten =>
> _[012345]X,1,Dial(IAX2/ast33:pass at 192.168.1.130/[EMAIL PROTECTED])
>
> [no-callwaiting]
> include => from-sip
> include => outgoing
>
>
> EXTENSIONS.CONF on ast551:
> [from-sip]
> exten => 19,1,SetGroup(${EXTEN})
> exten => 19,2,CheckGroup(1)
> exten => 19,103,Goto(19b,1)
> exten => 19,3,Dial(SIP/19,20)
> exten => 19,4,Voicemail(u18)
> exten => 19,5,Hangup
>
> exten => _6X,1,Dial(IAX2/ast551:pass at 
192.168.42.130/[EMAIL PROTECTED])
>
> [no-callwaiting]
> include => from-sip
> include => outgoing

Looks like you're are getting caught with using "friends" instead of 
peer
and user.

Try something like this in iax.conf instead:
[abc-inc] ; inbound connections from remote site
type=user
secret=mysecret
context=from-site2
disallow=all
allow=ulaw ; supports only ulaw
deny=0.0.0.0/0.0.0.0
permit=1.2.3.0/255.255.255.0  ; tighten security a little bit
[abc-gw] ; outbound connections to remote site
type=peer
secret=mysecret
username=myusername
host=1.2.3.4
disallow=all
allow=ulaw
Then in your dialplan, use something like this to call the remote site:
exten => _6X,1,Dial(IAX2/myusername at abc-gw/${EXTEN})
and
[from-site2]
include => local-extns
Note: I type the majority of the above from memory, so there are likely
some syntax errors in it. But you should get the picture.
Hi Rich -
I'm amazed you can type all that from memory!  Thanks for taking the 
time to do so.


 Also, a couple
of people on the list indicated the friends/user/peer code is now
broken in cvs-head (as of the last couple of days), so if you're
running current head, that too could be an issue.
My CVS HEAD version is pretty old (11/04), so hopefully that's not the 
issue.

I tried switching from type=friend over to type=user and type=peer.  
The results seem to be the same.  I still get that error:

-- Executing Dial("SIP/69-69ca", "IAX2/ast33-out/[EMAIL PROTECTED]") in 
new stack
Feb 11 16:45:48 WARNING[5828]: channel.c:1898 ast_request: No 
translator path exists for channel type IAX2 (native 0) to 4
Feb 11 16:45:48 NOTICE[5828]: app_dial.c:800 dial_exec: Unable to 
create channel of type 'IAX2' (cause 0)

The part that worries me is the (native 0).  Why is it saying that IAX2 
is native 0?  With all the disallow=all and allow=ulaw, shouldn't it 
also be type 4?

Thanks!
Noah
___
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 scary log

2005-02-11 Thread Tzafrir Cohen
On Thu, Feb 10, 2005 at 05:49:23PM +, Clive Carter wrote:
> I hesitated before sending this, as I have been flamed before for being a 
> beginner. but
> I am newish to linux/asterisk, and I am running an ssh server. It is still 
> running with default settings, (I dont know yet how/where to change it), 
> and I CAN logon remotely as root.
> (Haven't figured out how to 'su' yet !)
> 
> This is using the Rapid Xorcomm v 1.0 cd, which I believe (may be wrong) is 
> based on a very recent version of Debian ?
> Perhaps xorcom have changed the default setting ?

No, those are indeed the default settings of Debian. As for allowing
root login via ssh, README.Debian of the ssh package states that no bugs
should be files about that subject.

As for a separate user account: We figured that creating a separate user
will complicate things. Chances are people will use the default
suggested user name as the user name and the same password for the
user's and root's password. Or at least: too many of the people. Anyway,
I have added today some menu entries for adding a user, disabling root
login, changing the ssh port, and een finally added a basic firewall
script (though ssh is on by default).

So update &upgrade &restart the menu to get a modified "maintinance"
menu.

-- 
Tzafrir Cohen | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage   | a Mutt's  
[EMAIL PROTECTED] ||  best
ICQ# 16849755 | Space reserved for other protocols | friend
___
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] Why echo occurs

2005-02-11 Thread Eric Bishop
Just out of interest, 

When echo occurs (the type where I hear myself echoing as I talk) what
is bouncing against. Is it the other caller's equipment, the central
office or something in between?


On Fri, 11 Feb 2005 02:53:03 -0600, Steven Critchfield
<[EMAIL PROTECTED]> wrote:
> On Fri, 2005-02-11 at 15:32 +0800, Steve Underwood wrote:
> > What you said was not actually wrong. However, 9 out of 10 people
> > reading it will see "echo is something that affects only analogue
> > phones". People keep saying this. Its even in comments in the * source
> > code. Its wrong.
> 
> Yeah, I should have added that we where at a point of picking nits.
> 
> --
> Steven Critchfield <[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] asterisk@home scary log

2005-02-11 Thread Tzafrir Cohen
On Fri, Feb 11, 2005 at 01:26:25PM -0600, Rich Adamson wrote:

> > The password files had passwords in varrying quality, and cracking time 
> > was indeed affected. all-numbers password were guessed almost
> > immidietly. [*] Well-composed passwords of 8 characters were not 
> > cracked by brute-force in resonable time.
> 
> I never use products that rely on pre-staged password files; 

I refer to real-life password files from real servers.

> 
> Moving ssh or telnet to another tcp/udp port is nothing more then security 
> by obsurity. For anyone in the security business, that step only adds 
> about ten minutes to the process of discovering which services are 
> actually exposed (on any of 65,000 ports) and then beating on those 
> services to exploit them. Very easy task (and since those tasks are
> automated, who cares about the extra ten minutes).

The reasoning here is that it is still much easier to look for other
targets. Security by obscurity is not wrong on its own. It is wrong if
it is the only defence. 

> 
> The bottom line for those asterisk readers that have actually read this
> far is to use complex & lenthy passwords where possible, and some sort of
> alerting mechansim when xx number of passwords are guessed incorrectly
> (such as an account lockout mechanism with alerts as just one of many 
> available choices).

I tend to disagree with you regarding the exact length.

An alerting mechanism is there, in the logs. Most linux distros have
some nice log watchers. However it still requires that someone actually
monitors them, as boring as it is.

-- 
Tzafrir Cohen | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage   | a Mutt's  
[EMAIL PROTECTED] ||  best
ICQ# 16849755 | Space reserved for other protocols | friend
___
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] Codec Issue on IAX trunk?

2005-02-11 Thread Rich Adamson
> Well, after happily existing in a one office environment with asterisk 
> for a few months, I've now decided to start adding in our other offices 
> with their own * boxes and IAX connections (over VPN).  Unfortunately, 
> I'm an idiot and I can't get it to work.  I'm having some kind of 
> problem with codecs, I guess, but I don't understand what or why.  When 
> trying to use an IAX connection to get to another office, I get:
> 
>  -- Executing Dial("SIP/68-4ab6", 
> "IAX2/ast33:[EMAIL PROTECTED]/[EMAIL PROTECTED]") in new stack
> Feb 11 14:16:58 WARNING[5653]: channel.c:1898 ast_request: No 
> translator path exists for channel type IAX2 (native 0) to 4
> Feb 11 14:16:58 NOTICE[5653]: app_dial.c:800 dial_exec: Unable to 
> create channel of type 'IAX2' (cause 0)
> 
> This is particularly confounding because I have all codecs disabled 
> except ulaw (all over, sip devices included).  Is it trying to do 
> native bridging?  No lo comprendo.
> 
> An "iax2 show peers" seems to show that the IAX connection is made 
> between the boxes:
> 
> ast33*CLI> iax2 show peers
> Name/UsernameHost Mask Port  Status
> ast551   192.168.1.130   (S)  255.255.255.255  4569 (T)  OK (30 
> ms)
> 
> ast551*CLI> iax2 show peers
> Name/UsernameHost Mask Port  Status
> ast33192.168.42.130  (S)  255.255.255.255  4569 (T)  OK (30 
> ms)
> 
> 
> Here's my info:
> 
> ast551:  192.168.1.130
> ast33:  192.168.42.130
> Version: CVS-HEAD-11/03/04-14:59:37 (both boxes)
> 
> IAX.CONF on ast551:
> [general]
> bindport=4569
> notransfer=yes
> disallow=all
> allow=ulaw
> 
> [ast33]
> type=friend
> auth=md5
> secret=pass
> context=no-callwaiting
> host=192.168.42.130
> qualify=yes
> trunk=yes
> disallow=all
> allow=ulaw
> 
> 
> IAX.CONF on ast33:
> [general]
> bindport=4569
> disallow=all
> allow=ulaw
> 
> [ast551]
> type=friend
> auth=md5
> secret=pass
> context=no-callwaiting
> host=192.168.1.130
> qualify=yes
> trunk=yes
> disallow=all
> allow=ulaw
> 
> 
> EXTENSIONS.CONF on ast33:
> [from-sip]
> exten => 68,1,Dial(SIP/68,20)
> exten => 68,2,Voicemail(u118)
> exten => 68,102,Voicemail(b118)
> exten => 68,103,Hangup
> 
> exten => 
> _[012345]X,1,Dial(IAX2/ast33:[EMAIL PROTECTED]/[EMAIL PROTECTED])
> 
> [no-callwaiting]
> include => from-sip
> include => outgoing
> 
> 
> EXTENSIONS.CONF on ast551:
> [from-sip]
> exten => 19,1,SetGroup(${EXTEN})
> exten => 19,2,CheckGroup(1)
> exten => 19,103,Goto(19b,1)
> exten => 19,3,Dial(SIP/19,20)
> exten => 19,4,Voicemail(u18)
> exten => 19,5,Hangup
> 
> exten => _6X,1,Dial(IAX2/ast551:[EMAIL PROTECTED]/[EMAIL PROTECTED])
> 
> [no-callwaiting]
> include => from-sip
> include => outgoing
 

Looks like you're are getting caught with using "friends" instead of peer
and user.

Try something like this in iax.conf instead:
[abc-inc] ; inbound connections from remote site
type=user
secret=mysecret
context=from-site2
disallow=all 
allow=ulaw ; supports only ulaw
deny=0.0.0.0/0.0.0.0
permit=1.2.3.0/255.255.255.0  ; tighten security a little bit

[abc-gw] ; outbound connections to remote site
type=peer
secret=mysecret
username=myusername 
host=1.2.3.4
disallow=all   
allow=ulaw  

Then in your dialplan, use something like this to call the remote site:
exten => _6X,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN})

and

[from-site2]
include => local-extns

Note: I type the majority of the above from memory, so there are likely
some syntax errors in it. But you should get the picture. Also, a couple
of people on the list indicated the friends/user/peer code is now 
broken in cvs-head (as of the last couple of days), so if you're
running current head, that too could be an issue.



___
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] Still stuck trying to make Asterisk read MySQL

2005-02-11 Thread beonice
I've been continuing to experiment with MySQL. I'm
having absolutely no luck getting asterisk to read
voicemail configuration data and mailbox configuration
data from mysql tables instead of from voicemail.conf.


The default Asterisk setup that reads from
voicemail.conf and extensions.conf works fine. I'm
using 
Asterisk CVS-v1-0-12/12/04-15:58:29 on a Whitebox
Enterprise Linux box. I'm not using any telephony
hardware or SIP phones. I've just got a voicepulse DID
talking to asterisk via IAX.

I've got mysql downloaded and installed and have
successfully got the contributed script reading from
my asterisk_vm database to set up the extensions.conf,
as per the instructions at:
http://www.voip-info.org/wiki-Asterisk+extensions+from+mysql

Now I'm trying to get Asterisk to look up voicemail
configs from the asterisk_vm database. In order to do
this, I've been following the instructions at: 
http://www.voip-info.org/wiki-Asterisk+voicemail+database

So, I've:
1) Updated the /usr/src/asterisk/apps/Makefile to have
USE_MYSQL_VM_INTERFACE=1 and recompiled asterisk, with
make clean; make; make install

2) Updated voicemail.conf to have the appropriate
entries:
dbuser=username ;; Yes I changed this to my username
dbpass=password ;; Yes I changed this to my password
dbhost=localhost 
dbname=asterisk_vm 


3) Created the users table in the asterisk_vm
database.
+-++--+--+---+---+++
| context | mailbox| password | fullname |
email | pager | options| stamp
 |
+-++--+--+---+---+++
| default |    | 1234 | Moron Tester |
[EMAIL PROTECTED] |   | attach=yes | 20050211131641
|
+-++--+--+---+---+++

4) Updated extensions.conf to have the following line:
exten => ,1,VoiceMail(u)

I tried restarting asterisk at this point, called in
and tried to leave voicemail for extension (and
mailbox) . Here's the message I get:

*CLI> Feb 11 13:21:36 WARNING[18393]:
app_voicemail.c:1539 leave_voicemail: No entry in
voicemail config file for ''


So I dug around some more and found 
http://www.voip-info.org/wiki-Asterisk+res_config

Decided to try these instructions as well. So:

5) I created the ast_config table as directed:
Here is the data:

++++---++--+--+-+
| id | cat_metric | var_metric | commented | filename 
 | category | var_name | var_val |
++++---++--+--+-+
|  1 |  0 |  0 | 0 |
voicemail.conf | default  |  | |
++++---++--+--+-+

6) I edited /etc/asterisk/configs/res_odbc.conf to
contain:
[mysql1]
dsn = MySQL-asterisk
username = myuser
password = mypass
pre-connect = yes
[mysql1]
dsn = asterisk_vm
username = myuser ;; changed to my userid on mysql
password = mypass ;; changed to my password on mysql
pre-connect = yes

[mysql2]
dsn = MySQL2-asterisk
username = myuser2
password = mypass2
enabled = no

[ENV] 
VAR=VALUE 

7) Inserted glue to tell asterisk where to look:
; /etc/asterisk/res_config_odbc.conf
[settings]
table = ast_config
connection = mysql1 

8) Rerouted Asterisk's config engine:
; /etc/asterisk/extconfig.conf
[settings]
;queues.conf => odbc 
voicemail.conf => odbc 

9) I modified the sample script load_res_config.pl and
ran it, it successfully updated my ast_config table,
stuffing in all the settings that I'm used to seeing
in voicemail.conf.

10) I restarted asterisk _again_.
I get the exact same message.
Feb 11 14:18:40 WARNING[18528]: app_voicemail.c:1539
leave_voicemail: No entry in voicemail config file for
''

I'm totally out of ideas now. Anyone else got a clue
to lend me?

Thanks,
Maya




__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
___
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] Setting a "Forward" to an external number on your phone

2005-02-11 Thread Shaun Ewing
On Fri, 11 Feb 2005 18:48:14 +0100, Jui <[EMAIL PROTECTED]> wrote:
> Hi!



> I am leaving my office and I want to tell asterisk to forward calls now
> to my mobile phone by just hitting a key (on my IP-Phone) or by using a
> special key-sequence.
> 

What type phones are you using?

I know that with the Cisco 7940 and 7960 phones that we use, one can
just hit the "CFwdAll' softkey, enter a number (eg: mobile, or another
extension) and press accept.

To cancel call forwarding, just press CFwdAll again. 

Pretty simple.

Caveat: This method will occupy two lines whenever a call is
forwarded. If you use an analogue interface, it's also possible that
the lines will be tied up "forever" because if they don't know the
caller has hung up. The latter isn't an issue with ISDN though (which
we use).

-Shaun
___
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] RE:mandrake linux install of zaptel

2005-02-11 Thread David Uzzell
Jens Vagelpohl wrote:
On Feb 11, 2005, at 16:28, <[EMAIL PROTECTED]> wrote:
Extreme N00b, I am getting the error message "a target does not exist" 
when
running the make install inside the zap directory, probably pretty 
common,
possibly a package I didn't install, just need some insight on it. The 
same
occurs with the libpri and asterisk.


Would be good for some more info. But just of the top of my head you 
might want to check out the www.voip.info.org wiki and look under 
mandrake cause it has some instructions specific to the 2.6 kernel.

And there are also some very complete instructions on there for complete 
 installs from nothing through all the additional software required and *.

That might be a good place to start.
David


I think everyone would appreciate if...
- you wrote a new mail instead of highjacking an existing thread by 
answering it and replacing the subject line

- you would not keep 5 miles of completely unrelated stuff in your email 
message

- you could provide a better problem description that includes specific 
error messages and message stacks.

Thanks!
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 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] Quick How-To Guide for getting a Cisco 7960 going.

2005-02-11 Thread Ferguson, Michael
G'Day All,

I just received my new 7960 and, while I am still reading the manuals
from the web and the "At a Glance" booklet that came with the phone, I
am hoping that someone can point me to a some real quick steps to get
the phone registered with my * server and in working order. I will keep
reading the docs though.

Thanks 

Ferg
___
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] Delay answering inbound calls

2005-02-11 Thread Max Clark
Hi all,
I have a developer kit that I have been playing arround with. I have 
managed to get the system configured properly and add an analog and a 
few sip extensions. I have noticied that on inbound calls the system 
takes 5 rings before it will execute the script (this is the demo 
script), I have even tried taking out the Wait in the demo but that does 
not seem to help.

How to I configure asterisk to answer calls immediately?
Thanks,
Max
--
  Max Clark
  max [at] clarksys.com
  http://www.clarksys.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


[Asterisk-Users] Can agents login be permanent across Asterisk restarts ?

2005-02-11 Thread Robert Rozman
Hi,

I noticed that agents logins (agentcallbacklogin) are reset if Asterisk is
restarted. Can this be avoided in some way ?

Regards,

Rob.

___
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] Is there a Caller ID issue in the latest CVSStable

2005-02-11 Thread Rich Adamson
> I'm confused about the part that you can check out a stable version 
> after 1.0.5.
> 
> IMHO if you check out what is tagged as 1.0.5 at any time then you 
> should get exactly what is in the 1.0.5 tarball. If you check out head 
> then you should get all of the latest stuff in CVS which may or may not 
> build cleanly (and may segfault or whatever). If you could check out 
> 1.0.6-rc1 (release candidate 1) or something like that you would get 
> everything after 1.0.5 that may or may not build properly but is no 
> longer a moving target (features have been frozen).
> 
> It just doesn't make sense to me that there would be a 1.0.5 that has 
> changed since 1.0.5 was released unless you tag it 1.0.5.1 (or 
> something). I mean, why even bother trying to constantly maintain a new 
> stable version without having a formal release? 1.0.5 is what it is 
> with whatever bugs it came with upon release.
> 
> Obviously, just my opinion on "How things should work!". ;-)

We probably need Russel to chime in on how it really works. If you
watch the -cvs list, Russel's application of fixes always says v1.0;
I've not seen any v1.0.5 or whatever.

>From that I'd have to suggest that cvs stable is the current v1.0.5
and fixes are continuously applied to it until its time to call
it v1.0.6 (or whatever). A snap shot of v1.0.5 is then made into
tarballs, etc.


___
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] Codec Issue on IAX trunk?

2005-02-11 Thread Noah Miller
Hi All -
Well, after happily existing in a one office environment with asterisk 
for a few months, I've now decided to start adding in our other offices 
with their own * boxes and IAX connections (over VPN).  Unfortunately, 
I'm an idiot and I can't get it to work.  I'm having some kind of 
problem with codecs, I guess, but I don't understand what or why.  When 
trying to use an IAX connection to get to another office, I get:

-- Executing Dial("SIP/68-4ab6", 
"IAX2/ast33:[EMAIL PROTECTED]/[EMAIL PROTECTED]") in new stack
Feb 11 14:16:58 WARNING[5653]: channel.c:1898 ast_request: No 
translator path exists for channel type IAX2 (native 0) to 4
Feb 11 14:16:58 NOTICE[5653]: app_dial.c:800 dial_exec: Unable to 
create channel of type 'IAX2' (cause 0)

This is particularly confounding because I have all codecs disabled 
except ulaw (all over, sip devices included).  Is it trying to do 
native bridging?  No lo comprendo.

An "iax2 show peers" seems to show that the IAX connection is made 
between the boxes:

ast33*CLI> iax2 show peers
Name/UsernameHost Mask Port  Status
ast551   192.168.1.130   (S)  255.255.255.255  4569 (T)  OK (30 
ms)

ast551*CLI> iax2 show peers
Name/UsernameHost Mask Port  Status
ast33192.168.42.130  (S)  255.255.255.255  4569 (T)  OK (30 
ms)

Here's my info:
ast551:  192.168.1.130
ast33:  192.168.42.130
Version: CVS-HEAD-11/03/04-14:59:37 (both boxes)
IAX.CONF on ast551:
[general]
bindport=4569
notransfer=yes
disallow=all
allow=ulaw
[ast33]
type=friend
auth=md5
secret=pass
context=no-callwaiting
host=192.168.42.130
qualify=yes
trunk=yes
disallow=all
allow=ulaw
IAX.CONF on ast33:
[general]
bindport=4569
disallow=all
allow=ulaw
[ast551]
type=friend
auth=md5
secret=pass
context=no-callwaiting
host=192.168.1.130
qualify=yes
trunk=yes
disallow=all
allow=ulaw
EXTENSIONS.CONF on ast33:
[from-sip]
exten => 68,1,Dial(SIP/68,20)
exten => 68,2,Voicemail(u118)
exten => 68,102,Voicemail(b118)
exten => 68,103,Hangup
exten => 
_[012345]X,1,Dial(IAX2/ast33:[EMAIL PROTECTED]/[EMAIL PROTECTED])

[no-callwaiting]
include => from-sip
include => outgoing
EXTENSIONS.CONF on ast551:
[from-sip]
exten => 19,1,SetGroup(${EXTEN})
exten => 19,2,CheckGroup(1)
exten => 19,103,Goto(19b,1)
exten => 19,3,Dial(SIP/19,20)
exten => 19,4,Voicemail(u18)
exten => 19,5,Hangup
exten => _6X,1,Dial(IAX2/ast551:[EMAIL PROTECTED]/[EMAIL PROTECTED])
[no-callwaiting]
include => from-sip
include => outgoing
Thanks for any suggestions!
Noah
___
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] dtmfmode and IAX protocol

2005-02-11 Thread Rich Adamson
> There's enough information if he's using FWD's 8XX-gateway for his 
> toll-free calls to UPS, the bank, etc.

No there isn't. We don't know how the Sipura is configured, we don't
know for sure what the associated sip def's are, we don't know exactly
what path was used to dial each call (eg, x100p, tdm, fwd), etc. All
we know is something doesn't work via fwd, but calls via something
to the bank and fedex work. We do know that fwd-iax wants g711, and if
that path is being used for all calls, you'd have to guess that
at least one or two dtmf digits would get through to the destination
and cause invalid number messages. Since he didn't mention that, its
highly likely his path to the bank and fedex are different then the
fwd path. 

> First of all, if the wiki says "inline" (yes, okay, it does) it 
> probably means as inline data as opposed to "inband." But the fact is 
> that iax2 ALWAYS sends DTMF out-of-band.
> 
> While it's true that some VOIP phones (SIP adapters, etc) can be 
> configured to send DTMF inband, I would think that doing so while using 
> IAX is going to result in digits being reproduced twice at the 
> destination--once from the DTMF reproduced from out-of-band and once 
> from the inband DTMF. So if you're using IAX as your trunking protocal 
> you need to use out-of-band DTMF on your IP phones (and adapters) as 
> well.
> 
> Why does DTMF work sometimes and not all of the time? Heck, if I knew 
> that then I wouldn't have this problem where inband DTMF hardly ever 
> works properly for any of my inbound calls over IAX from Voicepulse. 
> I'm starting to think that Asterisk's support for DTMF over IAX has 
> issues but I'm too stubborn to switch to SIP and test that. I know I 
> don't have any (zero, nada, keine, rien, etc.) problems navigating 
> Asterisk IVR menus via my SIP adapter.
> 
> It's important to keep in mind, however, that the telco environment 
> beyond your Asterisk box, beyond FWD (Voicepulse, Broadvoice, Vonage, 
> etc.) is a complicated environment where everyone isn't playing by the 
> same set of technical specs. The fact that any of this stuff actually 
> works as well as it does is just amazing in itself.
> 
> -mark
> 
> On Feb 11, 2005, at 1:17 AM, Rich Adamson wrote:
> 
> > Joseph has been working at bringing up an asterisk box as kind of a
> > newbie, and I think he's using a Sipura as his fxs interface into
> > asterisk. He's having a problem with asterisk passing dtmf to FWD,
> > but didn't say how he's accessing the bank or fedex. So, without
> > a fair amount more detail from him, there's no way to answer his
> > questions or guess at the problem.
> >
> > 
> >> Exactly. (I was hoping he'd come to his own conclusions.) So... if the
> >> Sipura does not do IAX, then it's quite possible that you're not 
> >> doing IAX
> >> on the Sipura. Which means the whole "dtmfmode and IAX protocol" is 
> >> moot...
> >>
> >> -Michael
> >>
> > -
> >> No.
> >>
> >> 
> >>
> >>> Can the Sipura SPA-3000 do IAX?
> >>> -Michael
> >>>
> >>> -Original Message-
> >>> From: [EMAIL PROTECTED]
> >>> [mailto:[EMAIL PROTECTED] On Behalf Of Joseph
> >>> Sent: Thursday, February 10, 2005 10:50 PM
> >>> To: Asterisk Users Mailing List - Non-Commercial Discussion
> >>> Subject: RE: [Asterisk-Users] dtmfmode and IAX protocol
> >>>
> >>> Actually, I don't know what might be the problem.
> >>> I'm using Sipura SPA-3000 unit connected to standard cordless phone
> >>> and connecting to FWD over IAX
> >>>
> >>> 1.)
> >>> If I call FedEx or Bank and enter my account number using numeric 
> >>> keys
> >>> it works
> >>>
> >>> 2.)
> >>> If I dial UPS 1-800-742-5877 and try to use one of the option 
> >>> provided
> >>> it doesn't work.
> >>>
> >>> Could it be their phone system?
> >>>
> >>> -- 
> >>> #Joseph
> >>>
> >>> On Thu, 2005-02-10 at 21:36 -0600, Michael Giagnocavo wrote:
>  Actually, there are some phones that will do inband DTMF over IAX2. 
>  So
> >> if
>  he's using one of these, he has to make sure his settings are 
>  correct.
> >>> Yes,
>  the PA168 phones. The correct setting is RFC2833 for IAX (inside 
>  these
>  phones). Otherwise it's inband. The other options they provide just 
>  cut
> >>> the
>  call.
> 
>  -Michael
> >>>
> >>>
> >>> ___
> >>> 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
> >>
> >> ---End of

[Asterisk-Users] Re: [Asterisk-bsd] Asterisk not accepting multiple SIP phone logins

2005-02-11 Thread Brian Buhrow
Hello.  You can't have two phones login with the same extension.  You
need to assign one phone to 101, and the other to 102.  Set the user to 101
on one and 102 on the other.
-Brian
On Feb 11,  8:07am, "Juki" wrote:
} Subject: [Asterisk-bsd] Asterisk not accepting multiple SIP phone logins
} Hi all,
} 
} I have Asterisk running on FreeBSD 4.x and I have made configurations to
} sip.conf, extensions.conf and voicemail.conf. I have also setup SIP phones
} on two different PCs. My problem is that when one of the SIP phones logins
} in, the other won't.
} 
} My sip.conf has:
} [101]
} type=friend
} host=dynamic
} username=101
} secret=test
} dtmfmode=rfc2833
} context=from-sip
} mailbox=201
} callerid="101" <2125>
} nat=yes
} 
} My extensions.conf has:
} exten => 101,1,Dial(SIP/101,20,tr)
} exten => 101,2,VoiceMail,u101
} exten => 101,102,VoiceMail,b101
} 
} My voicemail.conf has:
} 101 => 2348,Emma, [EMAIL PROTECTED]
} 
} Any ideas are most welcome.
} 
} -- 
} Rgds,
} Juki
} 
} ___
} Asterisk-BSD mailing list
} [EMAIL PROTECTED]
} http://lists.digium.com/mailman/listinfo/asterisk-bsd
>-- End of excerpt from "Juki"


___
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] differentiating busy & not connected

2005-02-11 Thread Glen
folks, 

How can I determine whether a sip device is busy (channel unavailable),
or it is not registered/connected?  

ChanIsAvail only checks the channel availability, so it's not specific
enough.  If I could get the output of "sip show peers" in an AGI script,
I could create the functionality, but I'm hoping for some dialplan
command sequence.  

Thanks, 

Glen


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

2005-02-11 Thread Rich Adamson
> >> I hesitated before sending this, as I have been flamed before for being a 
> >> beginner. but
> >> I am newish to linux/asterisk, and I am running an ssh server. It is still 
> >> running with 
default settings, (I dont know yet how/where to change it), and I CAN logon 
remotely as root.
> >> (Haven't figured out how to 'su' yet !)
> >> 
> >> This is using the Rapid Xorcomm v 1.0 cd, which I believe (may be wrong) 
> >> is based on a very 
recent version of Debian ?
> >> Perhaps xorcom have changed the default setting ?
> >> 
> >
> >> Hey Clive. I thought it was mentioned earlier before in the thread,
> >> but if not, all you need to do is edit your sshd_config file. In
> >> Debian, this is located at /etc/ssh/sshd_config, but it could be
> >> different for other distros. Open that up in a text editor and then
> >> locate the line that says PermitRootLogin yes, and change that to
> >> PermitRootLogin no. Save it, and then restart SSH. On Debian, you type
> >> in /etc/init.d/ssh restart, but on other distros it might be
> >> different. Note that you'll have to be root to edit that file and
> >> restart that service.
> >> --
> >> Dana
> 
> Thanks for that. I did not see it before, and I was afraid to ask 
> in case I got jumped on again !

Our role models on this list are certainly not thin-skinned, therefore 
you don't have to be either. Just blurt it out (after at least a little
bit of reseach); seems to be SOP.



___
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 a "Forward" to an external number on your phone

2005-02-11 Thread Jui
Hi!
Maybe I have just been looking on the wrong pages but there is a 
question that is very important for me. I already studied some 
Demo-Dialplans and made some basic experiences with Asterisk. But what I 
need to find out is how I can handle this.

I am leaving my office and I want to tell asterisk to forward calls now 
to my mobile phone by just hitting a key (on my IP-Phone) or by using a 
special key-sequence.

How can this be handled because I need to change the dialplan based on 
some information coming from a device attached to a channel.
When back in my office I hit the key again and the calls are now routed 
to my IP-Phone (or ISDN-Phone on zap-channel) again.

With IP-Phones I can imagine just unregistering the phone and having a 
dialplan with a fallback-option or something like that. But what if I 
want to tell asterisk to forward calls from now on to a number I want to 
manually add just for today (hitting a key, entering the new target 
number and that's it). where can I find some information on how to make 
this feature available.

Jui
___
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] Cisco PRI to Asterisk & CallerID

2005-02-11 Thread [EMAIL PROTECTED]
Can anybody tell me if callerid name is supported running SIP between a 
Cisco PRI gateway (any flavor) and asterisk?  We have number support 
working and I thought I read that name support was added somewhere in 
12.3T, but I can't find that info any more.  Thanks.

Peder
___
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 0.5 Released today

2005-02-11 Thread Dalon Westergreen
you can always download the tgz from there site and run the install
that way.  you may want to backup your configs though.

--Dalon


On Fri, 11 Feb 2005 14:51:10 -0500, Ariel Batista <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > We are releasing a new version of our one-button
> > Asterisk install, [EMAIL PROTECTED], today. This release
> > includes a redesigned web interface and auto-detection
> > of Digium fxo and fxs cards. We have also fixed a lot
> > of bugs and added numerous customer requested
> > enhancements. [EMAIL PROTECTED] is now more secure with
> > passwords on the web pages and better Linux security.
> 
> Is there an upgrade for current users of .04?
> 
> > http://asteriskathome.sourceforge.net/
> >
> >
> >
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Mail - Find what you need with new enhanced search.
> > http://info.mail.yahoo.com/mail_250
> > ___
> > 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 scary log

2005-02-11 Thread Rich Adamson
> > There are multiple password guessing tools commonly available on
> > the Internet. I eval'ed one of the tools and it took five seconds
> > to guess a password that was five characters in length. It took an
> > hour to guess a password that was eight characters, and around
> > twenty-four hours to guess a password that was eight characters made
> > up of uppercase, lowercase and non-alpha characters (eg, complex). 
> > Regardless, the guessing process is simply how much time does one 
> > want to devote to doing it (eg, what's the return value for spending
> > the time exploiting a system).
> 
> Sorry, not in my tests. I used John the Ripper (http://openwall.com/john/ 
> ), which is a tool for cracking passwords from password files using 
> dictionaries and brute force.
> 
> The password files had passwords in varrying quality, and cracking time 
> was indeed affected. all-numbers password were guessed almost
> immidietly. [*] Well-composed passwords of 8 characters were not 
> cracked by brute-force in resonable time.

I never use products that rely on pre-staged password files; they are no
better then the person that assembled the password file and run about
the same level of mentality as the script kitties. Try one of the tools 
that simply starts with "a", then "b", etc, then "aa", "ab", etc. There 
is no preconceived notion as to what the password should be, and will 
guess _any_ password given enough time. "That" was the key point, and 
one of only a few true mechanism to defeat that process is a short 
duration lockout. (Exception is the use of keys as noted in previous 
postings.)

> [*] passwords that should be dialed from phones are relatively short and
> all-numbers. Are they never exposed to the internet?
 
And that statement is "exactly" why the fed and state banking examiners
are raising all kinds of red flags relative to Internet Banking Systems.
Complex passwords aren't a choice for telephone banking, but certainly
are for PC Internet banking. One of the "controls" used to mitigate that
risk is a backend system (sort of a batch process) that attempts to 
analyze customer banking patterns and alerts on unusal events. Lots of
banks and international credit card companies use the process, and even
the small rural banks use a manual process to do the same. (The majority
of banks also use the account lockout mechanism even for the simplest
telephone banking system.)

If you apply the above discussions to asterisk, how hard do you really
think it might be to write a small script to guess the password used
to register a sip phone (as an example)? Given what you've already 
seen on this list, it would not take long at all to determine the IP
address of anyone's exposed asterisk box that posts to the list, and
beat on their asterisk box to guess the phone's assigned secret. That
is exactly one of the common trade journal complaints relative to VoIP
security. (Mark has added some code that essentially is an account
lockout mechanism to help defeat that process. Not sure if that is
cvs head only or if it was moved into stable as well.)
 
> > It doesn't make much difference whether one exposes telnet or ssh.
> > Both can be exploited. But, the more complex you make the password,
> > the more time-consuming and difficult it is to guess it.
> > 
> > So, if you must expose either telnet or ssh, make your passwords very
> > long and complex. If your O/S has the capability to lockout the account
> > after 'xx' failed passwords, then do that. 
> 
> And allow crackers to lock you out. A silly and effective DoS attack.

Call it what you want, but a five minute lockout in my book (and a very
large number of very professional security folks) is not a DOS at all.
Of coarse, if you're one of the few that want to expose common userid's
like root, then you're just creating the DOS problem for yourself.

Moving ssh or telnet to another tcp/udp port is nothing more then security 
by obsurity. For anyone in the security business, that step only adds 
about ten minutes to the process of discovering which services are 
actually exposed (on any of 65,000 ports) and then beating on those 
services to exploit them. Very easy task (and since those tasks are
automated, who cares about the extra ten minutes).

The bottom line for those asterisk readers that have actually read this
far is to use complex & lenthy passwords where possible, and some sort of
alerting mechansim when xx number of passwords are guessed incorrectly
(such as an account lockout mechanism with alerts as just one of many 
available choices).



___
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] Wireless LANs and Asterisk

2005-02-11 Thread Don Pobanz

Mike Meyer wrote:

Also we had one bridge that seemed to be a week puppy in the litter. It
could only muster 60-70% signal strength. It seemed to have problems
under all configurations. Finally we positioned it such that it too
works well running WEP 64b. I wonder if having 3 wireless bridges in
close proximity would have anything to do with the signal strength? I
would doubt it though.
My memory fails me but for at least one of the wireless standards 
(802.11a or .11b or .11g or 802.16) there is power control for the rf 
output of access points. Having several points close together would 
cause a reduction of power output.

I know this isn't a full answer but
Don Pobanz
___
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] dtmfmode and IAX protocol

2005-02-11 Thread Joseph
On Fri, 2005-02-11 at 10:15 -0500, Mark Eissler wrote:
> There's enough information if he's using FWD's 8XX-gateway for his 
> toll-free calls to UPS, the bank, etc.
> 
> First of all, if the wiki says "inline" (yes, okay, it does) it 
> probably means as inline data as opposed to "inband." But the fact is 
> that iax2 ALWAYS sends DTMF out-of-band.
> 
> While it's true that some VOIP phones (SIP adapters, etc) can be 
> configured to send DTMF inband, I would think that doing so while using 
> IAX is going to result in digits being reproduced twice at the 
> destination--once from the DTMF reproduced from out-of-band and once 
> from the inband DTMF. So if you're using IAX as your trunking protocal 
> you need to use out-of-band DTMF on your IP phones (and adapters) as 
> well.

I just check Sipura-3000 setup on Line1 where my phone is connected to
and "DTMF Tx Method: Auto"

Auto includes: 
InBand
AVT
INFO
Auto
InBand+INFO
AVT+INFO

There is no Out-of-band setting.

-- 
#Joseph
___
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 0.5 Released today

2005-02-11 Thread Ariel Batista
[EMAIL PROTECTED] wrote:
We are releasing a new version of our one-button
Asterisk install, [EMAIL PROTECTED], today. This release
includes a redesigned web interface and auto-detection
of Digium fxo and fxs cards. We have also fixed a lot
of bugs and added numerous customer requested
enhancements. [EMAIL PROTECTED] is now more secure with
passwords on the web pages and better Linux security.
Is there an upgrade for current users of .04?
http://asteriskathome.sourceforge.net/

__
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
___
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] dtmfmode and IAX protocol

2005-02-11 Thread Joseph
On Fri, 2005-02-11 at 00:17 -0600, Rich Adamson wrote:
> Joseph has been working at bringing up an asterisk box as kind of a
> newbie, and I think he's using a Sipura as his fxs interface into
> asterisk. He's having a problem with asterisk passing dtmf to FWD,
> but didn't say how he's accessing the bank or fedex. So, without
> a fair amount more detail from him, there's no way to answer his 
> questions or guess at the problem.
> 
> 
> > Exactly. (I was hoping he'd come to his own conclusions.) So... if the
> > Sipura does not do IAX, then it's quite possible that you're not doing IAX
> > on the Sipura. Which means the whole "dtmfmode and IAX protocol" is moot...
> > 
> > -Michael
> > 
> - 
> > No.

I'm using Sipura-3000 unit to connect to PSTN and my cordless phone.
The prefer an external unit over internal card; as I went enough several
internal modems on my PC over time.  If there was a bus change and I
changed the board my modem cards were just piece of junk.
In addition it is easer to switch to backup PC if the main one goes down
- all I need to do is to change the IP address on the Sipura-3000 and my
sip phone (in all 30sec in total including starting *-on backup PC).

With an internal card the downtime is a bit longer.  
If I could find an external Adapter with native IAX connection with 2-4
ports I would buy it today.  I know digium has one but it is only one
port unit and I would need minimum one-FXS/FXO ports.

So, Mark Eissler might be right the Telco system is complicated
environment and not everybody follows standards.  So the this might be
the case between FedEx and UPS.

-- 
#Joseph
___
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] Polycom IP 3000 configuration

2005-02-11 Thread Scott Henderson
I am trying to add a Polycom IP 3000 to our Asterisk system and am not 
getting anywhere.

h323.conf
[8908]
type=friend
host=192.168.104.25
secret=polycom
context=crv-default
callerid="Conference Room Polycom"
extensions.conf
exten => 8908,1,Dial(h323/polycom,20,Ttr)   ; Polycom
exten => 8908,2,Hangup

I have tried setting the Asterisk system as both gatekeeper and gateway 
in the polycom config.

To date nothing seems to work and Polycom is now on a week return a 
support call to the reseller that sold us the unit.

--
Scott Henderson

Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.339.8085 ext 6101, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK

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

2005-02-11 Thread Tim Lewis
What is a know good version of cvs?

how do I roll back my ver?

-Thanks
Tim


On Fri, 2005-02-11 at 12:47, Brian Capouch wrote:
> Tim Lewis wrote:
> > I have a remote * box connected via a dial-up 128K ISDN line into the
> > main * server. 
> > 
> > I am now getting an error message every time the remote * box gets a new
> > IP address. 
> > 
> 
> I'm almost certain there is a bug in the current HEAD tree causing that 
> problem.
> 
> I upgrade almost every day.  I'm having this same problem on all the 
> servers that were upgraded after the peer/friend patches yesterday.
> 
> None of the machines upgraded before that point have been affected.
> 
> FWIW.
> 
> B.
> ___
> 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] SIP in the Philippines

2005-02-11 Thread Ed Greenberg
Can they ping the box successfully?
Do they have enough bandwidth?
Are you seeing ANY failed or successful registrations?
You can change the SIP port in your SIP.CONF, though I don't know if you 
can use both ports at the same time. Perhaps. Worth reading the wiki to 
see.


--On Friday, February 11, 2005 10:16 AM -0800 kurtz <[EMAIL PROTECTED]> 
wrote:

I have a frend in Manilla who is trying to connect to an Asterisk-based
VoIP provider here in Western Canada.
Has anyone had difficulties with SIP in the Philippines ?  I'm having a
lot of trouble getting info from the provider there (PLDT) and it seems
as if the device can't access a port that will allow it to get out and
REGISTER with the switchboard even because the provider never sees it
make a request.
Is it possible that port 5060 is being blocked ?  I'm unclear as to
whether or not the required port must indeed be 5060 or if Asterisk is
somehow able to recognize SIP / UDP on any incoming port and correctly
port forward it.
They're using a SPA-1001.
Thanks,
Kurtz
___
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] IAX Registration Refused

2005-02-11 Thread Andrew Kohlsmith
On February 11, 2005 01:47 pm, Brian Capouch wrote:
> I'm almost certain there is a bug in the current HEAD tree causing that
> problem.

It is, I am seeing the same problem.

-A.
___
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@Home 0.5 Released today

2005-02-11 Thread [EMAIL PROTECTED]
We are releasing a new version of our one-button
Asterisk install, [EMAIL PROTECTED], today. This release
includes a redesigned web interface and auto-detection
of Digium fxo and fxs cards. We have also fixed a lot
of bugs and added numerous customer requested
enhancements. [EMAIL PROTECTED] is now more secure with
passwords on the web pages and better Linux security.

http://asteriskathome.sourceforge.net/




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
___
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 Registration Refused

2005-02-11 Thread Brian Capouch
Tim Lewis wrote:
I have a remote * box connected via a dial-up 128K ISDN line into the
main * server. 

I am now getting an error message every time the remote * box gets a new
IP address. 

I'm almost certain there is a bug in the current HEAD tree causing that 
problem.

I upgrade almost every day.  I'm having this same problem on all the 
servers that were upgraded after the peer/friend patches yesterday.

None of the machines upgraded before that point have been affected.
FWIW.
B.
___
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] IAX Registration Refused

2005-02-11 Thread Tim Lewis
I have a remote * box connected via a dial-up 128K ISDN line into the
main * server. 

I am now getting an error message every time the remote * box gets a new
IP address. 

error messages:


Feb 11 11:34:39 NOTICE[11337]: chan_iax2.c:6577 socket_read:
Registration of 'wdsdl' rejected: Registration Refused

both * boxes where working just fine until I upgraded last night

both * servers are able to talk and registor with each other after I
type reload in the CLI 

both asterisk boxes are running:
CVS-HEAD-02/11/05-01:18:45

iax.conf

[wdsdl]
type=friend
host=dynamic
secret=x
context=default
permit=0.0.0.0/0.0.0.0
disallow=all
allow=ilbc
allow=gsm

Regards,
Tim




___
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] SIP in the Philippines

2005-02-11 Thread kurtz
I have a frend in Manilla who is trying to connect to an Asterisk-based VoIP
provider here in Western Canada.

Has anyone had difficulties with SIP in the Philippines ?  I'm having a lot
of trouble getting info from the provider there (PLDT) and it seems as if
the device can't access a port that will allow it to get out and REGISTER
with the switchboard even because the provider never sees it make a request.

Is it possible that port 5060 is being blocked ?  I'm unclear as to whether
or not the required port must indeed be 5060 or if Asterisk is somehow able
to recognize SIP / UDP on any incoming port and correctly port forward it.

They're using a SPA-1001.

Thanks,
Kurtz


___
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] polycom ip phones + asterisk

2005-02-11 Thread harry gaillac
hi all,

Anybody could help me to configure soundpoint ip
polycom
with asterisk in order to get Instant message and
presence .

Regards

harry







Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.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] Caller ID

2005-02-11 Thread Trevor Peirce
Stefan Gofferje wrote:
...what probably would be a good idea, because a call from "asterisk" 
really looks strange... I have been searching for the position in 
source but haven't found it yet. Didn't spend too much effort anyway...
But if one of the maintainers would do that, it would be nice...
I assuming this is when using SIP.  I was annoyed by this and make an 
adjustment which works nicely.

channels/chan_sip.c around line 132 look for
#define DEFAULT_CALLERID "asterisk"
swap that to Unknown and you're in good shape.
___
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] Question about DID

2005-02-11 Thread Eric Hall
I have is like so
exten => 6149233422,1,Dial(Zap/g2/9233422)

Also I found some config file that ask about the following.. This is not an 
Asterisk problem but I can't think of a better group of people to help with 
this problem...

Address Type (International, National, Network, Subscriber, Abbreviated)
Numbering Plan (ISDN, Data, Telex, National, Private)
Subaddress Type (NSAP, User) 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Crocker
Sent: Friday, February 11, 2005 11:41 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Question about DID


How are you telling Asterisk to send the call to the fax group?  You should 
have something in extensions.conf like

exten => _4135551234,1,Dial($FAXTRUNKS/${EXTEN})

Asterisk should send the EXTEN down as a DID to the fax server

-Matt

On Feb 11, 2005, at 11:05 AM, Eric Hall wrote:

> Hello Group
>  I have a Asterisk server running with 2 Digium T1 cards installed. 1 
> card connects to Telco via a PRI. The 2nd card is connected to a fax 
> server via Digi DataFire RAS 24 PT1 Adapter (Digi0001). The idea is to 
> have Asterisk route the calls based on DID or FAX tones. Everything is 
> working great so far. The only problem is the Fax server does not see 
> the DID. How can I tell if Asterisk it passing the DID and CallerID 
> info to the server? I seen this was done with HylaFax.
>  
>  
> Any help would be great!!
>  
> Here is my configs
>   
> cat zaptel.conf
> #PRI to Telco
> span=1,1,0,esf,b8zs
> bchan=1-23
> dchan=24
>  
> # PRI to Fax server
> span=2,0,0,esf,b8zs
> bchan=25-47
> dchan=48
>  
>  
> zapata.conf
> [channels]
> context=from-analog
> signalling=pri_cpe
> switchtype=dms100
> group=1
> usecallerid=yes
> hidecallerid=no
> restrictcid=no
> usecallingpres=no
> useincomingcalleridonzaptransfer=yes
> callerid=asreceived
> faxdetect=no
> musiconhold=default
> channel => 1-23
>  
> context=from-sip-internal
> switchtype=dms100
> signalling=pri_net
> group=2
> overlapdial=yes
> usecallerid=yes
> hidecallerid=no
> restrictcid=no
> usecallingpres=no
> useincomingcalleridonzaptransfer=yes
> callerid=asreceived
> faxdetect=no
> musiconhold=default
>  
> channel => 25-47
>
>  
> ___
> 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] *.conf files not parsing

2005-02-11 Thread Robert Goodyear
Has anyone ever seen Asterisk fail to parse files referenced by an 
#include by a *.conf command?

e.g.:
#include /etc/asterisk/sip-phones.d/*.conf
Where the dir sip-phones.d contains sip extension conf files.
This worked fine for nearly a month and then mysteriously stopped 
working for me last night!

Regards,
/rg
___
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] Multiple SIP registrations for one account?

2005-02-11 Thread C F
On Fri, 11 Feb 2005 14:21:48 +0100, Philipp von Klitzing
<[EMAIL PROTECTED]> wrote:
> Hi!
> 
> > canreinvite=yes does not affect call accounting in any way.
> 
> U sure? What for example if later on the SIP device forwards the call
> (note: not using #) and itself steps out of the line?

It still has to contact * about the forward (unless you are doing IP
to IP forward), your dialplan comes from somewhere.

> 
> Cheers, Philipp
> 
> ___
> 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-MySQL: Not loading voicemail config fromMySQL

2005-02-11 Thread beonice
By the way, I did fix the typo in my users table so
now the context is 'voicepulse_connect_context', just
like in the extensions.conf. That didn't fix the
problem.

Cheers,
Maya

--- Matthew Boehm <[EMAIL PROTECTED]> wrote:

> What version of asterisk?
> 
> -Matthew
> 
> - Original Message - 
> From: "beonice" <[EMAIL PROTECTED]>
> To: "Asterisk Users Mailing List - Non-Commercial
> Discussion"
> 
> Sent: Friday, February 11, 2005 10:36 AM
> Subject: [Asterisk-Users] Asterisk-MySQL: Not
> loading voicemail config
> fromMySQL
> 
> 
> > Folks,
> >
> > I'm trying to get Asterisk to load my voicemail
> > configuration from MySQL. I've followed the
> > instructions at:
> >
> >
>
http://www.voip-info.org/wiki-Asterisk+voicemail+database
> >
> > I restarted Asterisk, but no luck: the
> voicemail.conf
> > does not get updated. I started with a sample
> > voicemail.conf that I found on the Wiki. Or was it
> > from Voicepulse? I can't remember. For initial
> > testing, I added extensions  and 100 in the
> > [voicepulse_connect_context] with appropriate
> settings
> > in extensions.conf to direct incoming calls to
> those
> > mailboxes, and that works. I was expecting that
> after
> > I added in the db details, reloading or restarting
> > Asterisk would add the new extension from MySQL's
> > 'users' table into the voicemail.conf. It doesn't.
> >
> > As soon as I type  (the beginning of the
> mailbox
> > and also the extension number), I get the message:
> >
> > *CLI> Feb 11 08:38:38 WARNING[5224]:
> > app_voicemail.c:1539 leave_voicemail: No entry in
> > voicemail config file for ''
> >
> > If I add a line for  into my voicemail.conf,
> all
> > works well.
> >
> > Please help me understand what is going on here!
> >
> > Thanks,
> > Maya.
> >
> > --- My configuration ---
> >
> > My 'users' table has 1 row only, for testing
> purposes:
> >
> >
>
+---++--+--+
> ---+---+++
> > | context   | mailbox|
> password |
> > fullname | email | pager | options
> > | stamp  |
> >
>
+---++--+--+
> ---+---+++
> > | voicemail_connect_context |    | 1234   
>  |
> > Moron Tester | [EMAIL PROTECTED]  |   |
> attach=yes
> > | 00 |
> >
>
+---++--+--+
> ---+---+++
> >
> > --
> > The appropriate settings from extensions.conf:
> >
> > [voicepulse_connect_context]  ; <-- Should match
> the
> > context you have
> >   ; under [voicepulse-in-01]
> in
> > iax.conf
> >
> > exten => 100,1,Playback(tt-monkeys)
> > exten => 100,2,Record(/tmp/asterisk-recording:gsm)
> > ;exten => 100,3,Wait(2)
> > exten => 100,3,Playback(/tmp/asterisk-recording)
> > ;exten => 100,5,Wait(2)
> > exten => ,1,Playback(transfer,skip)
> > exten => ,2,VoiceMail,u
> > exten => ,102,VoiceMail,b
> > exten => ,1,VoiceMail,u
> > --
> >
> > My complete voicemail.conf looks like this:
> > ;
> > ; Voicemail Configuration
> > ;
> > [general]
> > ; Default formats for writing Voicemail
> > ;format=g723sf|wav49|wav
> > format=wav49|gsm|wav
> > ; Who the e-mail notification should appear to
> come
> > from
> > [EMAIL PROTECTED]
> > ; Should the email contain the voicemail as an
> > attachment
> > attach=yes
> > ; Maximum length of a voicemail message in seconds
> > ;maxmessage=180
> > ; Minimum length of a voicemail message in seconds
> > ;minmessage=3
> > ; Maximum length of greetings in seconds
> > ;maxgreet=60
> > ; How many miliseconds to skip forward/back when
> > rew/ff in message playback
> > skipms=3000
> > ; How many seconds of silence before we end the
> > recording
> > maxsilence=10
> > ; Silence threshold (what we consider silence, the
> > lower, the more sensitive)
> > silencethreshold=128
> > ; Max number of failed login attempts
> > maxlogins=3
> > ; If you need to have an external program, i.e.
> > /usr/bin/myapp
> > ; called when a voicemail is left, delivered, or
> your
> > voicemailbox
> > ; is checked, uncomment this:
> > ;externnotify=/usr/bin/myapp
> > ; If you need to have an external program, i.e.
> > /usr/bin/myapp
> > ; called when a voicemail password is changed,
> > ; uncomment this:
> > ;externpass=/usr/bin/myapp
> > ; For the directory, you can override the intro
> file
> > if you want
> > ;directoryintro=dir-intro
> > ; The character set for voicemail messages can be
> > specified here
> > ;charset=ISO-8859-1
> > ; The ADSI feature descriptor number to download
> to
> > ;adsifdn=000F
> > ; The ADSI security lock code
> > ;adsisec=9BDBF7AC
> > ; The ADSI voicemail application version number.
> > ;adsiver=1
> > ; Skip the "[PBX]:" string from the message title
> > pbxskip=yes
> > ; Change the From: string
>

Re: [Asterisk-Users] Caller ID

2005-02-11 Thread C F
Derek, this gives a workaround, and we all know about this workaround,
however it also means that we have to change the Dialplan and rewrite
everything twice, one for no callerid, and the other for callerid.
What Martin is trying to do is change the code in asterisk that sends
the name asterisk as caller id when the caller id is unnknown to
something else, like unknown.


On Fri, 11 Feb 2005 08:33:46 -0800, Derek Whitten <[EMAIL PROTECTED]> wrote:
> 
> http://voip-info.org/tiki-index.php?page=Asterisk%20cmd%20SetCallerID
> 
> http://voip-info.org/wiki-Asterisk+cmd+SetCIDName
> 
> http://voip-info.org/wiki-Asterisk+cmd+SetCIDNum
> 
> example:
> 
> exten => 1,1,SetCallerID(${CALLERID})
> 
> or
> 
> exten => 1,1,SetCallerID(Your Name <(555)555->)
> 
> 
> On Fri, 2005-02-11 at 05:45, Martin Roy wrote:
> > How can I change that when there's no Caller ID instead of displaying
> > asterisk it display something like Unknown. Because everyone is confuse
> > when they see a call coming from asterisk.
> >
> > Thanks
> >
> > Martin
> > ___
> > 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
> --
> Derek Whitten <[EMAIL PROTECTED]>
> kFuQ Productions
> 
> 
> ___
> 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-MySQL: Not loading voicemail config fromMySQL

2005-02-11 Thread beonice

--- Matthew Boehm <[EMAIL PROTECTED]> wrote:

> What version of asterisk?
> 
> -Matthew
> 

Asterisk CVS-v1-0-12/12/04-15:58:29 built by
[EMAIL PROTECTED] on a i686 running WhiteBox
Enterprise Linux

By the way, I _have_ created an ast_config db and the
content of my ast_config table is:
++++---++--+--+-+
| id | cat_metric | var_metric | commented | filename 
 | category | var_name | var_val |
++++---++--+--+-+
|  1 |  0 |  0 | 0 |
voicemail.conf | default  |  | |
++++---++--+--+-+

I've also created etc/asterisk/configs/res_odbc.conf
as described in: 

http://voip-info.org/wiki-Asterisk+res_config



My extconfig.conf says:
[settings]

;uncomment to load queues.conf via the db engine.
;queues.conf => odbc

voicemail.conf => odbc


Unfortunately, I'm not sure what values to put in for 
[mysql1]
dsn = MySQL-asterisk
username = myuser
password = mypass
pre-connect = yes
 and for 
[ENV]
VAR=VALUE
 
I suspect this MAY be the problem. :) I'm unable to
guess what to substitute as an appropriate dsn value
and what to put into the [ENV] section.

Thanks,
Maya




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
___
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-MySQL: Not loading voicemail config fromMySQL

2005-02-11 Thread Matthew Boehm
What version of asterisk?

-Matthew

- Original Message - 
From: "beonice" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"

Sent: Friday, February 11, 2005 10:36 AM
Subject: [Asterisk-Users] Asterisk-MySQL: Not loading voicemail config
fromMySQL


> Folks,
>
> I'm trying to get Asterisk to load my voicemail
> configuration from MySQL. I've followed the
> instructions at:
>
> http://www.voip-info.org/wiki-Asterisk+voicemail+database
>
> I restarted Asterisk, but no luck: the voicemail.conf
> does not get updated. I started with a sample
> voicemail.conf that I found on the Wiki. Or was it
> from Voicepulse? I can't remember. For initial
> testing, I added extensions  and 100 in the
> [voicepulse_connect_context] with appropriate settings
> in extensions.conf to direct incoming calls to those
> mailboxes, and that works. I was expecting that after
> I added in the db details, reloading or restarting
> Asterisk would add the new extension from MySQL's
> 'users' table into the voicemail.conf. It doesn't.
>
> As soon as I type  (the beginning of the mailbox
> and also the extension number), I get the message:
>
> *CLI> Feb 11 08:38:38 WARNING[5224]:
> app_voicemail.c:1539 leave_voicemail: No entry in
> voicemail config file for ''
>
> If I add a line for  into my voicemail.conf, all
> works well.
>
> Please help me understand what is going on here!
>
> Thanks,
> Maya.
>
> --- My configuration ---
>
> My 'users' table has 1 row only, for testing purposes:
>
>
+---++--+--+
---+---+++
> | context   | mailbox| password |
> fullname | email | pager | options
> | stamp  |
>
+---++--+--+
---+---+++
> | voicemail_connect_context |    | 1234 |
> Moron Tester | [EMAIL PROTECTED]  |   | attach=yes
> | 00 |
>
+---++--+--+
---+---+++
>
> --
> The appropriate settings from extensions.conf:
>
> [voicepulse_connect_context]  ; <-- Should match the
> context you have
>   ; under [voicepulse-in-01] in
> iax.conf
>
> exten => 100,1,Playback(tt-monkeys)
> exten => 100,2,Record(/tmp/asterisk-recording:gsm)
> ;exten => 100,3,Wait(2)
> exten => 100,3,Playback(/tmp/asterisk-recording)
> ;exten => 100,5,Wait(2)
> exten => ,1,Playback(transfer,skip)
> exten => ,2,VoiceMail,u
> exten => ,102,VoiceMail,b
> exten => ,1,VoiceMail,u
> --
>
> My complete voicemail.conf looks like this:
> ;
> ; Voicemail Configuration
> ;
> [general]
> ; Default formats for writing Voicemail
> ;format=g723sf|wav49|wav
> format=wav49|gsm|wav
> ; Who the e-mail notification should appear to come
> from
> [EMAIL PROTECTED]
> ; Should the email contain the voicemail as an
> attachment
> attach=yes
> ; Maximum length of a voicemail message in seconds
> ;maxmessage=180
> ; Minimum length of a voicemail message in seconds
> ;minmessage=3
> ; Maximum length of greetings in seconds
> ;maxgreet=60
> ; How many miliseconds to skip forward/back when
> rew/ff in message playback
> skipms=3000
> ; How many seconds of silence before we end the
> recording
> maxsilence=10
> ; Silence threshold (what we consider silence, the
> lower, the more sensitive)
> silencethreshold=128
> ; Max number of failed login attempts
> maxlogins=3
> ; If you need to have an external program, i.e.
> /usr/bin/myapp
> ; called when a voicemail is left, delivered, or your
> voicemailbox
> ; is checked, uncomment this:
> ;externnotify=/usr/bin/myapp
> ; If you need to have an external program, i.e.
> /usr/bin/myapp
> ; called when a voicemail password is changed,
> ; uncomment this:
> ;externpass=/usr/bin/myapp
> ; For the directory, you can override the intro file
> if you want
> ;directoryintro=dir-intro
> ; The character set for voicemail messages can be
> specified here
> ;charset=ISO-8859-1
> ; The ADSI feature descriptor number to download to
> ;adsifdn=000F
> ; The ADSI security lock code
> ;adsisec=9BDBF7AC
> ; The ADSI voicemail application version number.
> ;adsiver=1
> ; Skip the "[PBX]:" string from the message title
> pbxskip=yes
> ; Change the From: string
> fromstring=The Asterisk PBX
> ;
> ;Change the From: string for pager messages
> ;pagerfromstring=The Asterisk PBX
> ;
> ; Change the email body and/or subject, variables:
> ; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX,
> VM_CALLERID, VM_DATE
> ;
> ; Note: The emailbody config row can be up to 512
> characters due to a limitation in
> ;   asterisk config files.
> ;emailsubject=New VM (${VM_MSGNUM}) - ${VM_DUR} long
> in mailbox ${VM_MAILBOX} from ${VM_CALLERID}
> emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you
> know you were just lef

Re: [Asterisk-Users] Question about DID

2005-02-11 Thread Matthew Crocker
How are you telling Asterisk to send the call to the fax group?  You 
should have something in extensions.conf like

exten => _4135551234,1,Dial($FAXTRUNKS/${EXTEN})
Asterisk should send the EXTEN down as a DID to the fax server
-Matt
On Feb 11, 2005, at 11:05 AM, Eric Hall wrote:
Hello Group
 I have a Asterisk server running with 2 Digium T1 cards installed. 1 
card connects to Telco via a PRI. The 2nd card is connected to a fax 
server via Digi DataFire RAS 24 PT1 Adapter (Digi0001). The idea is to 
have Asterisk route the calls based on DID or FAX tones. Everything is 
working great so far. The only problem is the Fax server does not see 
the DID. How can I tell if Asterisk it passing the DID and CallerID 
info to the server? I seen this was done with HylaFax.
 
 
Any help would be great!!
 
Here is my configs
  
cat zaptel.conf
#PRI to Telco
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
 
# PRI to Fax server
span=2,0,0,esf,b8zs
bchan=25-47
dchan=48
 
 
zapata.conf
[channels]
context=from-analog
signalling=pri_cpe
switchtype=dms100
group=1
usecallerid=yes
hidecallerid=no
restrictcid=no
usecallingpres=no
useincomingcalleridonzaptransfer=yes
callerid=asreceived
faxdetect=no
musiconhold=default
channel => 1-23
 
context=from-sip-internal
switchtype=dms100
signalling=pri_net
group=2
overlapdial=yes
usecallerid=yes
hidecallerid=no
restrictcid=no
usecallingpres=no
useincomingcalleridonzaptransfer=yes
callerid=asreceived
faxdetect=no
musiconhold=default
 
channel => 25-47

 
___
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] RE:mandrake linux install of zaptel

2005-02-11 Thread Jens Vagelpohl
On Feb 11, 2005, at 16:28, <[EMAIL PROTECTED]> wrote:
Extreme N00b, I am getting the error message "a target does not exist" 
when
running the make install inside the zap directory, probably pretty 
common,
possibly a package I didn't install, just need some insight on it. The 
same
occurs with the libpri and asterisk.
I think everyone would appreciate if...
- you wrote a new mail instead of highjacking an existing thread by 
answering it and replacing the subject line

- you would not keep 5 miles of completely unrelated stuff in your 
email message

- you could provide a better problem description that includes specific 
error messages and message stacks.

Thanks!
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] Asterisk-MySQL: Not loading voicemail config from MySQL

2005-02-11 Thread beonice
Folks,

I'm trying to get Asterisk to load my voicemail
configuration from MySQL. I've followed the
instructions at:

http://www.voip-info.org/wiki-Asterisk+voicemail+database

I restarted Asterisk, but no luck: the voicemail.conf
does not get updated. I started with a sample
voicemail.conf that I found on the Wiki. Or was it
from Voicepulse? I can't remember. For initial
testing, I added extensions  and 100 in the
[voicepulse_connect_context] with appropriate settings
in extensions.conf to direct incoming calls to those
mailboxes, and that works. I was expecting that after
I added in the db details, reloading or restarting
Asterisk would add the new extension from MySQL's
'users' table into the voicemail.conf. It doesn't.

As soon as I type  (the beginning of the mailbox
and also the extension number), I get the message:

*CLI> Feb 11 08:38:38 WARNING[5224]:
app_voicemail.c:1539 leave_voicemail: No entry in
voicemail config file for ''

If I add a line for  into my voicemail.conf, all
works well.

Please help me understand what is going on here!

Thanks,
Maya.

--- My configuration ---

My 'users' table has 1 row only, for testing purposes:

+---++--+--+---+---+++
| context   | mailbox| password |
fullname | email | pager | options   
| stamp  |
+---++--+--+---+---+++
| voicemail_connect_context |    | 1234 |
Moron Tester | [EMAIL PROTECTED]  |   | attach=yes
| 00 |
+---++--+--+---+---+++

--
The appropriate settings from extensions.conf:

[voicepulse_connect_context]  ; <-- Should match the
context you have
  ; under [voicepulse-in-01] in
iax.conf

exten => 100,1,Playback(tt-monkeys)
exten => 100,2,Record(/tmp/asterisk-recording:gsm)
;exten => 100,3,Wait(2)
exten => 100,3,Playback(/tmp/asterisk-recording)
;exten => 100,5,Wait(2)
exten => ,1,Playback(transfer,skip)
exten => ,2,VoiceMail,u
exten => ,102,VoiceMail,b
exten => ,1,VoiceMail,u
--

My complete voicemail.conf looks like this:
;
; Voicemail Configuration
;
[general]
; Default formats for writing Voicemail
;format=g723sf|wav49|wav
format=wav49|gsm|wav
; Who the e-mail notification should appear to come
from
[EMAIL PROTECTED]
; Should the email contain the voicemail as an
attachment
attach=yes
; Maximum length of a voicemail message in seconds
;maxmessage=180
; Minimum length of a voicemail message in seconds
;minmessage=3
; Maximum length of greetings in seconds
;maxgreet=60
; How many miliseconds to skip forward/back when
rew/ff in message playback
skipms=3000
; How many seconds of silence before we end the
recording
maxsilence=10
; Silence threshold (what we consider silence, the
lower, the more sensitive)
silencethreshold=128
; Max number of failed login attempts
maxlogins=3
; If you need to have an external program, i.e.
/usr/bin/myapp
; called when a voicemail is left, delivered, or your
voicemailbox
; is checked, uncomment this:
;externnotify=/usr/bin/myapp
; If you need to have an external program, i.e.
/usr/bin/myapp
; called when a voicemail password is changed,
; uncomment this:
;externpass=/usr/bin/myapp
; For the directory, you can override the intro file
if you want
;directoryintro=dir-intro
; The character set for voicemail messages can be
specified here
;charset=ISO-8859-1
; The ADSI feature descriptor number to download to
;adsifdn=000F
; The ADSI security lock code
;adsisec=9BDBF7AC
; The ADSI voicemail application version number.
;adsiver=1
; Skip the "[PBX]:" string from the message title
pbxskip=yes
; Change the From: string
fromstring=The Asterisk PBX
;
;Change the From: string for pager messages
;pagerfromstring=The Asterisk PBX
;
; Change the email body and/or subject, variables:
; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX,
VM_CALLERID, VM_DATE
;
; Note: The emailbody config row can be up to 512
characters due to a limitation in
;   asterisk config files.
;emailsubject=New VM (${VM_MSGNUM}) - ${VM_DUR} long
in mailbox ${VM_MAILBOX} from ${VM_CALLERID}
emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you
know you were just left a ${VM_DUR} long message
(number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from
${VM_CALLERID}, on ${VM_DATE} so you might\nwant to
check it when you get a chance.  Thanks!
;
; You can override the default program to send e-mail
if you wish, too
;
;mailcmd=/usr/sbin/sendmail -t
;
; Users may be located in different timezones, or may
have different
; message announcements for their introductory message
when they enter
; the voicemail system. Set the message and the
timezone each user
; hears here. Set the user into one of these zones
with the tz= attri

RE: [Asterisk-Users] Menu Selections Only Work Internally

2005-02-11 Thread David J Carter
In your [mainmenu] use the include => context_for_internal_numbers, or at
least the ones you want peaple to call.

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Philip
Siegrist
Sent: 11 February 2005 15:58
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Menu Selections Only Work Internally


yes. it get's to the Menu prompt which is defined under [MainMenu].
The input buttons simply do not work.


On Fri, 11 Feb 2005 09:06:26 -0600, Jay Milk <[EMAIL PROTECTED]> wrote:
> Does your incoming context include the MainMenu?
>
> > -Original Message-
> > From: Philip Siegrist [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 11, 2005 8:17 AM
> > To: Asterisk-Users@lists.digium.com
> > Subject: [Asterisk-Users] Menu Selections Only Work Internally
> >
> >
> > All,
> >
> > Funny problem. During my greating, the menu selections only
> > work if one calls from an internal sip line.  The greating
> > plays for all including calls over the t1. But pressing 9 for
> > directory or any other mapped button will only work if I call
> > from inside. If I arrive to the menu from an outside line SIP
> > or POTS pressing the button does nothing. Any ideas?
> >
> > extensions.conf
> >
> > <--
> > [MainMenu]
> > exten=>s,1,Answer
> > exten=>s,2,Wait(1)
> > exten=>s,3,Background(main-menu)
> > exten=>_3XX,1,Goto(sip,${EXTEN},1)
> > exten=>0,1,Goto(sip,301,1)
> >
> > [sip]
> > ;Main Number
> > exten => 300,1,Goto(MainMenu,s,1)
> > -->
>
> ___
> 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] Caller ID

2005-02-11 Thread Derek Whitten

http://voip-info.org/tiki-index.php?page=Asterisk%20cmd%20SetCallerID

http://voip-info.org/wiki-Asterisk+cmd+SetCIDName

http://voip-info.org/wiki-Asterisk+cmd+SetCIDNum


example:

exten => 1,1,SetCallerID(${CALLERID})

or

exten => 1,1,SetCallerID(Your Name <(555)555->)



On Fri, 2005-02-11 at 05:45, Martin Roy wrote:
> How can I change that when there's no Caller ID instead of displaying 
> asterisk it display something like Unknown. Because everyone is confuse 
> when they see a call coming from asterisk.
> 
> Thanks
> 
> Martin
> ___
> 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
-- 
Derek Whitten <[EMAIL PROTECTED]>
kFuQ Productions


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

2005-02-11 Thread Steve Dolloff









We use a product from oriontelecom.com. 
The interface is rough, but we have not had a single problem since putting this
in.



Stephen Dolloff

DLS Internet Services

847-854-4799 x256

[EMAIL PROTECTED]



 



-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Cook
Sent: Wednesday, February 09, 2005
5:11 PM
To:
asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Echo
Cancellation

 



Can anyone provide a good manufacturer of echo cancellation
equipment for a PRI?





 



--

Richard Cook

[EMAIL PROTECTED]

T: 705-497-9320 x2010

 

 








<>___
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] Question about DID

2005-02-11 Thread Eric Hall



Hello 
Group
 I have a 
Asterisk server running with 2 Digium T1 cards installed. 1 card connects to 
Telco via a PRI. The 2nd card is connected to a fax server via Digi DataFire RAS 
24 PT1 Adapter (Digi0001). The idea is to have Asterisk route the calls based on 
DID or FAX tones. Everything is working great so far. The only problem is the 
Fax server does not see the DID. How can I tell if Asterisk it passing the DID 
and CallerID info to the server? I seen this was done with 
HylaFax.
 
 
Any help would be 
great!!
 
Here is my configs 

 
cat 
zaptel.conf#PRI to Telco
span=1,1,0,esf,b8zsbchan=1-23dchan=24
 
# PRI to Fax 
serverspan=2,0,0,esf,b8zsbchan=25-47dchan=48
 
 
zapata.conf[channels]context=from-analogsignalling=pri_cpeswitchtype=dms100group=1usecallerid=yeshidecallerid=norestrictcid=nousecallingpres=nouseincomingcalleridonzaptransfer=yescallerid=asreceivedfaxdetect=nomusiconhold=defaultchannel 
=> 1-23
 
context=from-sip-internalswitchtype=dms100signalling=pri_netgroup=2overlapdial=yesusecallerid=yeshidecallerid=norestrictcid=nousecallingpres=nouseincomingcalleridonzaptransfer=yescallerid=asreceivedfaxdetect=nomusiconhold=default
 
channel => 
25-47
 
___
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] Menu Selections Only Work Internally

2005-02-11 Thread Moody
Sounds like maybe the wrong DTMF setting ?


On Fri, 11 Feb 2005 10:57:38 -0500, Philip Siegrist <[EMAIL PROTECTED]> wrote:
> yes. it get's to the Menu prompt which is defined under [MainMenu].
> The input buttons simply do not work.
> 
> 
> On Fri, 11 Feb 2005 09:06:26 -0600, Jay Milk <[EMAIL PROTECTED]> wrote:
> > Does your incoming context include the MainMenu?
> >
> > > -Original Message-
> > > From: Philip Siegrist [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, February 11, 2005 8:17 AM
> > > To: Asterisk-Users@lists.digium.com
> > > Subject: [Asterisk-Users] Menu Selections Only Work Internally
> > >
> > >
> > > All,
> > >
> > > Funny problem. During my greating, the menu selections only
> > > work if one calls from an internal sip line.  The greating
> > > plays for all including calls over the t1. But pressing 9 for
> > > directory or any other mapped button will only work if I call
> > > from inside. If I arrive to the menu from an outside line SIP
> > > or POTS pressing the button does nothing. Any ideas?
> > >
> > > extensions.conf
> > >
> > > <--
> > > [MainMenu]
> > > exten=>s,1,Answer
> > > exten=>s,2,Wait(1)
> > > exten=>s,3,Background(main-menu)
> > > exten=>_3XX,1,Goto(sip,${EXTEN},1)
> > > exten=>0,1,Goto(sip,301,1)
> > >
> > > [sip]
> > > ;Main Number
> > > exten => 300,1,Goto(MainMenu,s,1)
> > > -->
> >
> > ___
> > 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] Re: asterisk@home scary log {Scanned}

2005-02-11 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] uses the CentOS default sendmail config
that does not forward mail.

--- David Shaw <[EMAIL PROTECTED]> wrote:

> Cat your maillog. Grep out the msg ID.
> 
> cat /var/log/maillog | grep j1A1U7Q1010071
> 
> 
> j1A1U7Q1010071 is the [EMAIL PROTECTED]
> 
> j1A1U7mf010088 is email from root to???
> 
> Have you checked root's email??
> 
> Your might want to edit 
> /etc/aliases and forward root: [EMAIL PROTECTED]
> 
> Also check sendmail deamon ports.
> cat /etc/mail/sendmail.cf | grep DaemonPortOptions
> 
> This mains only 127.0.0.1 can relay.
> O DaemonPortOptions=Port=smtp,Addr=127.0.0.1,
> Name=MTA
> 
> Good luck, David
> 
> 
> 
> 
> On Thu, 2005-02-10 at 17:53 +0100, Bruno Hertz
> wrote:
> > On Thu, 2005-02-10 at 11:09 -0500, Jason Stewart
> wrote:
> > 
> > > There's a chance that you may have been hacked,
> but the logs you post
> > > look more like your mailserver is an open relay.
> > 
> > You sure? I run postfix myself and am not
> proficient in analyzing
> > sendmail logs, but looking at those lines
> > 
> > Feb  9 20:30:07 asterisk1 sendmail[10088]:
> j1A1U7mf010088:
> > from=<[EMAIL PROTECTED]>, size=329, class=0,
> nrcpts=1,
> >
> msgid=<[EMAIL PROTECTED]>,
> proto=ESMTP,
> > daemon=MTA, relay=asterisk1.local [127.0.0.1]
> > Feb  9 20:30:07 asterisk1 sendmail[10071]:
> j1A1U7Q1010071:
> > [EMAIL PROTECTED], ctladdr=root (0/0),
> delay=00:00:00,
> > xdelay=00:00:00, mailer=relay, pri=30049,
> relay=[127.0.0.1]
> > [127.0.0.1], dsn=2.0.0, stat=Sent (j1A1U7mf010088
> Message accepted for
> > delivery)
> > 
> > 
> > I find the relay (accepting host) is 127.0.0.1.
> So, even if ignoring
> > the envelope 'from', there seems to be no doubt
> which host this mail was
> > sent from.
> > 
> > Regards, Bruno.
> > 
> > 
> > 
> > ___
> > 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
> > 
> -- 
> David Shaw <[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
> 




__ 
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


RE: [Asterisk-Users] No dialtone in a E1

2005-02-11 Thread Marco Castillo
Thank you Peter, how can I add the options to Dial to generate ringback???
do you have an example???
By the way, it is a PRI E1, with 30 bchannels and 1 dchannel. For a little
background, I'm intending to replace my actual PBX with Asterisk, and
everything is just working fine, until yesterday when I realized that when a
call was made from some external lines, this lines didn't receive a
dialtone. For this reason, I began to make some exhaustive test cases, and
began to make calls from distinct providers to my E1. In all this testing I
received a dialtone, except for a GSM cellular phone from a specific Telco.
I tested some others GSM cellulars from the same Telco, and got always the
same functionality, they didn't receive a dialtone. I think that if Asterisk
can generate a ringback, this is going to solve all my problems with this
little issue.
Thank you in advance Peter for your help.

Marco

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter
Svensson
Sent: Thursday, February 10, 2005 6:10 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] No dialtone in a E1


On Thu, 10 Feb 2005, Marco Castillo wrote:

> Hi, I'm having a little problem when trying to make a call from asterisk.
I
> connect a SIP phone to asterisk, and in the asterisk box I have a TE110P
> card connected to a E1. When a SIP client makes a call through the E1, I
> received no dialtone in the SIP client.
> In the same manner, when somebody from the POTS network makes a call to a
> SIP client (through * and the E1) he doesn't receive the apropiate tone of
> call progress. Does anyone has some ideas about this?

Are you talking about an ISDN E1 or another form of E1?

On isdn dialtone is an optional feature of the specification and there are
many implementations of isdn. I think it is mandatory on EuroISDN. Since
asterisk normally generates the dialtone itself there should be little
nead for the dialtone from the pstn. We use the dialtone from the network
ourselves, but asterisk could provide it as well.

In band call progress is also a feature of the net on isdn. If the net
does not provide it you will have to do so yourself. Just add the proper
options to Dial to generate ringback and if the call fails you generate
the matching sound (Busy etc).

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 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] Menu Selections Only Work Internally

2005-02-11 Thread Philip Siegrist
yes. it get's to the Menu prompt which is defined under [MainMenu].
The input buttons simply do not work.


On Fri, 11 Feb 2005 09:06:26 -0600, Jay Milk <[EMAIL PROTECTED]> wrote:
> Does your incoming context include the MainMenu?
> 
> > -Original Message-
> > From: Philip Siegrist [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 11, 2005 8:17 AM
> > To: Asterisk-Users@lists.digium.com
> > Subject: [Asterisk-Users] Menu Selections Only Work Internally
> >
> >
> > All,
> >
> > Funny problem. During my greating, the menu selections only
> > work if one calls from an internal sip line.  The greating
> > plays for all including calls over the t1. But pressing 9 for
> > directory or any other mapped button will only work if I call
> > from inside. If I arrive to the menu from an outside line SIP
> > or POTS pressing the button does nothing. Any ideas?
> >
> > extensions.conf
> >
> > <--
> > [MainMenu]
> > exten=>s,1,Answer
> > exten=>s,2,Wait(1)
> > exten=>s,3,Background(main-menu)
> > exten=>_3XX,1,Goto(sip,${EXTEN},1)
> > exten=>0,1,Goto(sip,301,1)
> >
> > [sip]
> > ;Main Number
> > exten => 300,1,Goto(MainMenu,s,1)
> > -->
> 
> ___
> 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 scary log

2005-02-11 Thread [EMAIL PROTECTED]
Sorry about this. The new verison of [EMAIL PROTECTED] has
a message in the install docs warning users to set
thier root passwords.

--- Jean-Louis curty <[EMAIL PROTECTED]> wrote:

> Hi everybody,
> 
> I'm testing [EMAIL PROTECTED] 0.4, 
> looks great so far 
> 
> I was working when I have been alerted by a bip
> comming from the * pc...
> 
> I connected a screen to it and saw that there was a
> message which looked like :
> 
> 
> Message from [EMAIL PROTECTED] at Thu Feb 10
> 09:01:00 2005 ...
> asterisk1
> 
> 
> 
> so I stopped asterisk, type mail and got a strange
> mail saying that
> user [EMAIL PROTECTED] could not be reached and body
> was like if it was
> the result of commands ifconfig etc
> 
> unfortunally I don't have the message anymore but I
> went to the log
> 
> and saw this 
> Feb  9 20:30:07 asterisk1 sendmail[10088]:
> j1A1U7mf010088:
> from=<[EMAIL PROTECTED]>, size=329, class=0,
> nrcpts=1,
> msgid=<[EMAIL PROTECTED]>,
> proto=ESMTP,
> daemon=MTA, relay=asterisk1.local [127.0.0.1]
> Feb  9 20:30:07 asterisk1 sendmail[10071]:
> j1A1U7Q1010071:
> [EMAIL PROTECTED], ctladdr=root (0/0),
> delay=00:00:00,
> xdelay=00:00:00, mailer=relay, pri=30049,
> relay=[127.0.0.1]
> [127.0.0.1], dsn=2.0.0, stat=Sent (j1A1U7mf010088
> Message accepted for
> delivery)
> Feb  9 20:30:07 asterisk1 sendmail[10077]:
> j1A1U7CY010077:
> [EMAIL PROTECTED], ctladdr=root (0/0),
> delay=00:00:00,
> xdelay=00:00:00, mailer=relay, pri=30068,
> relay=[127.0.0.1]
> [127.0.0.1], dsn=2.0.0, stat=Sent (j1A1U7Ns010089
> Message accepted for
> delivery)
> Feb  9 20:30:17 asterisk1 sendmail[10094]:
> j1A1U7Ns010089:
> to=<[EMAIL PROTECTED]>,
> ctladdr=<[EMAIL PROTECTED]> (0/0),
> delay=00:00:10, xdelay=00:00:10, mailer=esmtp,
> pri=30348,
> relay=gsmtp171.google.com. [64.233.171.27],
> dsn=2.0.0, stat=Sent (OK
> 1107998984)
> Feb  9 20:30:17 asterisk1 sendmail[10093]:
> j1A1U7mf010088:
> to=<[EMAIL PROTECTED]>,
> ctladdr=<[EMAIL PROTECTED]> (0/0),
> delay=00:00:10, xdelay=00:00:10, mailer=esmtp,
> pri=30329,
> relay=gsmtp171.google.com. [64.233.171.27],
> dsn=2.0.0, stat=Sent (OK
> 1107998984)
> 
> 
> the thing is i did not send any message to
> [EMAIL PROTECTED] nor to
> somebody at yahoo,
> 
> 
> anybody got the same ? what can I do ??
> 
> thanks 
> jl
> ___
> 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
> 




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
___
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] Is there a Caller ID issue in the latest CVSStable

2005-02-11 Thread Chris Wade
Kevin P. Fleming wrote:
Chris Wade wrote:
If you check out 1.0.5 from CVS right now, you'll get 1.0.5 + the 
changes that will be part of 1.0.6.  The are two ways to get 1.0.5 as 
it was released back on XYZ date, first is to download one of the 
1.0.5 tarballs, the other is to download the CVS 1.0.5 telling CVS to 
pull the source AS OF that XYZ date.

No, that is _not_ correct.
If you do a CVS checkout and specify "v1-0", you will get the _current 
1.0 branch_. This means you will get the latest 1.0 stable official 
release, plus any changes that have been made since then but not 
released yet.

If you do a CVS checkout and specify "v1-0-5", you will _always_ get 
1.0.5, regardless of any changes that have been made since then.

There is never any need to tell CVS to pull by date unless you are 
trying to track down a particular problem; that is why the CVS tree is 
"tagged" with these branch/tag identifiers.
I stand corrected, sorry for the mis-information.
-Chris
___
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] Codec passthrough patch for IAX

2005-02-11 Thread Michael Giagnocavo
I have it running on my server now for a day and seems to be working fine. 

-Michael

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jay Milk
Sent: Friday, February 11, 2005 9:06 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Codec passthrough patch for IAX

Hmm... What's the status of this?  This would allow me to declare one of
my incoming DIDs a fax-number by forcing it to use ulaw.

> -Original Message-
> From: Michael Giagnocavo [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 10, 2005 5:30 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: [Asterisk-Users] Codec passthrough patch for IAX
> 
> 
> Hi there,
> 
>   I had a problem, basically, I have 4 different types of 
> end users (gsm, ilbc, g729, ulaw). However, I only have one 
> user with my DID provider. My provider supports all 4 codecs. 
> The issue is then: When an incoming call comes in, a codec is 
> negotiated (usually ULAW), later on, when the extension is 
> dialed, we'll see we're doing GSM, and thus transcode. Here's 
> an example
> dialplan:
> 
> [incoming]
> exten => 123,1,Dial(IAX2/gsmUser)
> exten => 456,2,Dial(IAX2/ilbcUser)
> exten => 789,3,Dial(IAX2/g729User)
> 
>   You're pretty much forced to accept ULAW, and then 
> transcode. Not fun if your provider does it for you (that's 
> what you pay them for, right?).
> 
> So, with this patch, just add a new config file.
> codec_passthrough.conf:
> [iax_my-did-provider]
> 123=gsm
> 456=ilbc
> 789=g729
> 
>   Now, when an incoming call comes in, the user/extension 
> will be found, and your preferred codec changed. No more transcoding. 
> 
http://bugs.digium.com/bug_view_page.php?bug_id=0003553

My main question is: Can this be done without this patch? I've
heard it's impossible, and it sure seems that way. Any suggestions?


___
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] Searchable Mailing Lists & NooB Question

2005-02-11 Thread Bruno Hertz
On Thu, 2005-02-10 at 21:44 -0600, Steven Critchfield wrote:

> So you probably want to still turn off the
> webserver and jabber server, they would be better off coloed anyways and
> there are a lot of cheap colo places for non critical hosting. 

As a sidenote, you can also set up traffic shaping to prioritize
particular traffic/ports. I.e. if it's OK for you to starve web and
jabber clients during voip calls, you can still run those servers
without impairing your voice streams.

Regards, Bruno.



___
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] Is there a Caller ID issue in the latest CVSStable

2005-02-11 Thread Mark Eissler
I'm confused about the part that you can check out a stable version 
after 1.0.5.

IMHO if you check out what is tagged as 1.0.5 at any time then you 
should get exactly what is in the 1.0.5 tarball. If you check out head 
then you should get all of the latest stuff in CVS which may or may not 
build cleanly (and may segfault or whatever). If you could check out 
1.0.6-rc1 (release candidate 1) or something like that you would get 
everything after 1.0.5 that may or may not build properly but is no 
longer a moving target (features have been frozen).

It just doesn't make sense to me that there would be a 1.0.5 that has 
changed since 1.0.5 was released unless you tag it 1.0.5.1 (or 
something). I mean, why even bother trying to constantly maintain a new 
stable version without having a formal release? 1.0.5 is what it is 
with whatever bugs it came with upon release.

Obviously, just my opinion on "How things should work!". ;-)
-mark
On Feb 11, 2005, at 10:06 AM, Chris Wade wrote:
It basically works out that CVS *is always a moving target*, tarballs 
are the only things that don't change.  Make sense?

-Chris
--
Mark Eissler, [EMAIL PROTECTED]
Mixtur Interactive, Inc. [EMAIL PROTECTED] http://www.mixtur.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


[Asterisk-Users] RE:mandrake linux install of zaptel

2005-02-11 Thread jnovak
Extreme N00b, I am getting the error message "a target does not exist" when
running the make install inside the zap directory, probably pretty common,
possibly a package I didn't install, just need some insight on it. The same
occurs with the libpri and asterisk.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 1:37 AM
To: asterisk-users@lists.digium.com
Subject: Asterisk-Users Digest, Vol 7, Issue 168


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

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

You can reach the person managing the list at
[EMAIL PROTECTED]

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


Today's Topics:

   1. Re: Searchable Mailing Lists & NooB Question (Rich Adamson)
   2. RE: TelIAX troubles (Scott Bussinger)
   3. Re: Asterisk not acceptingmultiple SIP phone logins (Juki)
   4. Re: Asterisk not accepting multiple SIP phone logins (Juki)
   5. RE: dtmfmode and IAX protocol (Rich Adamson)
   6. RE: dtmfmode and IAX protocol (Michael Giagnocavo)
   7. Re: Why echo occurs (Rich Adamson)
   8. RE: dtmfmode and IAX protocol (Rich Adamson)
   9. Re: Why echo occurs (Steven Critchfield)
  10. RE: Searchable Mailing Lists & NooB Question (Ed Guy)
  11. Re: Why echo occurs (Steve Underwood)
  12. Re: Why echo occurs (Steven Critchfield)
  13. RE: Zombie SIP channels (Florian Overkamp)
  14. Re: Why echo occurs (Steve Underwood)


--

Message: 1
Date: Thu, 10 Feb 2005 23:32:01 -0600
From: Rich Adamson <[EMAIL PROTECTED]>
Subject: Re: [Asterisk-Users] Searchable Mailing Lists & NooB Question
To: Asterisk Users Mailing List - Non-Commercial Discussion

Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1

Looks like your numbers add the transmit and receive data rates together,
which is not a realistic way to discuss bandwidth consumption. An IAX
link consumes about 22kb/s (round it to 30kb/s, who cares) in the transmit
direction, and another 22kb/s in the receive direction. (There's your
60kb/s.)

When comparing my numbers to things like 256,000 bits/sec of DSL
bandwidth, you truly are comparing apples to apples. So, if you
could orchestrate all IAX calls to be just exactly perfect across the
256,000 bits/sec DSL bandwidth, that DSL circuit could supposedly
handle about eight simultanous gsm calls (256,000 divided by 30,000).
However, there are lots of other real world issues that would preclude
it from actually supporting anything close to eight calls. Four to
six might be realistic if nothing else is using the DSL circuit.


> >
> >
> >Very rough numbers: iax-gsm consumes about 22kb/s,
> >
>
> I see about 60kb/s
>
> > g711 about 80kb/s on
> >
> >
> I see 155kb/s
>
> Is that normal? This is an IAX link to voicepulse. I see all these lower
> numbers posted around but fail to see that on my connections. Using G711,
> Its only possible to have one connection at anytime, do to my upload
> capped at 256kb/s. So I use GSM, sounds fine anyway. Just wondering about
> the numbers.
>
>
> Dan
>
> >same link unless you can set up QoS, etc.
> >
> >Lots of good info on the wiki ( www.voip-info.org ) for reference.
> >
> >
> >___
> >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

---End of Original Message-




--

Message: 2
Date: Thu, 10 Feb 2005 21:44:05 -0800
From: "Scott Bussinger" <[EMAIL PROTECTED]>
Subject: RE: [Asterisk-Users] TelIAX troubles
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"

Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="us-ascii"

We're just getting our Asterisk server setup with TelIAX and it's working
fine. I did have to play with settings a bit. Basically I just used the
setting they recommended instead of the generic settings I started with.

Here are the significant settings we're using in IAX.CONF:

[general]
disallow=all
allow=gsm
register=username:[EMAIL PROTECTED]

[teliax]
type=friend
context=tollfree
host=voip.teliax.com
auth=md5
secret=password

Good Luck!




---

Re: [Asterisk-Users] Is there a Caller ID issue in the latest CVSStable

2005-02-11 Thread Kevin P. Fleming
Chris Wade wrote:
If you check out 1.0.5 from CVS right now, you'll get 1.0.5 + the 
changes that will be part of 1.0.6.  The are two ways to get 1.0.5 as it 
was released back on XYZ date, first is to download one of the 1.0.5 
tarballs, the other is to download the CVS 1.0.5 telling CVS to pull the 
source AS OF that XYZ date.
No, that is _not_ correct.
If you do a CVS checkout and specify "v1-0", you will get the _current 
1.0 branch_. This means you will get the latest 1.0 stable official 
release, plus any changes that have been made since then but not 
released yet.

If you do a CVS checkout and specify "v1-0-5", you will _always_ get 
1.0.5, regardless of any changes that have been made since then.

There is never any need to tell CVS to pull by date unless you are 
trying to track down a particular problem; that is why the CVS tree is 
"tagged" with these branch/tag identifiers.
___
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] Is there a Caller ID issue in the latest CVSStable

2005-02-11 Thread Chris Wade
Chris Wade wrote:
Anything that comes out of CVS always incorporates recent changes.

It basically works out that CVS *is always a moving target*, tarballs 
are the only things that don't change.  Make sense?
Please be aware, these statements are intentional generalities, there 
are exceptions to every rule.

-Chris
___
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] Multiple SIP registrations for one account?

2005-02-11 Thread Kevin P. Fleming
Philipp von Klitzing wrote:
U sure? What for example if later on the SIP device forwards the call 
(note: not using #) and itself steps out of the line?
That has nothing to with "canreinvite=yes". Setting "canreinvite=no" 
does _not_ in any way restrict the ability of the SIP peer to 
redirect/forward or otherwise manipulate the call. It has only one 
effect: it stops Asterisk from trying to send the media directly to that 
peer.

Realistically, the name of this option is completely and utterly wrong. 
I've suggested changing it, but been told "no, it's OK". In my mind, 
it's not OK, but oh well...
___
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   >