[Asterisk-Users] Grandspream & call parking
Juan J. Sierralta P.
juanjo at linacom.com
Sat May 1 17:30:25 MST 2004
On Sat, 2004-05-01 at 18:35, brian k. west wrote:
> Well to use the parking in asterisk you have to enable the 't' or 'T'
> depending on the call direction. But if you're like me that is such a hack.
>
> Check out www.bkw.org
>
> and http://www.bkw.org/app_valetparking.c
>
> Which is very flexable parking that works with sip native transfers, blind
> and attended. Just toy with it.
I just tested your ValletParking and works fine with my ATA188. I'm
using FLASH transfer with the ATA. The only problem I found is that when
I park with query (exten => *5,1,ValetParkCall(query...)) the call leg
which is parked hears the same prompt asking for the extension to park
the call.
Here the call comes from Zap/1 to SIP/2001 (ATA188) which parks the
call on the "2" slot using flash transfer (attended transfer).
== CDR updated on Zap/1-1
-- Executing Macro("Zap/1-1", "stdexten|2001|SIP/2001") in new stack
-- Executing Dial("Zap/1-1", "SIP/2001|20|tT") in new stack
-- Called 2001
-- SIP/2001-fd93 is ringing
-- SIP/2001-fd93 answered Zap/1-1
-- Started music on hold, class 'default', on Zap/1-1
-- Executing ValetParkCall("SIP/2001-ee1f",
"query|mylot|60|s|5|default") in new stack
-- Playing 'vm-extension' (language 'en')
-- Playing 'vm-then-pound' (language 'en')
-- Started music on hold, class 'default', on SIP/2001-ee1f
== Valet Parked SIP/2001-ee1f on slot 2
-- Stopped music on hold on SIP/2001-ee1f
== SIP/2001-ee1f got tired of being Valet Parked
May 1 20:19:34 WARNING[81926]: chan_sip.c:683 ditch_braces: No closing
brace in '<sip:*5 at 192.168.0.3'
-- Stopped music on hold on Zap/1-1
== Spawn extension (local, *5, 0) exited non-zero on 'Zap/1-1' in
macro 'stdexten'
== Spawn extension (local, *5, 0) exited non-zero on 'Zap/1-1'
-- Executing ValetParkCall("Zap/1-1", "query|mylot|60|s|5|default")
in new stack
-- Playing 'vm-extension' (language 'en')
-- Playing 'vm-then-pound' (language 'en')
-- Started music on hold, class 'default', on Zap/1-1
== Valet Parked Zap/1-1 on slot 1
In the following case I parked a call directed to SIP/8987 (my 7960) I
used attended transfer to *5, everything works fine here and the parked
leg doesn't get the prompt asking for the extension.
-- Executing Macro("Zap/1-1", "stdexten|8987|SIP/8987") in new stack
-- Executing Dial("Zap/1-1", "SIP/8987|20|tT") in new stack
-- Called 8987
-- SIP/8987-28ba is ringing
-- SIP/8987-28ba answered Zap/1-1
-- Started music on hold, class 'default', on Zap/1-1
-- Executing ValetParkCall("SIP/8987-fdfc",
"query|mylot|60|s|5|default") in new stack
-- Playing 'vm-extension' (language 'en')
-- Playing 'vm-then-pound' (language 'en')
-- Started music on hold, class 'default', on SIP/8987-fdfc
== Valet Parked SIP/8987-fdfc on slot 2
-- Stopped music on hold on Zap/1-1
-- Stopped music on hold on SIP/8987-fdfc
-- Started music on hold, class 'default', on SIP/8987-fdfc
== Spawn extension (macro-stdexten, s, 1) exited non-zero on
'SIP/8987-fdfc<ZOMBIE>' in macro 'stdexten'
== Spawn extension (default, s, 8) exited non-zero on
'SIP/8987-fdfc<ZOMBIE>'
-- Stopped music on hold on Zap/1-1
== Zap/1-1 got tired of being Valet Parked
-- Hungup 'Zap/1-1'
More information about the asterisk-users
mailing list