All pastes #808319 Raw Edit

Untitled

public text v1 · immutable
·published 2007-12-07 13:56 UTC
rendered paste body
When parking, the CLI says upon timeout the channel will go back to extension local,s,1. However, after timeout the channell is actually sent to <peername>@park-dial:1 which does a Dial(<peername>||t) to the device that originaly parked the channel (search fot ||t).

How do I get it to really go back to local,s,1?

A behavior similar to what is described on the CLI appears to have been added to trunk in r46732 in reference to #6953 as a new feature using the features.conf option 'callbacktoorigin=no'



    -- Executing [411@local:1] Set("SIP/jon-08424a80", "PARKINGEXTEN=800") in new stack
    -- Executing [411@local:2] Park("SIP/jon-08424a80", "") in new stack
  == Parked SIP/jon-08424a80 on 800@parkedcalls. Will timeout back to extension [local] s, 1 in 30 seconds
    -- <SIP/jon-08424a80> Playing 'digits/8' (language 'en')
    -- <SIP/jon-08424a80> Playing 'digits/0' (language 'en')
    -- <SIP/jon-08424a80> Playing 'digits/0' (language 'en')
    -- Added extension '800' priority 1 to parkedcalls
    -- Started music on hold, class 'default', on channel 'SIP/jon-08424a80'
  == Spawn extension (local, s, 1) exited KEEPALIVE on 'SIP/jon-08424a80'
    -- Stopped music on hold on SIP/jon-08424a80
    -- Added extension 'SIP/jon' priority 1 to park-dial
  == Timeout for SIP/jon-08424a80 parked on 800. Returning to park-dial,SIP/jon,1
    -- Executing [SIP/jon@park-dial:1] Dial("SIP/jon-08424a80", "SIP/jon||t") in new stack
    -- Called jon
    -- SIP/jon-0840b328 is ringing