XIQS Create SIP Device Group

From IQsimWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{XIQS Command|XIQS Create SIP Device Group|SIP Device Group Management| cmdname=createXIQSVoipDvcGroup| cmdparams=''String'' name , [ ''Long'' id_device ] , ''Integer'' devicety...")
Line 1: Line 1:
{{XIQS Command|XIQS Create SIP Device Group|SIP Device Group Management|
{{XIQS Command|XIQS Create SIP Device Group|SIP Device Group Management|
cmdname=createXIQSVoipDvcGroup|
cmdname=createXIQSVoipDvcGroup|
-
cmdparams=''String'' name , [ ''Long'' id_device ] , ''Integer'' devicetype|
+
cmdparams=''String'' name , [ ''Long'' id_device ] , ''Integer'' devicetype [, ''Long'' '''id_partition''' ]|
-
description=Create a SIP device group
+
description=Create a SIP device group.<br>
 +
The '''id_partition''' parameter is mandatory when current user is administrator.
}}
}}
Line 12: Line 13:
;''Integer'' devicetype
;''Integer'' devicetype
:the group type. Can be one of <ul><li>Gateway - 1</li><li>Endpoint - 3</li><li>Trunk - 5</li><li>ISC cluster - 9</li></ul>''Note'': when no ''id_device'' is specified, the ''devicetype'' can only be "ISC Cluster" (9).
:the group type. Can be one of <ul><li>Gateway - 1</li><li>Endpoint - 3</li><li>Trunk - 5</li><li>ISC cluster - 9</li></ul>''Note'': when no ''id_device'' is specified, the ''devicetype'' can only be "ISC Cluster" (9).
 +
;[ ''Long'' '''id_partition''' ]
 +
:Partition Id
}}
}}

Revision as of 13:54, 10 January 2019

XIQS Create SIP Device Group - SIP Device Group Management

Description
createXIQSVoipDvcGroup ( String name , [ Long id_device ] , Integer devicetype [, Long id_partition ] )
Create a SIP device group.

The id_partition parameter is mandatory when current user is administrator.

Parameters
String name
the group name
[ Long id_device ]
Optional: an ISC/ICM id to link this group. Not mandatory when group type is "ISC cluster" (9)
Integer devicetype
the group type. Can be one of
  • Gateway - 1
  • Endpoint - 3
  • Trunk - 5
  • ISC cluster - 9
Note: when no id_device is specified, the devicetype can only be "ISC Cluster" (9).
[ Long id_partition ]
Partition Id
Return Values
Integer ok (=1) -
Error Data structure ( Error Management )
Possible failure code returns
See Also


Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List