[Asterisk-Users] Re: Are there online forums instead of this email forum??

2005-04-02 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Bruno Hertz [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] (Tony Mountifield) writes:
 
  Yes, based on a standard install of the INN rpm in Red Hat or Fedora.
 
  I've just put together a page with a description and links to the two
  perl scripts used. See http://www.softins.co.uk/mail2news
 
 Geez, right on time :) I just installed inn and was thinking about how
 to glue it to mail. From what I learned through google, the whole matter
 is not entirely trivial, so your effort is most welcome and highly
 appreciated.

No problem! I've been running that setup for years, and should have got
around to writing it up a long time ago.

 My mail setup differs slightly (postfix/cyrus, no procmail), so I'm not
 entirely sure yet were to plug the mail-news feed, especially since I
 don't want to do user specific filtering on the postfix side. Maybe via
 cyrus/sieve ... 

Can't help you there. One thing that did occur to me just now is that now
I use procmail I could probably dispense with the entries in /etc/aliases
and pipe directly to mail2news from .procmailrc. The reason it's like it
is is because using procmail is only fairly recent. I used instead to have
an additional subscription to the list under an address such as
[EMAIL PROTECTED] But in order to post so some lists, I then
also needed my own subscription set to nomail.

 Those are minor issues though, apparently you got the ground pretty much
 covered, so many thanks for that!
 
 Incidentally, did you also already think about what it would need to make
 such a server public, including posting? As I'm writing I'm beginning to
 think this might even be not possible for various reasons, e.g. even if
 one got news auth and list subscription synced, users would still get the
 mail, too ... seems to need a pretty tight coupling between maling list and
 news server. Hmmm ... anyway, we'll see, one step after the other :)

I think to do it properly for public access the news server and gateway may
need to be integrated on the same server as the list handler. And it's not
really something I have the resources or interest in doing myself.

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


[Asterisk-Users] Re: Are there online forums instead of this email

2005-04-02 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Tim Bass [EMAIL PROTECTED] wrote:
 
 Tom Ivar Helbekkmo.   Grow up and stop posting to this tread.

pot calling the kettle black

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


Re: [Asterisk-Users] Queues

2005-04-02 Thread lenz
Hello,
most phone models have a way of setting the maximum incoming call limit,  
so I guess that if you set it to 1 the phone will signal busy when a  
user is talking.
Another alternative would be to set up your queue using Agents; in this  
case * knows whether an agent is busy or not and will not forward calls to  
busy agents (note that if your person is taking a call not using the queue  
system, * will consider the agent to be free).
It really depends on what your people are doing and how they are working.
l.

In data Sat, 2 Apr 2005 12:41:46 +0800, David Choo [EMAIL PROTECTED]  
ha scritto:

Dear All,
I've got a working asterisk installation which I need minor help from.
Currently, I'm running a Sales Queue, which is answered by a selected  
group
of people. Here are my queues.conf

[sales-hotline]
strategy = roundrobin
timeout = 10
member = SIP/602
member = SIP/603
member = SIP/701
member = SIP/604
After calls come in, it works fine, however, I notice that even when
SIP/602 is on the phone, Asterisk will still ring her. I believe its due  
to
the fact that the phone support call-waiting. Is there anyway that I can
disable this support only on queues and ring the next extension in this
case, which is SIP/603?

ringall might be a good workaround to resolve this problem, but i would
like to avoid this as it will result in all phones leaving missed  
calls.
Would appreciate any form of advise. Thanks!

Best Regards,
--
Assum est, versa et manduca.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Shorewall firewall rules

2005-04-02 Thread Remco Barende
I'm trying to get firewalling working but I am clueless as to which ports 
I need to open, I keep opening more ports and it's not working :(

Basically I want SIP and IAX2 to work. IAX2 works fine, but SIP is giving 
me a headache. It seems that the stateless firewall is not able to handle 
SIP. I'm using shorewall as my firewall with these rules:

ACCEPT  netfwudp 4569
ACCEPT  fw net   udp 4569,5060,1:2
My rtp.conf says this:
rtpstart=1
rtpend=2
Whenever I make a call I get these messages:
Apr  2 09:18:25 pbx kernel: Shorewall:fw2net:REJECT:IN= OUT=eth1 
SRC=myip DST=80.118.132.66 LEN=200 TOS=0x00 PREC=0x00 TTL=64 ID=116 DF 
PROTO=UDP SPT=17798 DPT=7356 LEN=180

Apr  2 09:18:26 raveon kernel: Shorewall:net2fw:REJECT:IN=eth1 OUT= 
SRC=80.118.132.66 DST=myip LEN=200 TOS=0x00 PREC=0x00 TTL=53 
ID=859  PROTO=UDP SPT=7356 DPT=17798 LEN=180

So it seems that the %*$*$^ server is still trying to out out via a 
port lower than the range set in rtp.conf

What is port 7356 for and what should I open to get it to work? I looked 
through the wiki but the low level iptables rules posted there do not make 
any sense to me.

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


Re: [Asterisk-Users] Shorewall firewall rules

2005-04-02 Thread Mikael Magnusson
On Sat, Apr 02, 2005 at 11:10:28AM +0200, Remco Barende wrote:
 I'm trying to get firewalling working but I am clueless as to which ports 
 I need to open, I keep opening more ports and it's not working :(
 
 Basically I want SIP and IAX2 to work. IAX2 works fine, but SIP is giving 
 me a headache. It seems that the stateless firewall is not able to handle 
 SIP. I'm using shorewall as my firewall with these rules:
 
 ACCEPT  netfwudp 4569
 ACCEPT  fw net   udp 4569,5060,1:2
 
 My rtp.conf says this:
 rtpstart=1
 rtpend=2
 
 
 Whenever I make a call I get these messages:
 
 Apr  2 09:18:25 pbx kernel: Shorewall:fw2net:REJECT:IN= OUT=eth1 
 SRC=myip DST=80.118.132.66 LEN=200 TOS=0x00 PREC=0x00 TTL=64 ID=116 DF 
 PROTO=UDP SPT=17798 DPT=7356 LEN=180
 
 Apr  2 09:18:26 raveon kernel: Shorewall:net2fw:REJECT:IN=eth1 OUT= 
 SRC=80.118.132.66 DST=myip LEN=200 TOS=0x00 PREC=0x00 TTL=53 
 ID=859  PROTO=UDP SPT=7356 DPT=17798 LEN=180
 
 
 So it seems that the %*$*$^ server is still trying to out out via a 
 port lower than the range set in rtp.conf
 
 What is port 7356 for and what should I open to get it to work? I looked 
 through the wiki but the low level iptables rules posted there do not make 
 any sense to me.
 

Port 7356 is used by the called site to receive rtp packets. I don't
think you can have any influence to which port it chooses to use. You
will need to allow outgoing udp packets to all ports between 1024 and 65535.

For example:

  ACCEPT  netfwudp 4569,5060,1:2
  ACCEPT  fw net   udp 1025:65536

/Mikael Magnusson

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


[Asterisk-Users] call forwarding

2005-04-02 Thread Thore
Hi!
I need a sample dilplan with call forwarding
This did not help me to get it work: 
http://www.voip-info.org/wiki-Asterisk+call+forwarding

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


Re: [Asterisk-Users] Shorewall firewall rules

2005-04-02 Thread Paul Hardacre
Remco Barende wrote:
Basically I want SIP and IAX2 to work. IAX2 works fine, but SIP is 
giving me a headache. It seems that the stateless firewall is not able 
to handle SIP. I'm using shorewall as my firewall with these rules:

ACCEPT  netfwudp 4569
ACCEPT  fw net   udp 4569,5060,1:2
IAX2 will work fine, because you have allowed it in both directions.
Whenever I make a call I get these messages:
Apr  2 09:18:25 pbx kernel: Shorewall:fw2net:REJECT:IN= OUT=eth1 
SRC=myip DST=80.118.132.66 LEN=200 TOS=0x00 PREC=0x00 TTL=64 ID=116 DF 
PROTO=UDP SPT=17798 DPT=7356 LEN=180

Apr  2 09:18:26 raveon kernel: Shorewall:net2fw:REJECT:IN=eth1 OUT= 
SRC=80.118.132.66 DST=myip LEN=200 TOS=0x00 PREC=0x00 TTL=53 ID=859  
PROTO=UDP SPT=7356 DPT=17798 LEN=180

So it seems that the %*$*$^ server is still trying to out out 
via a port lower than the range set in rtp.conf
Not exactly, asterisk is using port 17798. It's the other end that's 
using 7356, unfortunately you don't really have any control over the 
remote end's RTP port.

You could try specifying the source ports on the outgoing rules with 
something like:

ACCEPTfw   net   udp   -   1:2
This would allow any packets from the firewall to the internet 
originating from ports 1:2.

You should probably also allow incoming connections to port 5060 and 
1:2 otherwise you may find that you can't receive inbound calls.

ACCEPT   net   fw   udp   5060,1:2
should cater for that.
I'm using shorewall on our asterisk box at work and it works just fine. 
I allow all traffic out from the firewall to the net and only allow a 
very limited amount of incoming ports.

What is port 7356 for and what should I open to get it to work? I 
looked through the wiki but the low level iptables rules posted there 
do not make any sense to me.
Port 7356 is the remote end's RTP port.
I hope that helps,
Paul
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Little question

2005-04-02 Thread flavio patria
Can I use SJphone like a H.323 phone in order to dial and receive call
through Asterisk?Can I consider Asterisk just like a sort of H323
Gateway?

Thanks 4 all!

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


[Asterisk-Users] Version 0.72 of IPSwitchBoard Released

2005-04-02 Thread Thorben Jensen








Version 0.72 - 2.
April 2005. Download from http://ipswitchboard.thorben.dk



 Danish
language added

 Transfer
to Queues now supported

 You can
return a substring of the ${CALLERID} variable used in the URL for CRM systems.




To enable
transfer to Queues you must type in an extension that IPSwitchBoard should
transfer to on the Queues Page in the extension column. You can only edit the
extension column when you are not connected to the Asterisk server.



You can return a
substring of the CALLERID used in the URL for a CRM system on the config page:



${CALLERID:offset:length}




Returns a
substring of the string CALLERID, beginning at offset offset and returning the
next length characters. 

If offset is
negative, it is taken leftwards from the right hand end of the string. 



If length is
omitted or is negative, then all the rest of the string beginning at offset is
returned. 



Examples: 

${CALLERID} =
123456789



${CALLERID:1}-returnsthestring23456789


${CALLERID:-4}-returnsthestring6789


${CALLERID:0:3}-returnsthestring123


${CALLERID:2:3}-returnsthestring345


${CALLERID:-4:3}-returnsthestring678



___

IPSwitchBoard is
an FREE Operators Switch Board for Asterisk users 



IPSwitchBoard is
a FREE Windows.Net application that will allow you to do: 


Unattended/attended transfers. 

 Park
calls and retrieve/forward them again. 

 Organize
all your SIP and IAX extensions (automatically retreived from Asterisk). 

 Monitor
all extensions. 

 Monitor
all queues. 

 Monitor
Agents. 

 Monitor
Parked Calls. 


Dynamically log extensions in and out of queues. 


Integration with CRM software on the web. 

 Record
conversations. 

 Drop any
active call. 


Import/Export extensions to/from Asterisk Server DB. 

 Set Do
Not Disturb on Extensions and give a reason. 

 Speed
Dialling. 

 Share
Speed Dial files among all users of IPSwitchBoard. 

 User
selectable ring tones for IPSwitchBoard. 

 User
selectable button colors. 








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

[Asterisk-Users] VAD In Asterisk with Zaptel

2005-04-02 Thread parijat
Hi,

I want to know if VAD is possible in Zaptel Analog lines

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


[Asterisk-Users] (no subject)

2005-04-02 Thread parijat
Hi,

I want to know if VAD is possible in Zaptel Analog lines

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


RE: [Asterisk-Users] VAD In Asterisk with Zaptel

2005-04-02 Thread parijat
Hi,

I want to know if VAD is possible in Zaptel Analog lines

Reg,
parijat

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


[Asterisk-Users] Delaying answer of incoming calls

2005-04-02 Thread Justin Ridge
Hi all,
I'd like Asterisk to answer an incoming SIP call and bridge with a POTS 
line.  However, I do NOT want Asterisk to answer the SIP call unless the 
called POTS number answers (otherwise SIP caller is charged).

The wiki says this is the default behaviour, and so does this message
http://lists.digium.com/pipermail/asterisk-users/2004-April/041881.html
But it's not working as expected.  The SIP call is answered immediately 
before the POTS line even starts ringing.

The dial plan is simple:
[from-sip]
exten = s,1,Dial(Zap/1/*829x,20)
I don't have Answer in the dial plan.  I don't think I changed any 
settings that would cause this non-default behaviour, but can you help me 
find why this is happening?

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


[Asterisk-Users] :: Strange way of receiving calls ::

2005-04-02 Thread Reuben Grech



I have not found any 
references to a strange way in which I would like to receive calls. I have 
Asterisk running with 3 x X100P cards and using AMP. Can anyone give me 
some help on receiving calls in the following manner:

=An incoming 
call is received on any of the incoming POTS ZAP channels
=Call is 
immediately picked up by Asterisk and the caller is greeted with a message like, 
"Thank you for calling , please hold the line your call will be attended to 
shortly"MUSIC
= What I would like 
to achieve is that as soon as the call is immediately picked up by Asterisk, a 
group of phones starts ringing, so that effectively any person in the group can 
attend to the caller, and as soon as this is done, the caller stops hearing the 
message and can speak to a representative.

With AMP I managed 
to set up a group which rings with an incoming POTS call. With AMP also, I 
have also managed to create a Digital Receptionist BUT this requires caller 
input, which is not what I need :(

Any help would be 
appreciated! :) Thanks to you all

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

Re: [Asterisk-Users] Re: Are there online forums instead of this email

2005-04-02 Thread Bob Goddard
On Friday 01 April 2005 23:03, Tim Bass wrote:
 Congratulations!

 Tom Ivar Helbekkmo  and Francesco Peeters

 Voted Number One Bullies of Asterisk-Users.

You are the bully. So far the majority wish the email list to
continue and yet you still continue to demand that Digium
convert to a forum.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] :: Strange way of receiving calls ::

2005-04-02 Thread Peter Svensson
On Sat, 2 Apr 2005, Reuben Grech wrote:

 I have not found any references to a strange way in which I would like to
 receive calls.  I have Asterisk running with 3 x X100P cards and using AMP.
 Can anyone give me some help on receiving calls in the following manner:
  
 = An incoming call is received on any of the incoming POTS ZAP channels
 = Call is immediately picked up by Asterisk and the caller is greeted with a
 message like, Thank you for calling , please hold the line your call
 will be attended to shortlyMUSIC
 = What I would like to achieve is that as soon as the call is immediately
 picked up by Asterisk, a group of phones starts ringing, so that effectively
 any person in the group can attend to the caller, and as soon as this is
 done, the caller stops hearing the message and can speak to a
 representative.
  
 With AMP I managed to set up a group which rings with an incoming POTS call.
 With AMP also, I have also managed to create a Digital Receptionist BUT this
 requires caller input, which is not what I need :(

Woulden't a queue with ringall2 policy and music on hold do exactly what 
you want?

Peter


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


[Asterisk-Users] H.323 call '.....' cleared, reason 8 (Transport failure)

2005-04-02 Thread Cenk Yabas



I installed the oh323 channel 
driver and registered to the gate keeper succesfully.

I come through the GK, ring the dialed number forabout 0.5 seconds andloose the line.I contacted the GKand they report that they receive the correct 
dialstring to route the call but the call is ended by my side.
The dialstring looks like 
this:
exten = 
_.,1,Dial(OH323/${EXTEN},60,r)
I use the following channel driver:

asterisk-oh323-0.7.1
openh323-Janus_patch4-src
pwlib-Janus_patch4-src

and the message on asterisk console looks like this:
-- Registered with gatekeeper 
'[EMAIL PROTECTED]'.
-- Executing Dial("SIP/2000-c9fc", "OH323/0012029361212|60|r") 
in new stack
-- H.323 call to 0012029361212 with codec(s) g729
-- Called 0012029361212
-- H.323 call 'ip$localhost/2209' cleared, reason 8 (Transport 
failure)
-- OH323/L2209 is circuit-busy
-- Hungup 'OH323/L2209'
== Everyone is busy/congested at this time (1:0/1/0)
== Auto fallthrough, channel 'SIP/2000-c9fc' status is 
'CONGESTION'
-- Executing Dial("SIP/2000-c9fc", "OH323/h|60|r") in new 
stack
-- H.323 call to h with codec(s) g729
-- Called h
-- Hungup 'OH323/L2210'
== Spawn extension (local, h, 1) exited non-zero on 
'SIP/2000-c9fc'
-- H.323 call 'ip$localhost/2210' cleared, reason 1 (Cleared by 
local user)
My oh323 
configuration:
Configuration of 
OpenH323 channel 
driver--Version: 
0.7.1Listening on address: 0.0.0.0:1720Gatekeeper used: [EMAIL PROTECTED] 
(Registered)FastStart/H245Tunnelling/H245inSetup: OFF/ON/ONSupported 
formats in pref. order: g7290Jitter buffer limits (min/max): 20-100 
msTCP port range: 5000 - 31000UDP (RAS) port range: 5000 - 31000UDP 
(RTP) port range: 1 - 2IP Type-of-Service value: 0User input 
mode: 2Max number of inbound H.323 calls: 10Max number of outbound H.323 
calls: 10Max number of simultaneous H.323 calls: 20Max call rate 
(ingress direction): 1.00/30
What might be the 
problem?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] :: Strange way of receiving calls ::

2005-04-02 Thread Erwin de Raad
With AMP I managed to set up a group which rings with an incoming POTS
call.  With AMP also, I have also managed to create a Digital Receptionist
BUT this requires caller input, which is not what I need :(

Any help would be appreciated! :) Thanks to you all

With AMP you are limited in what you can do through the GUI.
Try selecting '1' at possible options and use 't' (timeout), So no user
input is required. The phones will ringer AFTER your message has completed.
Your caller hears the ringtone, no music.
I don't know where the default timeout value is defined.

Anything further than that is to be hardcoded in extensions.conf

Take care,
Erwin.

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


RE: [Asterisk-Users] Sangoma VS. Digium

2005-04-02 Thread Chris Modesitt

Eric Wrote:
 
 Digium has a hardware echo can?

Not shipping, according to their online store.

Crap!, I spend all my time reading emails from this list, now I have to
check Digium's online store twice a day so I can get my hands on one of
those cards!!

Chris. 

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


Re: [Asterisk-Users] Issues with ringing on FXS ports

2005-04-02 Thread Wilson Pickett
 Is there a list of these anywhere?  This is now the third one I've heard
 of, with no documentation:  lowpower (IIRC), robust and now boostringer.
 Do I have to go diving in the source, or is there a Wiki I can't find?

Good point! There is the bugtracker to search but this is one of those
subjects (like the Dial application) that could use a whole chapter
somewhere.

There is a bugfix to change the ring frequency and a recent solution
to a problem I had regarding the cadeces used. I think the onlu
current way would be to search the zaptel stuff on the bugtracker.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Registration to multiple GKs

2005-04-02 Thread VoIP Newbie
Hi all,

How can I configure chan_h323 or chan_oh323 to register to multiple GK
and route calls in-between?

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


Re: [Asterisk-Users] Call bridging

2005-04-02 Thread Wilson Pickett
 How do I dialout using an extensions.conf and connect to an outside number?
 For example, I would like for a person in the IVR to be able to press a
 number and it dial out using another FXO card and another POTS line and 
 then bridge the two calls together.

So you've given up on trying to use three-way calling? In that case
the original proposed solution in the first thread of using
Dial(ZAP/2) seems like it would work.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] SIP register more then 1 with same username

2005-04-02 Thread Bashir Ullah - www.Lamsre.Com
Hi all * user

I did connected with * from 2  sip-softphone and i registered with asterisk
under same username and password and working both fine. but * shows only
one.

is there any way to find them both by using any tips.

Bashir

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


Re: [Asterisk-Users] :: Strange way of receiving calls ::

2005-04-02 Thread Wilson Pickett
 = An incoming call is received on any of the incoming POTS ZAP channels 
 = Call is immediately picked up by Asterisk and the caller is greeted with a
 message like, Thank you for calling , please hold the line your call
 will be attended to shortlyMUSIC 
 = What I would like to achieve is that as soon as the call is immediately
 picked up by Asterisk, a group of phones starts ringing, so that effectively
 any person in the group can attend to the caller, and as soon as this is
 done, the caller stops hearing the message and can speak to a
 representative. 

If I understand this question (and I'm not 100% sure I do) :

Playback(message)
Dial(${phones_to_ring},45,m) 

If message is 3 seconds long, that would be the only delay.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] {extensions.conf} Dialing plans with queues....

2005-04-02 Thread Etienne Pretorius




Hi all,

This is the situation:
 I have a call coming in from the POTS line and I pass this through
to the [incoming] section by including the [incoming] inside [sip].
 Then s,... starts. It picks up the call and then places the call in
a "Reception" queue.

This is the problem:
 When the call is in the "Reception" queue, I would like to play a
voice menu while the call is in the queue.
 If the user responds to the "Voice Menu" by dialling a number, then
I would like to pass this call to that extension.
 I know you can put a time out on the "Reception" queue - but I need
to give the caller the option to by-pass the 
 Receptionist.


/extensions.conf/

[incoming]
exten = s,1,Wait,1 ;
Wait a second, just for fun
exten = s,2,Answer ;
Answer the line
;___TODO__ ;Play a "Thank you for
calling ..."
exten = s,3,Queue(QUEUE-Reception) ;Place call in
reception queue
;___TODO__ ;Play "Voice Menu -
Sales;Accounts;Support
exten = 1,1,QUEUE(QUEUE-Support) ;Pressed "1", place
call in queue.conf::[QUEUE-Support] 
need some help ova here plz

[sip]
include = incoming
;include the incoming calls context

exten = 101,1,Dial(SIP/Reception,20,tr)
exten = 200,1,Queue(QUEUE-Support)


/Asterisk Out-put/

Asterisk Ready.
 -- Starting simple switch on 'Zap/4-1'
 -- Executing Wait("Zap/4-1", "1") in new stack
 -- Executing Answer("Zap/4-1", "") in new stack
 -- Executing Queue("Zap/4-1", "QUEUE-Reception") in new stack
 -- Started music on hold, class 'default', on Zap/4-1
 -- Called SIP/Reception
 -- Stopped music on hold on Zap/4-1
Apr 2 13:51:16 WARNING[1994]: chan_sip.c:860 retrans_pkt: Maximum
retries exceeded on call [EMAIL PROTECTED]
for seqno 102 (Critical Request)
Apr 2 13:51:16 NOTICE[2004]: app_queue.c:1103 wait_for_answer: No one
is answering queue 'QUEUE-Reception' (1/0/0)



Thank you all.
-- 
Kind Regards
Etienne




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

Re: [Asterisk-Users] Are there online forums instead of this emailforum??

2005-04-02 Thread Bob Goddard
On Thursday 31 March 2005 23:11, Tim Bass wrote:
 The UNIX Forums have over 28 thousand registered users. I have many
 years of experience in both email lists and on line forums and I can tell
 you without a doubt that on-line forums are far superior to email lists.
 There is no comparison.

28 thousand registered users? That is a meaningless statistic. How many
of them have accessed the system in the last month? I'll hazard an
educated guess and say it is insignificant compared to comp.unix.*
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] astcc problems

2005-04-02 Thread wassim darwish
i have downloaded astcc and confiugured it on web but
the problem is when a call comes by the right callerid
it gives me on CLI like this:

-- Executing DeadAGI(Zap/1-1,
astcc.agi|01475969|s) in new stack
-- Launched AGI Script
/var/lib/asterisk/agi-bin/astcc.agi
Detected dry run!
AGI Environment Dump:
 -- accountcode =
 -- callerid = 01475969
 -- calleridname = unknown
 -- channel = Zap/1-1
 -- context = incoming
 -- dnid = unknown
 -- enhanced = 0.0
 -- extension = s
 -- language = en
 -- priority = 3
 -- rdnis = unknown
 -- request = astcc.agi
 -- type = Zap
 -- uniqueid = 1112430048.4
Apr  2 03:20:54 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-tone does not exist in
any format
Res is
Silent Level is
Card no is 12345

Card has face value 3 and has used 0


3 dollars and 0 cents remain
Apr  2 03:20:54 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-youhave does not exist
in any format
-- Playing 'digits/3' (language 'en')
Apr  2 03:20:55 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-dollars does not exist
in any format
Apr  2 03:20:55 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-remaining does not
exist in any format
Apr  2 03:20:55 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-badphone does not
exist in any format
-- AGI Script astcc.agi completed, returning 0

I dont know what the problem and what this warnings
mean and how can i fix them please help.
and thanks
 



__ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Little question

2005-04-02 Thread flavio patria
Can I use SJphone like a H.323 phone in order to dial and receive call
through Asterisk?Can I consider Asterisk just like a sort of H323
Gateway?

Thanks 4 all!

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


Re: [Asterisk-Users] {extensions.conf} Dialing plans with queues....

2005-04-02 Thread Etienne Pretorius
Oh well, found it with some searching
Add the menu as a context in queue.conf and then define that menu in 
extensions.conf.
Mind only single digit numbers are valid.

Kind Regards
Etienne
Etienne Pretorius wrote:
Hi all,
This is the situation:
I have a call coming in from the POTS line and I pass this through 
to the [incoming] section by including the [incoming] inside [sip].
Then s,... starts. It picks up the call and then places the call 
in a Reception queue.

This is the problem:
When the call is in the Reception queue, I would like to play a 
voice menu while the call is in the queue.
If the user responds to the Voice Menu by dialling a number, 
then I would like to pass this call to that extension.
I know you can put a time out on the Reception queue - but I 
need to give the caller the option to by-pass the
Receptionist.

*/extensions.conf/*
[incoming]
exten = s,1,Wait,1 ; Wait 
a second, just for fun
exten = s,2,Answer ; 
Answer the line
;___TODO__  ;Play a Thank you for 
calling ...
exten = s,3,Queue(QUEUE-Reception)  ;Place call in 
reception queue
;___TODO__  ;Play Voice Menu - 
Sales;Accounts;Support
exten = 1,1,QUEUE(QUEUE-Support)  ;Pressed 1, place 
call in queue.conf::[QUEUE-Support]need some help ova 
here plz

[sip]
include = incoming 
;include the incoming calls context

exten = 101,1,Dial(SIP/Reception,20,tr)
exten = 200,1,Queue(QUEUE-Support)
*/Asterisk Out-put/*
Asterisk Ready.
-- Starting simple switch on 'Zap/4-1'
-- Executing Wait(Zap/4-1, 1) in new stack
-- Executing Answer(Zap/4-1, ) in new stack
-- Executing Queue(Zap/4-1, QUEUE-Reception) in new stack
-- Started music on hold, class 'default', on Zap/4-1
-- Called SIP/Reception
-- Stopped music on hold on Zap/4-1
Apr  2 13:51:16 WARNING[1994]: chan_sip.c:860 retrans_pkt: Maximum 
retries exceeded on call [EMAIL PROTECTED] 
for seqno 102 (Critical Request)
Apr  2 13:51:16 NOTICE[2004]: app_queue.c:1103 wait_for_answer: No one 
is answering queue 'QUEUE-Reception' (1/0/0)


Thank you all.
--
Kind Regards
Etienne
 


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


Re: [Asterisk-Users] VoIP Provider problems

2005-04-02 Thread Bob Goddard
On Friday 01 April 2005 04:28, Joseph Gutowski wrote:
 Ok, since I guess no one else wanted to bite -- I will.

 I installed PingPlotter, switched to UDP just to be the same as you,
 and ran it against sip.broadvoice.com. Absolutley no problems, no
 packet loss at all.

 Ran it with all of the published proxy addresses, again no problems.

 I then used the 63.251.209.126 that you posted, and it was awful (at
 least it appears awful). I have reliable 20% packet loss at each of
 two Verio hops (nothing lost at the far end).

Don't take this the wrong way, but you are showing a bit of
ignorance about how TCP/IP works.

The apparent packet loss you are seeing may be just fine tuning
of the routers in question.

The routers may be set up not to send ICMP host/network
unreachables back to the originating system if they are
required to send more than one in a configured time period.

Routers have better things to do than continually tell you
that a host is unreachable.


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


Re: [Asterisk-Users] Queues

2005-04-02 Thread David Choo
Hi Henry,

Thanks for the advise. I'll check that out.

Best Regards,

==
David Choo
Systems Engineer
Business  Technology Division
Engineered for Changing Businesses
Espore Corp Pte Ltd
68 Kallang Pudding Rd
#04-03 SYH Logistics Bldg
Singapore 349327
Tel: 65-68487806
Fax : 65-6842 2724
E-mail :[EMAIL PROTECTED]
=

Privileged/Confidential information may be contained in this message. If
you are not the intended recipient, you must not copy it or use it for any
purpose, nor deliver this message to anyone. Instead, please delete this
message and destroy any other record of it immediately and kindly notify
the sender by return email. Thank you for your co-operation.

Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, arrive late, or contain
viruses. The sender therefore does not accept liability for any errors or
omissions in the context of this message nor can the sender guarantee that
this message is virus free.


   
 Henry Devito
 [EMAIL PROTECTED] 
 m To 
 Sent by:  Asterisk Users Mailing List -  
 asterisk-users-bo Non-Commercial Discussion  
 [EMAIL PROTECTED] asterisk-users@lists.digium.com   
 m.com  cc 
   
   Subject 
 02/04/2005 01:57  Re: [Asterisk-Users] Queues 
 PM
   
   
 Please respond to 
  Asterisk Users   
  Mailing List -   
  Non-Commercial   
Discussion 
 [EMAIL PROTECTED] 
 ists.digium.com  
   
   







 After calls come in, it works fine, however, I notice that even when
 SIP/602 is on the phone, Asterisk will still ring her. I believe its due
 to
 the fact that the phone support call-waiting. Is there anyway that I can
 disable this support only on queues and ring the next extension in this
 case, which is SIP/603?

You can use setgroup/checkgroup combo I think.  What kind of phone is
SIP/602.  Most phone have a config to disable call waiting.

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


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


Re: [Asterisk-Users] Preserve g729 registration over reinstall??

2005-04-02 Thread Martijn van Oosterhout
On Thu, Mar 31, 2005 at 01:43:41PM -0800, Mike Matthews wrote:
 I purchased the g729 codec from Digium.  Every time I reinstall
 Asterisk (or Linux) I naturally lose the registration. Digium only
 allows one reinstallation without calling them which is a nusance for
 both them and me. Is there any way to preserve the registration
 across a reinstall?  Perhaps by backing up a directory or a file? Any
 help appreciated.

Check the archives to be sure, but I beleive the relevent files are
stored in /var/lib/asterisk/licences or something like that.

Good luck.
-- 
Martijn van Oosterhout
Ecomtel Pty Ltd
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] TDM04B - TDM PCI MASTER ABORT

2005-04-02 Thread JOAO CARLOS MOURA
Hi all
I have four cards TDM04B with modules FXO.
I am using the stabled version of the Asterisk in a Pentium IV with 1GB of 
RAM and RedHat 9
When I load the modules zaptel and wctdm, I receive the message: TDM PCI 
Master Abort.
How I decide this problem?

Thank's
Joao Carlos Moura 

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


Re: [Asterisk-Users] VoIP Provider problems

2005-04-02 Thread Johnathan Corgan
Bob Goddard wrote:
The apparent packet loss you are seeing may be just fine tuning
of the routers in question.
This is the conclusion I came to as well; however, with the way 
PingPlotter works the router is not sending ICMP unreachables but rather 
ICMP TTL expired responses.  In any case, the routers in question may 
either be:

1) ...intentionally discarding the received UDP ping packets (these 
are not ICMP pings, but rather UDP packets with TTL down to zero when 
they get to the router), because the router has better things to do.

2) ...throttling the ICMP TTL expired responses to a certain rate per 
period of time, as you suggest.  This would appear as packet loss.

3) ...actually congested, with the received UDP pings (and other types 
of packets) getting discarded on the input side at the rate shown in the 
data.

I wish there was a way to measure 3) without being affected by 1) and 2).
I agree then, that PingPlotter is not a highly accurate way to measure 
path quality.  Still, though, looking over the data for a couple days 
now it is easy to see cyclical patterns that go from 1% to 30% 
(PingPlotter measured) loss, and an easily seen correlation with the 
voice quality of my outbound Broadvoice calls.

Interestingly enough, switching from a Firefly soft phone on my 
workstation, using IAX2/ulaw, to an analog phone-TDM400 FXS port right 
at the Asterisk server has made a big difference.  So some of the 
perceived crappiness was in the soft phone-Asterisk path and was 
probably being exacerbated by the network loss on the net or at 
Broadvoice's router.

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


RE: [Asterisk-Users] H.323 call '.....' cleared,reason 8 (Transport failure)

2005-04-02 Thread Alex Vishnev








Cenk,



Are you sure that remote will handle H245
tunneling? If the remote does not know how to do that, you will get transport
failure. I would suggest doing FastStart instead and
see if you are getting the same results. Of course, you can verify that the
remote can handle faststart as well.



Alex











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cenk Yabas
Sent: Saturday, April 02, 2005
6:20 AM
To:
asterisk-users@lists.digium.com
Subject: [Asterisk-Users] H.323
call '.' cleared,reason 8 (Transport failure)





I
installed the oh323 channel driver and registered to the gate keeper
succesfully.

I come
through the GK, ring the dialed number forabout 0.5 seconds
andloose the line.I contacted the GKand they report that they
receive the correct dialstring to route the call but the call is ended by my
side.

The
dialstring looks like this:

exten
= _.,1,Dial(OH323/${EXTEN},60,r)

I use the
following channel driver:

asterisk-oh323-0.7.1

openh323-Janus_patch4-src

pwlib-Janus_patch4-src

and the
message on asterisk console looks like this:

--
Registered with gatekeeper '[EMAIL PROTECTED]'.

--
Executing Dial(SIP/2000-c9fc, OH323/0012029361212|60|r)
in new stack

-- H.323
call to 0012029361212 with codec(s) g729

-- Called
0012029361212

-- H.323
call 'ip$localhost/2209' cleared, reason 8 (Transport failure)

--
OH323/L2209 is circuit-busy

-- Hungup
'OH323/L2209'

==
Everyone is busy/congested at this time (1:0/1/0)

== Auto
fallthrough, channel 'SIP/2000-c9fc' status is 'CONGESTION'

--
Executing Dial(SIP/2000-c9fc, OH323/h|60|r) in new
stack

-- H.323
call to h with codec(s) g729

-- Called
h

-- Hungup
'OH323/L2210'

== Spawn
extension (local, h, 1) exited non-zero on 'SIP/2000-c9fc'

-- H.323
call 'ip$localhost/2210' cleared, reason 1 (Cleared by local user)

My oh323
configuration:

Configuration
of OpenH323 channel driver
--
Version: 0.7.1
Listening on address: 0.0.0.0:1720
Gatekeeper used: [EMAIL PROTECTED]
(Registered)
FastStart/H245Tunnelling/H245inSetup: OFF/ON/ON
Supported formats in pref. order: g7290
Jitter buffer limits (min/max): 20-100 ms
TCP port range: 5000 - 31000
UDP (RAS) port range: 5000 - 31000
UDP (RTP) port range: 1 - 2
IP Type-of-Service value: 0
User input mode: 2
Max number of inbound H.323 calls: 10
Max number of outbound H.323 calls: 10
Max number of simultaneous H.323 calls: 20
Max call rate (ingress direction): 1.00/30



What might be the problem?








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

Re: [Asterisk-Users] Shorewall firewall rules

2005-04-02 Thread Rich Adamson
 I'm trying to get firewalling working but I am clueless as to which ports 
 I need to open, I keep opening more ports and it's not working :(
 
 Basically I want SIP and IAX2 to work. IAX2 works fine, but SIP is giving 
 me a headache. It seems that the stateless firewall is not able to handle 
 SIP. I'm using shorewall as my firewall with these rules:
 
 ACCEPT  netfwudp 4569
 ACCEPT  fw net   udp 4569,5060,1:2
 
 My rtp.conf says this:
 rtpstart=1
 rtpend=2
 
Others have already commented on the above. Here's a couple more items
to think about.

The udp ports required for rtp varies by sip phone vendor. In other
words, the exact ports required are not necessarily those shown above.
It also makes a difference as to which device initiates the first rtp
transmission. As noted, the rtpstart and rtpend are for asterisk only,
and are used as its source port when communicating with an exernal
sip device (phone or another asterisk).

If you look at the Xten documentation, you'll find that soft phone
uses rtp udp ports in the low 8000 range.

If you look at the Cisco 7960's, you'll find they use 16384 to 32768,
and those particular values can be seen/changed in SIPDefault.cnf file.

The exact rtp port to be used by each sip device never became a
standard in the rfc, so each vendor is allowed to chose whatever
udp port range they felt like using as their default.

Opening udp ports from 1024 to 64000 will likely help, but you might
as well dump the firewall if you're going to open everything like
that.

Also note that each line/conversation will use another udp port.
So, in the case of the xten product, the first line/conversation
may use port 8000. If you put that line on hold and start another
(second) rtp session, that line/conversation will use something
like 8002 (or whatever).

Use something like ethereal to sniff the packets on the outside of
your firewall, and you'll see the exact udp ports used for whatever
device you're trying to communicate with.

If you don't feel like implementing ethereal, then open all the ports
as someone suggested, then do a netstat -an during a real sip call,
and you'll see the exact udp ports in use. Once you're comfortable
with your understanding of what ports are actually used, then
adjust your firewall to support those ports.


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


RE: [Asterisk-Users] astcc problems

2005-04-02 Thread Karl H. Putz
There is an error in the ASTCC makefile.  It places the sound files in the
wrong directory.

You can either modify the Makefile and change the line:

SOUNDSDIR=/usr/share/asterisk/sounds

to

SOUNDSDIR=/var/lib/asterisk/sounds

and then re-install.  Or simply move the files from the improper directory
to the correct one.


Karl Putz

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of wassim
darwish
Sent: Saturday, April 02, 2005 7:27 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] astcc problems


i have downloaded astcc and confiugured it on web but
the problem is when a call comes by the right callerid
it gives me on CLI like this:

-- Executing DeadAGI(Zap/1-1,
astcc.agi|01475969|s) in new stack
-- Launched AGI Script
/var/lib/asterisk/agi-bin/astcc.agi
Detected dry run!
AGI Environment Dump:
 -- accountcode =
 -- callerid = 01475969
 -- calleridname = unknown
 -- channel = Zap/1-1
 -- context = incoming
 -- dnid = unknown
 -- enhanced = 0.0
 -- extension = s
 -- language = en
 -- priority = 3
 -- rdnis = unknown
 -- request = astcc.agi
 -- type = Zap
 -- uniqueid = 1112430048.4
Apr  2 03:20:54 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-tone does not exist in
any format
Res is
Silent Level is
Card no is 12345

Card has face value 3 and has used 0


3 dollars and 0 cents remain
Apr  2 03:20:54 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-youhave does not exist
in any format
-- Playing 'digits/3' (language 'en')
Apr  2 03:20:55 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-dollars does not exist
in any format
Apr  2 03:20:55 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-remaining does not
exist in any format
Apr  2 03:20:55 WARNING[11364]: file.c:486
ast_openstream_full: File astcc-badphone does not
exist in any format
-- AGI Script astcc.agi completed, returning 0

I dont know what the problem and what this warnings
mean and how can i fix them please help.
and thanks




__
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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


Re: [Asterisk-Users] VoIP Provider problems

2005-04-02 Thread Rich Adamson
  The apparent packet loss you are seeing may be just fine tuning
  of the routers in question.
 
 This is the conclusion I came to as well; however, with the way 
 PingPlotter works the router is not sending ICMP unreachables but rather 
 ICMP TTL expired responses.  In any case, the routers in question may 
 either be:
 
 1) ...intentionally discarding the received UDP ping packets (these 
 are not ICMP pings, but rather UDP packets with TTL down to zero when 
 they get to the router), because the router has better things to do.
 
 2) ...throttling the ICMP TTL expired responses to a certain rate per 
 period of time, as you suggest.  This would appear as packet loss.
 
 3) ...actually congested, with the received UDP pings (and other types 
 of packets) getting discarded on the input side at the rate shown in the 
 data.
 
 I wish there was a way to measure 3) without being affected by 1) and 2).

The deceptive part of doing the above is that once you see
congestion (lack of an icmp response), you still have absolutely
no idea what device was at fault.

In other words, as the ttl value is increased and additional icmps
are sent, you might see what you believe is congestion, but you still
don't have any clue as to whether hop #2, #5, or #10 actually was
involved with that congestion.


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


RE: [Asterisk-Users] Registration to multiple GKs

2005-04-02 Thread Alex Vishnev
I don't think you can. The rules of h323 is so that you can register with a
single gk at a time.

Alex

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of VoIP Newbie
Sent: Saturday, April 02, 2005 6:37 AM
To: Asterisk-Users@lists.digium.com
Subject: [Asterisk-Users] Registration to multiple GKs

Hi all,

How can I configure chan_h323 or chan_oh323 to register to multiple GK
and route calls in-between?

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


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


[Asterisk-Users] Two accounts at one provider and a 302 redirect problem

2005-04-02 Thread Christian Peter
Hi,

I've got a problem with my incoming calls (SIP). First I tried to route
different providers to different extensions in which ._ matched the call
and called the internal phones and so on.

Then I got this Nikotel Account. I managed to get it working. Small hint
for the people trying Nikotel and having problems with the internal 99er
numbers. Nikotel redirects with the 302 message to a user called
user at 63.214.186.6. Asterisk can't redirect unless you define a sip.conf
section with [63.214.186.6]. See
http://bugs.digium.com/bug_view_page.php?bug_id=0001974 and read
marksters comment at the bottom.

So now it worked.

Then I tried two Nikotel Accounts on the same asterisk machine. Problem
is that now every internal 99er call goes to the extension defined in
[63.214.186.6]. My idea is now to route every incoming call to one
extension. I tried to recognize the called number int the extension like
this:

9978389389,1,Answer
9978389389,2,...ring phone 1

9948389390,1,Answer
9948389390,2,...ring phone 2

(these are fake numbers)

But I did not manage to route the call based on the called numbers. Only

_.,1,Answer
_.,2,...ring a phone

did work.

Does anyone have a hint? I would appreciate any comments!
Thanks in advance

Christian Peter

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


Re: [Asterisk-Users] Are there online forums instead of this email

2005-04-02 Thread Jean-Michel Hiver

YE HAA.. We 'be out har' in rural internet space, mamma
Stepping in cow pats .   Way out past the fancy, hi falutin',
city-slicker, collaborative tools of 2005   ..
 

You babble all this nonsense, and *YOU ARE* the guy advocating moderation?
BWAHAHAHAHAHAHAHAHAAA!
Now please go back to your superior women-and-students web forum world 
and leave us in peace.

--
Ykoz Un Max - La VoIP en pré-payé!
Essayez gratuitement - 5 crédits offerts.
--- http://ykoz.net/voip/max ---
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Two accounts at one provider and a 302 redirect problem

2005-04-02 Thread Rich Adamson
 I've got a problem with my incoming calls (SIP). First I tried to route
 different providers to different extensions in which ._ matched the call
 and called the internal phones and so on.
 
 Then I got this Nikotel Account. I managed to get it working. Small hint
 for the people trying Nikotel and having problems with the internal 99er
 numbers. Nikotel redirects with the 302 message to a user called
 user at 63.214.186.6. Asterisk can't redirect unless you define a sip.conf
 section with [63.214.186.6]. See
 http://bugs.digium.com/bug_view_page.php?bug_id=0001974 and read
 marksters comment at the bottom.
 
 So now it worked.
 
 Then I tried two Nikotel Accounts on the same asterisk machine. Problem
 is that now every internal 99er call goes to the extension defined in
 [63.214.186.6]. My idea is now to route every incoming call to one
 extension. I tried to recognize the called number int the extension like
 this:
 
 9978389389,1,Answer
 9978389389,2,...ring phone 1
 
 9948389390,1,Answer
 9948389390,2,...ring phone 2
 
 (these are fake numbers)
 
 But I did not manage to route the call based on the called numbers. Only
 
 _.,1,Answer
 _.,2,...ring a phone
 
 did work.
 
 Does anyone have a hint? I would appreciate any comments!

Not enough info to guess with any reasonableness.

Assuming you are using a register statement for each account, that
statement should look something like:
 register=myuserid:[EMAIL PROTECTED]/1234

The 1234 at the end of that statement tells your provider what
digits to dial when contacting your asterisk. So, in this example,
an entry in extensions.conf like:
 exten = 1234,1,Dial(SIP/3000,15,r)
would cause that incoming call to ring sip phone x3000. For 

If you use a different suffix on each provider's register statement,
you should be able to put together an associated extensions.conf
entry to handle each separately.

On the other hand, if you use a register statement like:
 register=myuserid:[EMAIL PROTECTED]
without the suffix, then an extensions.conf entry like:
 exten = s,1,Dial(SIP/3000,15,r)
would work, but it doesn't distinguish between multiple providers.

If you need a better answer, then post your register statements in
sip.conf (change the passwords) for each provider, along with the
appropriate sections of extensions.conf that handle the incoming
calls.


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


[Asterisk-Users] Asterisk Voice mail with CCM

2005-04-02 Thread Nathan Reeves
Anyone running Cisco Call Manager and using Asterisk for voice mail
services?  Things working well or is the concept a bit of a hassle to
implement?

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


Re: [Asterisk-Users] VoIP Provider problems

2005-04-02 Thread Johnathan Corgan
Rich Adamson wrote:
In other words, as the ttl value is increased and additional icmps
are sent, you might see what you believe is congestion, but you still
don't have any clue as to whether hop #2, #5, or #10 actually was
involved with that congestion.
Sure.  But there is a way around this.
The traceroute-style statistics gathering technique that PingPlotter 
uses tries all the hops at the same time and plots the return rate for 
each one.  So a 10 hop path has 10 packets go out, with individual 
packet's TTL set to expire at each hop.  Done over and over again and 
averaged over many probes, you get a very clear picture.  Packet loss at 
one node affects all the probes to that node and further ones, resulting 
in an increasing loss rate as you go down the path. For example:

Hop Loss
1   0%
2   1%
3   1%
4   5%
5   5%
6   6%
7   15%
8   15%
9   16%
10  16%
It's easy to see there is a big problem between hops 6 and 7 and a 
smaller problem between hops 3 and 4.

With the broadvoice router I was seeing (at first) a jump from 0% to 9% 
at my local ISP, then small increments over the next 10 hops until it 
was at about 14%, then a big jump to 29% at the last hop.

The data has varied cyclically between as high as the above and as low 
as 1% all the way across.  Right this very moment, it is 2% within my 
ISP, still 2% all the way to PNAP, then a jump to 14% at the broadvoice 
ingress router at PNAP.

Again, temper the above with the fact that the packet loss may be 
intentional, and these statistics not representative of real RTP 
traffic, as per my previous message.  But I can predict with high 
accuracy what the caller on the other end of my broadvoice call will say 
about my voice quality based on the last number I see for the broadvoice 
ingress router.

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


[Asterisk-Users] Starting with Asterisk-SIP

2005-04-02 Thread ruben cuevas rumin
Hi all,

I'm a Telecomunication Engeenering student. I have to develop a VoIP
apliccation using SIP protocol. I have to develop the SIP Server, and
the SIP clients.

I think I can use Asterisk for this issue. I have installed it and I
have run it, but I don't know how I have to configure it.

I have read the documentation, but It's so much big and I don't know
what I have to do.

Someone could tell me what configuration files have I to use, and what
have I to put in this files?. If is it posible, I would like someone
send me some simple examples of this files.

It would be wonderful if someone could help me.

Thanks in advance.

Best Regards,

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


[Asterisk-Users] Dynamic Zap/{channel} allocation for out going possible?

2005-04-02 Thread Etienne Pretorius
Hi All * users...
Question:
   In extensions.conf - I am awaire that you can use macro's but what I 
am wondering about.. is that can you create a macro to do dynamic Zap 
channel allocation for a out going call?
   I don't want to reserve a channel/port in the TDM400P card for Out 
break calls, so i was just wandering if some1 could help me a bit over 
here.

[outgoing]  ;Dial 
0 on the phone for external line

exten = _0,1,Dial(Zap/4/$EXTEN)   ;=== statically 
allocated to Zap/4 needs to be dynamic
exten = _0,2,Goto(102)
exten = _0,102,Congestion
exten = _0,103,Hangup

I'll apreciate any help in this regard.
--
Kind Regards
Etienne

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


Re: [Asterisk-Users] Starting with Asterisk-SIP

2005-04-02 Thread Mike
On Sat, 2 Apr 2005, ruben cuevas rumin wrote:
Hi all,
I'm a Telecomunication Engeenering student. I have to develop a VoIP
apliccation using SIP protocol. I have to develop the SIP Server, and
the SIP clients.
I think I can use Asterisk for this issue. I have installed it and I
have run it, but I don't know how I have to configure it.
I have read the documentation, but It's so much big and I don't know
what I have to do.
Someone could tell me what configuration files have I to use, and what
have I to put in this files?. If is it posible, I would like someone
send me some simple examples of this files.
It would be wonderful if someone could help me.
Thanks in advance.
Best Regards,
 Rubén.
Do this:
in
/usr/src/asterisk
run make samples
now you will have the sample configs in /etc/asterisk
then take a look at voip-info.org
Michael


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

Re: [Asterisk-Users] Starting with Asterisk-SIP

2005-04-02 Thread Jean-Michel Hiver

I think I can use Asterisk for this issue. I have installed it and I
have run it, but I don't know how I have to configure it.
 

You should go and read some docs:
http://www.digium.com/handbook-draft.pdf
I have read the documentation, but It's so much big and I don't know
what I have to do.
 

The handbook isn't that big. You should be fine.
Someone could tell me what configuration files have I to use, and what
have I to put in this files?. If is it posible, I would like someone
send me some simple examples of this files.
 

Well I can't tell you what to do but I can tell you the following:
- Entries sip.conf, iax.conf have nothing to do with contexts (they 
refer to them though, through context = blah directives
)
- Entries in extensions.conf are all contexts.

This was the only thing I had to realize before I could use the software.
It would be wonderful if someone could help me.
 

Unfortunately, I can't do for you the research work you're supposed to 
be doing. But do take a look at voip-info.org. There's a lot of good 
stuff there - it's a wonderful resource and will help you get going.

Cheers,
--
Ykoz Un Max - La VoIP en pré-payé!
Essayez gratuitement - 5 crédits offerts.
--- http://ykoz.net/voip/max ---
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Starting with Asterisk-SIP

2005-04-02 Thread Kerry Garrison
If you ar really lost I would suggest getting [EMAIL PROTECTED] and getting your
system up and running fairly easily. Then you can look at the config files
in case you want to do it yourself later.

Kerry Garrison
http://www.geekgazette.com
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ruben cuevas
rumin
Sent: Saturday, April 02, 2005 8:24 AM
To: Asterisk-Users@lists.digium.com
Subject: [Asterisk-Users] Starting with Asterisk-SIP

Hi all,

I'm a Telecomunication Engeenering student. I have to develop a VoIP
apliccation using SIP protocol. I have to develop the SIP Server, and the
SIP clients.

I think I can use Asterisk for this issue. I have installed it and I have
run it, but I don't know how I have to configure it.

I have read the documentation, but It's so much big and I don't know what I
have to do.

Someone could tell me what configuration files have I to use, and what have
I to put in this files?. If is it posible, I would like someone send me some
simple examples of this files.

It would be wonderful if someone could help me.

Thanks in advance.

Best Regards,

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



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


Re: [Asterisk-Users] Dynamic Zap/{channel} allocation for out going possible?

2005-04-02 Thread Etienne Pretorius
Never Mind. oops.
I just needed to play around with some syntax.
Zap/1,2,3,4/$EXTEN
Ps: Is there a better santax because 1-4 doesn't work.
Kind Regards
Etienne
Etienne Pretorius wrote:
Hi All * users...
Question:
   In extensions.conf - I am awaire that you can use macro's but what 
I am wondering about.. is that can you create a macro to do dynamic 
Zap channel allocation for a out going call?
   I don't want to reserve a channel/port in the TDM400P card for Out 
break calls, so i was just wandering if some1 could help me a bit 
over here.

[outgoing]  ;Dial 
0 on the phone for external line

exten = _0,1,Dial(Zap/4/$EXTEN)   ;=== statically 
allocated to Zap/4 needs to be dynamic
exten = _0,2,Goto(102)
exten = _0,102,Congestion
exten = _0,103,Hangup

I'll apreciate any help in this regard.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Dynamic Zap/{channel} allocation for out going possible?

2005-04-02 Thread Etienne Pretorius
Nope - I jumped to conclusions.
It just tries channel 1 the whole time.
Any ideas any1
Kind Regards
Etienne

Etienne Pretorius wrote:
Never Mind. oops.
I just needed to play around with some syntax.
Zap/1,2,3,4/$EXTEN
Ps: Is there a better santax because 1-4 doesn't work.
Kind Regards
Etienne
Etienne Pretorius wrote:
Hi All * users...
Question:
   In extensions.conf - I am awaire that you can use macro's but what 
I am wondering about.. is that can you create a macro to do dynamic 
Zap channel allocation for a out going call?
   I don't want to reserve a channel/port in the TDM400P card for 
Out break calls, so i was just wandering if some1 could help me a 
bit over here.

[outgoing]  ;Dial 
0 on the phone for external line

exten = _0,1,Dial(Zap/4/$EXTEN)   ;=== statically 
allocated to Zap/4 needs to be dynamic
exten = _0,2,Goto(102)
exten = _0,102,Congestion
exten = _0,103,Hangup

I'll apreciate any help in this regard.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

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


Re: [Asterisk-Users] Dynamic Zap/{channel} allocation for out going possible?

2005-04-02 Thread Steven Critchfield
On Sat, 2005-04-02 at 18:39 +0200, Etienne Pretorius wrote:
 Never Mind. oops.
 
 I just needed to play around with some syntax.
 
 Zap/1,2,3,4/$EXTEN
 
 Ps: Is there a better santax because 1-4 doesn't work.

Look at groups in the /etc/asterisk/zaptel.conf

Once you define your groups, you can just 
exten = _0,1,Dial(Zap/g1/$EXTEN)
And asterisk will pick some available channel out of the channels
defined in group 1 to use for dialing out.

  Hi All * users...
 
  Question:
 In extensions.conf - I am awaire that you can use macro's but what 
  I am wondering about.. is that can you create a macro to do dynamic 
  Zap channel allocation for a out going call?
 I don't want to reserve a channel/port in the TDM400P card for Out 
  break calls, so i was just wandering if some1 could help me a bit 
  over here.
 
  [outgoing]  ;Dial 
  0 on the phone for external line
 
  exten = _0,1,Dial(Zap/4/$EXTEN)   ;=== statically 
  allocated to Zap/4 needs to be dynamic
  exten = _0,2,Goto(102)
  exten = _0,102,Congestion
  exten = _0,103,Hangup
 
  I'll apreciate any help in this regard.
 
-- 
Steven Critchfield [EMAIL PROTECTED]

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


Re: [Asterisk-Users] Starting with Asterisk-SIP

2005-04-02 Thread Jeff Heath
This may not work for you on a student budget unless you're willing to
cut into your beer budget ... :-)

I recently got the book and cd from Signate and got a system up pretty
quickly that can make calls back and forth between a couple of SIP
phones directly attached to the server.  

take a look at www.signate.com

Jeff Heath


On Sat, 2005-04-02 at 11:24, ruben cuevas rumin wrote:
 Hi all,
 
 I'm a Telecomunication Engeenering student. I have to develop a VoIP
 apliccation using SIP protocol. I have to develop the SIP Server, and
 the SIP clients.
 
 I think I can use Asterisk for this issue. I have installed it and I
 have run it, but I don't know how I have to configure it.
 
 I have read the documentation, but It's so much big and I don't know
 what I have to do.
 
 Someone could tell me what configuration files have I to use, and what
 have I to put in this files?. If is it posible, I would like someone
 send me some simple examples of this files.
 
 It would be wonderful if someone could help me.
 
 Thanks in advance.
 
 Best Regards,
 
   Rubén.
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

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


Re: [Asterisk-Users] Dynamic Zap/{channel} allocation for out going possible?

2005-04-02 Thread Ron Wellsted
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Etienne Pretorius wrote:
 Nope - I jumped to conclusions.
 
 It just tries channel 1 the whole time.
 
 Any ideas any1
 
 Kind Regards
 Etienne
 
 
 
 Etienne Pretorius wrote:
 
 Never Mind. oops.

 I just needed to play around with some syntax.

 Zap/1,2,3,4/$EXTEN

 Ps: Is there a better santax because 1-4 doesn't work.

 Kind Regards
 Etienne


 Etienne Pretorius wrote:

 Hi All * users...

 Question:
In extensions.conf - I am awaire that you can use macro's but what
 I am wondering about.. is that can you create a macro to do dynamic
 Zap channel allocation for a out going call?
I don't want to reserve a channel/port in the TDM400P card for
 Out break calls, so i was just wandering if some1 could help me a
 bit over here.

 [outgoing]  ;Dial
 0 on the phone for external line

 exten = _0,1,Dial(Zap/4/$EXTEN)   ;=== statically
 allocated to Zap/4 needs to be dynamic
 exten = _0,2,Goto(102)
 exten = _0,102,Congestion
 exten = _0,103,Hangup

 I'll apreciate any help in this regard.


Allocate the channels to a group in zaptel.conf (group=1)

then dial with Zap/g1 which will take the lowets available channel.

- --
Ron Wellsted
http://www.wellsted.org.uk
[EMAIL PROTECTED]
FWD:519961  Gossiptel:9309811
N 52.567623, W 2.137621
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQk7PoUtP/KMNOfRbAQKizQf/W17AS+4Z8EADCkJONbrw0goTELOeMWi7
h5jPndsFk303Rll8HXxyLWs1NzKCLinxGwmbCZ7jgKqc0GaFA84MI0KnUIUZjUNE
cS26kk6s/kU/WvX81Aghzj3EYARHJNvUldsqHo+fd/SprLhpeB/tp6zq54trQ0yB
cPqUbw256qub2L6l/rtrlDl2mqs/yVDfdmWvQSoSqzQLO6rnUZovYrGugmPhPWbB
6QEl/mxHgMisfPsyMtsudzajrm+ud+HLQ8Zgb8dmJAWrs8UpM4bxuqAPdtZM1dPQ
DjTk45XYG3xK3fLyrRNzJtGvMKHWRcWcFi8DajPFEeUlYKGITH7jcg==
=hgKU
-END PGP SIGNATURE-
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Dynamic Zap/{channel} allocation for out going possible?

2005-04-02 Thread Etienne Pretorius




Thank you very much, that sorted out the problem.
Kind Regards
Etienne


Steven Critchfield wrote:

  On Sat, 2005-04-02 at 18:39 +0200, Etienne Pretorius wrote:
  
  
Never Mind. oops.

I just needed to play around with some syntax.

Zap/1,2,3,4/$EXTEN

Ps: Is there a better santax because 1-4 doesn't work.

  
  
Look at groups in the /etc/asterisk/zaptel.conf

Once you define your groups, you can just 
exten = _0,1,Dial(Zap/g1/$EXTEN)
And asterisk will pick some available channel out of the channels
defined in group 1 to use for dialing out.

  
  

  Hi All * users...

Question:
   In extensions.conf - I am awaire that you can use macro's but what 
I am wondering about.. is that can you create a macro to do dynamic 
Zap channel allocation for a out going call?
   I don't want to reserve a channel/port in the TDM400P card for "Out 
break" calls, so i was just wandering if some1 could help me a bit 
over here.

[outgoing]  ;Dial 
"0" on the phone for external line

exten = _0,1,Dial(Zap/4/$EXTEN)   ;=== statically 
allocated to Zap/4 needs to be dynamic
exten = _0,2,Goto(102)
exten = _0,102,Congestion
exten = _0,103,Hangup

I'll apreciate any help in this regard.

  

  



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

Re: [Asterisk-Users] Preserve g729 registration over reinstall??

2005-04-02 Thread Mike Matthews
For the record here, I am quoting from an email from Digium on the subject:

"You will need to backup /var/lib/asterisk/licenses. You will also needto backup the codec_g729 and format_g729 in your/usr/lib/asterisk/modules/ directory. The ethernet cards in yourmachine cannot be changed. Otherwise you will have to reregister yourcodec.
If required you may reregister your codec. If you run into any problemsreregistering, we will assist you on with that problem.
Please refer to http://www.digium.com/index.php?menu=asterisk_g729 foradditional instructions."

Thanks to Digium Support for the prompt and thorough response.Mike Matthews [EMAIL PROTECTED] wrote:

I purchased the g729 codec from Digium. Every time I reinstall Asterisk (or Linux) I naturally lose the registration. Digium only allows one reinstallation without calling them which is a nusance for both them and me. Is there any way to preserve the registration across a reinstall? Perhaps by backing up a directory or a file? Any help appreciated.___Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users"Put down that coffee...coffee is for Closers!"Phone: 918-770-4503Fax: 206-666-1720email: [EMAIL PROTECTED]sip: [EMAIL PROTECTED]___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Re: Are there online forums instead of this email

2005-04-02 Thread Jean-Michel Hiver

You are the bully. So far the majority wish the email list to
continue and yet you still continue to demand that Digium
convert to a forum.
 

Looks like M. Bass likes to troll about mailing lists, see this post:
http://info.ccone.at/INFO/Mail-Archives/procmail/Feb-2003/msg00230.html
As usual, the pro-censorship moralizing zealots don't apply their own 
rules to themselves. Nothing new here...

Best Regards,
Jean-Michel.
--
Ykoz Un Max - La VoIP en pré-payé!
Essayez gratuitement - 5 crédits offerts.
--- http://ykoz.net/voip/max ---
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Starting with Asterisk-SIP

2005-04-02 Thread flavio patria
At the URL http://www.voip-info.org may find some examples.

Gettin' started
First of all you must define a possible dialplan that you can
configure in the file extensions.conf. Dialplan may include several
options, just like a simple comunication between two softphone(for
example Sjphone) using SIP through the Asterisk PBX.
After this, you must define setting about the other configuration
files (.conf, like sip.conf.. etc..)related to the dialplan defined..
and so on...

However you must easily find several interesting examples over
Internet if you search them^_^

I am an Electronic Engineer student too ^_^

bye
flx


On Sat, 2 Apr 2005 18:24:17 +0200, ruben cuevas rumin
[EMAIL PROTECTED] wrote:
 Hi all,
 
 I'm a Telecomunication Engeenering student. I have to develop a VoIP
 apliccation using SIP protocol. I have to develop the SIP Server, and
 the SIP clients.
 
 I think I can use Asterisk for this issue. I have installed it and I
 have run it, but I don't know how I have to configure it.
 
 I have read the documentation, but It's so much big and I don't know
 what I have to do.
 
 Someone could tell me what configuration files have I to use, and what
 have I to put in this files?. If is it posible, I would like someone
 send me some simple examples of this files.
 
 It would be wonderful if someone could help me.
 
 Thanks in advance.
 
 Best Regards,
 
   Rubén.
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

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


RE: [Asterisk-Users] Starting with Asterisk-SIP

2005-04-02 Thread Damon Estep
Start here to get it running, plan on burning a couple days playing with it. 
There is no fast way to get comfortable with it other than hands on and 
research on the list and wiki.

http://www.voip-info.org/wiki-Asterisk+Step-by-step+Installation

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ruben cuevas 
rumin
Sent: Saturday, April 02, 2005 9:24 AM
To: Asterisk-Users@lists.digium.com
Subject: [Asterisk-Users] Starting with Asterisk-SIP

Hi all,

I'm a Telecomunication Engeenering student. I have to develop a VoIP
apliccation using SIP protocol. I have to develop the SIP Server, and
the SIP clients.

I think I can use Asterisk for this issue. I have installed it and I
have run it, but I don't know how I have to configure it.

I have read the documentation, but It's so much big and I don't know
what I have to do.

Someone could tell me what configuration files have I to use, and what
have I to put in this files?. If is it posible, I would like someone
send me some simple examples of this files.

It would be wonderful if someone could help me.

Thanks in advance.

Best Regards,

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


[Asterisk-Users] SjPhoneH323

2005-04-02 Thread flavio patria
 Can I use SJphone like a H.323 phone in order to dial and receive call
through Asterisk?Can I consider Asterisk just like a sort of H323
Gateway?

Thanks 4 all!

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


Re: [Asterisk-Users] Dynamic Zap/{channel} allocation for out going possible?

2005-04-02 Thread Etienne Pretorius




But what happens when the channel is busy etc?

It does not seem to drop the "Attempt a naitive bridge". I saw this in
the commented out section and thought that it'll work but well it still
hangs at "Attempting a naitive bridge".

[outgoing] ;Dial
"0" on the phone for external line

exten = _0,1,Dial(Zap/g2/$EXTEN)
exten = _0,2,Goto(_0-${DIALSTATUS},1)
;Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)

exten = _0-ANSWER,1,Goto(_0,102)
exten = _0-.,1,Goto(_0,1) ;Try
another line

exten = _0,102,Congestion
exten = _0,103,Hangup


Hints?
Kind Regards
Etienne

Technical Support
Kingsley Technologies



Etienne Pretorius wrote:

  
Thank you very much, that sorted out the problem.
  Kind Regards
Etienne
  
  
Steven Critchfield wrote:
  
On Sat, 2005-04-02 at 18:39 +0200, Etienne Pretorius wrote:
  

  Never Mind. oops.

I just needed to play around with some syntax.

Zap/1,2,3,4/$EXTEN

Ps: Is there a better santax because 1-4 doesn't work.



Look at groups in the /etc/asterisk/zaptel.conf

Once you define your groups, you can just 
exten = _0,1,Dial(Zap/g1/$EXTEN)
And asterisk will pick some available channel out of the channels
defined in group 1 to use for dialing out.

  

  
Hi All * users...

Question:
   In extensions.conf - I am awaire that you can use macro's but what 
I am wondering about.. is that can you create a macro to do dynamic 
Zap channel allocation for a out going call?
   I don't want to reserve a channel/port in the TDM400P card for "Out 
break" calls, so i was just wandering if some1 could help me a bit 
over here.

[outgoing]  ;Dial 
"0" on the phone for external line

exten = _0,1,Dial(Zap/4/$EXTEN)   ;=== statically 
allocated to Zap/4 needs to be dynamic
exten = _0,2,Goto(102)
exten = _0,102,Congestion
exten = _0,103,Hangup

I'll apreciate any help in this regard.

  
  

  
  

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



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

Re: [Asterisk-Users] Snom and Multiple calls

2005-04-02 Thread Karl Brose
Did you enable call waiting?
call_waiting: on

Josh Dady wrote:
I've got an issue on the snoms, and I'm wondering if anyone has some 
recent experience with it; I've contacted the one specific reference I 
found to it in the list archives, and the person in question didn't 
seem to find an answer (and snom doesn't appear to be finished moving 
their offices yet).

On the snom (I've tested this on the 220 and 360), the phone will 
immediately reject any new INVITE that arrives with 486 BUSY HERE if 
there's already a call on the phone opening (i.e., either the phone is 
already ringing or you've dialed a call that hasn't been answered 
yet).  If we were to give one of these phones to our receptionist, 
obviously, that wouldn't be acceptable.  Is there a way to disable 
this behavior?

--
Joshua P. Dady

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

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


[Asterisk-Users] SjPhoneH323

2005-04-02 Thread flavio patria
Can I use SJphone like a H.323 phone in order to dial and receive call
through Asterisk?Can I consider Asterisk just like a sort of H323
Gateway?

Thanks 4 all!

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


[Asterisk-Users] Passing varibles *out* of macros

2005-04-02 Thread Joe Presto
Hi, I have a dialplan that has a called party indicate whether they want to
accept a call by pressing 1. I'm using a feature found in CVS head.

It works great, except that if the call is connected, and the called party
hangs up first, the caller goes into voicemail.

I tried to work around this by passing a variable out of the macro, but that
doesn't appear to work.  Here's my dialplan - what's the best way to
accomplish this?

[dg-extensions]
exten = 1,1,Playback(dg-connect-to-sales)
exten = 1,2,SetVar(CALLFILENAME=${EXTEN:1}-${TIMESTAMP}) 
exten = 1,3,Monitor(wav,${CALLFILENAME},m) 
exten = 1,4,SetMusicOnHold,sales
exten = 1,5,Dial(SIP/sales|30|gmM(screen))
exten = 1,6,GotoIf($[${screenresult} = accept ] ?8:7)
exten = 1,7,VoiceMail,su1
exten = 1,8,Wait(0)
exten = 1,107,VoiceMail,su1

[macro-screen]
exten = s,1,Wait(0.2)
exten = s,2,Read(ACCEPT|all-your-base|1)
exten = s,3,GotoIf($[${ACCEPT} = 1 ] ?7:4)  ;5:4
exten = s,4,SetVar(MACRO_RESULT=CONTINUE) ;do not connect call
exten = s,5,SetVar(screenresult=deny)
exten = s,6,Goto(s,8) 
exten = s,7,SetVar(screenresult=accept)  ;connect call
exten = s,8,Wait(0)

Thanks in advance - Joe

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


Re: [Asterisk-Users] Asterisk Voice mail with CCM

2005-04-02 Thread Nathan Alberti
I'm currently in the process of getting it to work for a CCME install, I 
have it all working except for one thing.. I think it was calling a 
phone from the asterisk server the call transfer back to asterisk would 
fail with an authentication issue and die. I'm pretty sure this issue 
can be resolved I just have not had the time recently wo work on it, I 
can provide more info when I'm back in the office next week.

Nathan Reeves wrote:
Anyone running Cisco Call Manager and using Asterisk for voice mail
services?  Things working well or is the concept a bit of a hassle to
implement?
TIA
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Are there online forums instead of this email

2005-04-02 Thread Joseph
Que? You told someone to grow up?
YE HAA.. We 'be out har' in rural internet space, mamma
Stepping in cow pats .   Way out past the fancy, hi falutin',
city-slicker, collaborative tools of 2005   ..
YE... HAA.   SMTP MAIL!W.
G  I'm really impresses out har'.  Goooll moses.
woo
Um, yeah, check that. Sorry, this horse-and-buggy system gives a lot 
more flexibility and lets tools be built off of it. If you don't like it 
we got that, but please, to repeat you, Grow up and stop posting to 
this tread.

Thanks,
--Joseph
Tim Bass wrote:
Tom Ivar Helbekkmo.   Grow up and stop posting to this tread.
Nobody cares about your bullying insults.
 

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


[Asterisk-Users] Outbound calls with xlite and Xpro PocketPC

2005-04-02 Thread Robert Keller
My issue is dialing out to a local prefix does not always connect. The telco
were sorry, your call does not come thru... message is received. If I dial
my cell phone (a 201 prefix vs. a 758 prefix) then my cell phone rings every
time. My clients are Xlite on a Mac and Xpro on a pocketpc.

I have an Asterisk (AMP) server running with an X100P clone card connected
to an analog line. 

What could I be missing?




Robert Andrew Keller
Ferndale School District #502
[EMAIL PROTECTED]
360-383-9228 PH.
360-383-9218 FAX
Paving the way for tomorrows genius.

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


[Asterisk-Users] problem detecting answer on pri card

2005-04-02 Thread Richard
Hi,

I have a digium PRI T1 card connecting to my carrier. However it has
problems to detect the answer signal on some numbers. For example,
1-800-225-2525 is KLM airline's reservation line. It should answer right
away. But * can't detect it is answered and keeps ringing the ip phone. I
put a monitor on the channel, and get the answer messages in the channels.
So somehow the line is answered but * doesn't know. I don't have a problem
to most numbers. The problem only got my attention after one customer
reported it.

A debug on the pri shows,
Ext: 1  Progress Description: Call is not end-to-end ISDN; further call
progress information may be available inband. (1) ]

So maybe the inband information is not detected by *?

Anyone has the same setup, i.e. PRI to your carrier? Can you please dial the
number 1-800-225-2525 and have 'pri debug'? I'd like to compare the results.
I am not sure if it is * or just my * configuration.

Your help is highly appreciated. I am really stuck here.

Thanks,
Richard


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


[Asterisk-Users] Asterisk Auto-Startup on Ubuntu/Debian

2005-04-02 Thread Josh Alberts
I'm having trouble getting asterisk to run at startup using Ubuntu. 
I've checked, and the asterisk dameon is set to run at init 5.  However,
I'm not seeing anything that says that asterisk has been started during
the boot process.  Oddly, when I shut the machine down/run init6, it
says Starting Asterisk PBX.  Odd.  I'm using the default scripts that
came with asterisk (I installed using synaptic and the debian universe
repositories).  I've edited /etc/default/asterisk, uncommented the first
line and changed start asterisk to yes.  Anybody know what might be
wrong?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] how to tell what ${DIALSTATUS} is being set

2005-04-02 Thread Randy Bush
i often have nufone problems, e.g.

-- Executing Dial(SIP/konaa0p-4b88, IAX2/[EMAIL PROTECTED]/14086661234) 
in new stack
-- Called [EMAIL PROTECTED]/14086661234
-- Call accepted by 66.225.202.72 (format ulaw)
-- Format for call is ulaw
-- Hungup 'IAX2/NuFone/5'

sound of surf (on a boogie board kind of day) for a fairly long while

  == No one is available to answer at this time
-- Executing Hangup(SIP/konaa0p-4b88, ) in new stack
  == Spawn extension (dial-gateways, 14086661234, 5) exited non-zero on 
'SIP/konaa0p-4b88'
-- Executing Hangup(SIP/konaa0p-4b88, ) in new stack
  == Spawn extension (dial-gateways, h, 1) exited non-zero on 'SIP/konaa0p-4b88'

i would like to detect this (and many other things) in ${DIALSTATUS}
conditions so that i can then GotoIf() them.  the problem is that the
log does not tell me explicitly which ${DIALSTATUS} has been returned,
leaving me guessing.  with BUSY vs CONGESTION this is even more of an
issue.

is it reasonable to ask that the log contain the value being set in
${DIALSTATUS}?

randy

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


Re: [Asterisk-Users] Asterisk Auto-Startup on Ubuntu/Debian

2005-04-02 Thread Ron Wellsted
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Josh Alberts wrote:
 I'm having trouble getting asterisk to run at startup using Ubuntu. 
 I've checked, and the asterisk dameon is set to run at init 5.  However,
 I'm not seeing anything that says that asterisk has been started during
 the boot process.  Oddly, when I shut the machine down/run init6, it
 says Starting Asterisk PBX.  Odd.  I'm using the default scripts that
 came with asterisk (I installed using synaptic and the debian universe
 repositories).  I've edited /etc/default/asterisk, uncommented the first
 line and changed start asterisk to yes.  Anybody know what might be
 wrong?

Try starting atserisk at run level 2 or 3 (debian/ubuntu does this a
little differently)


- --
Ron Wellsted
http://www.wellsted.org.uk
[EMAIL PROTECTED]
FWD:519961  Gossiptel:9309811
N 52.567623, W 2.137621
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQk7oqEtP/KMNOfRbAQK3sggAgOe9uzdFlJZ6wzeNGtZA8L6td2sPTdGy
dxbPd0pbjYBLOj0EfF6BvXTJUYYg4FcGvxfTn0i3ByeFPQHDsMNk0HPRot216qPh
BwXEjSmrwy9BznIqoqS9XToHpyhCV2B+W9sX7QY0g6xZM6tf94gocQ8oH9U2CO+f
L2kVB8yHYYNgx1XCwqihZ1GHWvRnELXALWPOYpYnIzRJt+uWp+66V7VcZWaMjPH5
bMOB0gT33GxHk4itOycMxoV1ECueEV9Ghmlk8pABpCA4RveIkDKHGVMFPnqb9hlp
VWv9ESNmIo/czDcxMd+u+/v4+N0aoPznPqrmrRVW3q47jOvFy5yh5w==
=ARpy
-END PGP SIGNATURE-
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] echo paid support

2005-04-02 Thread James Taylor
Thanks guys,
The echo is there when T1 is connected directly to Asterisk box.
If connected to TNT first then to Asterisk via SIP, then Asterisk echo  
training kicks in (you can hear it 1st second or so) then only a little.

I haven't tried the steps below, but will when I build another box this  
next week.

Thanks,
James
On Fri, 1 Apr 2005 17:09:46 -0700, Damon Estep  
[EMAIL PROTECTED] wrote:

Brian,
By the description of James config there is no zaptel in hus box, looks
like the TDM to SIP conversion is happening on the TNT, is it still your
opinion that the steps below will help?
-Original Message-
From: [EMAIL PROTECTED] [mailto:asterisk-users-
[EMAIL PROTECTED] On Behalf Of Brian M. Arlinghaus
Sent: Wednesday, March 23, 2005 2:16 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion; James
Taylor
Subject: Re: [Asterisk-Users] echo paid support
James,
After three months of echo, I finally got mine to go away.
I am using a Dell Optiplex GX280 with a P4 3.2GHz processor and 512MB
RAM
and Asterisk version stable 1.07.
Here's what I came up with after reading many of the posts and much
trial
and error.
1. Make sure that ther is no GUI loaded on the asterisk box.
2. Recompile Zaptel with MMX enabled (I think this applies to Intel
Processors only, but someone may correct me if I'm wrong.)
To enable MMX in zaptel, before you compile zaptel, uncomment the line
in
/usr/src/zaptel/zconfig.h file that says:
/* #define CONFIG_ZAPTEL_MMX */
and change it to:
#define CONFIG_ZAPTEL_MMX
3. Recompile Zaptel with the Aggressive Suppressor enabled.  I have
never
read anything about this, but saw it while I was enabling the MMX
support.
From reading zconfig.h, there are different versions of the echo
canceller,
but the comments say that the aggressive suppressor works with
MARK2
which is what was enabled by default in stable 1.07.
To enable the MARK2 AGGRESSIVE SUPPRESSOR in zaptel, before you
compile
zaptel, uncomment the line in /usr/src/zaptel/zconfig.h file that
says:
/* #define AGGRESSIVE_SUPPRESSOR */
and change it to:
#define AGGRESSIVE_SUPPRESSOR
4. Recompile Zaptel with the instructions reordered.  I don't know
what
this does, but it was recommended in these posts for fixing echo.
To reorder the instructions in zaptel, before you compile zaptel,
add
the
following in /usr/src/zaptel/Makefile underneath the comment in the
Makefile
talking about all the config settings being in zconfig.h.  From the
looks
of
it, it might only effect Pentium 4s???
CFLAGS+=-march=pentium4
5. Make sure the Zaptel card is not sharing an IRQ with othe hardware.
In
my case, this involved moving my T100P to another slot and disabling
all
USB
ports.  (I login remotely to administer the asterisk box since the
GX280
doesn't have a PS/2 keyboard port.)
6. Make sure that you have a sufficient processor and sufficient RAM.
I
didn't make any additions to my configuration, but I did remove one
256MB
RAM chip that seemed to be bad leaving 256MB.
Hope this helps.  Again, most of this is not from me, but others here
with
much more knowledge.
Brian Arlinghaus
- Original Message -
From: James Taylor [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Thursday, March 17, 2005 10:40 AM
Subject: [Asterisk-Users] echo paid support
 I've got echo problems.
 *** I'm looking for paid support. ***
 I'll accept free support, but don't mind paying if someone really
knows
 what they are doing.


 I've read the wiki, etc.
 Played with the settings in zapata.conf
 Using V400P

 PSTN-_T1-_ASTERISK-_BROADVOICE-_PSTNECHO ON CALLED PHONE
 PSTN-_T1-_ASTERISK-_T1-_PSTNNO ECHO
 VOIP-_ASTERISK-_T1-_PSTN ECHO ON VOIP PHONE G711

 I have another trunk group and different T1's that go to a MAX TNT
first:
 PSTN-_T1-_MAX_TNT-_VOIP-_ASTERISK-_VOIP_PHONE  ECHO ON VOIP
PHONE
 g711


PSTN-_T1-_MAX_TNT-_VOIP_G711-_ASTERISK_IAX_GSM-_ASTERISK_IAX_GSM-
_VOIP_PHONE_g711
 NO ECHO
 --
 James Taylor
 MetroTel
 3505 Summerihll Road
 Suite 11
 Texarkana, Texas  75503
 903-793-1956
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
James Taylor
MetroTel
3505 Summerihll Road
Suite 11
Texarkana, Texas  75503
903-793-1956
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] *** Asterisk 2.0 Stable release out now

2005-04-02 Thread James Gardiner

Asterisk 2.0 on Windows..  This is all very much a bit of a Joke, but one
does beg to ask.

When will version 2.0 be released???


James



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


Re: [Asterisk-Users] *** Asterisk 2.0 Stable release out now

2005-04-02 Thread Brian Capouch
James Gardiner wrote:
Asterisk 2.0 on Windows..  This is all very much a bit of a Joke, but one
does beg to ask.
When will version 2.0 be released???
2.0 is just now really being talked about in earnest.
I think a better question would be when 1.2 is going to be out.
That one has more narrow bounds.
B.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] problem detecting answer on pri card

2005-04-02 Thread Alex Vishnev
I have seen that before when you mismatch the type of pri flavor. For
example, if you carrier gives you 4ess and you put 5ess in your config.
There are subtle differences in packets. I would check the configuration on
your carrier side and * side. 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: Saturday, April 02, 2005 1:20 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] problem detecting answer on pri card

Hi,

I have a digium PRI T1 card connecting to my carrier. However it has
problems to detect the answer signal on some numbers. For example,
1-800-225-2525 is KLM airline's reservation line. It should answer right
away. But * can't detect it is answered and keeps ringing the ip phone. I
put a monitor on the channel, and get the answer messages in the channels.
So somehow the line is answered but * doesn't know. I don't have a problem
to most numbers. The problem only got my attention after one customer
reported it.

A debug on the pri shows,
Ext: 1  Progress Description: Call is not end-to-end ISDN; further call
progress information may be available inband. (1) ]

So maybe the inband information is not detected by *?

Anyone has the same setup, i.e. PRI to your carrier? Can you please dial the
number 1-800-225-2525 and have 'pri debug'? I'd like to compare the results.
I am not sure if it is * or just my * configuration.

Your help is highly appreciated. I am really stuck here.

Thanks,
Richard


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


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


RE: [Asterisk-Users] problem detecting answer on pri card

2005-04-02 Thread Richard
Both use national as switchtype. I put a traditional pbx to the circuit.
Everything is working. Any suggestion?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Alex Vishnev
 Sent: Saturday, April 02, 2005 9:26 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [Asterisk-Users] problem detecting answer on pri card
 
 I have seen that before when you mismatch the type of pri flavor. For
 example, if you carrier gives you 4ess and you put 5ess in your config.
 There are subtle differences in packets. I would check the configuration
 on
 your carrier side and * side.
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Richard
 Sent: Saturday, April 02, 2005 1:20 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [Asterisk-Users] problem detecting answer on pri card
 
 Hi,
 
 I have a digium PRI T1 card connecting to my carrier. However it has
 problems to detect the answer signal on some numbers. For example,
 1-800-225-2525 is KLM airline's reservation line. It should answer right
 away. But * can't detect it is answered and keeps ringing the ip phone. I
 put a monitor on the channel, and get the answer messages in the channels.
 So somehow the line is answered but * doesn't know. I don't have a problem
 to most numbers. The problem only got my attention after one customer
 reported it.
 
 A debug on the pri shows,
 Ext: 1  Progress Description: Call is not end-to-end ISDN; further call
 progress information may be available inband. (1) ]
 
 So maybe the inband information is not detected by *?
 
 Anyone has the same setup, i.e. PRI to your carrier? Can you please dial
 the
 number 1-800-225-2525 and have 'pri debug'? I'd like to compare the
 results.
 I am not sure if it is * or just my * configuration.
 
 Your help is highly appreciated. I am really stuck here.
 
 Thanks,
 Richard
 
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

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


[Asterisk-Users] Book Review: VoIP Telephony with Asterisk

2005-04-02 Thread Kerry Garrison



The book bills itself as a beginner's guide to Asterisk and Voice over IP 
(VoIP). Even with over 270 pages, it isn't possible to go through every single 
feature that Asterisk has to offer but the book does give enough information to 
get you started and even apply a few advanced features to your phone system. For 
those of you not familiar with Asterisk, VoIP, or PBX's we will need a little 
bit of background for you to know if this book is for you. 
http://www.geekgazette.com/index.php?option=com_contenttask=viewid=23Itemid=26

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

[Asterisk-Users] Zaptel Anti-MMX Optimizations

2005-04-02 Thread Trevor Peirce
Hello,
Running Fedora Core 2 with a Celeron processor I'm seeing a significant 
problem when enabling MMX optimizations.

I'll gladly submit a bug report, but I don't know what information is 
useful.

First, with -no- MMX optimizations enabled, here is what I see
CLI show translation
   Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)
   g723   gsm  ulaw  alaw  g726 adpcm  slin lpc10  g729 speex  ilbc
 g723 - - - - - - - - - - -
  gsm - - 2 2 3 2 11118 -24
 ulaw - 5 - 1 3 2 11118 -24
 alaw - 5 1 - 3 2 11118 -24
 g726 - 6 3 3 - 3 21219 -25
adpcm - 5 2 2 3 - 11118 -24
 slin - 4 1 1 2 1 -1017 -23
lpc10 - 7 4 4 5 4 3 -20 -26
 g729 - 7 4 4 5 4 313 - -26
speex - - - - - - - - - - -
 ilbc - 8 5 5 6 5 41421 - -
If I enable MMX_OPTIMIZATIONS (and change nothing else), it gets quite 
worse

CLI show translation
   Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)
   g723   gsm  ulaw  alaw  g726 adpcm  slin lpc10  g729 speex  ilbc
 g723 - - - - - - - - - - -
  gsm - - 2 2 3 2 14820 - 446270
 ulaw - 5 - 1 3 2 14820 - 446270
 alaw - 5 1 - 3 2 14820 - 446270
 g726 - 6 3 3 - 3 24921 - 446271
adpcm - 5 2 2 3 - 14820 - 446270
 slin - 4 1 1 2 1 -4719 - 446269
lpc10 -   368   365   365   366   365   364 -   383 - 446633
 g729 -23202021201966 - - 446288
speex - - - - - - - - - - -
 ilbc -   266   263   263   264   263   262   309   281 - -
And just incase you think I've got an AMD, here you go...
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 1
model name  : Intel(R) Celeron(R) CPU 1.70GHz
stepping: 3
cpu MHz : 1716.114
cache size  : 128 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips: 3399.68

If this isn't supposed to work with Celerons I'd like to update the 
documentation. On the other hand if it's a problem with my system I'd 
like to resolve it :)

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


Re: [Asterisk-Users] Integrating door intercom?

2005-04-02 Thread Jeff Noxon
On Fri, Apr 01, 2005 at 04:07:30PM -0500, C F wrote:
 Well, depends how you set it up. If you leave it as is, it will only
 ring 3 times. You can't just call up the box (without the chip), b/c
 it will just throw you to the other end of the doorbell fon (the co
 port). So no this is one of the more cheaper one and I wouldn't
 recommend it with Asterisk, try Vikingelectronics instead (the c2000
 from them even support callerid). Or you can try Valcom.

In my configuration, the Doorbell Fon has a dedicated FXO port.  I would
not recommend using it any other way.  Asterisk answers immediately
when the user hits the button on the intercom and indicates ringing to
the intercom.  Asterisk sets the Caller ID, and rings my house phones
(and cell phone) with distinctive ring.

Personally I have no need or desire to make calls to the intercom box.
Unless someone pushed the button, I'd be unaware anyone was there in
the first place.

 The distinctive ring doesn't really work with asterisk, since it is
 never (well, almost never 1 out of 5 might repeat, but then again it
 might switch the pattaren with the other box) exactly the same
 pattaren. Caller ID just simply doesn't work with this box, it does'nt
 send callerid, the only thing you acomplish by turning it off, is to
 ring the phones imediatly.

There's no need for the distinctive ring to work with Asterisk unless you
are trying to get by with one FXO port for both the doorbell and a POTS
line.  I have not tested that configuration and would not recommend it.
With a dedicated FXO interface for the doorbell, those issues go away.

Regards,

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


Re: [Asterisk-Users] Zaptel Anti-MMX Optimizations

2005-04-02 Thread Michael D Schelin
Hay Trevor, what would be the problem if you were using AMD processors?
Trevor Peirce wrote:
Hello,
Running Fedora Core 2 with a Celeron processor I'm seeing a 
significant problem when enabling MMX optimizations.

I'll gladly submit a bug report, but I don't know what information is 
useful.

First, with -no- MMX optimizations enabled, here is what I see
CLI show translation
   Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)
   g723   gsm  ulaw  alaw  g726 adpcm  slin lpc10  g729 speex  ilbc
 g723 - - - - - - - - - - -
  gsm - - 2 2 3 2 11118 -24
 ulaw - 5 - 1 3 2 11118 -24
 alaw - 5 1 - 3 2 11118 -24
 g726 - 6 3 3 - 3 21219 -25
adpcm - 5 2 2 3 - 11118 -24
 slin - 4 1 1 2 1 -1017 -23
lpc10 - 7 4 4 5 4 3 -20 -26
 g729 - 7 4 4 5 4 313 - -26
speex - - - - - - - - - - -
 ilbc - 8 5 5 6 5 41421 - -
If I enable MMX_OPTIMIZATIONS (and change nothing else), it gets quite 
worse

CLI show translation
   Translation times between formats (in milliseconds)
Source Format (Rows) Destination Format(Columns)
   g723   gsm  ulaw  alaw  g726 adpcm  slin lpc10  g729 speex  ilbc
 g723 - - - - - - - - - - -
  gsm - - 2 2 3 2 14820 - 446270
 ulaw - 5 - 1 3 2 14820 - 446270
 alaw - 5 1 - 3 2 14820 - 446270
 g726 - 6 3 3 - 3 24921 - 446271
adpcm - 5 2 2 3 - 14820 - 446270
 slin - 4 1 1 2 1 -4719 - 446269
lpc10 -   368   365   365   366   365   364 -   383 - 446633
 g729 -23202021201966 - - 446288
speex - - - - - - - - - - -
 ilbc -   266   263   263   264   263   262   309   281 - -
And just incase you think I've got an AMD, here you go...
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 1
model name  : Intel(R) Celeron(R) CPU 1.70GHz
stepping: 3
cpu MHz : 1716.114
cache size  : 128 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips: 3399.68

If this isn't supposed to work with Celerons I'd like to update the 
documentation. On the other hand if it's a problem with my system I'd 
like to resolve it :)

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

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


Re: [Asterisk-Users] Zaptel Anti-MMX Optimizations

2005-04-02 Thread Trevor Peirce
Michael D Schelin wrote:
Hay Trevor, what would be the problem if you were using AMD processors?
/*
* Define if you want MMX optimizations in zaptel
*
* Note: CONFIG_ZAPTEL_MMX is generally incompatible with AMD
* processors and can cause system instability!
*
*/
/* #define CONFIG_ZAPTEL_MMX */
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] how to tell what ${DIALSTATUS} is being set

2005-04-02 Thread [EMAIL PROTECTED]
Have you tried a simple hangup NoOp to output ${DIALSTATUS} to the CLI?

exten = h,1,NoOp(${DIALSTATUS})

-josiah


Original Message:
-
From: Randy Bush [EMAIL PROTECTED]
Date: Sat, 2 Apr 2005 10:44:46 -0800
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] how to tell what ${DIALSTATUS} is being set


i often have nufone problems, e.g.

-- Executing Dial(SIP/konaa0p-4b88, IAX2/[EMAIL PROTECTED]/14086661234)
in new stack
-- Called [EMAIL PROTECTED]/14086661234
-- Call accepted by 66.225.202.72 (format ulaw)
-- Format for call is ulaw
-- Hungup 'IAX2/NuFone/5'

sound of surf (on a boogie board kind of day) for a fairly long while

  == No one is available to answer at this time
-- Executing Hangup(SIP/konaa0p-4b88, ) in new stack
  == Spawn extension (dial-gateways, 14086661234, 5) exited non-zero on
'SIP/konaa0p-4b88'
-- Executing Hangup(SIP/konaa0p-4b88, ) in new stack
  == Spawn extension (dial-gateways, h, 1) exited non-zero on
'SIP/konaa0p-4b88'

i would like to detect this (and many other things) in ${DIALSTATUS}
conditions so that i can then GotoIf() them.  the problem is that the
log does not tell me explicitly which ${DIALSTATUS} has been returned,
leaving me guessing.  with BUSY vs CONGESTION this is even more of an
issue.

is it reasonable to ask that the log contain the value being set in
${DIALSTATUS}?

randy

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



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


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


[Asterisk-Users] Re: how to tell what ${DIALSTATUS} is being set

2005-04-02 Thread Tony Mountifield
In article [EMAIL PROTECTED],
Randy Bush [EMAIL PROTECTED] wrote:
 i often have nufone problems, e.g.
 
 -- Executing Dial(SIP/konaa0p-4b88, IAX2/[EMAIL 
 PROTECTED]/14086661234) in new stack
 -- Called [EMAIL PROTECTED]/14086661234
 -- Call accepted by 66.225.202.72 (format ulaw)
 -- Format for call is ulaw
 -- Hungup 'IAX2/NuFone/5'
 
 sound of surf (on a boogie board kind of day) for a fairly long while
 
   == No one is available to answer at this time
 -- Executing Hangup(SIP/konaa0p-4b88, ) in new stack
   == Spawn extension (dial-gateways, 14086661234, 5) exited non-zero on 
 'SIP/konaa0p-4b88'
 -- Executing Hangup(SIP/konaa0p-4b88, ) in new stack
   == Spawn extension (dial-gateways, h, 1) exited non-zero on 
 'SIP/konaa0p-4b88'
 
 i would like to detect this (and many other things) in ${DIALSTATUS}
 conditions so that i can then GotoIf() them.  the problem is that the
 log does not tell me explicitly which ${DIALSTATUS} has been returned,
 leaving me guessing.  with BUSY vs CONGESTION this is even more of an
 issue.
 
 is it reasonable to ask that the log contain the value being set in
 ${DIALSTATUS}?

I find it useful to follow the Dial command with a NoOp command as follows:
 NoOp(DIALSTATUS=${DIALSTATUS})

Then it shows up in the log. It also provides something for my Manager event
parser to see, in order to discover the reason for a failed call.

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


[Asterisk-Users] wctdm module parameters (Was: Issues with ringing on FXS ports)

2005-04-02 Thread Richard Scobie

[EMAIL PROTECTED] wrote:
Is there a list of these anywhere?  This is now the third one I've heard 
of, with no documentation:  lowpower (IIRC), robust and now boostringer. 
Do I have to go diving in the source, or is there a Wiki I can't find?
I have only ever found the information in the driver source of on the 
CVS list as they have been added.

There is a list of them at the end of wctdm.c.
The non obvious ones I know about:
opermode=COUNTRY
Where COUNTRY is one from the list near the top of wctdm.c This will set 
the A.C. and D.C. line impedance on the FXO modules to suit the telecom 
standard used in that country. Default if not set, is FCC (US/Canada).

fxshonormode=1
If used, it must be in conjuction with the above. This will set the A.C. 
and D.C. line impedance on the FXS modules to match COUNTRY. Default if 
not set, is FCC (US/Canada).

lowpower=1
Reduces ringing volts on FXS to 50V peak.
boostringer=1
Boosts ringing volts on FXS to 89V peak.
Regards,
Richard
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Cisco Skinny Call Control Protocol on Asterisk

2005-04-02 Thread Alexandre Otto Durr
Hi for all!

I saw it on http://signate.com/features.php an Open Source PBX Features with
support Cisco Skinny Call Control Protocol.

Is it possible in Asterisk or I need a license for this?

Has anyone using Asterisk with Cisco Skinny?

TIA

Alexandre 


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


Re: [Asterisk-Users] Asterisk Auto-Startup on Ubuntu/Debian

2005-04-02 Thread Josh Alberts
By default, synaptic puts init scripts in all runlevel folders.  All are
exactly the same, except for init 6, which is supposed to kill the
process.

On Sat, 02 Apr 2005 12:20:40 -0600,
ron at wellsted.org.uk said:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Josh Alberts wrote:
 I'm having trouble getting asterisk to run at startup using Ubuntu. 
 I've checked, and the asterisk dameon is set to run at init 5.  However,
 I'm not seeing anything that says that asterisk has been started during
 the boot process.  Oddly, when I shut the machine down/run init6, it
 says Starting Asterisk PBX.  Odd.  I'm using the default scripts that
 came with asterisk (I installed using synaptic and the debian universe
 repositories).  I've edited /etc/default/asterisk, uncommented the first
 line and changed start asterisk to yes.  Anybody know what might be
 wrong?

Try starting atserisk at run level 2 or 3 (debian/ubuntu does this a
little differently)


- --
Ron Wellsted
http://www.wellsted.org.uk
ron at wellsted.org.uk
FWD:519961  Gossiptel:9309811
N 52.567623, W 2.137621
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQk7oqEtP/KMNOfRbAQK3sggAgOe9uzdFlJZ6wzeNGtZA8L6td2sPTdGy
dxbPd0pbjYBLOj0EfF6BvXTJUYYg4FcGvxfTn0i3ByeFPQHDsMNk0HPRot216qPh
BwXEjSmrwy9BznIqoqS9XToHpyhCV2B+W9sX7QY0g6xZM6tf94gocQ8oH9U2CO+f
L2kVB8yHYYNgx1XCwqihZ1GHWvRnELXALWPOYpYnIzRJt+uWp+66V7VcZWaMjPH5
bMOB0gT33GxHk4itOycMxoV1ECueEV9Ghmlk8pABpCA4RveIkDKHGVMFPnqb9hlp
VWv9ESNmIo/czDcxMd+u+/v4+N0aoPznPqrmrRVW3q47jOvFy5yh5w==
=ARpy
-END PGP SIGNATURE-
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] problem detecting answer on pri card

2005-04-02 Thread Trevor Peirce
Richard wrote:
A debug on the pri shows,
Ext: 1  Progress Description: Call is not end-to-end ISDN; further call
progress information may be available inband. (1) ]
So maybe the inband information is not detected by *?
 

I can't help you debug, but I see this same progress message and can 
hear their system fine.  No more messages appear until I hangup and a 
DISCONNECT goes out.


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


Re: [Asterisk-Users] Book Review: VoIP Telephony with Asterisk

2005-04-02 Thread Jean-Michel Hiver
Kerry Garrison wrote:
The book bills itself as a beginner's guide to Asterisk and Voice over 
IP (VoIP). Even with over 270 pages, it isn't possible to go through 
every single feature that Asterisk has to offer but the book does give 
enough information to get you started and even apply a few advanced 
features to your phone system. For those of you not familiar with 
Asterisk, VoIP, or PBX's we will need a little bit of background for 
you to know if this book is for you.
http://www.geekgazette.com/index.php?option=com_contenttask=viewid=23Itemid=26 
http://www.geekgazette.com/index.php?option=com_contenttask=viewid=23Itemid=26
I don't know if you've read the book. I have it on my desk right now and 
it suffers from out of date information, lack of structure, lack of 
progression. I felt that the book is mostly just a clunky bunch of 
recipies patched together.

Of course I appreciate how hard it must be to write a book such as this. 
Yet, I think Digium's PDF handbook has better value, regardless of the 
book's price.

Cheers,
Jean-Michel.
--
Ykoz Un Max - La VoIP en pré-payé!
Essayez gratuitement - 5 crédits offerts.
--- http://ykoz.net/voip/max ---
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Polycom sound quality problems

2005-04-02 Thread Eric Mason
There's no transcoding going on.  It's ulaw on IAX with Sixtel and ulaw 
on SIP to the phone.  I considered that as a possibility originally, and 
even tried using GSM with Sixtel to force it to do transcoding, but had 
the exact same problem. 

The Asterisk box is a 2.4ghz P4 with 512MB RAM, doing nothing but 
Asterisk.  I have only 9 extensions.

I would think there's a possibility of packet loss on the IAX channel, 
except the other SIP phones (SJPhone softphone) work flawlessly.  Also, 
OUTBOUND calls are just fine on the Polycoms.  Only incoming calls are 
messed up.


Max W Blackmer Jr wrote:
I don't see any way to tell the Polycom to ignore QoS.  It's mainly
routers and switches that pay attention to QoS, the phone would just set
QoS on its outgoing packets.  Anyway, here's what's in the QoS section-
it all seems to be related to sending packets:
   

It is not in the transport if it is sounding bad look and see if
there is any transcoding occuring from the IAX to the SIP. What codecs
are accepted on the AIX should be the Same codecs accepted on the SIP
channel ... and what codects are being used on each phone. This sounds
like a transcoding issue.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 

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


Re: [Asterisk-Users] Shorewall firewall rules

2005-04-02 Thread Remco Barende

The exact rtp port to be used by each sip device never became a
standard in the rfc, so each vendor is allowed to chose whatever
udp port range they felt like using as their default.
Opening udp ports from 1024 to 64000 will likely help, but you might
as well dump the firewall if you're going to open everything like
that.
Also note that each line/conversation will use another udp port.
So, in the case of the xten product, the first line/conversation
may use port 8000. If you put that line on hold and start another
(second) rtp session, that line/conversation will use something
like 8002 (or whatever).
Thanks for all the replies. I did manage to get it working now but do not 
feel very comfortable will all the ports that must be opened.

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


Re: [Asterisk-Users] Book Review: VoIP Telephony with Asterisk

2005-04-02 Thread John Novack
Jean-Michel Hiver wrote:
Kerry Garrison wrote:
The book bills itself as a beginner's guide to Asterisk and Voice 
over IP (VoIP). Even with over 270 pages, it isn't possible to go 
through every single feature that Asterisk has to offer but the book 
does give enough information to get you started and even apply a few 
advanced features to your phone system. For those of you not familiar 
with Asterisk, VoIP, or PBX's we will need a little bit of background 
for you to know if this book is for you.
http://www.geekgazette.com/index.php?option=com_contenttask=viewid=23Itemid=26 
http://www.geekgazette.com/index.php?option=com_contenttask=viewid=23Itemid=26 


I don't know if you've read the book. I have it on my desk right now 
and it suffers from out of date information, lack of structure, lack 
of progression. I felt that the book is mostly just a clunky bunch of 
recipies patched together.
Agreed It seems to mostly be a rehash of the early Asterisk 
documentation, with only a few tidbits that I had not found elsewhere.
Certainly not worth it's high pricetag either.

Keeping up with such a moving target is indeed a difficult task for ANY 
printed book.
Digium's  published work is at least worth the price!

John N

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


Re: [Asterisk-Users] *** Asterisk 2.0 Stable release out now

2005-04-02 Thread John Novack
Brian Capouch wrote:
James Gardiner wrote:
Asterisk 2.0 on Windows..  This is all very much a bit of a Joke, but 
one
does beg to ask.
When will version 2.0 be released???

2.0 is just now really being talked about in earnest.
I think a better question would be when 1.2 is going to be out.
An even BETTER question is: When will what is already out and more or 
less working have enough accurate documentation to make it acceptable to 
a wider audience?

As one small example: the recent postings regarding wctdm. If all the 
options are at the end of the driver source, how long does it take to 
put into a more accessible form?

JMO
John N

That one has more narrow bounds.
B.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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


[Asterisk-Users] OH323 core dump

2005-04-02 Thread Dipole Moment
Hi all,

I installed and configured OH323 driver and have been using it for a
week now, it's been working great but it also seems to be crashing
Asterisk once in a while.  I wasn't sure until I started asterisk with
safe_asterisk script and found a core dump in /tmp today.  Asterisk
version is 1.0.6 and OH323 driver version is 0.6.5.  Below is the
backtrace of the core dump.  Does anyone know if 0.7.1 with CVS-HEAD
fixes this problem?  As usual in such cases, my excuse is that I don't
have enough time otherwise I'd have traced the problem and fixed it :)

#0  0x0188c3fd in RTP_JitterBuffer::Main ()
   from /usr/lib/asterisk/modules/chan_oh323.so
(gdb) bt
#0  0x0188c3fd in RTP_JitterBuffer::Main ()
   from /usr/lib/asterisk/modules/chan_oh323.so
#1  0x01950e6a in PThread::PX_ThreadStart ()
   from /usr/lib/asterisk/modules/chan_oh323.so
#2  0x00c8298c in start_thread () from /lib/tls/libpthread.so.0
#3  0x00bdd7da in clone () from /lib/tls/libc.so.6
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Polycom sound quality problems

2005-04-02 Thread Noah Miller
There's no transcoding going on.  It's ulaw on IAX with Sixtel and ulaw
on SIP to the phone.  I considered that as a possibility originally, 
and
even tried using GSM with Sixtel to force it to do transcoding, but had
the exact same problem.

The Asterisk box is a 2.4ghz P4 with 512MB RAM, doing nothing but
Asterisk.  I have only 9 extensions.
I would think there's a possibility of packet loss on the IAX channel,
except the other SIP phones (SJPhone softphone) work flawlessly.  Also,
OUTBOUND calls are just fine on the Polycoms.  Only incoming calls are
messed up.
Just to cover all the bases, have you tried any other IAX providers or 
connections?

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


[Asterisk-Users] Sipura - GSM or iLBC?

2005-04-02 Thread Matt
Hi,
Does anyone know... does Sipura have any plans to support GSM or iLBC on any of their devices? Specifically the ATA-2000?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] OH323 core dump

2005-04-02 Thread Yves
You can report this here :
https://skylab.inaccessnetworks.com/mantis/main_page.php


Dipole Moment wrote:
 Hi all,
 
 I installed and configured OH323 driver and have been using it for a
 week now, it's been working great but it also seems to be crashing
 Asterisk once in a while.  I wasn't sure until I started asterisk with
 safe_asterisk script and found a core dump in /tmp today.  Asterisk
 version is 1.0.6 and OH323 driver version is 0.6.5.  Below is the
 backtrace of the core dump.  Does anyone know if 0.7.1 with CVS-HEAD
 fixes this problem?  As usual in such cases, my excuse is that I don't
 have enough time otherwise I'd have traced the problem and fixed it :)
 
 #0  0x0188c3fd in RTP_JitterBuffer::Main ()
from /usr/lib/asterisk/modules/chan_oh323.so
 (gdb) bt
 #0  0x0188c3fd in RTP_JitterBuffer::Main ()
from /usr/lib/asterisk/modules/chan_oh323.so
 #1  0x01950e6a in PThread::PX_ThreadStart ()
from /usr/lib/asterisk/modules/chan_oh323.so
 #2  0x00c8298c in start_thread () from /lib/tls/libpthread.so.0
 #3  0x00bdd7da in clone () from /lib/tls/libc.so.6
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 

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


[Asterisk-Users] xlite regestration fails but calls to thru

2005-04-02 Thread Scott Wolfe



While on my network I can register ok with xlite 
but outside my firewall my Xlite says that regestraion has failed but I am still 
able to make calls through it. I have opened ports: 5060 udp/tcp and 1-2 
udp/tcp is there another port Xlite needs for proper regestration? Is is 
this a network configuation error on Astrisks part? My Asterisk server is 
running a IP of 10.0.1.x and my Cisco firewall is passing the public IP address 
to it from theoutside. 

Thanks for any advice.
-Scott

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

Re: [Asterisk-Users] xlite registration fails but calls to thru

2005-04-02 Thread Robert Keller
Title: Re: [Asterisk-Users] xlite registration fails but calls to thru





Make sure the first three codecs are not grayed out.


Robert Andrew Keller 
Ferndale School District #502
[EMAIL PROTECTED]
360-383-9228 PH.
360-383-9218 FAX
Paving the way for tomorrows genius.

From: Scott Wolfe [EMAIL PROTECTED]
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com
Date: Sat, 2 Apr 2005 16:03:19 -0800
To: Asterisk-Users@lists.digium.com
Subject: [Asterisk-Users] xlite regestration fails but calls to thru

While on my network I can register ok with xlite but outside my firewall my Xlite says that regestraion has failed but I am still able to make calls through it. I have opened ports: 5060 udp/tcp and 1-2 udp/tcp is there another port Xlite needs for proper regestration? Is is this a network configuation error on Astrisks part? My Asterisk server is running a IP of 10.0.1.x and my Cisco firewall is passing the public IP address to it from the outside. 
 
Thanks for any advice.
-Scott
 

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




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

[Asterisk-Users] Buying some Polycom IP300s

2005-04-02 Thread Dan Morin



I've been playing 
with Asterisk for a few weeks now, and I've gotten everything to work well with 
softphones, so I'm ready to move on to normal VoIP phones. I've been 
looking around and reading comments that people have had, and I was convinced 
that the Polycom IP300 was a great phone for a good price. But, then I ran 
into this page, which has been update in the last few days:

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

Re: [Asterisk-Users] xlite registration fails but calls to thru

2005-04-02 Thread Scott Wolfe
Title: Re: [Asterisk-Users] xlite registration fails but calls to thru



No. They are all there as shown in your image. 


  - Original Message - 
  From: 
  Robert Keller 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Saturday, April 02, 2005 4:12 
  PM
  Subject: Re: [Asterisk-Users] xlite 
  registration fails but calls to thru
  Make 
  sure the first three codecs are not grayed out.Robert Andrew Keller 
  Ferndale School District #502[EMAIL PROTECTED]360-383-9228 
  PH.360-383-9218 FAX"Paving the way for tomorrows genius."
  
  From: "Scott Wolfe" [EMAIL PROTECTED]Reply-To: 
  Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.comDate: 
  Sat, 2 Apr 2005 16:03:19 -0800To: 
  Asterisk-Users@lists.digium.comSubject: 
  [Asterisk-Users] xlite regestration fails but calls to 
  thruWhile 
  on my network I can register ok with xlite but outside my firewall my Xlite 
  says that regestraion has failed but I am still able to make calls through it. 
  I have opened ports: 5060 udp/tcp and 1-2 udp/tcp is there 
  another port Xlite needs for proper regestration? Is is this a network 
  configuation error on Astrisks part? My Asterisk server is running a IP of 
  10.0.1.x and my Cisco firewall is passing the public IP address to it from the 
  outside. Thanks for 
  any advice.-Scott
  
  ___Asterisk-Users 
  mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users
  
  

  ___Asterisk-Users 
  mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users
image.jpg___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

  1   2   >