Re: [asterisk-users] Global h exten

2009-04-06 Thread Dovid Bender
I had a patch created for 1.4.X for this.
http://bugs.digium.com/bug_view_page.php?bug_id=14159
  - Original Message - 
  From: Gabriel Ortiz Lour 
  To: asterisk-users@lists.digium.com 
  Sent: Wednesday, March 18, 2009 8:23 PM
  Subject: [asterisk-users] Global h exten


  Hi all,

Is there something like a global h exten, that gets called on every hang 
up, no matter what exten?

  Thanks,
  Gabriel



--


  ___
  -- 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___
-- 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] Global h exten

2009-04-06 Thread Dovid Bender
I had a patch created for 1.4.X for this.
http://bugs.digium.com/bug_view_page.php?bug_id=14159
  - Original Message - 
  From: Gabriel Ortiz Lour 
  To: asterisk-users@lists.digium.com 
  Sent: Wednesday, March 18, 2009 8:23 PM
  Subject: [asterisk-users] Global h exten


  Hi all,

Is there something like a global h exten, that gets called on every hang 
up, no matter what exten?

  Thanks,
  Gabriel



--


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

[asterisk-users] Global h exten

2009-03-18 Thread Gabriel Ortiz Lour
Hi all,

  Is there something like a global h exten, that gets called on every hang
up, no matter what exten?

Thanks,
Gabriel
___
-- 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] Global h exten

2009-03-18 Thread Steve Edwards
On Wed, 18 Mar 2009, Gabriel Ortiz Lour wrote:

  Is there something like a global h exten, that gets called on every 
 hang up, no matter what exten?

(no matter what context)

Nope -- but it sounds like a great idea.

I do it this way...

I define an h template:

[h](!)
exten = h,1,goto(finish-call,h,1)

And then every context references the template:

[block-me](digit-timeout,h,i,max-timeout,pound-main,s)

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 --

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


Re: [asterisk-users] Global h exten

2009-03-18 Thread Steve Murphy
On Wed, Mar 18, 2009 at 11:57 AM, Steve Edwards
asterisk@sedwards.comwrote:

 On Wed, 18 Mar 2009, Gabriel Ortiz Lour wrote:

   Is there something like a global h exten, that gets called on every
  hang up, no matter what exten?

 (no matter what context)

 Nope -- but it sounds like a great idea.

 I do it this way...

 I define an h template:

[h](!)
exten = h,1,goto(finish-call,h,1)

 And then every context references the template:

[block-me](digit-timeout,h,i,max-timeout,pound-main,s)


That's an elegant way to do it, another in AEL, would be to define a
context with an h-exten, and include it in your other contexts...

Just beware, that the h-exten is NOT ALWAYS called; the in the
channel/peer role world, the h-exten is usually called on just
the channel in the channel role.  The parking manager doesn't
run the h-exten if a channel hangs up while parked.  And channel
and peer roles can sometimes get a bit confused in transfer
scenarios. The truth of each sentence above will surely change
with new releases...

murf


-- 
Steve Murphy
ParseTree Corp
___
-- 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