[asterisk-users] Who said asterisk is not to the task

2012-09-29 Thread research
[tz-ivr01 ~]# uptime
 11:00:32 up 776 days, 10:49,  3 users,  load average: 3.06, 3.05, 2.57
Sharing is caring

[tz-ivr01 ~]# asterisk -rx 'core show channels' |wc -l
213

mysql select count(*) from cdr where calldate  '2012-01-01 00:00:00' and
calldate '2012-09-29 00:00:00' group by disposition;
+--+
| count(*) |
+--+
| 42926974 |
+--+
1 row in set (1.63 sec)

mysql select disposition, sum(billsec) from cdr where calldate
'2012-01-01 00:00:00' and calldate '2012-09-29 00:00:00' group by
disposition;
+-+--+
| disposition | sum(billsec) |
+-+--+
| ANSWERED|   4262026740 |
+-+--+
1 row in set (1.21 sec)

Sam

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Reuse h extension?

2012-09-29 Thread Stefan at WPF
I have 2 contexts, however both have the same h extension.
Currently I am doing copypaste for the h extension - is there a better
way?
Can I somehow reference a h extension, so I have to create/modify it only
once?

Thanks for any hint!
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Reuse h extension?

2012-09-29 Thread Logan Bibby
I have a status context with a hangup extension. All my h calls go
there.

- Logan
On Sep 29, 2012 4:32 AM, Stefan at WPF stefan.at@googlemail.com
wrote:

 I have 2 contexts, however both have the same h extension.
 Currently I am doing copypaste for the h extension - is there a better
 way?
 Can I somehow reference a h extension, so I have to create/modify it only
 once?

 Thanks for any hint!

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Reuse h extension?

2012-09-29 Thread Stefan at WPF
How do you redirect all h calls to your status context? Thanks :-)

2012/9/29 Logan Bibby lo...@keobi.com

 I have a status context with a hangup extension. All my h calls go
 there.

 - Logan
 On Sep 29, 2012 4:32 AM, Stefan at WPF stefan.at@googlemail.com
 wrote:

 I have 2 contexts, however both have the same h extension.
 Currently I am doing copypaste for the h extension - is there a better
 way?
 Can I somehow reference a h extension, so I have to create/modify it only
 once?

 Thanks for any hint!

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Reuse h extension?

2012-09-29 Thread Logan Bibby
I do. I call the Hangup application in priority 1 so I can send calls there
without needing to call it. Then the h extension goes to status,hangup,2.

- Logan
On Sep 29, 2012 4:36 AM, Stefan at WPF stefan.at@googlemail.com
wrote:

 How do you redirect all h calls to your status context? Thanks :-)

 2012/9/29 Logan Bibby lo...@keobi.com

 I have a status context with a hangup extension. All my h calls go
 there.

 - Logan
 On Sep 29, 2012 4:32 AM, Stefan at WPF stefan.at@googlemail.com
 wrote:

 I have 2 contexts, however both have the same h extension.
 Currently I am doing copypaste for the h extension - is there a better
 way?
 Can I somehow reference a h extension, so I have to create/modify it
 only once?

 Thanks for any hint!

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Who said asterisk is not to the task

2012-09-29 Thread Markus

Am 29.09.2012 10:49, schrieb resea...@businesstz.com:

[tz-ivr01 ~]# uptime
  11:00:32 up 776 days, 10:49,  3 users,  load average: 3.06, 3.05, 2.57
Sharing is caring


Is that a Quad Core CPU in your box?

PS: Yes, Asterisk is great. :)












--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Reuse h extension?

2012-09-29 Thread Stefan at WPF
Thanks Logan. Can you send an extract of your extensions.conf, how you do
that?

2012/9/29 Logan Bibby lo...@keobi.com

 I do. I call the Hangup application in priority 1 so I can send calls
 there without needing to call it. Then the h extension goes to
 status,hangup,2.

 - Logan
 On Sep 29, 2012 4:36 AM, Stefan at WPF stefan.at@googlemail.com
 wrote:

 How do you redirect all h calls to your status context? Thanks :-)

 2012/9/29 Logan Bibby lo...@keobi.com

 I have a status context with a hangup extension. All my h calls go
 there.

 - Logan
 On Sep 29, 2012 4:32 AM, Stefan at WPF stefan.at@googlemail.com
 wrote:

 I have 2 contexts, however both have the same h extension.
 Currently I am doing copypaste for the h extension - is there a better
 way?
 Can I somehow reference a h extension, so I have to create/modify it
 only once?

 Thanks for any hint!

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Who said asterisk is not to the task

2012-09-29 Thread research
Hi Markus

Quad core running of 4 physical processor machine, HP DL580G5

Sam

Markus wrote:
 Am 29.09.2012 10:49, schrieb resea...@businesstz.com:
 [tz-ivr01 ~]# uptime
   11:00:32 up 776 days, 10:49,  3 users,  load average: 3.06, 3.05, 2.57
 Sharing is caring

 Is that a Quad Core CPU in your box?

 PS: Yes, Asterisk is great. :)












 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Reuse h extension?

2012-09-29 Thread Johan Wilfer
2012-09-29 11:32, Stefan at WPF skrev:
 I have 2 contexts, however both have the same h extension.
 Currently I am doing copypaste for the h extension - is there a better
 way?
 Can I somehow reference a h extension, so I have to create/modify it
 only once?
 
 Thanks for any hint!
 

Have you tried goto? I have some extensions that are related and I use
goto to the main context from the others.

Goto(context,h,1)


-- 
Johan Wilfer

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Reuse h extension?

2012-09-29 Thread Logan Bibby
I don't have it readily available, but it would be something like this

[status]
exten = hangup,1,Hangup
same = 2,NoOp(Hangup)
; do further processing here

[default]
exten = 1234,1,Answer
; other priorities
same = Goto(status,hangup,1) ; - actually hangs up the channel

exten = h,1,Goto(status,hangup,2) ; - processes a channel not hung up by
the dialplan
On Sep 29, 2012 6:08 AM, Stefan at WPF stefan.at@googlemail.com
wrote:

 Thanks Logan. Can you send an extract of your extensions.conf, how you do
 that?

 2012/9/29 Logan Bibby lo...@keobi.com

 I do. I call the Hangup application in priority 1 so I can send calls
 there without needing to call it. Then the h extension goes to
 status,hangup,2.

 - Logan
 On Sep 29, 2012 4:36 AM, Stefan at WPF stefan.at@googlemail.com
 wrote:

 How do you redirect all h calls to your status context? Thanks :-)

 2012/9/29 Logan Bibby lo...@keobi.com

 I have a status context with a hangup extension. All my h calls go
 there.

 - Logan
 On Sep 29, 2012 4:32 AM, Stefan at WPF stefan.at@googlemail.com
 wrote:

 I have 2 contexts, however both have the same h extension.
 Currently I am doing copypaste for the h extension - is there a
 better way?
 Can I somehow reference a h extension, so I have to create/modify it
 only once?

 Thanks for any hint!

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] Remote SIP Extension Best Practices

2012-09-29 Thread Chris Nighswonger
What are best practices for allowing connection by remote SIP
extensions over the internet? I'm thinking of putting the SIP inside a
VPN connection.

Kind Regards,
Chris

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Extension hints, which info available?

2012-09-29 Thread Leandro Dardini
Hello,
I want to manage hints in a different way, putting all the hints in the
same context and trying to recognize the subscribing peer, but I can't find
any variable set about the calling peer. Peers need to be authenticated to
be able to subscribe to the hint, but I am not able to access any of the
info usually available when a registered peer place a call, like
${CDR(accountcode)} or ${CHANNEL(peername)} ... the only variable I can use
is ${EXTEN}

Leandro
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Reuse h extension?

2012-09-29 Thread Steve Edwards

On Sat, 29 Sep 2012, Stefan at WPF wrote:


I have 2 contexts, however both have the same h extension.
Currently I am doing copypaste for the h extension - is there a better way?
Can I somehow reference a h extension, so I have to create/modify it only once?


; templates
[h](!)
exten = h,1,verbose(1,[${EXTEN}@${CONTEXT}])
exten = h,n,goto(settle-card,s,1)

[i](!)
exten = i,1,verbose(1,[${EXTEN}@${CONTEXT}])
exten = i,n,goto(${CONTEXT},s,1)

[s](!)
exten = s,1,verbose(1,[${EXTEN}@${CONTEXT}])

; example1
[example1](h,i,s)
exten = s,2,blah-blah-blah()
exten = s,n,hangup()

; example2
[example2](h,i,s)
exten = s,2,blah-blah-blah()
exten = s,n,hangup()

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Remote SIP Extension Best Practices

2012-09-29 Thread Chris Nighswonger
On Sat, Sep 29, 2012 at 12:41 PM, Carlos Rojas crt.ro...@gmail.com wrote:
 Hello.

 Vpn is good idea, is more secure, you can use tls with srtp as well.

 Are you using asterisk 1.8? Right?

Asterisk 10.7.0

Kind Regards,
Chris

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Remote SIP Extension Best Practices

2012-09-29 Thread Carlos Rojas
Hi

Ok, I think vpn is good way, but , you can use tls that uses certificates,
and srtp for media encriptatio, in sip protocol.

Regards
On Sep 29, 2012 12:59 PM, Chris Nighswonger cnighswon...@foundations.edu
wrote:

 On Sat, Sep 29, 2012 at 12:41 PM, Carlos Rojas crt.ro...@gmail.com
 wrote:
  Hello.
 
  Vpn is good idea, is more secure, you can use tls with srtp as well.
 
  Are you using asterisk 1.8? Right?

 Asterisk 10.7.0

 Kind Regards,
 Chris

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] AsteriskNOW x86_64 install GPT partitions

2012-09-29 Thread Wrinkled Cheese
Hello everyone,

I'm having an issue installing AsteriskNOW 2.0.2 on a Dell server.  When I
go to intall it, with BIOS legacy mode for partition tables, I get as far
as setting pu the partition tables.  However, the installer then informs me
that GPT partition table schemes are required and that I have to resolve
the issue.

I changed from BIOS/MBR/Legacy mode to GPT/UEFI boot mode but then the
installer fails to install.  Upon investigation it seems that this is a
fault of the CentOS installer.  There must be a work around to this issue
since it seems that the partition tables require GPT mode but the installer
for the x86_64 disc don't support UEFI mode.

Does anyone know of a work around or solution to this problem?
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Who said asterisk is not to the task

2012-09-29 Thread Mitch Claborn
Sam - can you send output from a top when your server is under load?  
Just curious.


--

Mitch


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Who said asterisk is not to the task

2012-09-29 Thread Markus

Am 29.09.2012 20:17, schrieb Mitch Claborn:

Sam - can you send output from a top when your server is under load?
Just curious.


Preferably with all CPUs showing (hit 1 in top) - thanks! :)




--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Who said asterisk is not to the task

2012-09-29 Thread Steve Totaro
On Sat, Sep 29, 2012 at 6:49 AM, Markus unive...@truemetal.org wrote:

 Am 29.09.2012 10:49, schrieb resea...@businesstz.com:

  [tz-ivr01 ~]# uptime
   11:00:32 up 776 days, 10:49,  3 users,  load average: 3.06, 3.05, 2.57
 Sharing is caring


 Is that a Quad Core CPU in your box?

 PS: Yes, Asterisk is great. :)


High load avg.  Is that Asterisk 1.2?
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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