Re: [asterisk-users] Installing Asterisk on to CentOS 4

2007-09-12 Thread Ove Aursand




Anthony Francis wrote:

  Ove Aursand wrote:
  
  
Abdul wrote:


  Hi expets,

I have installed Asterisk 1.4.11 on CentOS4 successfully without any 
error.
But when i am trying to start asterisk with following cmd i am 
getting unknown command.

[EMAIL PROTECTED] ~]$ asterisk -vvc
-bash: asterisk: command not found
[EMAIL PROTECTED] ~]$

I checked modules and other configuration files which are installed 
correctly.

Please help me to locate this problem.

Thank You

  

Try the command as root:
[EMAIL PROTECTED] ~]$ su -
*enter password*
[EMAIL PROTECTED] ~]# asterisk -cvv

Rgds,
Ove


  

Be a better Globetrotter. Get better travel answers 
http://us.rd.yahoo.com/evt=48254/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=listsid=396545469from 
someone who knows.
Yahoo! Answers - Check it out.


___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.485 / Virus Database: 269.13.14/999 - Release Date: 10.09.2007 17:43
  
  



___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

  
  Ove,

You should seriously reconsider showing your IP in posts.

You have open 22, 25, 53, 110, 111, 80, 143, 443, 3306

MySQL open to the world? Seriously? Yikes

Anthony

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


  

Thanks for the heads up, but I just copied from Abdul's post. But I
guess he is reading this message too. Does everyone on this list
automatically nmap IP addresses from posts btw? :P

Ove



___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] Linux-HA and Asterisk

2007-09-12 Thread Ove Aursand




I am also using Polycom behind NAT without problems. But my asterisk box is not natted (so I have no externip setting in my asterisk).
My setup is Asterisk-internet-nat-polycom601/501/430/301

(PS: Hopefully posting in plain text after adding digium.com as a text-only domain in thunderbird :))

Regards,
Ove

Eric "ManxPower" Wieling wrote:

  Polycoms work just fine behind NAT.

Mike Clark wrote:
  
  
Chris Mason (Lists) wrote:


  Mike Clark wrote:

  
  
  
Yes, the Asterisk boxes were on private addresses. The Polycoms are also 
behind a NAT. Yes, I tried using externip in sip.conf and this allowed 
registration, and calls to be placed, but no audio. Unfortunately, 
Polycom does not support STUN.


  
  Your problem is not Linux-HA, it looks like that is fully functional.
Your problem is the same one many people come across. You can't put
Polycom phones behind NAT, it won't work.
If you have to have the phones behind NAT, which I advise against, use
Linksys which probably work better, and use a SIP aware NAT device.
Better still, put the phones on the same network as the Asterisk PBX and
say goodbye to your problems.

  
  

Thanks Chris. Unfortunately, these solutions aren't an option. I guess I 
was hoping someone had found the silver bullet or some undocumented 
Asterisk feature that solved the issue. Back to the drawing board.

  
  
___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


  




___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] Installing Asterisk on to CentOS 4

2007-09-11 Thread Ove Aursand




Abdul wrote:
Hi expets,
  
I have installed Asterisk 1.4.11 on CentOS4 successfully without any
error.
But when i am trying to start asterisk with following cmd i am getting
unknown command.
  
[EMAIL PROTECTED] ~]$ asterisk -vvc
-bash: asterisk: command not found
[EMAIL PROTECTED] ~]$
  
I checked modules and other configuration files which are installed
correctly. 
  
Please help me to locate this problem.
  
Thank You
  

Try the command as root:
[EMAIL PROTECTED] ~]$ su -
*enter password*
[EMAIL PROTECTED] ~]# asterisk -cvv

Rgds,
Ove

  
   
  Be a better Globetrotter. Get
better travel answers from someone who knows.
Yahoo! Answers - Check it out.
  

___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.485 / Virus Database: 269.13.14/999 - Release Date: 10.09.2007 17:43
  




___

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 

--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] MySQL + Realtime + SIP Registration

2007-08-03 Thread Ove Aursand




Try to add this line in extconfig.conf:
sippeers = mysql,asterisk,sip_users

Regards,
Ove

Mark Greene wrote:
I have read and followed as much as I can find but I am
missing something. What I want to do is get as much as I can running
from mysql and keep the *.conf files for static things. So I have setup
a SIP users/peers table in a mysql database and I have populated it
with a few peers. I have configured asterisk addons and from the
asterisk CLI I am able to search the sip users / peers tables using the
"realtime load" command. This is after i added "sipusers =
mysql,asterisk,sip_users" to my extconfig.conf file. However I don't
know what to do to get asterisk to look at that table when a request to
register comes from a sip peer. I understand that sipusers and sip peer
are contradictory but they are all defined as peers.
  
  
  
  

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.11.0/929 - Release Date: 31.07.2007 17:26
  




___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Re: [asterisk-users] matching the beginning of an EXTEN

2006-12-14 Thread Ove Aursand

Use ${EXTEN:0:9}

Regards,
Ove

Joao Pereira wrote:

Hello
how can I distinguish all the calls that arrive to my Asterisk 
starting with: 351217588XXX ?
I want match the first 9 digits does Asterisk has any function for 
this?


Thanks
Regards
Joao Pereira
___
--Bandwidth and Colocation provided by Easynews.com --

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



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

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


Re: [asterisk-users] AGI interaction with php

2006-12-08 Thread Ove Aursand

This should get you started:
http://www.voip-info.org/wiki/view/Asterisk+AGI+php
http://phpagi.sourceforge.net/

Regards,
Ove

nik600 wrote:

Hi

i am planning to develop a php script that will be called from AGI for
the management of an IVR application.

I'd like to be able to do the following things from php:

- retrive callerid
- play some audio files to the caller
- wait for some DTMF digits
- retrive the DTMF
- stop the call

the php have to collect some information from the user and after some
check on a database inster some records into it.

Can i do that directly from php or i must do something else?

Maybe do you suggest other languages to do that?

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

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



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

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


Re: [asterisk-users] centos 4.4 + asterisk

2006-12-05 Thread Ove Aursand




varun wrote:

  Hello,

Are there any issues with Centos 4.4
and asterisk.

Thanks in advance

Varun

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

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

  

This might be fixed in 4.4
(depends on your kernel), but:

quote
extra, extra, read all about it, centosbug is a problem with the latest
Centos kernels (4.2 and 4.3). To fix it, paste everything inside the
quotes into a root shell: "sed -i s/rw_lock/rwlock/
/usr/src/kernels/*/include/linux/spinlock.h"
/quote

Regards,
Ove




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

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


Re: [asterisk-users] Answer a call that is not ringing on your extension

2006-12-04 Thread Ove Aursand

David Parcerisa wrote:

Answer a call that is not ringing on your extension.

I want to pick up an external call  that is ringing on another
extension that is not mine. Now in my old standard pbx I press 5 and I
get the call.

How to do this with asterisk?


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

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


Hi David

You can use callgroup/pickupgroup in sip.conf, and use features.conf to 
choose what you have to press on the phones to pickup other calls. All 
phones have to be in the same group (0-64 I think).


Regards,
Ove



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

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


Re: [asterisk-users] Re: AGI PHP Issues (AGI script runs but phone hangs up too quickly)

2006-11-30 Thread Ove Aursand




Tony Mountifield wrote:

  In article [EMAIL PROTECTED],
Chris Blunt [EMAIL PROTECTED] wrote:
  
  
Sorry to re-post this but I'm sure it's something simple that someone has
found before.

To summarise:

Dial plan answers the phone

AGI script executes

AGI debug in console show phonetics ABC - However no audio at all on the
phone and this step is less than 1 second.

Dial plan Busy

Phone hangs up.

  
  
Perhaps Asterisk is playing the phonetics in the background (like Background
instead of like Playback)?

Try putting a Wait(5) after the AGI (or even a sleep(5) within it), to see.

General question for anyone that knows: Is there a way in the Dialplan or
or in AGI to wait for Background messages to finish playing? Perhaps doing
a Playback of a file containing a very short length of silence?

Cheers
Tony
  

And also, you need to run Answer
before Playback. This can be done in the AGI script, or dialplan before
execution of AGI.

Ove



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

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