Is it possible to change the default behavior when a parked call times out?
I have noticed that if a parked call times out, it will try to contact the original extension again.
If this fails for any reason (e.g. the extension is busy), then the asterisk hangs up the connection:
== Timeout for SIP/brian2-f8ba parked on 701. Returning to park-dial,SIP/brian,1
Aug 3 14:22:34 WARNING: pbx.c:1798 ast_pbx_run: SIP/brian2-f8ba already has a call record??
Aug 3 14:22:34 WARNING: cdr.c:143 ast_cdr_start: CDR on channel ‘SIP/brian-28b4’ already started
Aug 3 14:22:34 WARNING: cdr.c:143 ast_cdr_start: CDR on channel ‘SIP/brian-a61f’ already started
Aug 3 14:22:34 WARNING: cdr.c:143 ast_cdr_start: CDR on channel ‘SIP/brian-6841’ already started
– Executing Dial(“SIP/brian2-f8ba”, “SIP/brian||t”) in new stack
– Called brian
– Got SIP response 486 “Busy” back from 10.0.1.137
– SIP/brian-36b4 is busy
== Everyone is busy/congested at this time
Aug 3 14:22:44 WARNING: pbx.c:1952 ast_pbx_run: Timeout, but no rule ‘t’ in context ‘park-dial’
— cut —
(sidenote: where does that t option to Dial come from? I don’t use this option anywhere is my extensions.conf)
Is it possible to change this so asterisk won’t automatically hangup parked calls?
I tried definining a “t” rule in park-dial, but it doesn’t seem to be used,
despite the error.
Several options I can think of:
- have all phones ring.
- park call again for another xx seconds (needs to be using
the same parked call extension).
Is anything like this possible?