Summary: | ASTERISK-13425: ParkAndAnnounce loses "priority" of the return argument | ||
Reporter: | John Covert (jcovert) | Labels: | |
Date Opened: | 2009-01-21 20:12:19.000-0600 | Date Closed: | 2009-01-22 09:04:22.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_parkandannounce |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | -- Executing [70@parkinglot:5] Playback("SIP/pkt_stn_mass_eta-01b52800", "holdline") in new stack Even though there's a "1", the priority is treated as a zero... -- <SIP/pkt_stn_mass_eta-01b52800> Playing 'holdline.gsm' (language 'en') -- Executing [70@parkinglot:6] ParkAndAnnounce("SIP/pkt_stn_mass_eta-01b52800", "beep,60,local/s@park,s,1") in new stack -- Dial Tech,String: (local,s@park) -- Return Context: (parkinglot,s,0) ID: 6174377795 -- Warning: Return Context Invalid, call will return to default|s fortunately, it doesn't do THAT... == Timeout for SIP/pkt_stn_mass_eta-01b3be00 parked on 71. Returning to parkinglot,s,0 == Starting SIP/pkt_stn_mass_eta-01b3be00 at parkinglot,s,0 failed so falling back to exten 's' So we end up where I wanted, anyway, but the message is annoying, and if I'd wanted to go somewhere other than "1", it woulda been a problem. tried specifying "context,extension,priority" instead of just "extension,priority" but ended up with the zero even then. | ||
Comments: | By: Digium Subversion (svnbot) 2009-01-22 09:01:33.000-0600 Repository: asterisk Revision: 170047 U trunk/apps/app_parkandannounce.c ------------------------------------------------------------------------ r170047 | file | 2009-01-22 09:01:32 -0600 (Thu, 22 Jan 2009) | 4 lines Clear the autoloop flag when parsing and setting the context/extension/priority to go back to. When the channel executes a PBX again we want it to start out at the point we explicitly say and at that point it will not yet be doing autoloop. (closes issue ASTERISK-13425) Reported by: jcovert ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=170047 By: Digium Subversion (svnbot) 2009-01-22 09:03:34.000-0600 Repository: asterisk Revision: 170048 _U branches/1.6.0/ U branches/1.6.0/apps/app_parkandannounce.c ------------------------------------------------------------------------ r170048 | file | 2009-01-22 09:03:34 -0600 (Thu, 22 Jan 2009) | 11 lines Merged revisions 170047 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r170047 | file | 2009-01-22 11:01:54 -0400 (Thu, 22 Jan 2009) | 4 lines Clear the autoloop flag when parsing and setting the context/extension/priority to go back to. When the channel executes a PBX again we want it to start out at the point we explicitly say and at that point it will not yet be doing autoloop. (closes issue ASTERISK-13425) Reported by: jcovert ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=170048 By: Digium Subversion (svnbot) 2009-01-22 09:04:22.000-0600 Repository: asterisk Revision: 170049 _U branches/1.6.1/ U branches/1.6.1/apps/app_parkandannounce.c ------------------------------------------------------------------------ r170049 | file | 2009-01-22 09:04:21 -0600 (Thu, 22 Jan 2009) | 11 lines Merged revisions 170047 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r170047 | file | 2009-01-22 11:01:54 -0400 (Thu, 22 Jan 2009) | 4 lines Clear the autoloop flag when parsing and setting the context/extension/priority to go back to. When the channel executes a PBX again we want it to start out at the point we explicitly say and at that point it will not yet be doing autoloop. (closes issue ASTERISK-13425) Reported by: jcovert ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=170049 |