You have two ways to configure multiple lines in ActivaTSP:
1.-Ussing expressions
From 1.4.4 ActivaTsp supports simple expressions to generate multiple lines.
Rules:
- ONLY numbers, comma and dash are allowed in expressions. (1,2,3,4,5,6,7,8,9,0,',','-')
- Dashes define intervals. Ex: "400-405" define 5 lines -> 400,401,402,403,405
- Comma separate lines or intervals. Ex "400,401,402" define 3 lines -> 400,401,402
- You will need to restart activatsp after editing any expression.
More complex example:
Expression: 400-405,100,101,200,303-306.
Generate: 400,401,402,403,405,100,101,200,303,304,305,306.
2.-Creating multiple DNs in registry
While ActivaTSP configuration DIALOG allows for a single line configuration, you can configure activatsp to handle a number of lines via the registry.
Confuration is stored in the HKLM/software/activa/activaTSP registry folder.
- Create or edit a DWORD value "numLines" and set it to the number of lines (for example: "10")
- Create or edit STRING values: "dn1", "dn2", ... (dn0 is first 'line dn' and is what you see through configuration dialog).
- Optionally you can also set calleridname1, calleridname2, ... STRING values
- You will need to restart activatsp after editing the registry.
Ex:
"dn0" = "311"
"dn1" = "312"
"dn2" = "SIP/313"
"dn3" = "SIP/314"
"numLines" = 4
This will enable a tapi application to open tapi lines "311", "312", "SIP/313" and "SIP/314".
Mixing expresions in multiple DNs in registry is allowed
Ex:
"dn0" = "400-405,200"
"dn1" = "303,306"
"dn2" = "SIP/313"
"dn3" = "SIP/314"
"numLines" = 4
Generate: 400,401,402,403,405,200,303,304,305,306,SIP/313,SIP/314.