Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pbxm-perl-lib-el7
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
static
pbxm-perl-lib-el7
Commits
1b7b980e
Commit
1b7b980e
authored
3 years ago
by
Andrey Shevchuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed InboundRoutes maps
parent
c495a28b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
InboundRoutes.pm
...irdlane/perl_lib/Asterisk/API/Structures/InboundRoutes.pm
+53
-0
SingleInboundRoutes.pm
...e/perl_lib/Asterisk/API/Structures/SingleInboundRoutes.pm
+0
-0
No files found.
opt/thirdlane/perl_lib/Asterisk/API/Structures/InboundRoutes.pm
View file @
1b7b980e
...
...
@@ -81,6 +81,15 @@ our %out_hash_map = (
"sample"
=>
""
,
"transform"
=>
"routetype"
,
"type"
=>
"string"
},
"options"
=>
{
"description"
=>
"Routetype"
,
"format"
=>
"array"
,
"hidden"
=>
0
,
"required"
=>
0
,
"sample"
=>
"[{args:[],action:'tl-check-voicemail',schedule:'day'}]"
,
"transform"
=>
"options"
,
"type"
=>
"inbound_route_option"
}
);
...
...
@@ -157,15 +166,59 @@ my %in_hash_map = (
"sample"
=>
"schedule"
,
"transform"
=>
"routetype"
,
"type"
=>
"string"
},
"options"
=>
{
"description"
=>
"Routetype"
,
"format"
=>
"array"
,
"hidden"
=>
0
,
"required"
=>
0
,
"sample"
=>
"[{args:[],action:'tl-check-voicemail',schedule:'day'}]"
,
"transform"
=>
"options"
,
"type"
=>
"inbound_route_option"
}
);
our
%
out_option_hash_map
=
(
"args"
=>
{
"description"
=>
"Action arguments"
,
"format"
=>
"array"
,
"hidden"
=>
0
,
"required"
=>
0
,
"sample"
=>
"[]"
,
"transform"
=>
"args"
,
"type"
=>
"string"
},
"action"
=>
{
"description"
=>
"Action"
,
"format"
=>
"raw"
,
"hidden"
=>
0
,
"required"
=>
1
,
"sample"
=>
"tl-check-voicemail"
,
"transform"
=>
"action"
,
"type"
=>
"string"
},
"schedule"
=>
{
"description"
=>
"Schedule"
,
"format"
=>
"raw"
,
"hidden"
=>
0
,
"required"
=>
1
,
"sample"
=>
"day"
,
"transform"
=>
"schedule"
,
"type"
=>
"string"
},
);
our
%
requests
=
(
types
=>
[
{
"type"
=>
"inbound_route"
,
"structure"
=>
\%
out_hash_map
},
{
"type"
=>
"inbound_route_option"
,
"structure"
=>
\%
out_option_hash_map
}
],
operations
=>
[
{
...
...
This diff is collapsed.
Click to expand it.
opt/thirdlane/perl_lib/Asterisk/API/Structures/SingleInboundRoutes.pm
0 → 100644
View file @
1b7b980e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment