Re: [asterisk-users] parking lot

2011-10-06 Thread Mike
> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Kevin P. Fleming
> Sent: Wednesday, October 05, 2011 3:24 PM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] parking lot
> 
> On 10/05/2011 02:03 PM, Danny Nicholas wrote:
> > Depending on hardware and number of parking lots, could hints be used
> > to let everyone know that a parking lot was just put into use by blind
> transfer?
> > (I have a PERL web interface that does this kind of check for 1.4 but
> > that probably wouldn't help OP).
> 
> Yes, and I think I've seen patches to do that floating around somewhere.


Isn`t this just vanilla Asterisk? I`ve been doing this for months now, as
long as everybody is registered to the proper hint(s) they can see which
parking "space" is used. Works fine with 1.8.17 and worked with 1.6.2.x
(even 1.4 IIRC).


Mike


--
_
-- 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] parking lot

2011-10-06 Thread Keith Sloan
thanks guys, I think I might just tell the customer to suck it up and 
use his transfer soft key. He is using # as defined in features.conf


On 11-10-05 03:24 PM, Kevin P. Fleming wrote:

On 10/05/2011 02:03 PM, Danny Nicholas wrote:
Depending on hardware and number of parking lots, could hints be used 
to let
everyone know that a parking lot was just put into use by blind 
transfer?
(I have a PERL web interface that does this kind of check for 1.4 but 
that

probably wouldn't help OP).


Yes, and I think I've seen patches to do that floating around somewhere.




--
_
-- 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] parking lot

2011-10-05 Thread Kevin P. Fleming

On 10/05/2011 02:03 PM, Danny Nicholas wrote:

Depending on hardware and number of parking lots, could hints be used to let
everyone know that a parking lot was just put into use by blind transfer?
(I have a PERL web interface that does this kind of check for 1.4 but that
probably wouldn't help OP).


Yes, and I think I've seen patches to do that floating around somewhere.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org

--
_
-- 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] parking lot

2011-10-05 Thread Danny Nicholas
Depending on hardware and number of parking lots, could hints be used to let
everyone know that a parking lot was just put into use by blind transfer?
(I have a PERL web interface that does this kind of check for 1.4 but that
probably wouldn't help OP).

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Kevin P.
Fleming
Sent: Wednesday, October 05, 2011 1:59 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] parking lot

On 10/05/2011 11:31 AM, Keith Sloan wrote:
> Hey list.
>
> I am having some issues with a parking lot. I am looking for a way 
> that the person can blind transfer to a parking lot. it works 
> perfectly accept being an unattended transfer its the caller who hears 
> the parking lot position. anyone have a work around to this.
>
> exten => 999,1,Set(CHANNEL(parkinglot)=Parkinglot-keith)
> exten => 999,n,Set(PARKINGLOT=Parkinglot_keith)
> exten => 999,n,Set(CALLCHAN=${CUT(BLINDTRANSFER,-,1)})
> exten => 999,n,ParkAndAnnounce(PARKED,60,${CALLCHAN})
>
>
> the ParkAndAnnounce seems to be failing. any suggestions?

Define 'failing'? Does the call not get parked?

If by 'failing' you mean that the parked channel is the one who hears the
parking lot number announcement, that's perfectly understandable when a
blind transfer is done to this extension. When this extension's code starts
executing after a blind transfer, the transferer's channel is *already
gone*; there is no way to announce the parking lot number to them.

The only solution here is to not announce the parking lot number at all if
the call was blind-transferred, but of course then nobody will know what
parking lot the call was parked in.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at
www.digium.com & www.asterisk.org

--
_
-- 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] parking lot

2011-10-05 Thread Kevin P. Fleming

On 10/05/2011 11:31 AM, Keith Sloan wrote:

Hey list.

I am having some issues with a parking lot. I am looking for a way that
the person can blind transfer to a parking lot. it works perfectly
accept being an unattended transfer its the caller who hears the parking
lot position. anyone have a work around to this.

exten => 999,1,Set(CHANNEL(parkinglot)=Parkinglot-keith)
exten => 999,n,Set(PARKINGLOT=Parkinglot_keith)
exten => 999,n,Set(CALLCHAN=${CUT(BLINDTRANSFER,-,1)})
exten => 999,n,ParkAndAnnounce(PARKED,60,${CALLCHAN})


the ParkAndAnnounce seems to be failing. any suggestions?


Define 'failing'? Does the call not get parked?

If by 'failing' you mean that the parked channel is the one who hears 
the parking lot number announcement, that's perfectly understandable 
when a blind transfer is done to this extension. When this extension's 
code starts executing after a blind transfer, the transferer's channel 
is *already gone*; there is no way to announce the parking lot number to 
them.


The only solution here is to not announce the parking lot number at all 
if the call was blind-transferred, but of course then nobody will know 
what parking lot the call was parked in.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org

--
_
-- 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] parking lot

2011-10-05 Thread Keith Sloan

Sorry forgot to mention this is on an asterisk 1.6.2.13 installation

On 11-10-05 12:31 PM, Keith Sloan wrote:

Hey list.

I am having some issues with a parking lot. I am looking for a way 
that the person can blind transfer to a parking lot. it works 
perfectly accept being an unattended transfer its the caller who hears 
the parking lot position. anyone have a work around to this.


exten => 999,1,Set(CHANNEL(parkinglot)=Parkinglot-keith)
exten => 999,n,Set(PARKINGLOT=Parkinglot_keith)
exten => 999,n,Set(CALLCHAN=${CUT(BLINDTRANSFER,-,1)})
exten => 999,n,ParkAndAnnounce(PARKED,60,${CALLCHAN})


the ParkAndAnnounce seems to be failing. any suggestions?

--
_
-- 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] parking lot

2011-10-05 Thread Keith Sloan

Hey list.

I am having some issues with a parking lot. I am looking for a way that 
the person can blind transfer to a parking lot. it works perfectly 
accept being an unattended transfer its the caller who hears the parking 
lot position. anyone have a work around to this.


exten => 999,1,Set(CHANNEL(parkinglot)=Parkinglot-keith)
exten => 999,n,Set(PARKINGLOT=Parkinglot_keith)
exten => 999,n,Set(CALLCHAN=${CUT(BLINDTRANSFER,-,1)})
exten => 999,n,ParkAndAnnounce(PARKED,60,${CALLCHAN})


the ParkAndAnnounce seems to be failing. any suggestions?

--
_
-- 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] Parking lot

2008-01-31 Thread C F
pbx*CLI> show application ParkAndAnnounce

  -= Info about application 'ParkAndAnnounce' =-

[Synopsis]
Park and Announce

[Description]
  ParkAndAnnounce(announce:template|timeout|dial|[return_context]):
Park a call into the parkinglot and announce the call over the console.
announce template: colon separated list of files to announce, the word PARKED
   will be replaced by a say_digits of the ext the
call is parked in
timeout: time in seconds before the call returns into the return context.
dial: The app_dial style resource to call to make the announcement.
Console/dsp calls the console.
return_context: the goto style label to jump the call back into after
timeout. default=prio+1


On Jan 30, 2008 1:13 PM, Al lists <[EMAIL PROTECTED]> wrote:
> Is there any way to have Asterisk call an extension in dial plan instead of
> original extension after timeout?
> Like extension A puts the caller in parking lot, he leaves the phone and
> forgets about it, instead of having that phone rings after timeout, have a
> group of phones rings.
>
>
>
> ___
> -- 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] Parking lot

2008-01-30 Thread Al lists
Is there any way to have Asterisk call an extension in dial plan instead of
original extension after timeout?
Like extension A puts the caller in parking lot, he leaves the phone and
forgets about it, instead of having that phone rings after timeout, have a
group of phones rings.
___
-- 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] Parking lot problems

2007-10-03 Thread Doug Lytle
Ken Williams wrote:
> Now on to another problem that we've had as far as I know since the 
> beginning of using Asterisk 9+ months ago.  I've been trying very hard 
> to knock this problem out but regardless of what I do, it's still there.
>  
> [from-internal]
> include => parkedcalls

I have this.

> exten => _20X,1,Goto(parkedcalls,${EXTEN},1)

Is this really necessary?  I only have the include.  parked calls are 
created on the fly.  Our lot is from 90-99 and we don't need an entry in 
the dial plan to handle it.

> [park-dial]
> exten => t,1,Goto(from-internal,900,1)

I have similar to this as well.

Doug

-- 
 
Ben Franklin quote:

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



___
--Bandwidth and Colocation Provided by 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] Parking lot problems

2007-10-03 Thread Ken Williams
Now on to another problem that we've had as far as I know since the
beginning of using Asterisk 9+ months ago.  I've been trying very hard
to knock this problem out but regardless of what I do, it's still there.
 
So, the problem is, when a call is in the parking lot, it then times out
after whatever time frame and dials the extension that put it on hold.
After 60 seconds of ringing back, it's supposed to go to [park-dial] t
extension as far as I can tell, which it actually does seem to do.
However, before the t extension kicks in, the line is dropped with the
following error message on the CLI:
 
[Oct  3 08:45:31] WARNING[12621]: channel.c:2616 ast_indicate_data:
Unable to handle indication 3 for 'SIP/727-095c0348'
[Oct  3 08:46:31] WARNING[11487]: chan_sip.c:12037
handle_response_invite: Re-invite to non-existing call leg on other UA.
SIP dialog '[EMAIL PROTECTED] Giving up.
-- SIP/717-09570200 is circuit-busy
[Oct  3 08:46:31] NOTICE[12621]: cdr.c:434 ast_cdr_free: CDR on channel
'SIP/717-09570200' not posted
  == Everyone is busy/congested at this time (1:0/1/0)
  == Auto fallthrough, channel 'SIP/727-095c0348' status is 'CONGESTION'
[Oct  3 08:46:31] WARNING[12621]: channel.c:2616 ast_indicate_data:
Unable to handle indication 8 for 'SIP/727-095c0348'
[Oct  3 08:46:31] WARNING[11487]: chan_sip.c:12536 handle_response:
Remote host can't match request CANCEL to call
'[EMAIL PROTECTED]'. Giving up.
 
So the line hangs up, these errors are displayed, then I see the 't'
extension kick in.  Notice this is all on the same network, SIP devices
only, no NAT or anything like that.  I was initially testing on a
ZAP/SIP configuration, had the same type of errors and thought to reduce
complexity I'd keep it all SIP.  I've tried canreinvite=yes and no on
the SIP devices, neither made a difference.
 
So, before I go the bug route I'd like someone to just verify my
configuration files make sure I'm not doing something stupid.

SIP.CONF:
[general]
callerid=Unknown Caller
disallow=all
allow=ulaw
allow=gsm

[717]
type=friend
dial=SIP/717
callerid=Ken Williams <717>
[EMAIL PROTECTED]
allowsubscribe=yes
host=dynamic
context=from-internal
 
[727]
type=friend
secret=1234
dial=SIP/727
callerid=Conference Room <727>
[EMAIL PROTECTED]  
allowsubscribe=yes
host=dynamic
context=from-internal

EXTENSIONS.CONF:
[from-internal]
include => parkedcalls
exten => _20X,1,Goto(parkedcalls,${EXTEN},1)

[park-dial]
exten => t,1,Goto(from-internal,900,1)

FEATURES.CONF
[general]
parkext => 200
parkpos => 201-205
context => parkedcalls
parkingtime => 30
parkhints = yes

___
--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] Parking Lot CallerID

2007-05-24 Thread Alex Balashov

On Thu, 24 May 2007, Ken Williams wrote:


Beings the call is originating on the phone I'm not sure there's a way
to push the CID back to it, any thoughts?


  It is possible that the phone accepts some form of SIP NOTIFY message 
for revising its caller ID display.  Some caller ID / CNAM is implemented 
this way because the lookup takes place subsequent to the establishment of 
end-to-end signaling parameters, mirroring the ISDN setting for the same.


--
Alex Balashov
Evariste Systems
Web: http://www.evaristesys.com/
Tel: +1-678-954-0670
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Parking Lot CallerID

2007-05-24 Thread Ken Williams
Is there anyway of storing an incoming calls CallerID on a parked call
and having it restored when someone picks up the parked call?
 
I've tried storing the CID as a global variable and restoring it in my
dialplan, and while NoOp shows it working, the phone ignores it and uses
the parking lot extension for callerid instead.  I believe this is
because the phone is calling out instead of a call coming in, is there
anyway around this?
 
This is a basic idea of what I've done to try to capture the CID in
testing:
 
exten => 200,1,SetGlobalVar(P1NAME=${CALLERID(NAME)})
exten => 200,n,SetGlobalVar(P1NUM=${CALLERID(NUM)})
exten => 200,n,Park()
exten => _20x,1,Wait(1)
exten => _20x,n,NoOp(${DIAL_OPTIONS})
exten => _20x,n,Set(CALLERID(NAME)=${P1NAME})
exten => _20x,n,Set(CALLERID(NUM)=${P1NUM})
exten => _20x,n,NoOp(${CALLERID(NAME)} ${CALLERID(NUM)})
exten => _20x,n,ParkedCall(${EXTEN})

Beings the call is originating on the phone I'm not sure there's a way
to push the CID back to it, any thoughts?
___
--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