[Home]

Summary:ASTERISK-16714: appdata arguments receive trailing slash when passed to Realtime
Reporter:Eugene M. Zheganin (drookie)Labels:
Date Opened:2010-09-23 04:13:15Date Closed:2010-09-23 10:39:26
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_config_pgsql
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When created the realtime extensions like below:

asterisk=> select * from extensions where exten like '1074%';
 context  |     exten     | priority |    app    |            appdata
-----------+---------------+----------+-----------+-------------------------------
local-ext | 1074          |        1 | Dial      | SIP/zuev|20|t
local-ext | 1074-BUSY     |        1 | Hangup    |
local-ext | 1074-NOANSWER |        1 | Voicemail | 1502@default
local-ext | 1074          |        2 | Goto      | ordinary,1074-${DIALSTATUS},1
(4 rows)

I recieve in console errors like:


[Sep 23 15:07:00] WARNING[59310]: pbx.c:4374 __ast_pbx_run: Channel 'SIP/cucm-00004670' sent into invalid extension '1074-NOANSWER\' in context 'ordinary\', but no invalid handler
Comments:By: Eugene M. Zheganin (drookie) 2010-09-23 04:19:00

Being separated by '|', all seems to work.
This bug seems to duplicate 0018034, sorry.

By: Stefan Schmidt (schmidts) 2010-09-23 06:25:55

atleast it looks like your goto goes to the wrong context: ordinary but 1074-NOANSWER has the context local-ext.

the parameter which are operated from the goto app looks right so far.