[asterisk-bugs] [JIRA] (ASTERISK-20113) ParkAndAnnounce doesn't return to n+1 when no return_context defined

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Mar 28 11:38:08 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-20113:
-----------------------------------

    Target Release Version/s: 11.4.0
    
> ParkAndAnnounce doesn't return to n+1 when no return_context defined
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-20113
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20113
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_parkandannounce
>    Affects Versions: 10.5.1
>         Environment: debian sid
>            Reporter: serginuez
>            Severity: Minor
>      Target Release: 1.8.22.0, 11.4.0
>
>         Attachments: app_parkandannounce.diff
>
>
> As shown in the logs below, when ParkAndAnnounce returns after the timeout, if no return_context is defined, instead of returning to n+1 it goes back to itself (n). When a label is specified, it works as intended.
>     -- Executing [125 at intern:1] Answer("SIP/124-00000000", "") in new stack
>     -- Executing [125 at intern:2] ParkAndAnnounce("SIP/124-00000000", "pbx-transfer:PARKED,60,SIP/123") in new stack
>     -- Dial Tech,String: (SIP,123)
>     -- Return Context: (intern,125,2) ID: 124
>     -- Started music on hold, class 'default', on SIP/124-00000000
>   == Parked SIP/124-00000000 on 701 (lot default). Will timeout back to extension [intern] 125, 2 in 60 seconds
>     -- Added extension '701' priority 1 to parkedcalls
>     -- Call parked in space: 701, timeout: 60000, return-context: 
>   == Using SIP RTP CoS mark 5
>     -- <SIP/123-00000001> Playing 'pbx-transfer.ulaw' (language 'es')
>     -- <SIP/123-00000001> Playing 'digits/7.ulaw' (language 'es')
>     -- <SIP/123-00000001> Playing 'digits/0.ulaw' (language 'es')
>     -- <SIP/123-00000001> Playing 'digits/1.ulaw' (language 'es')
>     -- Stopped music on hold on SIP/124-00000000
>   == Timeout for SIP/124-00000000 parked on 701 (default). Returning to intern,125,2
>     -- Executing [125 at intern:2] ParkAndAnnounce("SIP/124-00000000", "pbx-transfer:PARKED,60,SIP/123") in new stack
>     -- Dial Tech,String: (SIP,123)
>     -- Return Context: (intern,125,2) ID: 124
>     -- Started music on hold, class 'default', on SIP/124-00000000
>   == Parked SIP/124-00000000 on 701 (lot default). Will timeout back to extension [intern] 125, 2 in 60 seconds
>     -- Added extension '701' priority 1 to parkedcalls
>     -- Call parked in space: 701, timeout: 60000, return-context: 
>   == Using SIP RTP CoS mark 5
>     -- <SIP/123-00000002> Playing 'pbx-transfer.ulaw' (language 'es')
>     -- <SIP/123-00000002> Playing 'digits/7.ulaw' (language 'es')
>     -- <SIP/123-00000002> Playing 'digits/0.ulaw' (language 'es')
>     -- <SIP/123-00000002> Playing 'digits/1.ulaw' (language 'es')
>     -- Stopped music on hold on SIP/124-00000000
>   == SIP/124-00000000 got tired of being parked 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list