[Asterisk-Users] app_valetparking / parking in general

Christopher L. Wade clwade at sparco.com
Thu Sep 23 10:12:10 MST 2004


Chris Shaw wrote:
> 
> Sounds like your MOH is not working in general. It works for me in both
> Asterisk native # transfer and SIP Native REFER transfer... As soon as the
> transfer begins, MOH should start on the channel (indicated in the console
> if your verbosity is high enough).
> 
> Can you provide a console output? A debug output?
> 
> -Chris
> 

this output is with 'set verbose 25' and 'set debug 0' because 'set 
debug 1' (or anything) stops 99% of verbose messages and only 1 or 2 
debugs per _hour_ with our current call volume.

thanks,
Chris

     -- Executing Dial("SIP/831-9acb", "SIP/824") in new stack
     -- Called 824
     -- SIP/824-99b0 is ringing
     -- SIP/824-99b0 answered SIP/831-9acb
     -- Attempting native bridge of SIP/831-9acb and SIP/824-99b0
     -- Started music on hold, class 'random', on SIP/831-9acb
     -- Stopped music on hold on SIP/831-9acb
   == Spawn extension (internal, *91824, 0) exited non-zero on 
'SIP/831-9acb'
     -- Executing Goto("SIP/831-9acb", "valet-park|824|1") in new stack
     -- Goto (valet-park,824,1)
     -- Executing SetVar("SIP/831-9acb", "PARK_AT=824") in new stack
     -- Executing ValetParkCall("SIP/831-9acb", "auto|824") in new stack
   == Valet Parked SIP/831-9acb on slot 1
Sep 23 12:05:43 WARNING[114695]: channel.c:1297 ast_read: Exception flag 
set on 'SIP/831-9acb', but no exception handler
     -- Executing Goto("SIP/824-dbf7", "valet-unpark|824|1") in new stack
     -- Goto (valet-unpark,824,1)
     -- Executing SetVar("SIP/824-dbf7", "PARK_AT=824") in new stack
     -- Executing ValetUnparkCall("SIP/824-dbf7", "fifo|824") in new stack
     -- Channel SIP/824-dbf7 connected to Valet Parked call 1 in lot 824
     -- Attempting native bridge of SIP/824-dbf7 and SIP/831-9acb
   == Spawn extension (valet-unpark, 824, 2) exited non-zero on 
'SIP/824-dbf7'

zapata.conf
==================================================
musiconhold=random

sip.conf
==================================================
musicclass=random

extensions.conf
==================================================
exten => _*91XXX,1,Goto(valet-park,${EXTEN:3},1)
exten => _*92XXX,1,Goto(valet-unpark,${EXTEN:3},1)

[valet-park]
exten => _XXX,1,SetVar(PARK_AT=${EXTEN})
exten => _XXX,2,ValetParkCall(auto,${PARK_AT})

[valet-unpark]
exten => _XXX,1,SetVar(PARK_AT=${EXTEN})
exten => _XXX,2,ValetUnparkCall(fifo,${PARK_AT})




More information about the asterisk-users mailing list