Re: [asterisk-users] auto load error in asterisk cli

2007-04-24 Thread Tzafrir Cohen
On Mon, Apr 23, 2007 at 09:33:13PM -0400, Eric Kosten wrote:
 Hello list.  My name is Eric Kosten, and I am new to Linux and asterisk  As
 a new user of asterisk and Linux I an having problems to some that might
 seem small, but these problems are such that I am not sure ware to look!
I managed to take care of some ownership issues, e.g. sip.conf and
 var/log/asterisk were not part of the asterisk user group.  If asterisk
 starts automatically, when I connect to the console the following happens:
 
 WARNING[2683]: db.c:67 dbinit: Unable to open Asterisk database
 
 if I shut asterisk down gracefully and then start it again, things run fine!
 Which database do I need to look for permissions on?  Are these permissions
 user, group or is this a case of this database not belonging to the asterisk
 group?

The Asterisk database is a Berekeley DB file which is normally in
/var/lib/asterisk/astdb .
Asterisk will try to create it if it does not exist.

 
 If autoloaded, I do not connect with vitelity which is my ip provider for
 voip service.
 I have googled the error part:
 
 Unable to open Asterisk database
 
 This is how I came to my conclusion of this possibly being a permissions or
 group membership issue.

Right.

If you still have problems, it wuld also help to state:

* Version of Asterisk you use
* Linux distribution

And in you case, also:  

  ls -al /var/lib/asterisk

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Request for Configration details

2007-04-24 Thread prasad sathya

Hai all,

Iam a newbie to Asterisk.
I want to configure my Asterisk thru Command Line Interface to connect
two internal extensions and two external numbers and calls should
occur between any of the two numbers. Can anybody kindly send me the
configyration details for

extensions.conf anf sip.conf file.. and if anything else needed to
serve my purpose.
Iam in a great need of this
A reply word helps me a lot
Kindly send ur replies to [EMAIL PROTECTED]

Thanks
Prasad
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Purchasing a Sangoma A102 - should I get thehw echo cancellation or not?

2007-04-24 Thread Eric \ManxPower\ Wieling

Rob Townley wrote:

A salesman told me that there are scenarios (analog vs T1 trunk lines)
where echo cancellation will make things worse.  Can anybody clear
that up?


Did the sales person say exactly what is worse than having echo?
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Request for Configration details

2007-04-24 Thread Tzafrir Cohen
On Tue, Apr 24, 2007 at 11:44:18AM +0530, prasad sathya wrote:
 Hai all,
 
 Iam a newbie to Asterisk.
 I want to configure my Asterisk thru Command Line Interface to connect
 two internal extensions and two external numbers and calls should
 occur between any of the two numbers. Can anybody kindly send me the
 configyration details for
 
 extensions.conf anf sip.conf file.. and if anything else needed to
 serve my purpose.
 Iam in a great need of this
 A reply word helps me a lot

What version of Asterisk do you use? What type of external numbers?

What phones do you have? What extra hardware do you have?

One place to look at is http://voip-info.org/wiki/view/Asterisk
(one link away from http://voip-info.org/ )

 Kindly send ur replies to [EMAIL PROTECTED]

You asked a question on the mailing list, and thus replies go to the
mailing list. While we want to help you as an Asterisk user (and
hopefully a future contributer), we also want to contribute to the
general knowledge pool [*].

[*] One of the IRC channels I happen to be in right now has the
following in its topic:

  He who asks a question is a fool for a minute; he who doesn't ask is a
  fool for a lifetime -- share the gained knowledge on the Wiki, and
  we'll forget about the minute ;)

   Local value for $WIKI: http://ovip-info.org/

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] SIP devices with packet loss tolerance

2007-04-24 Thread Eric \ManxPower\ Wieling



Hoping someone might have experience with poorly-performing net connections and 
which devices work best over them.


One of our clients has a number of employees that work from home, and are given a SIP phone to take with them and hook up to their broadband. For the most part, this works fine, but 
there are an increasing number where sound quality is poor (chops in and out, generally only noticeable to the listener at the other end, not the employee). Logic suggests it's an upstream 
bandwidth issue, so we asked them to try when all other devices were turned off (to cut out the kids using bitTorrent issues), but even with the phone the only device, call quality was still 
poor.


Since the connections aren't paid for by the client, we aren't in a position to mandate particular providers or speeds, but in each case, the minimum was a 1mb/256k up ADSL. We asked 
the employees to run some speed tests to determine real-world speeds, and in each case upstream was around 220-235k (a little off the official speed but not bad). Certainly way more 
than the ~35kbps necessary for a g729 call, even with packet overheads.


PSTN - Asterisk - Internet - SIP Phone.

If the person on the PSTN side is having audio quality problems then the 
issue is not with the jitter buffer on the phone.  The problem in this 
case is the jitter buffer in Asterisk.  SIP is a signalling protocol. 
Audio is sent using the RTP protocol.  In versions of Asterisk before 
1.4 there was no RTP jitter buffer in Asterisk.


Lack of an RTP jitter buffer in Asteirsk is why none of my clients have 
deployed phones off the corporate network.


If the person on the SIP phone side is having audio problems (not the 
case if I read your message correctly) then you have to look at the 
jitter buffer settings on the phone.


Remember jitter buffers (and QoS actually) is only applied to and is 
only effective for INCOMING traffic.


Yes, applying QoS to the outbound traffic of the internal interface of 
your router can give the illusion of limited QoS.  This happens because 
of the nature of TCP and will do nothing for non-TCP traffic.


Jitter is not the packet latency, but of the VARIANCE in latency.  Also, 
dejittering audio requires buffering and this buffering adds to the 
audio latency.  If you had a jitter buffer that could handle 3000ms of 
jitter (on a HughesNet satellite connection, for example) your audio 
would generally be great, the tradeoff is that you have just added 3 
seconds of latency to your audio and in anyone's book that sucks.

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Re: voip-info.org (was: Request for Configration details)

2007-04-24 Thread Per Jessen
Tzafrir Cohen wrote:

 
Local value for $WIKI: http://ovip-info.org/

I'm sure ytou meant voip-info.org :-)

BTW, I tried registering a userid for the wiki, but was rejected as my
mail-server uses greylisting  (the registration procedure does some
kind of probe to check for a valid email address).  Do we have anyone
from voip-info.org listening in here? 


/Per Jessen, Zürich

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] help please

2007-04-24 Thread Josu Lazkano Lete
hello, I have a A400P01 PCI from OpenVox.

I have installed some extension and a VoipBuste account to callo out of my LAN.

How can I receive and send calls from a nd to outside by my analog line???

I want to receive dthe calls from 20100 extension.

Here you have my config files, thanks for all.

zaptel.conf
Description: Binary data


extensions.conf
Description: Binary data


sip.conf
Description: Binary data


zapata.conf
Description: Binary data
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] ast 1.2.x - cisco 7970 behind nat to external asterisk with no nat

2007-04-24 Thread Matt Gibson

Hi All,

As the subject describes, has anyone gotten this to work? I am running
an asterisk 1.2.16 server, and am trying to register my cisco 7970
remotely to it, but it just won't go.

I am running 1.4.2 internally and the phone registers fine to it. I'm
using the latest firmware (i think) - 8.2.1S

On the server in question I have tried the following for the sip declaration:

qualify=never
nat=no (yes)
defaultip=(natip)(externalip)
md5secret=md5pass
or
secret=secret

Nothing seems to work, and I continually get sip 401 unauthorized
messages on the console when the phone tries to register.

I've spent a number of hours on this googling and searching for anyone
working with 1.2 and 7970's, but I can't find any information. Any
help would be much appreciated.

Scenario:

cisco 7970 - switch - pfsense/soekris/nat - cable modem - remote pbx

Local firewall has port forwarding on for 5060 tcp/udp to my internal
* box, and also for UDP 1-3 port forwarded to local * box as
well. Is there anything else I can try?

Thanks,
Matt
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Asterisk dialing next extension only if first is busy?

2007-04-24 Thread Robert Lister
On Mon, Apr 23, 2007 at 11:11:48AM -0500, Carlos Chavez wrote:

  Using two sequential Dial() commands into the extension will ring the
  lines one after the other -- even if it times out on the first line,
  which is again not what I want.
  
  
   I find that the easiest way to do it is like this:
 
 1,1,Dial(SIP/line1)
 1,2,Dial(SIP/line2)
 
   Than way if the first like fails for any reason it goes to the second.
 You could use Dialstatus but this seems simpler.

Not necessarily. If the handsets have call waiting or divert enabled for 
example it will go to the first dial instance and not fail through to the 
second. This may or may not be the desired behaviour depending on what 
you want to happen, of course.

Rob

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Asterisk Problem

2007-04-24 Thread Marysuba . Dharmaiyan
Hi,
I had downloaded the source code of Asterisk from Digium Server. 
 ftp://ftp.digium.com 

And i had also downloaded cygwin environment from http://www.cygwin.com. 

I had followed the instruction available in readme.txt in the patch file. 

Everything is properly patched and the make  command is working fine but 
make install command is not working. 

 + Asterisk Installation Complete ---+
 +   +
 +YOU MUST READ THE SECURITY DOCUMENT+
 +   +
 + Asterisk has successfully been installed. +
 + If you would like to install the sample   +
 + configuration files (overwriting any  +
 + existing config files), run:  +
 +   +
 +   make samples+
 +   +
 +-  or -+
 +   +
 + You can go ahead and install the asterisk +
+ program documentation now or later run:   +
 +   +
 +  make progdocs+
 +   +
 + **Note** This requires that you have  +
 + doxygen installed on your local system+
 +---+

 WARNING WARNING WARNING

 Your Asterisk modules directory, located at
 /asterisk/modules
 contains modules that were not installed by this
version of Asterisk. Please ensure that these
 modules are compatible with this version before
 attempting to run Asterisk.

chan_capi.so
  chan_celliax.so
  chan_tapi.so

WARNING WARNING WARNING

And Asterisk.exe, AsteriskWin32.exe and Asterisk.dll file is also created 
in /usr/src/asterisk directory. 

When i tried to open AsteriskWin32.exe it is showing some failed message. 
And when i try to asterisk.exe file.it is showing the following NOTICE and 
WARNINGS
And the Asterisk gets stopped.


[EMAIL PROTECTED] /usr/src/asterisk-1.2.14
$ ./asterisk

Asterisk module loaded successfully
Asterisk entry point foundApr 24 11:49:44 NOTICE[3756]: cdr.c:1195 
do_reload: CDR simple logging enabled.
Apr 24 11:49:44 WARNING[3756]: loader.c:326 __load_resource: No 
such file or directory
Apr 24 11:49:44 WARNING[3756]: loader.c:555 load_modules: Loading 
module res_features.so failed!

Apr 24 11:49:44 WARNING[3756]: res_musichold.c:525 monmp3thread: 
UNable to spawn mp3player

Asterisk stopped.


Will you please guide me how to proceed further. 


Thanks  Regards, 
Mary. 


This communication contains information, which is confidential and may also be 
privileged. It is for the exclusive use of the intended recipient(s). If you 
are not the intended recipient(s), please note that any distribution, printing, 
copying or use of this communication or the information in it is strictly 
prohibited. If you have received this communication in error, please notify the 
sender immediately and then destroy any copies of it.
Thank you.
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] help please

2007-04-24 Thread Josu Lazkano Lete
hello, I have a A400P01 PCI from OpenVox.

I have installed some extension and a VoipBuste account to callo out of my LAN.

How can I receive and send calls from a nd to outside by my analog line???

I want to receive dthe calls from 20100 extension.

Here you have my config files, thanks for all.

asterisk.rar
Description: Binary data
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] help please

2007-04-24 Thread Josu Lazkano Lete
hello, I have a A400P01 PCI from OpenVox.

I have installed some extension and a VoipBuste account to callo out of my LAN.

How can I receive and send calls from a nd to outside by my analog line???

I want to receive dthe calls from 20100 extension.

Here you have my config files, thanks for all.fxsks=1
loadzone=es
defaultzone=es[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

[miprimerejemplo]
exten = 2,1,Dial(SIP/2,30,Ttm)
exten = 2,2,Hangup
exten = 2,102,Voicemail(2)
exten = 2,103,Hangup

exten = 20100,1,Dial(SIP/20100,30,Ttm)
exten = 20100,2,Hangup
exten = 20100,102,Voicemail(20100)
exten = 20100,103,Hangup

exten = 20200,1,Dial(SIP/20200,30,Ttm)
exten = 20200,2,Hangup
exten = 202000,102,Voicemail(20200)
exten = 20200,103,Hangup

exten = 20300,1,Dial(SIP/20300,30,Ttm)
exten = 20300,2,Hangup
exten = 203000,102,Voicemail(20300)
exten = 20300,103,Hangup

exten = 20400,1,Dial(SIP/20400,30,Ttm)
exten = 20400,2,Hangup
exten = 204000,102,Voicemail(20400)
exten = 20400,103,Hangup

exten = 3,1,VoicemailMain

exten = _9,1,Dial(SIP/[EMAIL PROTECTED])
exten = _9,2,Hangup[general]
context=default
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes

[2]
type=friend
secret=some
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=miprimerejemplo
[EMAIL PROTECTED]

[20100]
type=friend
secret=some
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=miprimerejemplo
[EMAIL PROTECTED] 

[20200]
type=friend
secret=some
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=miprimerejemplo
[EMAIL PROTECTED]

[20300]
type=friend
secret=some
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=miprimerejemplo
[EMAIL PROTECTED]

[20400]
type=friend
secret=some
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=miprimerejemplo
[EMAIL PROTECTED]

[VoipBuster]
type=peer
host=sip.voipbuster.com
username=somesi3
fromuser=somesi3
secret=some[channels]
language=es
context=incoming
switchtype=euroisdn
usercallid=yes
hidecallerid=no
musiconhold=default
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
inmediate=no
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbriged=yes
rxgain=0.0
txgain=0.0
group=1
signalling=fxs_ks
context=incoming
channel=4___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] auto dial out multiple destinations

2007-04-24 Thread Vieri
Hi,

I am searching for the most effective solution for the
following scenario:

Our users can call into our IVR menu and dial a
specific extension and immediately hang up. This event
should simply trigger Asterisk to make multiple
simultaneous calls through a group of zap channels
(5-10 calls). When the called parties answer, Asterisk
should simply play a message and hangup.

So I was thinking that I could simply add this in
extensions.conf:

exten = 844844,1,Playback(multicall-activated)
exten = 844844,2,agi(multicallagi.php)
exten = 844844,3,Hangup

Then the AGI script would simply create a call file
for each destination number and the format would be
something like this:

Channel: Zap/g0/555
MaxRetries: 2
RetryTime: 10
WaitTime: 5
Application: Playback
Data: soundfile

However, Asterisk doesn't wait for the destination to
pick the phone up, so the playback ends prematurely
and  the channel is closed. It works only if I use
Channel: SIP/  (ie. it waits until the SIP phone
answers and then plays the soundfile).

I tried using 
Context: mycontext
Extension: s
Priority: 1

and the same thing happens: the context lines are
run immediately and even if the destination is not
on line. The only difference here is that I can make a
long loop so it plays back several times so that if
the called party picks the phone up, there's a chance
that they will here the looped playback. But this
isn't very effective.

Has someone done a better approach?
Does someone know why only ZAP channels seem to
misbehave (they are immediately considered answered
when they are not) ?

Also, could the multicallagi.php script cut free a
zap channel in case all channels are already in use in
group g0? Basically, these would be emergency calls
and I wouldn't want them to be hanging around a long
time in the outgoing queue. Also if multicallagi.php
frees a busy channel it could get busy again before
the call file is placed in outgoing. So is there a
way so that Asterisk knows that the call files I'm
putting in outgoing are emergency calls? I know I
could dedicate another group of channels or a single
channel for these calls but I don't have any
available.

Thanks

Vieri


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] LDAP authentication in Asterisk

2007-04-24 Thread sravana

Hi all,
I have installed Asterisk in my PC. I am running one LDAP server. I 
could not get enough documents which would help me to intergrate the 
existing user Database. Say I have a LDAP directory which has all the 
numbers and user details I should not edit the sip.conf again. Asterisk 
should be made aware to contact the LDAP directory for user info or 
Voicemail passwords etc. 


Help on this would be highly appreciated.

Thanks and Regards,
Sravana
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] auto dial out multiple destinations

2007-04-24 Thread Gustavo Cordeiro


 I have the same problem using analog trunks (FXO), without solution. Now 
we only use digital (E1) or IP trunks (SIP/IAX) for auto-dial out.


 See this page for more information:

 
http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out#Tipsandhints


 If you get the solution, please let me know! =)


Sds,
Gustavo


From: Vieri [EMAIL PROTECTED]
Reply-To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com

To: asterisk-users@lists.digium.com
Subject: [asterisk-users] auto dial out multiple destinations
Date: Tue, 24 Apr 2007 03:32:33 -0700 (PDT)

Hi,

I am searching for the most effective solution for the
following scenario:

Our users can call into our IVR menu and dial a
specific extension and immediately hang up. This event
should simply trigger Asterisk to make multiple
simultaneous calls through a group of zap channels
(5-10 calls). When the called parties answer, Asterisk
should simply play a message and hangup.

So I was thinking that I could simply add this in
extensions.conf:

exten = 844844,1,Playback(multicall-activated)
exten = 844844,2,agi(multicallagi.php)
exten = 844844,3,Hangup

Then the AGI script would simply create a call file
for each destination number and the format would be
something like this:

Channel: Zap/g0/555
MaxRetries: 2
RetryTime: 10
WaitTime: 5
Application: Playback
Data: soundfile

However, Asterisk doesn't wait for the destination to
pick the phone up, so the playback ends prematurely
and  the channel is closed. It works only if I use
Channel: SIP/  (ie. it waits until the SIP phone
answers and then plays the soundfile).

I tried using
Context: mycontext
Extension: s
Priority: 1

and the same thing happens: the context lines are
run immediately and even if the destination is not
on line. The only difference here is that I can make a
long loop so it plays back several times so that if
the called party picks the phone up, there's a chance
that they will here the looped playback. But this
isn't very effective.

Has someone done a better approach?
Does someone know why only ZAP channels seem to
misbehave (they are immediately considered answered
when they are not) ?

Also, could the multicallagi.php script cut free a
zap channel in case all channels are already in use in
group g0? Basically, these would be emergency calls
and I wouldn't want them to be hanging around a long
time in the outgoing queue. Also if multicallagi.php
frees a busy channel it could get busy again before
the call file is placed in outgoing. So is there a
way so that Asterisk knows that the call files I'm
putting in outgoing are emergency calls? I know I
could dedicate another group of channels or a single
channel for these calls but I don't have any
available.

Thanks

Vieri


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
--Bandwidth and Colocation provided by Easynews.com --

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


_
Descubra como mandar Torpedos do Messenger para o celular! 
http://mobile.msn.com/


___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Re: Tunnel Q.SIG through an IP network

2007-04-24 Thread Olivier

Replying to myself, this feature is called Transparent Q.SIG Tunneling.
Several gateway vendors (Patton, Audiocodes, Mediatrix) support it and
Asterisk doesn't ...
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Hylafax EE and T.38

2007-04-24 Thread Olivier

Hello,

Has anyone used Hylafax Enterprise edition along T.38 enabled ATA (Sipura's
3102 ATA, for example) ?
Does it perform OK ?

Regards
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] auto dial out multiple destinations

2007-04-24 Thread Doug Lytle

Vieri wrote:

However, Asterisk doesn't wait for the destination to
pick the phone up, so the playback ends prematurely
  


This has been discussed many times.  Search the archives. 

If you are using standard POTS lines, then Asterisk sees the call as 
being answered immediately.  You'll need to ask for the user to press 
some key to hear the message.  Loop it three or more times.  If nobody 
presses the key, hangup.


If you are on a digital service such as a PRI, then you'll have call 
supervision and this won't be an issue.


Doug


--

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] auto dial out multiple destinations

2007-04-24 Thread Vieri

--- Doug Lytle [EMAIL PROTECTED] wrote:

 Vieri wrote:
  However, Asterisk doesn't wait for the destination
 to
  pick the phone up, so the playback ends
 prematurely

 
 This has been discussed many times.  Search the
 archives. 
 
 If you are using standard POTS lines, then Asterisk
 sees the call as 
 being answered immediately.

Sorry I didn't search enough.
And thanks for the reply.
I guess I'll have to loop when using POTS.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Asterisk M$ SQL Server

2007-04-24 Thread Matt

We use it extensively for many things.
You'll need freeodbc to connect to M$ $QL $erver but Asterisk will
happily talk.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Re: Tunnel Q.SIG through an IP network

2007-04-24 Thread laurent schweizer

Hi,

the problem with QSIG is that each vendors have addons 

if you use patton smart node for Qsig tunneling betwenn 2 PBX from the same
vendors, then pehraps you will lost some services, because the smart node is
not implemeting all addons.

Laurent

2007/4/24, Olivier [EMAIL PROTECTED]:


Replying to myself, this feature is called Transparent Q.SIG Tunneling.
Several gateway vendors (Patton, Audiocodes, Mediatrix) support it and
Asterisk doesn't ...

___
--Bandwidth and Colocation provided by Easynews.com http://easynews.com/--

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Asterisk M$ SQL Server

2007-04-24 Thread Steve Totaro
FreeTDS is another option.

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
KB3OPB
  

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt
Sent: Tuesday, April 24, 2007 8:45 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk  M$ SQL Server

 

We use it extensively for many things.
You'll need freeodbc to connect to M$ $QL $erver but Asterisk will
happily talk.

___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Asterisk Problem

2007-04-24 Thread Steve Totaro
Did you run make samples?

 

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
KB3OPB
  

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, April 24, 2007 5:44 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Asterisk Problem

 


Hi, 
I had downloaded the source code of Asterisk from Digium Server. 
ftp://ftp.digium.com ftp://ftp.digium.com/  

And i had also downloaded cygwin environment from http://www.cygwin.com
http://www.cygwin.com/ . 

I had followed the instruction available in readme.txt in the patch
file. 

Everything is properly patched and the make  command is working fine
but make install command is not working. 

 + Asterisk Installation Complete ---+ 
 +   + 
 +YOU MUST READ THE SECURITY DOCUMENT+ 
 +   + 
 + Asterisk has successfully been installed. + 
 + If you would like to install the sample   + 
 + configuration files (overwriting any  + 
 + existing config files), run:  + 
 +   + 
 +   make samples+ 
 +   + 
 +-  or -+ 
 +   + 
 + You can go ahead and install the asterisk + 
 + program documentation now or later run:   + 
 +   + 
 +  make progdocs+ 
 +   + 
 + **Note** This requires that you have  + 
 + doxygen installed on your local system+ 
 +---+ 

 WARNING WARNING WARNING 

 Your Asterisk modules directory, located at 
 /asterisk/modules 
 contains modules that were not installed by this 
 version of Asterisk. Please ensure that these 
 modules are compatible with this version before 
 attempting to run Asterisk. 

chan_capi.so 
chan_celliax.so 
chan_tapi.so 

 WARNING WARNING WARNING

And Asterisk.exe, AsteriskWin32.exe and Asterisk.dll file is also
created in /usr/src/asterisk directory. 

When i tried to open AsteriskWin32.exe it is showing some failed
message. 
And when i try to asterisk.exe file.it is showing the following NOTICE
and WARNINGS 
And the Asterisk gets stopped. 


[EMAIL PROTECTED] /usr/src/asterisk-1.2.14 
$ ./asterisk 

Asterisk module loaded successfully 
Asterisk entry point foundApr 24 11:49:44 NOTICE[3756]:
cdr.c:1195 do_reload: CDR simple logging enabled. 
Apr 24 11:49:44 WARNING[3756]: loader.c:326 __load_resource: No
such file or directory 
Apr 24 11:49:44 WARNING[3756]: loader.c:555 load_modules:
Loading module res_features.so failed! 

Apr 24 11:49:44 WARNING[3756]: res_musichold.c:525 monmp3thread:
UNable to spawn mp3player 

Asterisk stopped. 


Will you please guide me how to proceed further. 


Thanks  Regards, 
Mary. 

This communication contains information, which is confidential and may
also be privileged. It is for the exclusive use of the intended
recipient(s). If you are not the intended recipient(s), please note that
any distribution, printing, copying or use of this communication or the
information in it is strictly prohibited. If you have received this
communication in error, please notify the sender immediately and then
destroy any copies of it. Thank you.

___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] auto load error in asterisk cli

2007-04-24 Thread Steve Totaro
This may help.  http://www.asteriskguru.com/archives/image-vp188178.html

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
KB3OPB
 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Eric Kosten
 Sent: Monday, April 23, 2007 9:33 PM
 To: asterisk-users@lists.digium.com
 Subject: [asterisk-users] auto load error in asterisk cli
 
 Hello list.  My name is Eric Kosten, and I am new to Linux and
asterisk
 As
 a new user of asterisk and Linux I an having problems to some that
might
 seem small, but these problems are such that I am not sure ware to
look!
I managed to take care of some ownership issues, e.g. sip.conf
and
 var/log/asterisk were not part of the asterisk user group.  If
asterisk
 starts automatically, when I connect to the console the following
happens:
 
 WARNING[2683]: db.c:67 dbinit: Unable to open Asterisk database
 
 if I shut asterisk down gracefully and then start it again, things run
 fine!
 Which database do I need to look for permissions on?  Are these
 permissions
 user, group or is this a case of this database not belonging to the
 asterisk
 group?
 
 If autoloaded, I do not connect with vitelity which is my ip provider
for
 voip service.
 I have googled the error part:
 
 Unable to open Asterisk database
 
 This is how I came to my conclusion of this possibly being a
permissions
 or
 group membership issue.
 
 Help is appreciated!
 
 sincerely
 
 Eric
 e-mail:
 [EMAIL PROTECTED]
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date:
4/22/2007
 8:18 PM
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Re: Tunnel Q.SIG through an IP network

2007-04-24 Thread Olivier

I thought the purpose of transparent tunneling was indeed to pass vendor
specific Q.SIG signal through.
Is it correct ?

2007/4/24, laurent schweizer [EMAIL PROTECTED]:


Hi,

the problem with QSIG is that each vendors have addons 

if you use patton smart node for Qsig tunneling betwenn 2 PBX from the
same vendors, then pehraps you will lost some services, because the smart
node is not implemeting all addons.

 Laurent

2007/4/24, Olivier [EMAIL PROTECTED]:

 Replying to myself, this feature is called Transparent Q.SIGTunneling.
 Several gateway vendors (Patton, Audiocodes, Mediatrix) support it and
 Asterisk doesn't ...

 ___
 --Bandwidth and Colocation provided by Easynews.comhttp://easynews.com/--

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



___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Asterisk M$ SQL Server

2007-04-24 Thread Alexandr Olekhnovich

Use FreeTDS as a driver for unix_ODBC (to connect to MS SQL).

On 4/24/07, Steve Totaro [EMAIL PROTECTED] wrote:


 FreeTDS is another option.

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
KB3OPB

  --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Matt
*Sent:* Tuesday, April 24, 2007 8:45 AM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* Re: [asterisk-users] Asterisk  M$ SQL Server



We use it extensively for many things.
You'll need freeodbc to connect to M$ $QL $erver but Asterisk will
happily talk.

___
--Bandwidth and Colocation provided by Easynews.com --

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





--
Best Regards
Alexander Olekhnovich
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] SIP devices with packet loss tolerance

2007-04-24 Thread Stephen Bosch
Hi again:

Michael Graves wrote:
 On Mon, 23 Apr 2007 14:05:55 +0100, Chris Bagnall wrote:
 
 Greetings list,
 
 Hoping someone might have experience with poorly-performing net
 connections and which devices work best over them.
 
 One of our clients has a number of employees that work from home,
 and are given a SIP phone to take with them and hook up to their
 broadband. For the most part, this works fine, but
 there are an increasing number where sound quality is poor (chops
 in and out, generally only noticeable to the listener at the other
 end, not the employee). Logic suggests it's an upstream bandwidth
 issue, so we asked them to try when all other devices were turned off
 (to cut out the kids using bitTorrent issues), but even with the
 phone the only device, call quality was still poor.
 
 Since the connections aren't paid for by the client, we aren't in a
 position to mandate particular providers or speeds, but in each
 case, the minimum was a 1mb/256k up ADSL. We asked
 the employees to run some speed tests to determine real-world speeds,
 and in each case upstream was around 220-235k (a little off the
 official speed but not bad). Certainly way more than the ~35kbps
 necessary for a g729 call, even with packet overheads.
 
 We've also tested the connections with a constant ping, and latency
 for nearly all of them is sub-35ms.
 
 So, that leads me towards packet loss as the only thing left.
 Generally speaking, these connections are giving between 1 and 4%
 packet loss.
 
 Therefore, 3 questions: 1) is this level of packet loss likely to
 have the effect we're seeing?
 
 2) If so, are there any phones people have tried with particularly
 good jitter buffering? If not, any ideas what else might be causing
 the issue.
 
 3) are some codecs naturally more tolerant of jitter than others?
 i.e. would there be an advantage to using something apart from
 g729, and if so, what would you recommend?
 
 
 Chris,
 
 The others responding on-list are certainly giving you good advice. I
 expect that what you are suffering is unmanaged QoS at the roaming
 users end. This almost certainly will be an issue with 256k outbound
 on a network connection that is not dedicated to the voip application
 alone.
 
 Consider that companies like Packet8 or Vonage will sell their voip
 service to these users, and generally make it work pretty well. They
 do it by providing the a client side access device that get inserted
 into the between the rest of the LAN and the DSL/cable modem. It
 provides the bandwidth management to ensure workable voip.

If this were indeed the cause of the problem, then it would have
resolved by simply connecting the SIP phone directly to the DSL modem.
In that case, the *only* traffic going out is voice traffic. That's
really all that Vonage ATA is doing -- making sure that the voice
traffic gets preferential treatment on its way out. I know enough Vonage
users who get crap call quality anyway, outbound QoS or not. What Vonage
is doing is playing the odds; they're betting that enough people will
have adequate broadband connections to make the enterprise worthwhile.

Anyway, if that's all that were needed, the cheaper way to accomplish it
would be to plug the rest of the roaming user's network into the LAN
port on the back of the SIP phone. You get some limited traffic
prioritization there for the cost of admission. Chris has already tried
that.

QoS is meaningless unless the ISP is supporting it (and, ideally, every
network device along the patch between Chris' Asterisk system and the
roaming users). In general, QoS as a notion sounds exciting and very
cool, but who can implement it? The only ones really benefiting from it
so far are large corporate users with their own WANs who are
implementing internal VoIP over their entire business. I can think of a
few American investment banks. Yes, there are some ISPs that are
offering QoS to their customers (Shaw in Canada comes to mind), but if
you think that comes for free, well... Shaw charges $15/month for
residential QoS (that is, unless you are buying *their* VoIP service).
At that price, I'll keep my PSTN phone, thanks.

I would bet money that these users would have just as much trouble with
a Packet8 or Vonage device.

Someday, we might see QoS of some kind over all the public Internet.
Someday long into the future. I don't think it will come for free.

 Using a compressed codec like G729 or ILBC helps as well, but having
 a router capable of QoS at each location is an absolute necessity. I
 prefer m0n0wall on a Soekris Net4501. Others like third party
 firmware on Linksys WRT devicesa little bit cheaper but less
 professional IMHO.

Again -- in the circumstances described above, it is utterly meaningless
unless the devices in the path support it also. As for the codecs --
compressed codecs are great for reducing the average bandwidth
requirement but do nothing for latency.

I say again -- it is wasted effort. Try pounding the pavement for 

Re: [asterisk-users] SIP devices with packet loss tolerance

2007-04-24 Thread Stephen Bosch
Eric ManxPower Wieling wrote:
 
 Hoping someone might have experience with poorly-performing net
 connections and which devices work best over them.

 One of our clients has a number of employees that work from home, and
 are given a SIP phone to take with them and hook up to their
 broadband. For the most part, this works fine, but 
 there are an increasing number where sound quality is poor (chops in
 and out, generally only noticeable to the listener at the other end,
 not the employee). Logic suggests it's an upstream bandwidth issue, so
 we asked them to try when all other devices were turned off (to cut
 out the kids using bitTorrent issues), but even with the phone the
 only device, call quality was still poor.

 Since the connections aren't paid for by the client, we aren't in a
 position to mandate particular providers or speeds, but in each case,
 the minimum was a 1mb/256k up ADSL. We asked 
 the employees to run some speed tests to determine real-world speeds,
 and in each case upstream was around 220-235k (a little off the
 official speed but not bad). Certainly way more than the ~35kbps
 necessary for a g729 call, even with packet overheads.
 
 PSTN - Asterisk - Internet - SIP Phone.
 
 If the person on the PSTN side is having audio quality problems then the
 issue is not with the jitter buffer on the phone.  The problem in this
 case is the jitter buffer in Asterisk.  SIP is a signalling protocol.
 Audio is sent using the RTP protocol.  In versions of Asterisk before
 1.4 there was no RTP jitter buffer in Asterisk.
 
 Lack of an RTP jitter buffer in Asteirsk is why none of my clients have
 deployed phones off the corporate network.
 
 If the person on the SIP phone side is having audio problems (not the
 case if I read your message correctly) then you have to look at the
 jitter buffer settings on the phone.
 
 Remember jitter buffers (and QoS actually) is only applied to and is
 only effective for INCOMING traffic.
 
 Yes, applying QoS to the outbound traffic of the internal interface of
 your router can give the illusion of limited QoS.  This happens because
 of the nature of TCP and will do nothing for non-TCP traffic.
 
 Jitter is not the packet latency, but of the VARIANCE in latency.  Also,
 dejittering audio requires buffering and this buffering adds to the
 audio latency.  If you had a jitter buffer that could handle 3000ms of
 jitter (on a HughesNet satellite connection, for example) your audio
 would generally be great, the tradeoff is that you have just added 3
 seconds of latency to your audio and in anyone's book that sucks.

Applause

-Stephen-
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Asterisk on Debian Etch

2007-04-24 Thread Stephen Bosch
Tzafrir Cohen wrote:
 On Mon, Apr 23, 2007 at 06:36:25PM -0600, Stephen Bosch wrote:
 He is better off installing from sources, and more likely to get
 something that performs as it should.

 Source installs are not complicated -- even when you are using zaptel.
 
 But why do all the extra work, and end up with a system you cannot
 easily reproduce?

Well, I can't speak for anybody else, but I haven't had a problem with
reproducing a source install.

Notwithstanding a careful survey of the release notes with a new version
when upgrading a production server (something you need to do with a
package install anyway), I make sure I back up my configuration files,
do a make and make install, restart things, and generally it works.

 Josu, if you are concerned about dependencies, use apt-get to install
 Asterisk first, then remove only Asterisk, Zaptel and libpri and install
 from source.
 
 Well, if you do decide to go this route, you need build dependencies
 rather than run-time dependencies. 

Can you tell I'm a Gentoo user? :P

I've got nothing against packages in principle, and my system has plenty
of packages from the distribution, but I've yet to see a project as
dynamic as Asterisk. What package maintainer could possibly keep up?

-Stephen-

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] help please

2007-04-24 Thread Tzafrir Cohen
On Tue, Apr 24, 2007 at 10:21:53AM +0200, Josu Lazkano Lete wrote:
 hello, I have a A400P01 PCI from OpenVox.
 
 I have installed some extension and a VoipBuste account to callo out of my 
 LAN.
 
 How can I receive and send calls from a nd to outside by my analog line???
 
 I want to receive dthe calls from 20100 extension.
 
 Here you have my config files, thanks for all.

A few things unrelated to your issue that may help you to get more
effetive answers from this list:

1. Please give more descriptive subject lines.
The subject of your first message (asterisk on Debian) was good.
The subject of your more recent messages are rather poor: please help
me gives no hint as to what the problem is.

2. You have already started a thread, and another list member has asked
you for some details. The files attached to this message appear to be
replies to that message. If they are, please follow-up the same thread.

3. You did not write what is actually wrong:

I do XYZ. I expect it to cause ABC but instead I get DEF

See also the document on how to ask questions effectively:
http://www.catb.org/~esr/faqs/smart-questions.html

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] tone generation

2007-04-24 Thread Jerry Geis

Does asterisk have a way in the dialplan to generate tones?
Say I want to play a tone 300Hz for 3 seconds.
Can I do that?

If not, can I use some system command to generate the wav file
then just have asterisk play it?

Jerry

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Re: A400P01 from OpenVox

2007-04-24 Thread Tzafrir Cohen
[ Subject manually fixed. Maybe my threading manipulation even
worked...]

On Tue, Apr 24, 2007 at 10:21:53AM +0200, Josu Lazkano Lete wrote:
 hello, I have a A400P01 PCI from OpenVox.
 
 I have installed some extension and a VoipBuste account to callo out of my 
 LAN.
 
 How can I receive and send calls from a nd to outside by my analog line???
 
 I want to receive dthe calls from 20100 extension.
 
 Here you have my config files, thanks for all.

Two problems are obvious:

1. /etc/zaptel.conf defines channls no. 1, whereas
/etc/asterisk/zapata.conf defines channel no. 4 .  This should cause
chan_zap to fail loading on whatever configuration you have.

Did I mention genzaptelconf before?

2. Your sip.conf sets the mailboxes in a non-default context, but the
VoicemailMain call in extensions.conf checks in the default context. Get
rid of the useless context unless you really have a multi-domain setup.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Digium card sale

2007-04-24 Thread Astawerks
Good morning,
 
Pardon for this intrusion I just wanted to let everyone know about some of
the specials that I have going on at HYPERLINK
http://www.astawerks.comwww.astawerks.com .   From now until the end of
June I will have a huge unpublished sale on all Digium products.  Prices are
way to low to list so I will have to be personally contacted.  I also have a
permanent sale on all AASTRA phones as well with AASTRA 9133i's as low as
$124 and the new 5i series starting at just $142.50.
 
That's just a sample of what we have going on . For more info come visit us
at HYPERLINK http://www.astawerks.comwww.astawerks.com   
 
 
 
JB
Astawerks owner/engineer
 
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007
5:26 PM
 
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] tone generation

2007-04-24 Thread Astawerks
Just put the sound file in the asterisk sound directory
In your dial plan   have  thisbackground(filename)   or play(filename)

Is that what you wanted to do?  


Astawerks
VoIP Hardware sales and consulting
http://www.astawerks.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry Geis
Sent: Tuesday, April 24, 2007 9:46 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] tone generation

Does asterisk have a way in the dialplan to generate tones?
Say I want to play a tone 300Hz for 3 seconds.
Can I do that?

If not, can I use some system command to generate the wav file then just
have asterisk play it?

Jerry

___
--Bandwidth and Colocation provided by Easynews.com --

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

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007
5:26 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007
5:26 PM
 

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Softphone that supports central provisioning?

2007-04-24 Thread Philipp Kempgen
Stephen Bosch wrote:

 Hi, Tzafrir:
 
 Tzafrir Cohen wrote:
 Dear Senad,

 The setup program for your soft phone can be downloaded from here:
 a href=http://malwareserver.com/malware.exe;http://LINK/a

 During the setup you will be asked for configuration file. Please use
 attached file.
 
 I tried this link, but it's broken. What gives?

:)


Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
 Let's use IT to solve problems and not to create new ones.
   Asterisk? - http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] tone generation

2007-04-24 Thread Steve Totaro
You could probably modify the milliwatt application to do this.

http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Milliwatt

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
KB3OPB
 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Jerry Geis
 Sent: Tuesday, April 24, 2007 9:46 AM
 To: asterisk-users@lists.digium.com
 Subject: [asterisk-users] tone generation
 
 Does asterisk have a way in the dialplan to generate tones?
 Say I want to play a tone 300Hz for 3 seconds.
 Can I do that?
 
 If not, can I use some system command to generate the wav file
 then just have asterisk play it?
 
 Jerry
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Missing dialplan commands in Asterisk 1.4.2 CLI

2007-04-24 Thread Steve Murphy
On Tue, 2007-04-24 at 00:56 -0500, Carlos Chavez wrote:
 Tzafrir Cohen wrote:
 
 
  Or maybe it is the default and it is an implicit value?
 
  But even then you should be able to change the dialplan at runtime.
  Just not writng it back to the file.
 
  The dialplan commands are implemented in pbx_config.so . Are you sure 
  that this module is loaded?
 

 pbxskandiamty2*CLI module show like pbx
 Module Description  
 Use Count
 pbx_loopback.soLoopback Switch  
 0
 pbx_config.so  Text Extension Configuration 
 0
 pbx_spool.so   Outgoing Spool Support   
 0
 pbx_realtime.soRealtime Switch  
 0
 pbx_dundi.so   Distributed Universal Number Discovery ( 
 0
 
 It is loaded.  Both servers have the same modules and all say that 
 use count is zero.

Taking things one at a time, I started with dialplan save. Looking
thru the source, in the load_module routine, I see...

if (static_config  !write_protect_config)
ast_cli_register(cli_dialplan_save);

So, if the static_config is false, or if write_protect_config is true,
it won't register this command. Check your config file, extensions.conf,
and see what you set those vars to...

The sample config says:

; The General category is for certain variables.  
;
[general]
;
; If static is set to no, or omitted, then the pbx_config will rewrite
; this file when extensions are modified.  Remember that all comments
; made in the file will be lost when that happens. 
;
; XXX Not yet implemented XXX
;
static=yes
;
; if static=yes and writeprotect=no, you can save dialplan by
; CLI command 'save dialplan' too
;
writeprotect=no
;

So, to get the behavior you are seeing, all you have to do is leave out
the static=yes line

murf




smime.p7s
Description: S/MIME cryptographic signature
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Softphone that supports central provisioning?

2007-04-24 Thread Philipp Kempgen
Tim Panton wrote:

 Snom used to have a softphone that emulated one of  their hardphones.
 I don't know if they still do, or if the emulation extended to the  
 config managment,
 might be worth a dig

According to Snom they will stop to maintain their softphone.
Too much work they say. So using it is probably not a long-term
solution.

Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
 Let's use IT to solve problems and not to create new ones.
   Asterisk? - http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] tone generation

2007-04-24 Thread Philipp Kempgen
Jerry Geis wrote:

 Does asterisk have a way in the dialplan to generate tones?
 Say I want to play a tone 300Hz for 3 seconds.
 Can I do that?

core show application PlayTones

 If not, can I use some system command to generate the wav file
 then just have asterisk play it?

core show application TrySystem
core show application Playback


Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
 Let's use IT to solve problems and not to create new ones.
   Asterisk? - http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] tone generation

2007-04-24 Thread Yossi Ben Hagai

Check the Milliwatt() cmd here:
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Milliwatt
It sends 1000Hz, but you can derive from it.

Joss.


On 4/24/07, Jerry Geis [EMAIL PROTECTED] wrote:


Does asterisk have a way in the dialplan to generate tones?
Say I want to play a tone 300Hz for 3 seconds.
Can I do that?

If not, can I use some system command to generate the wav file
then just have asterisk play it?

Jerry

___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] SIP over VON

2007-04-24 Thread Ed Nuñez
Hello all

 

I would like to know if anyone here has had any experience trying to set up
SIP or IAX over VPN.  I am testing with Cisco VPN client and when I call the
Asterisk server in my office I get one way audio.

 

Thanks

 

Ed Nunez 

___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Digium card sale

2007-04-24 Thread Chris Bagnall
An interesting definition of non-commercial discussion you have going
there...

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] 3 way calls and meetme problem

2007-04-24 Thread laurence MOINDROT

Hello,


I have a problem with the meetme application, but I'm not sure if it's a 
bug or just a misuse.



I'm trying to get a 3 way call system working as follow :

A calls C

B calls C

C who's speaking with A or B, presses one keypad (only one)

and the 2 incoming SIP (A, B) and C are redirected into a conference room.


Therefore, I created an entry in the applicationmap (features.conf) to 
run a C program.


The C program forks a child process which executes a TCL script after 
two seconds.


The parent process returns as soon as possible and lets the feature 
execution finish.



The TCL script searches for the channels which involve C (the user which 
wants to make the conference, and redirect the corresponding channels to 
a conference room).



The configured extension is as follow :


exten = _cX,1,Answer()

exten = _cX,2,MeetMe(${EXTEN},sp)

exten = _cX,3,Hangup()


You'll find the TCP stream of the interaction between the script and AMI 
in the attached file (you can open it using the wireshark's application)



The problem is that after the execution of the script, I get the 
following messages which loops in the CLI, in a random order (I just put 
here the three kinds of messages I got, so don't pay attention to the 
dates) :


[Apr 20 10:02:01] WARNING[7352]: app_meetme.c:2183 conf_run: Failed to 
read frame: No such file or directory


[Apr 20 10:05:00] WARNING[7433]: app_meetme.c:2183 conf_run: Failed to 
read frame: Success


[Apr 20 10:05:02] WARNING[7433]: app_meetme.c:2183 conf_run: Failed to 
read frame: Resource temporarily unavailable



Sometimes the conference works, sometimes it doesn't; however, the 
messages appear in all the cases.



Am I just misusing meetme for something it's not supposed to do ? Or is 
it really a bug ? Has anybody already heard of this bug ? Or does 
somebody knows another way to achieve the same functionnality (3 way 
calling with two ingoing calls) ?



Thanks in advance.
J-M HEITZ  LM



Linux Distribution : Ubuntu edgy

Kernel : Linux asterisk2 2.6.17-10-server #2 SMP Fri Oct 13 18:47:26 UTC 
2006 i686 GNU/Linux


Zaptel version :

Apr 20 10:18:48 asterisk2 kernel: [44924783.59] Zapata Telephony 
Interface Registered on major 196


Apr 20 10:18:48 asterisk2 kernel: [44924783.59] Zaptel Version: 
SVN-trunk-r2396 Echo Canceller: MG2


Apr 20 10:18:51 asterisk2 kernel: [44924785.93] ztdummy: RTC rate is 
1024



Asterisk version : Asterisk SVN-trunk-r61152 built by root @ asterisk2 
on a i686 running Linux on 2007-04-11 08:00:04 UTC






3wayconf.cap
Description: application/cap
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Snom 360 Caller ID in missed / recieved calls

2007-04-24 Thread Ron McCarthy

Hi List,

We have noticed on our Snom 360s that under missed/recieved calls the number
is cut off, so you cannot see the entire phone number. Does anyone have a
work around or is this a bug Snom is working on?

Cheers!
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Digium card sale

2007-04-24 Thread Steve Totaro
This definitely belongs on the biz list.

Thanks,
Steve Totaro
http://www.asteriskhelpdesk.com
KB3OPB
  

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Astawerks 
Sent: Tuesday, April 24, 2007 9:52 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] Digium card sale

 

Good morning,

 

Pardon for this intrusion I just wanted to let everyone know about some
of the specials that I have going on at www.astawerks.com .   From now
until the end of June I will have a huge unpublished sale on all Digium
products.  Prices are way to low to list so I will have to be personally
contacted.  I also have a permanent sale on all AASTRA phones as well
with AASTRA 9133i's as low as $124 and the new 5i series starting at
just $142.50.

 

That's just a sample of what we have going on . For more info come visit
us at www.astawerks.com   

 

 

 

JB

Astawerks owner/engineer

 

 


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date:
4/23/2007 5:26 PM


___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Re: ztdummy

2007-04-24 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Don Fletcher [EMAIL PROTECTED] wrote:
 dmesg just says
 ztdummy: Unable to register zaptel rtc driver

You probably have the genrtc clock module loaded, instead of rtc.
ztdummy will only work with rtc.

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] can't cancel call conference when invited by asterisk

2007-04-24 Thread aespinoza
Hello plp I am a newbie and I have a peculiar problem when asterisk  
invites a user to
join a conference. If a user invited to a conference by asterisk  
cancels the call while
being on conference then asterisk doesn't seem to be getting the BYE  
message and the user
stays in the conference forever until the administrator finishes the  
conference or kicks
the user out. But, if the user joins the conference voluntarily (Not  
invited by asterisk)
then the process works fine, that's to say once a user cancels a call  
while being on

conference then he will diasappear from the conference.

What I don't know is why it works perfect one way but doesn't the  
other way... any ideas
why this is so?.. did anybody ever have this problem  
before?...thanks in advance


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Missing dialplan commands in Asterisk 1.4.2 CLI

2007-04-24 Thread Tzafrir Cohen
On Tue, Apr 24, 2007 at 08:21:12AM -0600, Steve Murphy wrote:
 On Tue, 2007-04-24 at 00:56 -0500, Carlos Chavez wrote:
  Tzafrir Cohen wrote:
  
  
   Or maybe it is the default and it is an implicit value?
  
   But even then you should be able to change the dialplan at runtime.
   Just not writng it back to the file.
  
   The dialplan commands are implemented in pbx_config.so . Are you sure 
   that this module is loaded?
  
 
  pbxskandiamty2*CLI module show like pbx
  Module Description  
  Use Count
  pbx_loopback.soLoopback Switch  
  0
  pbx_config.so  Text Extension Configuration 
  0
  pbx_spool.so   Outgoing Spool Support   
  0
  pbx_realtime.soRealtime Switch  
  0
  pbx_dundi.so   Distributed Universal Number Discovery ( 
  0
  
  It is loaded.  Both servers have the same modules and all say that 
  use count is zero.
 
 Taking things one at a time, I started with dialplan save. Looking
 thru the source, in the load_module routine, I see...
 
   if (static_config  !write_protect_config)
   ast_cli_register(cli_dialplan_save);
 
 So, if the static_config is false, or if write_protect_config is true,
 it won't register this command. Check your config file, extensions.conf,
 and see what you set those vars to...
 
 The sample config says:
 
 ; The General category is for certain variables.  
 ;
 [general]
 ;
 ; If static is set to no, or omitted, then the pbx_config will rewrite
 ; this file when extensions are modified.  Remember that all comments
 ; made in the file will be lost when that happens. 
 ;
 ; XXX Not yet implemented XXX
 ;
 static=yes
 ;
 ; if static=yes and writeprotect=no, you can save dialplan by
 ; CLI command 'save dialplan' too
 ;
 writeprotect=no
 ;
 
 So, to get the behavior you are seeing, all you have to do is leave out
 the static=yes line

The sample extensions.conf claims:

;
; If static is set to no, or omitted, then the pbx_config will rewrite
; this file when extensions are modified.  Remember that all comments
; made in the file will be lost when that happens. 
;
; XXX Not yet implemented XXX
;
static=yes

So the default is static=no?

What's the rationale for this dangerous default?

Recall that a value enabled in the sample confiug file is still not
enabled by default.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] SIP over VON

2007-04-24 Thread Astawerks
worked fine for me with a watchguard firewall VPN.  do you have all of the
correct ports open? 
 
Astawerks
VoIP Hardware sales and consulting
HYPERLINK http://www.astawerks.com/http://www.astawerks.com
614-495-1400
 

   _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ed Nuñez
Sent: Tuesday, April 24, 2007 10:43 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] SIP over VON



Hello all

 

I would like to know if anyone here has had any experience trying to set up
SIP or IAX over VPN.  I am testing with Cisco VPN client and when I call the
Asterisk server in my office I get one way audio.

 

Thanks

 

Ed Nunez 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007
5:26 PM



No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007
5:26 PM
 
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] AstLinux 0.4.5 released

2007-04-24 Thread Kristian Kielhofner

Hello Everyone,

 The AstLinux team is produce to announce the immediate availability
of AstLinux 0.4.5.  This release took WAY too long and we are working
on ways to speed up the release cycle in the future.

 As the latest release from the stable branch, 0.4.5 has updates and
fixes for several core software components.  Please see the ChangeLog
on SourceForge for more information.

 The AstLinux LiveCD, VmWare Image and binary images for the Soekris
net4801, PCEngines WRAP, generic i586, and VIA can be downloaded from
the AstLinux project page:

http://sourceforge.net/projects/astlinux/

 As always, the AstLinux Development Environment is available from
the SourceForge SVN server.

 I would like to send a special thank you to Darrick Hartman for
maintaining the 0.4 branch while I work on trunk - thanks again
Darrick!

--
Kristian Kielhofner
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Polycom SP 601 Reboot Issue- Help!

2007-04-24 Thread J French

I have a Polycom 601 with 3 expansion modules running 2.0.3.  We have
Buddywatch set up on around 42 users on the expansion modules.  We are
experiencing reboots on the 601.  Today it happened twice after users paged
through the phones.  The page groups have about 23 phones each.  There is a
third page group comprising all 46 phones.  I'm thinking it may be an issue
with changing buddywatch state on so many buddies so quickly.  Also, the cpu
usage is pegged at 100% for around 3 minutes after it reboots, FWIW.

Anyone else experiencing rebbots on the 601?  Advice is really needed!

Thanks
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] SIP over VON -- was originally Digium card sale

2007-04-24 Thread Stephen Bosch
Ed Nuñez wrote:
 Hello all
 
 I would like to know if anyone here has had any experience trying to set
 up SIP or IAX over VPN.  I am testing with Cisco VPN client and when I
 call the Asterisk server in my office I get one way audio.

Lest anyone think I am harping, I'll just quote Tzafrir on this one:

Tzafrir Cohen wrote:
 2. You have already started a thread, and another list member has asked
 you for some details. The files attached to this message appear to be
 replies to that message. If they are, please follow-up the same thread.

And if you have something new? Start a new thread. Then someone is more
likely to help you.

-Stephen-

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] tone generation

2007-04-24 Thread Tzafrir Cohen
On Tue, Apr 24, 2007 at 04:27:52PM +0200, Philipp Kempgen wrote:
 Jerry Geis wrote:
 
  Does asterisk have a way in the dialplan to generate tones?
  Say I want to play a tone 300Hz for 3 seconds.
  Can I do that?
 
 core show application PlayTones

If you also set LANGUAGE beforehand and invent a language with th proper
tones in inications.conf.

The three seconds will then be a Wait(3) after the PlayTones.

Note that this is an abuse of PlayTones and hence don't file a bug
report if future enhancements break such a usage...

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Digium card sale

2007-04-24 Thread Erik Anderson

On 4/24/07, Astawerks [EMAIL PROTECTED] wrote:


No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 4/23/2007
5:26 PM


Not only should this be on the biz list, but you're also using the
Free version of AVG for commercial purposes.  This hasn't been a good
day for you, has it? I'm guessing I'm not the only one on the list
that has added astawerks to my banned sellers list.

-erik
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Missing dialplan commands in Asterisk 1.4.2 CLI

2007-04-24 Thread Carlos Chavez
On Tue, 2007-04-24 at 08:21 -0600, Steve Murphy wrote:
 On Tue, 2007-04-24 at 00:56 -0500, Carlos Chavez wrote:
  Tzafrir Cohen wrote:
  
  
   Or maybe it is the default and it is an implicit value?
  
   But even then you should be able to change the dialplan at runtime.
   Just not writng it back to the file.
  
   The dialplan commands are implemented in pbx_config.so . Are you sure 
   that this module is loaded?
  

 
 Taking things one at a time, I started with dialplan save. Looking
 thru the source, in the load_module routine, I see...
 
   if (static_config  !write_protect_config)
   ast_cli_register(cli_dialplan_save);
 
 So, if the static_config is false, or if write_protect_config is true,
 it won't register this command. Check your config file, extensions.conf,
 and see what you set those vars to...
 
 The sample config says:
 
 ; The General category is for certain variables.  
 ;
 [general]
 ;
 ; If static is set to no, or omitted, then the pbx_config will rewrite
 ; this file when extensions are modified.  Remember that all comments
 ; made in the file will be lost when that happens. 
 ;
 ; XXX Not yet implemented XXX
 ;
 static=yes
 ;
 ; if static=yes and writeprotect=no, you can save dialplan by
 ; CLI command 'save dialplan' too
 ;
 writeprotect=no
 ;
 
 So, to get the behavior you are seeing, all you have to do is leave out
 the static=yes line
 
I have tried all the combinations and I still do not have the rest of
the dialplan commands.  But if it was a problem with the variables I
guess I would have the same problem on my other server as well.

-- 
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] TE412P (T1/E1+DSP) digium card cause server crash

2007-04-24 Thread Ian Wang

Hi all

I have a server that has two TE412P (T1/E1+DSP) cards installed. One of them
configured as an E1 PRI connected to PSTN and another one configured as a T1
EM connected to Avaya PBX. Each card only uses two ports, so there are 2 E1
lines and 2 T1 lines connecting to this server. The purpose of this server
is as a TDM trunk gateway that gets call from E1/T1 and then forward to an
IP-PBX via SIP, or gets call from an IP-PBX and forward to E1/T1 via SIP.

Unfortunately, the server crashed (serve dead/card hanged) often when
traffic is high (E1 + T1 about 50~70 active channels). Is it zaptel driver
issue? The server loading actually is not so high before crash.

I've been investigating this issue for weeks and I'm totally out of ideas,
so any help or suggestions anyone could provide would be greatly
appreciated…

Best regards
Ian
The following is my server configuration detail:
No IRQ shared and BIOS setting looks good!
CPU: INTEL Xeon 3.2GHz 800FSB 2MB cache *2
Memory: 512M ECC REG DDRII400 * 2 (1G)
Storage: 3ware SATA RAID 0 card /80G SATA HD *2
OS: Linux 2.6.11-gentoo-r6
Asterisk 1.2.1 + libpri-1.2.3 + Zaptel 1.2.16
Zaptel configuration:
---
### Zaptel.conf -- Span: 1 (E1_4) Board 1
span=1,1,0,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31
### Zaptel.conf -- Span: 2 (E1_4) Board 1
span=2,1,0,ccs,hdb3
bchan=32-46
dchan=47
bchan=48-62
### Zaptel.conf -- Span: 3 (E1_4) Board 1
span=3,1,0,ccs,hdb3
bchan=63-77
dchan=78
bchan=79-93
### Zaptel.conf -- Span: 4 (E1_4) Board 1
span=4,1,0,ccs,hdb3
bchan=94-108
dchan=109
bchan=110-124
### Zaptel.conf -- Span: 5 (T1_4) Board 2
span=5,0,0,esf,b8zs
em=125-148
### Zaptel.conf -- Span: 6 (T1_4) Board 2
span=6,0,0,esf,b8zs
em=149-172
### Zaptel.conf -- Span: 7 (T1_4) Board 2
span=7,0,0,esf,b8zs
em=173-196
### Zaptel.conf -- Span: 8 (T1_4) Board 2
span=8,0,0,esf,b8zs
em=197-220
# Global data
loadzone = tw
defaultzone = tw

Zapata configuration:
---
; Call ID Feature
hidecallerid=no
usecallingpres=yes
usecallerid=yes
callerid=asreceived
restrictcid=yes

; Calling Record
amaflags=billing

; Call Function
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=no
callreturn=yes
musiconhold=default
overlapdial=no
relaxdtmf=yes
immediate=no

; Echo Setting
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=2
txgain=-2

context=fxo_incoming
;### Span: 1 (E1_4) Board 1
switchtype=euroisdn
signalling=pri_cpe
group=1
channel = 1-15
channel = 17-31
;### Span: 2 (E1_4) Board 1
switchtype=euroisdn
signalling=pri_cpe
group=1
channel =32-467
channel =48-62
;### Span: 3 (E1_4) Board 1
switchtype=euroisdn
signalling=pri_cpe
group=1
channel =63-77
channel =79-93
;### Span: 4 (E1_4) Board 1
switchtype=euroisdn
signalling=pri_cpe
group=1
channel =94-108
channel =110-124

context=pbx_incoming
;### Span: 5 (T1_4) Board 2
signalling=em
group=2
channel = 125-148
;### Span: 6 (T1_4) Board 2
signalling=em
group=2
channel = 149-172
;### Span: 7 (T1_4) Board 2
signalling=em
group=2
channel = 173-196
;### Span: 8 (T1_4) Board 2
signalling=em
group=2
channel = 197-220
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Call Connection Problem

2007-04-24 Thread Arun Kumar

Hi,

I'm running a php script to generate calls using Asterisk Manager and its
working fine. this script call a specified land line number if the phone is
answered then It will connect to an extension and play an IVR. But I see in
Asterisk CLI its placing the call and it shows channel answered but I don't
receive call on my land line and it starts playing the IVR. Please guide me
how to solve the problem.

thanks

arun
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Make an iso image or a kickstart-Really its too urgent

2007-04-24 Thread Khaled Chehab
Dears  its too urgent

Can anyone guide me ……

I want to put  my asterisk system  on an iso image like trixbox ,or how to make 
a.

 

how can I do that ,I am using centos 4.4 final 

 

 

 

Regards

 

 




*
No employee or agent is authorized to conclude any binding agreement on behalf 
of Xplorium with another party by e-mail without express written confirmation 
by an officer of Xplorium. Any views expressed by an individual in this 
electronic message do not necessarily reflect views of Xplorium or its 
subsidiaries and associates.

This electronic message and its attachments are solely addressed to the 
addressee(s), and contain confidential information protected from disclosure 
belonging to Xplorium.

If you are not the intended addressee of this electronic message and its 
attachments, kindly delete it immediately from your system and notify the 
sender by electronic mail. You must not copy this message or attachment or 
disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of 
its attachments, or that they are free from computer viruses or other defects.
*___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] 7960G + Asterisk auto attendant

2007-04-24 Thread Steve Finkelstein
All,

I'm trying to hear the asterisk's auto attendant in its default
configuration. According to VoIP Hacks in Chapter 4, I found the
following excerpt after successfully configuring my SIP IP Phone (Cisco
7960G):

In its default configuration, Asterisk has an auto-attendant that can
route calls. To try it out, take the IP phone off the hook and dial 2.
Then dial the BudgeTone's Send button. You will hear a friendly voice
saying, Asterisk is an open source, fully featured PBX and IVR platform….

However, when I dial '2' on the phone, I just get a busy signal. Through
the CLI it looks to have the demo available:

vitamin-nybw*CLI console dial 2
[Apr 24 12:34:35] WARNING[8070]: chan_oss.c:682 setformat: Unable to
re-open DSP device /dev/dsp: No such file or directory
-- Executing [EMAIL PROTECTED]:1] BackGround(OSS/dsp, demo-moreinfo) in
new stack
  Console call has been answered 
-- OSS/dsp Playing 'demo-moreinfo' (language 'en')
[Apr 24 12:34:36] WARNING[8071]: chan_oss.c:682 setformat: Unable to
re-open DSP device /dev/dsp: No such file or directory


Any idea why I can't hear the asterisk default demo when dialing 2?

- sf
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Make an iso image or a kickstart-Really its too urgent

2007-04-24 Thread David Gomillion

I don't really understand the question. Why do you want to do this? What do
you hope to accomplish? Do you just want customized packages to be
installed, or do you expect the configurations to come too? Do you want to
auto-run from the CD, or just have it install? If it's so urgent, why don't
you hire a consultant with experience in remastering OS installations?

On 4/24/07, Khaled Chehab [EMAIL PROTECTED] wrote:


 Dears  its too urgent

Can anyone guide me ……

I want to put  my asterisk system  on an iso image like trixbox ,or how to
make a.



how can I do that ,I am using centos 4.4 final







Regards






--
*

No employee or agent is authorized to conclude any binding agreement on behalf 
of Xplorium with another party by e-mail without express written confirmation 
by an officer of Xplorium. Any views expressed by an individual in this 
electronic message do not necessarily reflect views of Xplorium or its 
subsidiaries and associates.


This electronic message and its attachments are solely addressed to the 
addressee(s), and contain confidential information protected from disclosure 
belonging to Xplorium.


If you are not the intended addressee of this electronic message and its 
attachments, kindly delete it immediately from your system and notify the 
sender by electronic mail. You must not copy this message or attachment or 
disclose its content to any other person.


Xplorium does not guarantee the integrity of this electronic message and any of 
its attachments, or that they are free from computer viruses or other defects.
*

___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Make an iso image or a kickstart-Really its too urgent

2007-04-24 Thread Jaswinder Singh

Why not use a asterisk specific live cd distribution like www.astlinux.org
? It is also installable on usb . You can copy your whole dialplan and
settings ( all files in /etc/asterisk ) on a pendrive .

On 25/04/07, Khaled Chehab [EMAIL PROTECTED] wrote:


 Dears  its too urgent

Can anyone guide me ……

I want to put  my asterisk system  on an iso image like trixbox ,or how to
make a.



how can I do that ,I am using centos 4.4 final







Regards






--
*

No employee or agent is authorized to conclude any binding agreement on behalf 
of Xplorium with another party by e-mail without express written confirmation 
by an officer of Xplorium. Any views expressed by an individual in this 
electronic message do not necessarily reflect views of Xplorium or its 
subsidiaries and associates.


This electronic message and its attachments are solely addressed to the 
addressee(s), and contain confidential information protected from disclosure 
belonging to Xplorium.


If you are not the intended addressee of this electronic message and its 
attachments, kindly delete it immediately from your system and notify the 
sender by electronic mail. You must not copy this message or attachment or 
disclose its content to any other person.


Xplorium does not guarantee the integrity of this electronic message and any of 
its attachments, or that they are free from computer viruses or other defects.
*

___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Polycom SP 601 Reboot Issue- Help!

2007-04-24 Thread Jerry Jones
The only reboot issue I have with 1 sidecar is the side car deciding  
to randonly rebbot, not the phone itself


Perhaps upgrading to 2.1 will help?


On Apr 24, 2007, at 10:51 AM, J French wrote:

I have a Polycom 601 with 3 expansion modules running 2.0.3.  We  
have Buddywatch set up on around 42 users on the expansion  
modules.  We are experiencing reboots on the 601.  Today it  
happened twice after users paged through the phones.  The page  
groups have about 23 phones each.  There is a third page group  
comprising all 46 phones.  I'm thinking it may be an issue with  
changing buddywatch state on so many buddies so quickly.  Also, the  
cpu usage is pegged at 100% for around 3 minutes after it reboots,  
FWIW.


Anyone else experiencing rebbots on the 601?  Advice is really needed!

Thanks
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] agentcallback login kicking agents out after call completion.

2007-04-24 Thread Jordan Novak
Has anyone had this happen to them using chan_agent. It does not happen
all the time.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] echo cancellation and ztdummy

2007-04-24 Thread Jorge Mendoza

http://www.voip-info.org/wiki/view/Causes+of+Echo

Rob Townley wrote:

Please tell me what hybrid echo is?  Where does it come from?  Does
it have something to do with analog vs T1 trunk lines?

On 4/23/07, William Moore [EMAIL PROTECTED] wrote:

On 4/23/07, Patrick Fortin [EMAIL PROTECTED] wrote:
 Are echo cancellation parameters useful when using the ztdummy 
driver and

 no physical card ?

No.  The echocan software and hardware only cancel hybrid echo.  They
do not cancel acoustic echo that would be generated by voip phones
with bad speakerphones or bad headsets.
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Call Connection Problem

2007-04-24 Thread Nicholas Campion

To help me understand the problem, let me see if i have the environment
straight.  How are you connecting to the PSTN (to call your land line) FXO?
VoIP Service Provider?  How do you know Asterisk CLI is placing the call
(are you watching the console?).  If you are watching the console try and
boost the debug / verbose settings and see if any extra information is
provided.  It sounds like (from your description) the script is working find
from asterisk's point of view, but whatever sip/aix/whatever endpoing you
are connecting to is failing to place the call to the land line.

I'll need more information to help further.

On 4/24/07, Arun Kumar [EMAIL PROTECTED] wrote:


Hi,

I'm running a php script to generate calls using Asterisk Manager and its
working fine. this script call a specified land line number if the phone is
answered then It will connect to an extension and play an IVR. But I see in
Asterisk CLI its placing the call and it shows channel answered but I don't
receive call on my land line and it starts playing the IVR. Please guide me
how to solve the problem.

thanks

arun

___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Digium card sale

2007-04-24 Thread John Novack

The list police are out in force today!

More archive space is used up in these kinds of complaints than the OP.
Let's move on.

Peg Leg O'Brien


Erik Anderson wrote:

On 4/24/07, Astawerks [EMAIL PROTECTED] wrote:


No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 
4/23/2007

5:26 PM


Not only should this be on the biz list, but you're also using the
Free version of AVG for commercial purposes.  This hasn't been a good
day for you, has it? I'm guessing I'm not the only one on the list
that has added astawerks to my banned sellers list.

-erik
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Re: ztdummy

2007-04-24 Thread Don Fletcher

Tony Mountifield wrote:

In article [EMAIL PROTECTED],
Don Fletcher [EMAIL PROTECTED] wrote:
  

dmesg just says
ztdummy: Unable to register zaptel rtc driver



You probably have the genrtc clock module loaded, instead of rtc.
ztdummy will only work with rtc.

Cheers
Tony
  
How can I tell if it is the genrtc clock module loaded? and how do I 
switch it to the rtc if it is?


Thanks

Don
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Polycom SP 601 Reboot Issue- Help!

2007-04-24 Thread Russ Beaupre
We had a situation where the 601 base went missing and the electrical 
connection between the side cars and the 601 was broke.  Might be worth a 
look to see if the phone got damaged.


-Original Message-

From: Jerry Jones [EMAIL PROTECTED]

To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Date: Tue, 24 Apr 2007 12:27:46 -0500

Subject: Re: [asterisk-users] Polycom SP 601 Reboot Issue- Help!




The only reboot issue I have with 1 sidecar is the side car deciding  

to randonly rebbot, not the phone itself



Perhaps upgrading to 2.1 will help?





On Apr 24, 2007, at 10:51 AM, J French wrote:



 I have a Polycom 601 with 3 expansion modules running 2.0.3.  We  

 have Buddywatch set up on around 42 users on the expansion  

 modules.  We are experiencing reboots on the 601.  Today it  

 happened twice after users paged through the phones.  The page  

 groups have about 23 phones each.  There is a third page group  

 comprising all 46 phones.  I'm thinking it may be an issue with  

 changing buddywatch state on so many buddies so quickly.  Also, the  

 cpu usage is pegged at 100% for around 3 minutes after it reboots,  

 FWIW.



 Anyone else experiencing rebbots on the 601?  Advice is really needed!



 Thanks

 ___

 --Bandwidth and Colocation provided by Easynews.com --



 asterisk-users mailing list

 To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users 
[http://lists.digium.com/mailman/listinfo/asterisk-users]



___

--Bandwidth and Colocation provided by Easynews.com --



asterisk-users mailing list

To UNSUBSCRIBE or update options visit:

   http://lists.digium.com/mailman/listinfo/asterisk-users 
[http://lists.digium.com/mailman/listinfo/asterisk-users]
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] ZT_CHANCONFIG failed on channel 1: Nosuchdeviceor address

2007-04-24 Thread Tzafrir Cohen
On Mon, Apr 23, 2007 at 07:59:52PM +1200, CSB wrote:
 
 Did it identify a card?
 
 rmmod wctdm; modprobe wctdm; dmesg | tail
 
 rmmod wctdm; modprobe wctdm; dmesg | tail
 ZT_CHANCONFIG failed on channel 1: No such device or address (6)
 FATAL: Error running install command for wctdm
 
 Errr. What does that mean?

buggy modprobe rules did it again. Generally you should ignore that. To
prevent it from re-occouring, remove the line with 'wctdm' and 'ztcfg'
from /etc/modprobe.conf or /etc/modprobe.d/zaptel .

But what about: dmesg | tail

What Linux distribution do you use, BTW?
What kernel version?

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Free agent while are waiting calls

2007-04-24 Thread equis software

Asterisk 1.4
I have strategy = leastrecent and autofill = yes  options in my queues.conf

I have 2 agents, one is answering a call and the other is free and have some
calls waiting in the queue.
Only when the first agent hangup the second agent receive the first call in
the queue.
It happends some times.

This behavior still happend in 1.4.2 version.

Thanks a lot.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Make an iso image or a kickstart-Really its too urgent

2007-04-24 Thread Tzafrir Cohen
On Wed, Apr 25, 2007 at 04:15:58AM +1100, Jaswinder Singh wrote:
 Why not use a asterisk specific live cd distribution like www.astlinux.org
 ? It is also installable on usb . You can copy your whole dialplan and
 settings ( all files in /etc/asterisk ) on a pendrive .

Because he asked specifically about CentOS.

As usual, google is your friend. A quick search for 'centos kickstart'
gives some answers. I do not have experince with kickstart
installations, but I figure you'll basically need to start with an
automated basic server installation and add to it a script to either
install asterisk packages or download and install asterisk.

It will probably take some debugging, so qemu can be handy.

And while we're plugging some irrelevant stuff,
http://updates.xorcom.com/iso/ has some images that you really wouldn't
like as they are based on Debian. OTOH, some might want them becasue of
that. 'live.iso' is something you wouldn't like because it is a live CD
rather than a system installer (as rapid-current.iso is)

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] How can I improve call quality?

2007-04-24 Thread Ed W


Check first using something like testmyvoip.com to get an idea of your 
situation (stress the internet by opening up lots of simultaneous 
downloads during the test)


Repeat: Try the above before you do anything else...

Ed W
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] UK zaptel and zapata.conf for TDM400P

2007-04-24 Thread Ed W

Hi


usecallerid=yes
cidsignalling=v23
cidstart=polarity


Although this is what the wiki recommends, I just couldn't get the 
cidstart=polarity to play well with immediate=yes, I kept loosing the 
callerid?


This is what I ended up with and now it avoids the annoying 2 rings 
before the internal extensions start to ring.  However, I still have a 
problem in that if someone hangs up while still in ringing state then 
asterisk continues to ring for 2 more rings (roughly).  This is annoying 
because BT appear to do a line test every 30 hours or so and so my lines 
ring for 2 rings at random times of day or night



[EMAIL PROTECTED] asterisk]# more zapata.conf
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300  ; Atlas seems to use long (250ms) winks

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

ukcallerid=yes
cidsignalling=v23
cidstart=ring
;cidstart=polarity ; Added for UK CLI detection
sendcalleridafter=0
immediate=yes ; as we recieve cli info before not after first ring.

answeronpolarityswitch=no

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Re: Asterisk dialing next extension only if first is busy?

2007-04-24 Thread Benny Amorsen
 SB == Stephen Bosch [EMAIL PROTECTED] writes:

SB And it will mean that calls answered by SIP/line1 will roll over
SB to SIP/line2 after the caller hangs up, so you'll get a lot of
SB nuisance rings.

That has not been my experience. When either party hangs up, the call
goes to the h extension, at least with 1.2.x.


/Benny


___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Marketing 101

2007-04-24 Thread shadowym

 
I have some general questions about marketing.  Lot's of technical info but
I was wondering how people are getting the business to begin with.  I'm from
the IT end of things but Telco is quite a bit different.  Is cold calling
still the way to go or networking?  General stuff like that.  

Are there any resources on the web I can search for?  Any suggestions would
be appreciated.

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] dundi problem * 1.4.2

2007-04-24 Thread Remco Post
Hi All,

I've been banging my head on a small dundi problem...

I have two * servers setup, both have almost identical dundi.conf files:

[EMAIL PROTECTED]:/opt/asterisk/etc# cat dundi.conf
[general]
department=thuis
organization=pipsworld
locality=Amsterdam
stateprov=NH
country=NL
[EMAIL PROTECTED]
phone=+31207508308

;bindaddr=0.0.0.0
;port=4520

entity=00:02:b3:49:69:5e

ttl=16

autokill=yes

;secretpath=dundi

[mappings]
;pipsworld =
pipsworld,1,IAX2,dundi:[EMAIL PROTECTED]/${NUMBER},nopartial
;pipsworld =
external,1000,IAX2,[EMAIL 
PROTECTED]/31207508308,nounsolicited,nocomunsolicit,nopartial


[02:60:8c:f2:3e:aa]
model = symmetric
host = pipc.pipsworld.nl
inkey = pipsworld
outkey = pipsworld
include = pipsworld
permit = pipsworld
qualify = yes


and:

[general]
department=thuis
organization=pipsworld
locality=Amsterdam
stateprov=NH
country=NL
[EMAIL PROTECTED]
phone=+31207508308

;bindaddr=0.0.0.0
;port=4520

entity=02:60:8c:f2:3e:aa
ttl=16
autokill=yes

;secretpath=dundi

[mappings]
pipsworld = pipsworld,0,IAX2,dundi:[EMAIL PROTECTED]/${NUMBER}
; pipsworld =
external,0,IAX2,[EMAIL 
PROTECTED]/${NUMBER},nounsolicited,nocomunsolicit,nopartial


[00:02:b3:49:69:5e]
model = symmetric
host = tsjonge.pipsworld.nl
inkey = pipsworld
outkey = pipsworld
include = pipsworld
permit = pipsworld
qualify = yes


But for some reason dundi-lookups fail.

tsjonge*CLI dundi lookup [EMAIL PROTECTED]
DUNDi lookup returned no results.
DUNDi lookup completed in 3 ms
ETx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: DPDISCOVER
(Command)
  Flags: 00 STrans: 23682  DTrans: 0 [145.100.55.14:4520]
VERSION : 1
DIRECT EID  : 00:50:da:73:18:c6
CALLED NUMBER   : 29
CALLED CONTEXT  : pipsworld
TTL : 16

Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT  (Command)
 Flags: 00 STrans: 23682  DTrans: 0 [145.100.55.14:4520]
   ENTITY IDENT: 00:50:da:73:18:c6
   KEYCRC32: 1754443205
   ENCDATA : [IV a7a14a4b63ccc33286b2b23108b05f49] 4 encrypted
blocks


Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCREJ   (Response)
 Flags: 00 STrans: 21677  DTrans: 23682 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK  (Response)
 Flags: 00 STrans: 23682  DTrans: 21677 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT  (Command)
 Flags: 00 STrans: 15333  DTrans: 0 [145.100.55.14:4520]
   ENTITY IDENT: 00:50:da:73:18:c6
   SHAREDKEY   : [ 5b c1 3c b5 41 6d a9 11 62 40 16 0a a4 b9 11 1f
54 ae b1 7f bd af de f7 aa 5a 72 13 2e d8 b1 e7 56 17 4a 48 6a 82 3b 66
ef c4 07 b7 ce 3e ab 39 d0 75 b4 b4 0f 08 af 21 9f d6 a9 45 34 be bd 59
bc e2 a2 5b a3 d8 60 7d 8d d2 31 01 24 73 ba 27 e0 3d ce ca 22 50 c6 ef
83 ba b6 24 b3 7d 34 5b c2 c0 31 36 b5 1d bf 62 73 56 77 61 b5 5f 9e cf
d3 d2 8b 98 25 e6 47 54 7f a6 0f 97 42 ab 96 74 ]
   SIGNATURE   : [ d3 d9 4f d2 05 9d 71 b3 4f 76 32 29 74 02 51 2f
90 40 10 c8 6c 49 3d 67 e4 8b e4 bd 2b ca 32 ed 65 d3 b0 bc 87 ff 30 60
05 e6 f2 e2 52 2f 04 6a a4 6a fe 6e ca 9c d0 e5 24 fa e6 35 9d 38 0a 93
61 46 84 04 03 c2 f8 9d eb b5 06 60 5b 23 f3 33 69 82 3c ba 2c 57 f9 af
1a be a9 b5 23 0d 53 58 f0 fa 07 13 c1 79 b8 37 5e 7c 87 dc 14 1b a3 ec
78 6e 91 8d 1d fa 52 db 54 ce 03 3e d8 ac 96 86 ]
   ENCDATA : [IV a7a14a4b63ccc33286b2b23108b05f49] 4 encrypted
blocks


Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCREJ   (Response)
 Flags: 00 STrans: 15402  DTrans: 15333 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK  (Response)


as you can see from the dialplan the extension is available:

pipc*CLI dialplan show pipsworld
[ Context 'pipsworld' created by 'IAX2' ]
  '20' =   1. Noop(remco)[IAX2]
  '22' =   1. Noop(tsja) [IAX2]
  '23' =   1. Noop(sipura1_tst)  [SIP]
  '24' =   1. Noop(sipura2_tst)  [SIP]
  '28' =   1. Noop(s450_1)   [SIP]
  '29' =   1. Noop(s450_2)   [SIP]
  'sipura1_lijn' = 1. Noop(sipura1_lijn) [SIP]
  'sipura2_lijn' = 1. Noop(sipura2_lijn) [SIP]

also, tcpdump shows that both dundi-peers are communicating (as does the
dundi debug output).

Any hints?

-- 

Remco Post

I didn't write all this code, and I can't even pretend that all of it
makes sense. -- Glen Hattrup
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] SER/OpenSER, I Finally Get It.............General Observation

2007-04-24 Thread JR Richardson

Sorry if this hit the list twice, sent out yesterday, but didn't see it show up.

Hi All,

Can Asterisk be used as a SIP proxy, blah, blah, blah???

I've glanced over questions like this through the years, with a good idea on
what a SIP proxy is and what Asterisk is and IS NOT.  I never really took
the time to lab-up SER and test drive it to see what advantages might be
gained from using it to front-end an Asterisk Cluster.  In fact, I pride
myself on using Asterisk (alone) to its fullest ability to accomplish my
clustering and scaling goals.  As an ITSP, adding customers, means racking
and stacking more Asterisk servers and gel them into the Cluster, no
problem.  Adding PSTN connectivity would mean the same for the most
part..here lays the conundrum.

I didn't have a good way to load balance the PSTN connections, and as
embarrassing as it is, Cisco Call Manager connections as well.  So after
growing and scaling a bit, I realized I would need a load balancer for
non-asterisk SIP originating trunks coming into the Asterisk Cluster.  After
a few minutes of pondering, said to myself, I can really use a good SIP
proxy with a round-robin load balancing mechanism.  SER came to mind.

I always wanted to mock up SER and test it out, but never had a strong need
for it.  After reading the some documents and such 'Hello World', literally
2 to 3 hours of researching and about an hour of lab server setup and SER
installation, I had phones registered and talking.  Once the foundation was
laid, I loaded the dispatcher module in SER and with a bit of trial and
error with the config file, had load balancing fired up across 4 Asterisk
servers.  Not exactly what I was looking for, SER has random load balancing,
so the distribution across the cluster varied widely.

I checked out OpenSER (a SER fork), which has a newer dispatcher module,
incorporating a round-robin load balancer and skip-to-the-next-server
fail-over mechanism.  This actually performed more to my liking.  A couple
of little bugs, the last entry in the dispatcher.list is skipped over for
some reason and the first entry in the dispatcher.list is called twice (can
someone tell me why this is or tell me how to fix it?).  Now for the test:

I created a call-loop, like a stress test, between an Asterisk server acting
as a PSTN Gateway device and 4 Asterisk servers in a Cluster arrangement
load balanced by OpenSER in between.  Since OpenSER is just a proxy, no
audio was used.  I initiated 80 calls to SER which proxy'ed the calls to the
4 Asterisk servers, in turn those 80 distributed calls initiated 80 more
calls which looped back to OpenSER, and back to the 4 Asterisk servers
generating 80 more calls and so on.  The calls continued till the Asterisk
servers pretty much cratered, couldn't open any more files, SIP resources
unavailable, 1300+ sip channels open, proc utilization 50%+all
in a matter of a few second.

OpenSER took all that 5 Asterisk servers could handle and never winced,
didn't break a sweat, did not even breach 2% proc utilization.

I ran this test more than 10 times, each concluding with reloading all 5
Asterisk servers to re-gain control.  I did not reload Open SER once.

Two things come out of this testing, first and foremost, I am still and will
always be a true Astriholic; and second, I can't seem to break OpenSER and
if you can't break-em, join-em.

Can I use OpenSER as a voicemail server, blah, blah, blah???

JR

JR Richardson
Engineering for the Masses
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Re: ast 1.2.x - cisco 7970 behind nat to external asterisk with no nat

2007-04-24 Thread Matt Gibson

Here is a followup:

I've now tried SIP 7.0.5 which also doesn't work. I've also got
debugging information from both sites (1.4.2, nat, local) and (1.2.16,
no nat, remote) which I will paste below. Any help would be greatly
appreciated. It looks to me like the issue is the following:

Authorization: Digest
username=8080,realm=asterisk,uri=sip:10.0.2.10,response=f990f963433d72944ca125d5c62c275d,nonce=13a80653,algorithm=MD5
Content-Length: 0

That appears on the 1.4.2 site, but not the 1.2.16 side. Is this why
the phone isn't registering? I don't know enough about SIP to know for
sure.


SIP ON REMOTE BOX:
--

-- SIP read from XXX.XXX.XXX.XXX:55511:
REGISTER sip:pbx.somedomain.com SIP/2.0
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKf7e4cbea
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf000779e2fc93-88fdab30
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
Max-Forwards: 70
Date: Tue, 24 Apr 2007  GMT
CSeq: 103 REGISTER
User-Agent: Cisco-CP7970G/8.0
Contact: sip:[EMAIL 
PROTECTED]:5060;transport=udp;+sip.instance=urn:uuid:----0015faa0e8cf;+u.sip!model.ccm.cisco.com=30006
Content-Length: 0
Expires: 3600


--- (12 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 10.0.2.20 : 5060 (NAT)
Transmitting (NAT) to XXX.XXX.XXX.XXX:55511:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKf7e4cbea;received=XXX.XXX.XXX.XXX
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf000779e2fc93-88fdab30
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:[EMAIL PROTECTED]
Content-Length: 0


---
Transmitting (NAT) to XXX.XXX.XXX.XXX:55511:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKf7e4cbea;received=XXX.XXX.XXX.XXX
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf000779e2fc93-88fdab30
To: sip:[EMAIL PROTECTED];tag=as67521997
Call-ID: [EMAIL PROTECTED]
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
WWW-Authenticate: Digest algorithm=MD5, realm=asterisk, nonce=1810bf00
Content-Length: 0





SIP ON LOCAL (NO NAT) BOX:
--

--- SIP read from 10.0.2.20:51950 ---
REGISTER sip:10.0.2.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKb64f7d91
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf0002ce03525c-f41c3afb
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
Max-Forwards: 70
Date: Tue, 24 Apr 2007  GMT
CSeq: 102 REGISTER
User-Agent: Cisco-CP7970G/8.0
Contact: sip:[EMAIL 
PROTECTED]:5060;transport=udp;+sip.instance=urn:uuid:----0015faa0e8cf;+u.sip!model.ccm.cisco.com=30006
Authorization: Digest
username=8080,realm=asterisk,uri=sip:10.0.2.10,response=f990f963433d72944ca125d5c62c275d,nonce=13a80653,algorithm=MD5
Content-Length: 0
Expires: 3600


-
--- (13 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 10.0.2.20 : 5060 (no NAT)

--- Transmitting (no NAT) to 10.0.2.20:5060 ---
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKb64f7d91;received=10.0.2.20
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf0002ce03525c-f41c3afb
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: sip:[EMAIL PROTECTED]
Content-Length: 0



pbx*CLI
--- Transmitting (no NAT) to 10.0.2.20:5060 ---
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKb64f7d91;received=10.0.2.20
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf0002ce03525c-f41c3afb
To: sip:[EMAIL PROTECTED];tag=as3d34555a
Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: sip:[EMAIL PROTECTED]:5060;transport=udp;expires=3600
Date: Tue, 24 Apr 2007 21:40:09 GMT
Content-Length: 0


Thanks for your help!


On 24/04/07, Matt Gibson [EMAIL PROTECTED] wrote:

Hi All,

As the subject describes, has anyone gotten this to work? I am running
an asterisk 1.2.16 server, and am trying to register my cisco 7970
remotely to it, but it just won't go.

I am running 1.4.2 internally and the phone registers fine to it. I'm
using the latest firmware (i think) - 8.2.1S

On the server in question I have tried the following for the sip declaration:

qualify=never
nat=no (yes)
defaultip=(natip)(externalip)
md5secret=md5pass
or
secret=secret

Nothing seems to work, and I continually get sip 401 unauthorized
messages on the console when the phone tries to register.

I've spent a number of hours on this googling and searching for anyone
working with 1.2 and 7970's, but I can't find any information. Any
help would be much appreciated.

Scenario:

cisco 7970 - switch - pfsense/soekris/nat - cable modem - remote pbx

Local firewall has port forwarding on for 5060 

[asterisk-users] agi timeout

2007-04-24 Thread JR Richardson

Hi All,

Is there a way to specify a time-out option when you call an AGI
command from the dialplan?

If my AGI fails or doesn't get a response, the call drops, not good.

Thanks.

JR

--
JR Richardson
Engineering for the Masses
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] dundi problem * 1.4.2

2007-04-24 Thread Asterisk [Submusic]
Hi,

I'm not working with Asterisk 1.4.X, but i think your Dundi.conf is not
correct.

If you want i can send you my complete working exemple with Asterisk 1.2.x
(I think the config is the same)

Fred




-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Remco Post
Envoyé : mardi, 24. avril 2007 23:15
À : Asterisk Users Mailing List - Non-Commercial Discussion
Objet : [asterisk-users] dundi problem * 1.4.2

Hi All,

I've been banging my head on a small dundi problem...

I have two * servers setup, both have almost identical dundi.conf files:

[EMAIL PROTECTED]:/opt/asterisk/etc# cat dundi.conf
[general]
department=thuis
organization=pipsworld
locality=Amsterdam
stateprov=NH
country=NL
[EMAIL PROTECTED]
phone=+31207508308

;bindaddr=0.0.0.0
;port=4520

entity=00:02:b3:49:69:5e

ttl=16

autokill=yes

;secretpath=dundi

[mappings]
;pipsworld =
pipsworld,1,IAX2,dundi:[EMAIL PROTECTED]/${NUMBER},nopartial
;pipsworld =
external,1000,IAX2,[EMAIL PROTECTED]/31207508308,nounsolicited,nocomun
solicit,nopartial


[02:60:8c:f2:3e:aa]
model = symmetric
host = pipc.pipsworld.nl
inkey = pipsworld
outkey = pipsworld
include = pipsworld
permit = pipsworld
qualify = yes


and:

[general]
department=thuis
organization=pipsworld
locality=Amsterdam
stateprov=NH
country=NL
[EMAIL PROTECTED]
phone=+31207508308

;bindaddr=0.0.0.0
;port=4520

entity=02:60:8c:f2:3e:aa
ttl=16
autokill=yes

;secretpath=dundi

[mappings]
pipsworld = pipsworld,0,IAX2,dundi:[EMAIL PROTECTED]/${NUMBER}
; pipsworld =
external,0,IAX2,[EMAIL PROTECTED]/${NUMBER},nounsolicited,nocomunsolic
it,nopartial


[00:02:b3:49:69:5e]
model = symmetric
host = tsjonge.pipsworld.nl
inkey = pipsworld
outkey = pipsworld
include = pipsworld
permit = pipsworld
qualify = yes


But for some reason dundi-lookups fail.

tsjonge*CLI dundi lookup [EMAIL PROTECTED]
DUNDi lookup returned no results.
DUNDi lookup completed in 3 ms
ETx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: DPDISCOVER
(Command)
  Flags: 00 STrans: 23682  DTrans: 0 [145.100.55.14:4520]
VERSION : 1
DIRECT EID  : 00:50:da:73:18:c6
CALLED NUMBER   : 29
CALLED CONTEXT  : pipsworld
TTL : 16

Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT  (Command)
 Flags: 00 STrans: 23682  DTrans: 0 [145.100.55.14:4520]
   ENTITY IDENT: 00:50:da:73:18:c6
   KEYCRC32: 1754443205
   ENCDATA : [IV a7a14a4b63ccc33286b2b23108b05f49] 4 encrypted
blocks


Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCREJ   (Response)
 Flags: 00 STrans: 21677  DTrans: 23682 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK  (Response)
 Flags: 00 STrans: 23682  DTrans: 21677 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT  (Command)
 Flags: 00 STrans: 15333  DTrans: 0 [145.100.55.14:4520]
   ENTITY IDENT: 00:50:da:73:18:c6
   SHAREDKEY   : [ 5b c1 3c b5 41 6d a9 11 62 40 16 0a a4 b9 11 1f
54 ae b1 7f bd af de f7 aa 5a 72 13 2e d8 b1 e7 56 17 4a 48 6a 82 3b 66
ef c4 07 b7 ce 3e ab 39 d0 75 b4 b4 0f 08 af 21 9f d6 a9 45 34 be bd 59
bc e2 a2 5b a3 d8 60 7d 8d d2 31 01 24 73 ba 27 e0 3d ce ca 22 50 c6 ef
83 ba b6 24 b3 7d 34 5b c2 c0 31 36 b5 1d bf 62 73 56 77 61 b5 5f 9e cf
d3 d2 8b 98 25 e6 47 54 7f a6 0f 97 42 ab 96 74 ]
   SIGNATURE   : [ d3 d9 4f d2 05 9d 71 b3 4f 76 32 29 74 02 51 2f
90 40 10 c8 6c 49 3d 67 e4 8b e4 bd 2b ca 32 ed 65 d3 b0 bc 87 ff 30 60
05 e6 f2 e2 52 2f 04 6a a4 6a fe 6e ca 9c d0 e5 24 fa e6 35 9d 38 0a 93
61 46 84 04 03 c2 f8 9d eb b5 06 60 5b 23 f3 33 69 82 3c ba 2c 57 f9 af
1a be a9 b5 23 0d 53 58 f0 fa 07 13 c1 79 b8 37 5e 7c 87 dc 14 1b a3 ec
78 6e 91 8d 1d fa 52 db 54 ce 03 3e d8 ac 96 86 ]
   ENCDATA : [IV a7a14a4b63ccc33286b2b23108b05f49] 4 encrypted
blocks


Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCREJ   (Response)
 Flags: 00 STrans: 15402  DTrans: 15333 [145.100.55.14:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK  (Response)


as you can see from the dialplan the extension is available:

pipc*CLI dialplan show pipsworld
[ Context 'pipsworld' created by 'IAX2' ]
  '20' =   1. Noop(remco)[IAX2]
  '22' =   1. Noop(tsja) [IAX2]
  '23' =   1. Noop(sipura1_tst)  [SIP]
  '24' =   1. Noop(sipura2_tst)  [SIP]
  '28' =   1. Noop(s450_1)   [SIP]
  '29' =   1. Noop(s450_2)   [SIP]
  'sipura1_lijn' = 1. Noop(sipura1_lijn) [SIP]
  'sipura2_lijn' = 1. Noop(sipura2_lijn) [SIP]

also, tcpdump shows that both dundi-peers are communicating (as does the
dundi debug output).

Any hints?

-- 

Remco Post

I didn't write all this code, 

Re: [asterisk-users] UK zaptel and zapata.conf for TDM400P

2007-04-24 Thread Tzafrir Cohen
On Tue, Apr 24, 2007 at 09:35:07PM +0100, Ed W wrote:
 Hi
 
 usecallerid=yes
 cidsignalling=v23
 cidstart=polarity
 
 Although this is what the wiki recommends, I just couldn't get the 
 cidstart=polarity to play well with immediate=yes, I kept loosing the 
 callerid?

Actually: immediate=yes will not work with callerid. The caller ID is
passed after the first ring (or even later is other variations) on
analog channels.

 
 This is what I ended up with and now it avoids the annoying 2 rings 
 before the internal extensions start to ring.  However, I still have a 
 problem in that if someone hangs up while still in ringing state then 
 asterisk continues to ring for 2 more rings (roughly).  This is annoying 
 because BT appear to do a line test every 30 hours or so and so my lines 
 ring for 2 rings at random times of day or night

What do you have on your dialplan for an incoming call?

 
 
 [EMAIL PROTECTED] asterisk]# more zapata.conf
 ;
 ; Zapata telephony interface
 ;
 ; Configuration file
 
 [trunkgroups]
 
 [channels]
 
 language=en
 context=from-zaptel
 signalling=fxs_ks
 rxwink=300  ; Atlas seems to use long (250ms) winks
 
 usecallerid=yes
 hidecallerid=no
 callwaiting=yes
 usecallingpres=yes
 callwaitingcallerid=yes
 threewaycalling=yes
 transfer=yes
 cancallforward=yes
 callreturn=yes
 echocancel=yes
 echocancelwhenbridged=no
 echotraining=800
 rxgain=0.0
 txgain=0.0
 group=0
 callgroup=1
 pickupgroup=1
 immediate=no
 
 ukcallerid=yes
 cidsignalling=v23
 cidstart=ring
 ;cidstart=polarity ; Added for UK CLI detection
 sendcalleridafter=0
 immediate=yes ; as we recieve cli info before not after first ring.
 
 answeronpolarityswitch=no

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Re: ast 1.2.x - cisco 7970 behind nat to external asterisk with no nat

2007-04-24 Thread Matt Gibson

I've been told to reply with the relevant section of my sip.conf.


[125]
type=friend
username=125
md5secret=3b7d9943ee3a22a36d59afead97fa442
host=dynamic
;defaultip=xx.xx.xx.xx
qualify=no
context=local
callerid=Test 125
amaflags=default
nat=yes
canreinvite=no
[EMAIL PROTECTED]
allow=ulaw

I generated the password with echo -n 125:asterisk:pass | md5sum

Thanks,
MG


On 24/04/07, Matt Gibson [EMAIL PROTECTED] wrote:

Here is a followup:

I've now tried SIP 7.0.5 which also doesn't work. I've also got
debugging information from both sites (1.4.2, nat, local) and (1.2.16,
no nat, remote) which I will paste below. Any help would be greatly
appreciated. It looks to me like the issue is the following:

Authorization: Digest
username=8080,realm=asterisk,uri=sip:10.0.2.10,response=f990f963433d72944ca125d5c62c275d,nonce=13a80653,algorithm=MD5
Content-Length: 0

That appears on the 1.4.2 site, but not the 1.2.16 side. Is this why
the phone isn't registering? I don't know enough about SIP to know for
sure.


SIP ON REMOTE BOX:
--

-- SIP read from XXX.XXX.XXX.XXX:55511:
REGISTER sip:pbx.somedomain.com SIP/2.0
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKf7e4cbea
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf000779e2fc93-88fdab30
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
Max-Forwards: 70
Date: Tue, 24 Apr 2007  GMT
CSeq: 103 REGISTER
User-Agent: Cisco-CP7970G/8.0
Contact: sip:[EMAIL 
PROTECTED]:5060;transport=udp;+sip.instance=urn:uuid:----0015faa0e8cf;+u.sip!model.ccm.cisco.com=30006
Content-Length: 0
Expires: 3600


--- (12 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 10.0.2.20 : 5060 (NAT)
Transmitting (NAT) to XXX.XXX.XXX.XXX:55511:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKf7e4cbea;received=XXX.XXX.XXX.XXX
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf000779e2fc93-88fdab30
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:[EMAIL PROTECTED]
Content-Length: 0


---
Transmitting (NAT) to XXX.XXX.XXX.XXX:55511:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKf7e4cbea;received=XXX.XXX.XXX.XXX
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf000779e2fc93-88fdab30
To: sip:[EMAIL PROTECTED];tag=as67521997
Call-ID: [EMAIL PROTECTED]
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
WWW-Authenticate: Digest algorithm=MD5, realm=asterisk, nonce=1810bf00
Content-Length: 0





SIP ON LOCAL (NO NAT) BOX:
--

--- SIP read from 10.0.2.20:51950 ---
REGISTER sip:10.0.2.10 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKb64f7d91
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf0002ce03525c-f41c3afb
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
Max-Forwards: 70
Date: Tue, 24 Apr 2007  GMT
CSeq: 102 REGISTER
User-Agent: Cisco-CP7970G/8.0
Contact: sip:[EMAIL 
PROTECTED]:5060;transport=udp;+sip.instance=urn:uuid:----0015faa0e8cf;+u.sip!model.ccm.cisco.com=30006
Authorization: Digest
username=8080,realm=asterisk,uri=sip:10.0.2.10,response=f990f963433d72944ca125d5c62c275d,nonce=13a80653,algorithm=MD5
Content-Length: 0
Expires: 3600


-
--- (13 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 10.0.2.20 : 5060 (no NAT)

--- Transmitting (no NAT) to 10.0.2.20:5060 ---
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKb64f7d91;received=10.0.2.20
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf0002ce03525c-f41c3afb
To: sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: sip:[EMAIL PROTECTED]
Content-Length: 0



pbx*CLI
--- Transmitting (no NAT) to 10.0.2.20:5060 ---
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.2.20:5060;branch=z9hG4bKb64f7d91;received=10.0.2.20
From: sip:[EMAIL PROTECTED];tag=0015faa0e8cf0002ce03525c-f41c3afb
To: sip:[EMAIL PROTECTED];tag=as3d34555a
Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: sip:[EMAIL PROTECTED]:5060;transport=udp;expires=3600
Date: Tue, 24 Apr 2007 21:40:09 GMT
Content-Length: 0


Thanks for your help!


On 24/04/07, Matt Gibson [EMAIL PROTECTED] wrote:
 Hi All,

 As the subject describes, has anyone gotten this to work? I am running
 an asterisk 1.2.16 server, and am trying to register my cisco 7970
 remotely to it, but it just won't go.

 I am running 1.4.2 internally and the phone registers fine to it. I'm
 using the latest firmware (i think) - 8.2.1S

 On the server in question I have tried the following for the sip declaration:

 qualify=never
 nat=no (yes)
 defaultip=(natip)(externalip)
 md5secret=md5pass
 or
 

Re: [asterisk-users] dundi problem * 1.4.2

2007-04-24 Thread Remco Post
Asterisk [Submusic] wrote:
 Hi,
 
 I'm not working with Asterisk 1.4.X, but i think your Dundi.conf is not
 correct.
 

well, things haven't changed in the dundi.conf going from 1.2 to 1.4, so
that should be ok.

 If you want i can send you my complete working exemple with Asterisk 1.2.x
 (I think the config is the same)
 

Please do. I've had a friend look at my dundi.conf, he couldn't find
anything wrong with it, but it is quite likely that there is.

 Fred
 
 
 
 


-- 

Remco Post

I didn't write all this code, and I can't even pretend that all of it
makes sense. -- Glen Hattrup
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] Digium h/w serial numbers

2007-04-24 Thread jacobso1
Hi,

You most probably kept the invoice
So contact digium. My experience was that they are human

Regards,

t. jacobson

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Trevor Peirce
Sent: dimanche 22 avril 2007 19:58
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Digium h/w serial numbers

Hello,

I'm at a loss for a way to find the serial number of a Digium analog 
card without physically removing it from the server.  The only time I 
have physical access to this particular installation is during business 
hours and that's obviously a bad time to be taking a server down.

It seems that I need the serial number to get a free copy of HPEC... but 
unless someone can convince me otherwise, I have a feeling it would just 
be easier to shell out the $10 per channel to avoid the downtime and 
drive out there.

Thanks,
Trevor
___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] app_dictate playback problems

2007-04-24 Thread David Josephson
I wonder if anyone else is having these problems. We are running 
Asterisk 1.2.17, with an assortment of SIP users and peers. This is 
running on an 600 MHz P3 with CentOS 4.4, and worked properly in 
Asterisk 1.2.15. Nothing else running on the server except the usual 
support stuff like sshd, a mostly idle httpd, and no GUI.


app_dictate works fine for recording, but on some calls during playback 
the audio jumps around, playing fragments of the file. Using the fast 
playback mode sometimes works, sometimes causes the jumping around to 
get worse.


Incoming calls to the Dictate() application from different SIP carriers 
and different hard and soft phones give drastically different results. 
For instance, dialing in via an 01 Communications DID (resold by 
Broadvoice) at 831-713-4569 fails on playback (as described, just 
fragments of audio) every time. Dialing in via a Broadwing DID (resold 
by Vitelity) at 831-621-1913 works. Calling from a Grandstream phone 
fails, from a Cisco 7960 works most of the time, from a Motorola VT-1005 
ATA always works.


All other playback modes including MOH work fine.

I have some clue, but not enough. Any ideas?
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Digium card sale

2007-04-24 Thread Stephen Bosch
John Novack wrote:
 The list police are out in force today!

Yes, and with good reason. If we don't respond to this kind of crap with
strong negative reinforcement, it only gets worse. I do not want to see
the list fill with spam, thanks.

 More archive space is used up in these kinds of complaints than the OP.

So be it. Let the archives be a quiet warning.

-Stephen-
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] auto dial out multiple destinations

2007-04-24 Thread Yuan LIU

From: Vieri [EMAIL PROTECTED]
Date: Tue, 24 Apr 2007 05:13:53 -0700 (PDT)

--- Doug Lytle [EMAIL PROTECTED] wrote:
 Vieri wrote:
  However, Asterisk doesn't wait for the destination
 to
  pick the phone up, so the playback ends
 prematurely

 This has been discussed many times.  Search the
 archives.

 If you are using standard POTS lines, then Asterisk
 sees the call as
 being answered immediately.

Sorry I didn't search enough.
And thanks for the reply.
I guess I'll have to loop when using POTS.


Someone on the forum just pointed out that the c chanspec in Zap channel 
could be used for call confirmation, may not require loop - 
http://www.voip-info.org/wiki/view/Asterisk+ZAP+channels


Hope this helps.

Yuan Liu


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] LDAP authentication in Asterisk

2007-04-24 Thread Gavin Henry

On 24/04/07, sravana [EMAIL PROTECTED] wrote:

Hi all,
I have installed Asterisk in my PC. I am running one LDAP server. I
could not get enough documents which would help me to intergrate the
existing user Database. Say I have a LDAP directory which has all the
numbers and user details I should not edit the sip.conf again. Asterisk
should be made aware to contact the LDAP directory for user info or
Voicemail passwords etc.

Help on this would be highly appreciated.


http://bugs.digium.com/view.php?id=5768



Thanks and Regards,
Sravana
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Asterisk Project Security Adivsory Process

2007-04-24 Thread Kevin P. Fleming
Recent events, including vulnerabilities that were reported and the
subsequent discussions about how they were handled, have made those of
us that manage Asterisk development decide that it is time for the
Asterisk project to have a formal security vulnerability and advisory
reporting process.

Over the next few weeks we will begin to formalize and document this
process on the asterisk.org website, but here are the initial steps we
are taking:

1) We will begin to assign our own advisory numbers and publish our own
advisory reports when security issues are reported to us.

2) All code changes committed to our Subversion repositories will be
tagged with the assigned advisory number, so that anyone can see exactly
what code was affected and in what way, thereby easing the process for
people who cannot upgrade to a new release and want to just backport the
specific fix required for that vulnerability.

3) The advisory reports will include all information that is reported to
us, and all information we learn while verifying and correcting the
problem, including known exploit scripts and code and any other relevant
information.

4) We will attempt, as best we can, to provide an accurate high-level
summary and severity level for each advisory, so that end users can
quickly determine which vulnerabilities they need to be concerned about.

5) We will post our security advisories to (at least) these mailing lists:

- asterisk-security
- asterisk-announce
- asterisk-users
- asterisk-dev
- VOIPSEC ([EMAIL PROTECTED])
- bugtraq ([EMAIL PROTECTED])
- full-disclosure ([EMAIL PROTECTED])
- vulnwatch ([EMAIL PROTECTED])

6) We will post and archive all our advisories on the asterisk.org
website, and provide an RSS feed for those who wish to watch the
advisory listing page with automated newsreaders.

7) We will include the advisory numbers for every vulnerability that was
addressed in any release of one of our projects.

This process will begin with three vulnerabilities that are being posted
today; these advisories were given advisory numbers ASA-2007-010, -011
and -012. We intentionally skipped -001 through -009 so that we can
review this year's commits and publish official advisories for any other
issues that have already been corrected and not properly reported.

We appreciate everyone who provided their input into the discussions
regarding our previous handling of security advisories. While not
everyone was cordial and courteous with their comments, every opinion
presented to us was taken into account and we are attempting to ensure
that everyone will be satisfied with this new process. Obviously it is
still a work in process and we welcome additional comments and input on
ways that it could be improved.

As always, thanks for supporting Asterisk, Zaptel and the other
Asterisk-related projects!
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] dundi problem * 1.4.2

2007-04-24 Thread Asterisk [Submusic]
Hi,

My configuration:

SERVER 1: 192.168.1.1 = submusic
SERVER 2: 192.168.1.2 = vns

SERVER 1: Extension 32XX
SERVER 2: Extension 31XX

If you want, I can explain off list for more informations or Dundi concept

Tell me if you understand my configuration.

Fred


; DUNDI.conf SERVER 1 (Submusic)


[general]

bindaddr=0.0.0.0
port=4520

entityid=00:04:76:DB:54:7F

cachetime=1200

ttl=32
autokill=yes
storehistory=yes

[mappings]

asterisk-france =
dundi-priv-canonical,0,IAX,asterisk-france:[EMAIL PROTECTED]/${NUMBER},n
opartial

; VNS
[00:00:F8:04:C4:51]
model = symmetric
host = 192.168.1.2
inkey = vns
include = all
outkey = submusic
permit = asterisk-france
qualify = 3000
order= primary



; DUNDI.conf SERVER 2 (VNS)


[general]

bindaddr=0.0.0.0
port=4520

entityid=00:00:F8:04:C4:51

cachetime=1200
ttl=32
autokill=yes
storehistory=yes

[mappings]

asterisk-france =
dundi-priv-canonical,0,IAX,asterisk-france:[EMAIL PROTECTED]/${NUMBER},n
opartial

; SUBMUSIC
[00:04:76:DB:54:7F]
model = symmetric
host = 192.168.1.1
inkey = submusic
include = all
outkey = vns
permit = asterisk-france
qualify = yes
order= primary


; IAX.conf (Same for both)


[asterisk-france]
type=user
dbsecret=dundi/secret
context=dundi-priv-local



=
; Extension.conf Server 1 (Submusic)
=


; This macro is used to do the lookup and the match to the other host over
the Dundi Network

[macro-dundi-priv]
exten = s,1,Goto(${ARG1},1)
switch = DUNDi/asterisk-France


; This Context is where the Lookup function is looking for extension
matching, just put the priority 1 and a NoOP
This server is just responding for 3 Extension over the Dundi Network

[dundi-priv-canonical]
exten = 3202,1,NooP(DUNDI LOOKUP 3202)
exten = 3216,1,NooP(DUNDI LOOKUP 3216)
exten = 3220,1,NooP(DUNDI LOOKUP 3220)

; This context is used to receipt the IAX Call, it must match with the
iax.conf.

[dundi-priv-local]
exten = 3202,1,Dial(SIP/3202)
exten = 3216,1,Dial(SIP/3216)
exten = 3220,1,Dial(SIP/3220)


; This Extension is used for the lookup and the dial over the Dundi Network.
; You must put it in the context that allow tu dial over the Dundi Network

exten = _31XX,1,Macro(dundi-priv,${EXTEN})  ; VNS

=
; Extension.conf Server 2 (VNS)
=


; This macro is used to do the lookup and the match to the other host over
the Dundi Network

[macro-dundi-priv]
exten = s,1,Goto(${ARG1},1)
switch = DUNDi/asterisk-France


; This Context is where the Lookup function is looking for extension
matching, just put the priority 1 and a NoOP
This server is just responding for 3 Extension over the Dundi Network

[dundi-priv-canonical]
exten = 3101,1,NOOP(DUNDI)
exten = 3102,1,NOOP(DUNDI)
exten = 3103,1,NOOP(DUNDI)

; This context is used to receipt the IAX Call, it must match with the
iax.conf.

[dundi-priv-local]
; Direct numbers (dundi priority 0)
include = VNS

exten = 3101,1,Dial(SIP/3101)
exten = 3102,1,Dial(SIP/3102)
exten = 3103,1,Dial(SIP/3103)


===
End


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Remco Post
Envoyé : mercredi, 25. avril 2007 00:26
À : Asterisk Users Mailing List - Non-Commercial Discussion
Objet : Re: [asterisk-users] dundi problem * 1.4.2

Asterisk [Submusic] wrote:
 Hi,
 
 I'm not working with Asterisk 1.4.X, but i think your Dundi.conf is not
 correct.
 

well, things haven't changed in the dundi.conf going from 1.2 to 1.4, so
that should be ok.

 If you want i can send you my complete working exemple with Asterisk 1.2.x
 (I think the config is the same)
 

Please do. I've had a friend look at my dundi.conf, he couldn't find
anything wrong with it, but it is quite likely that there is.

 Fred
 
 
 
 


-- 

Remco Post

I didn't write all this code, and I can't even pretend that all of it
makes sense. -- Glen Hattrup
___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] ASA-2007-010: Two stack buffer overflows in SIP channel's T.38 SDP parsing code

2007-04-24 Thread Asterisk Development Team
Asterisk Project Security Advisory - ASA-2007-010
 
++
|  Product   | Asterisk  |
|+---|
|  Summary   | Two stack buffer overflows in SIP channel's T.38  |
|| SDP parsing code  |
|+---|
| Nature of Advisory | Exploitable Stack Buffer Overflow |
|+---|
|   Susceptibility   | Remote Unauthenticated Sessions   |
|+---|
|  Severity  | Moderate  |
|+---|
|   Exploits Known   | No|
|+---|
|Reported On | March 22, 2007|
|+---|
|Reported By | Barrie Dempster, NGS Software,|
|| [EMAIL PROTECTED]  |
|+---|
| Posted On  | April 24, 2007|
|+---|
|  Last Updated On   | April 24, 2007|
|+---|
|  Advisory Contact  | [EMAIL PROTECTED]  |
++
 
 ++
 |Description|Two closely related stack based buffer overflows exist in the 
 SIP/SDP   |
 |   |handler of Asterisk, the vulnerabilities are very similar but 
 exist as  |
 |   |two separate unsafe function calls. The T38FaxRateManagement and 
|
 |   |T38FaxUdpEC SDP parameters can be exploited remotely leading to  
|
 |   |arbitrary code execution without authentication. In order for 
 these |
 |   |overflows to occur, t38 fax over SIP must be enabled in 
 sip.conf.   |
 |   |Examples of SIP INVITE packets are shown below, however these
|
 |   |vulnerabilities can be triggered with a number of different SIP 
 messages|
 |   |affecting calls received by Asterisk, or in response to calls 
 made by   |
 |   |Asterisk.
|
 |   | 
|
 |   |Remote Unauthenticated stack overflow in Asterisk SIP/SDP
|
 |   |T38FaxRateManagement parameter   
|
 |   | 
|
 |   |A remote unauthenticated stack overflow exists in the SIP/SDP 
 handler of|
 |   |Asterisk. By sending a SIP packet with SDP data which includes 
 an overly|
 |   |long T38 parameter it is possible to overflow a stack based 
 buffer and  |
 |   |execute arbitrary code.  
|
 |   | 
|
 |   |The process_sdp function of chan_sip.c in Asterisk contains the  
|
 |   |following vulnerable call to sscanf. 
|
 |   | 
|
 |   |else if ((sscanf(a, T38FaxRateManagement:%s, s) == 1)) {   
|
 |   | 
|
 |   |found = 1;   
|
 |   | 
|
 |   |if (option_debug  2)
|
 |   | 
|
 |   |ast_log(LOG_DEBUG, RateMangement: %s\n, s);
|
 |   | 
|
 |   |if (!strcasecmp(s, localTCF))  
|
 |   | 
|
 | 

[asterisk-users] ASA-2007-011: Multiple problems in SIP channel parser handling response codes

2007-04-24 Thread Asterisk Development Team
Asterisk Project Security Advisory - ASA-2007-011
 
++
|  Product   | Asterisk  |
|+---|
|  Summary   | Multiple problems in SIP channel parser handling  |
|| response codes|
|+---|
| Nature of Advisory | Denial of Service |
|+---|
|   Susceptibility   | Remote Unauthenticated Sessions   |
|+---|
|  Severity  | Critical  |
|+---|
|   Exploits Known   | No|
|+---|
|Reported On | March 20, 2007|
|+---|
|Reported By | Mantis user ID 'qwerty1979'   |
|+---|
| Posted On  | April 24, 2007|
|+---|
|  Last Updated On   | April 24, 2007|
|+---|
|  Advisory Contact  | [EMAIL PROTECTED]  |
++
 
++
| Description | Multiple problems have been identified in the Asterisk   |
| | SIP channel driver (chan_sip) when handling response |
| | packets from other SIP endpoints.|
| |  |
| | If the response packets did not contain a valid response |
| | code in the first line of the UDP packet, the Asterisk   |
| | SIP channel driver would fail to parse the packet|
| | properly and would cause the Asterisk process to die |
| | with a segmentation fault. This results in all active|
| | calls and other sessions being lost. |
| |  |
| | More details about these issues can be found at  |
| | http://bugs.digium.com/view.php?id=9313. |
++
 
++
| Resolution | All users are urged to upgrade to the appropriate version |
|| of their Asterisk product listed in the 'Corrected In'|
|| section below.|
++
 
++
|   Affected Versions|
||
|  Product  |   Release   |  |
|   |   Series|  |
|---+-+--|
|   Asterisk Open Source|1.0.x| has not been evaluated as|
|   | | this release series is no|
|   | | longer maintained|
|---+-+--|
|   Asterisk Open Source|1.2.x| all releases prior to 1.2.18 |
|---+-+--|
|   Asterisk Open Source|1.4.x| all releases prior to 1.4.3  |
|---+-+--|
| Asterisk Business Edition |A.x.x| all releases |
|---+-+--|
| Asterisk Business Edition |B.x.x| all releases prior to and|
|   | | including B.1.3.2|

[asterisk-users] Queue: SIP status not set to busy

2007-04-24 Thread 0xception

Hello, I've been searching around the net all day today and i can't seem to
find much info that's helping with a few issues i've been having.

Background: using AsteriskNOW beta5 (asterisk 1.4.2) with mysql real time
configuration, Currenlty only have 4 sip users setup and 1 queue. When i
call into the queue upon connecting to the agent (ie it gets past the IVR
stuff) i recieve the error message

[Apr 24 17:47:23] WARNING[20137] app_queue.c: The device state of this queue
member, SIP/6018, is still 'Not in Use' when it probably should not be!
Please check UPGRADE.txt for correct configuration settings.

some times fallowed by

[Apr 24 18:05:44] WARNING[15458] chan_sip.c: Maximum retries exceeded on
transmission [EMAIL PROTECTED] for seqno 333 (Critical Response)
[Apr 24 18:05:44] WARNING[15458] chan_sip.c: Hanging up call
[EMAIL PROTECTED] - no reply to our critical packet.
[Apr 24 18:05:44] WARNING[15458] chan_sip.c: Maximum retries exceeded on
transmission [EMAIL PROTECTED] for seqno 333 (Critical Response)
[Apr 24 18:05:44] WARNING[15458] chan_sip.c: Hanging up call
[EMAIL PROTECTED] - no reply to our critical packet.

I've googled around and found the initial bug
http://bugs.digium.com/view.php?id=7433 for the first warning. and i've
added the lines
limitonpeers=yes
and i've tried to add the call_limit=1 to the global settings as well as
adding it to each individual real time SIP user.. neither seemed to work. So
i'm not sure if you just can't do this with real time , or if my asterisk
version hasn't been patched yet or if there is another issue

If anyone can give me any insight, or point me in a direction to fixing this
or debugging it more i would really appreciate it. I'm trying to get this
entire setup done in the next 7 days so i'm running on a little bit of a
time frame. (which might be the reason why i'm missing something)
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Random Asterisk deaths

2007-04-24 Thread Wayne Jensen

Every once in a while for no apparent reason, Asterisk has been dying
on me, dropping all calls in progress.  There's nothing in the log
file or on the Asterisk console that indicates the reason.  Some days
it doesn't happen at all.  Other days it happens two or three times.

The problem began on Friday, but the last time anything was changed on
that box was at least a week before that.

Any suggestions on what to do/where to look to find out what's going
on and fix the problem?
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] ASA-2007-012: Remote Crash Vulnerability in Manager Interface

2007-04-24 Thread Asterisk Development Team
Asterisk Project Security Advisory - ASA-2007-012
 
++
|   Product   | Asterisk |
|-+--|
|   Summary   | Remote Crash Vulnerability in Manager Interface  |
|-+--|
| Nature of Advisory  | Denial of Service|
|-+--|
|   Susceptibility| Remote Unauthenticated Sessions  |
|-+--|
|  Severity   | Moderate |
|-+--|
|   Exploits Known| Yes  |
|-+--|
| Reported On | April 24, 2007   |
|-+--|
| Reported By | Digium Technical Support |
|-+--|
|  Posted On  | April 24, 2007   |
|-+--|
|   Last Updated On   | April 24, 2007   |
|-+--|
|  Advisory Contact   | [EMAIL PROTECTED]   |
++
 
++
| Description | The Asterisk Manager Interface has a remote crash|
| | vulnerability. If a manager user is configured in|
| | manager.conf without a password, and then a connection   |
| | is made that attempts to use that username and MD5   |
| | authentication, Asterisk will dereference a NULL pointer |
| | and crash.   |
| |  |
| | This example script shows how the crash can be   |
| | triggered:   |
| |  |
| | #!/bin/bash  |
| |  |
| | function text1() {   |
| |  |
| | cat - EOF  |
| |  |
| | action: Challenge|
| |  |
| | actionid: 0# |
| |  |
| | authtype: MD5|
| |  |
| | EOF  |
| |  |
| | }|
| |  |
| | function text2() {   |
| |  |
| | cat - EOF  |
| |  |
| | action: Login|
| |  |
| | actionid: 1# |
| |  |
| | key: textstringhere  |
| |  |
| | username: testuser   |
| |  |
| | authtype: MD5   

Re: [asterisk-users] SER/OpenSER, I Finally Get It.............General Observation

2007-04-24 Thread SIP

JR Richardson wrote:
Sorry if this hit the list twice, sent out yesterday, but didn't see 
it show up.


Hi All,

Can Asterisk be used as a SIP proxy, blah, blah, blah???

I've glanced over questions like this through the years, with a good 
idea on

what a SIP proxy is and what Asterisk is and IS NOT.  I never really took
the time to lab-up SER and test drive it to see what advantages might be
gained from using it to front-end an Asterisk Cluster.  In fact, I pride
myself on using Asterisk (alone) to its fullest ability to accomplish my
clustering and scaling goals.  As an ITSP, adding customers, means 
racking

and stacking more Asterisk servers and gel them into the Cluster, no
problem.  Adding PSTN connectivity would mean the same for the most
part..here lays the conundrum.

I didn't have a good way to load balance the PSTN connections, and as
embarrassing as it is, Cisco Call Manager connections as well.  So after
growing and scaling a bit, I realized I would need a load balancer for
non-asterisk SIP originating trunks coming into the Asterisk Cluster.  
After

a few minutes of pondering, said to myself, I can really use a good SIP
proxy with a round-robin load balancing mechanism.  SER came to mind.

I always wanted to mock up SER and test it out, but never had a strong 
need
for it.  After reading the some documents and such 'Hello World', 
literally

2 to 3 hours of researching and about an hour of lab server setup and SER
installation, I had phones registered and talking.  Once the 
foundation was

laid, I loaded the dispatcher module in SER and with a bit of trial and
error with the config file, had load balancing fired up across 4 Asterisk
servers.  Not exactly what I was looking for, SER has random load 
balancing,

so the distribution across the cluster varied widely.

I checked out OpenSER (a SER fork), which has a newer dispatcher module,
incorporating a round-robin load balancer and skip-to-the-next-server
fail-over mechanism.  This actually performed more to my liking.  A 
couple

of little bugs, the last entry in the dispatcher.list is skipped over for
some reason and the first entry in the dispatcher.list is called twice 
(can
someone tell me why this is or tell me how to fix it?).  Now for the 
test:


I created a call-loop, like a stress test, between an Asterisk server 
acting

as a PSTN Gateway device and 4 Asterisk servers in a Cluster arrangement
load balanced by OpenSER in between.  Since OpenSER is just a proxy, no
audio was used.  I initiated 80 calls to SER which proxy'ed the calls 
to the

4 Asterisk servers, in turn those 80 distributed calls initiated 80 more
calls which looped back to OpenSER, and back to the 4 Asterisk servers
generating 80 more calls and so on.  The calls continued till the 
Asterisk

servers pretty much cratered, couldn't open any more files, SIP resources
unavailable, 1300+ sip channels open, proc utilization 
50%+all

in a matter of a few second.

OpenSER took all that 5 Asterisk servers could handle and never winced,
didn't break a sweat, did not even breach 2% proc utilization.

I ran this test more than 10 times, each concluding with reloading all 5
Asterisk servers to re-gain control.  I did not reload Open SER once.

Two things come out of this testing, first and foremost, I am still 
and will
always be a true Astriholic; and second, I can't seem to break OpenSER 
and

if you can't break-em, join-em.

Can I use OpenSER as a voicemail server, blah, blah, blah???


They do indeed each have their strengths.

And technically yes, you can use OpenSER as a voicemail server when 
combined with something like the SEMS module, but it's not even a small 
percentage as feature-rich as using Asterisk as a voicemail server.  
Asterisk is PBX software. It's damned GOOD PBX software, and it has a 
lot of add ons that add additional bits here and there, but in the end, 
its focus is around that core of PBX telephony technology.  The SIP 
stack for Asterisk is one of those add ons. It's not as powerful for 
pure SIP communication as SER/OpenSER, but it makes up for it in that it 
meshed exceptionally well with the other aspects of Asterisk, creating a 
very powerful application as a whole.


Many SIP-based VoIP companies use SER/OpenSER for pure SIP 
communication, but use the strengths of Asterisk as an endpoint (and as 
a Back to Back UA), allowing Asterisk to really shine where it's best: 
voicemail, menuing/IVR technology, managing the call state, etc.
It makes an incredibly powerful combination where just one of the two 
wouldn't have quite the same capability.


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Marketing 101

2007-04-24 Thread SIP

shadowym wrote:
 
I have some general questions about marketing.  Lot's of technical info but

I was wondering how people are getting the business to begin with.  I'm from
the IT end of things but Telco is quite a bit different.  Is cold calling
still the way to go or networking?  General stuff like that.  


Are there any resources on the web I can search for?  Any suggestions would
be appreciated.

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
  
This depends a LOT on what you're marketing. A service? A product? A 
combination of the two? It also depends on who your target market is 
what kind of marketing will work best, etc, etc.


Head to the bookstore and thumb through some marketing primers, taking 
careful note of the table of contents to see if any of it is applicable 
to what you're trying to market. Find something that points you in the 
right direction or discusses a similar business model and start from 
there. Remember, not all approaches will work for all situations.

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] EM Wink start problem

2007-04-24 Thread Timothy McKee
Attempting to talk to an Eagle Telephonics switch at a disaster  
exercise.  Didn't think a plain old EM wink start T1 would be this  
much of an issue.


We finally got the Eagle to accept a call from *, but whilst I can  
hear the person on the Eagle, they can't hear me.  When they initiate  
a dial out I only get the first 2 digits from their switch...


Does anyone have decent sample EM Wink start configs for the Digium  
cards and * ?  Any suggestions on the Eagle side?


Has anyone
=
Timothy McKee
VP, Network Services
SDN Global
+1-704-587-4829 work
+1-704-587-4830 NOCC



___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Asterisk Pix firewalls

2007-04-24 Thread Don E. Wisdom
Hi,
I asked this last week but i didn't get any answer   So i will elaborate on my 
question.   I need to setup a pix 515 firewall (running 7.2.2 OS) to allow sip 
traffic thru it from a sip phone wherever i may be.  The pix is where all my 
servers are colocated and i will need to connect thru it from softphones / 
hardphones wherever i happen to be traveling.   I need help setting up the pix 
for inbound and outbound sip/iax traffic.   Any help would be greatly 
appreciated.
Thanks
--Don
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Voicemail on Different Server

2007-04-24 Thread Forrest Beck

I have two seperate systems at two different locations.  Each hosts
there own voicemail for their phones.

I have thought about just having all voicemail on one server.  Is the
best way to do this just through a dial app?

For example, if someone dials 1000 to check voicemail at site A.  The
dialplan will be something like this on Site A:

[context-for-phones-at-one-location]
exten = 1000,1,Dial(SIP/voicemailserver/${EXTEN})

Then on Site B where the voicemail is to be stored:

[context-for-incoming-voicemail]
exten = 1000,1,Voicemail(@vmcontext)
exten = o,1,Dial(SIP/siteAserver/receptionistextension


Can anyone think of draw backs to this?  One I can think of is I will
have to specify a extension to redirect 0 (for receptionist) back to
the Site A server.  I will also have to redirect all directory apps to
the voicemail server.

Does anyone do this?  How do you handle it?

Thanks.
--
***
Forrest Beck
IAXTEL: 17002871718
[EMAIL PROTECTED]
___
--Bandwidth and Colocation provided by Easynews.com --

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


  1   2   >