List the macros, () commands availble in the OBi
Ostracus:
Quote from: giqcass on December 08, 2013, 08:38:09 pm
I have been digging around for this information myself. I know there is a lot we can do with it if we just had some documentation.
Quote
$CFA = call forward uncondi
tional enable (trunk specific;
admissible value: 0 for disable, 1 for enable)
$CFB = call forward busy enable (trunk specific; admissible value: 0 for disable, 1 for ena
ble)
$CFN = call forward no
-
answer enable (trunk specific; admissible value: 0 for disable, 1 for enable)
$CFAN = call forward unconditional number (trunk specific; admissible value: a token representing a call forward number)
$CFBN = call forward busy num
ber (trunk specific; admissible value: a token representing a call forward number)
$CFNN = call forward no
-
answer number (trunk specific; admissible value: a token representing a call forward number)
$MWS = message waiting state (trunk specific; admissible
value: 0 for no new messages, 1 for one or more new messages)
$DND = do
-
not
-
disturb enable (trunk specific; admissible value: 0 for disable, 1 for enable)
$BAC = block
-
anonymous caller enable (trunk specific; admissible value: 0 for disable, 1 for enable)
$BCI = block outbound caller
-
ID enable (trunk specific; admissible value: 0 for disable, 1 for enable)
$CWA = call
-
waiting enable on this phone port (phone
-
port specific; admissible value: 0 for disable, 1 for enable)
$BCI1 = block caller
-
ID once in the n
ext call on this phone port (phone
-
port specific; admissible value: 1 for enable)
$UBCI1 = unblock caller
-
ID once in the next call on this phone port (phone
-
port specific; admissible value: 1 for enable)
$LBM1 = Loopback media (audio samples) once in the n
ext call on this phone port (phone
-
port specific;
admissible
value: 1)
$LBP1 = Loopback RTP packets once in the next call on this phone port (phone
-
port specific;
admissible
value: 1)
$BAR1 = Barge
-
In once in the next call on this phone port (phone
-
port specific;
admissible
value: 1)
176
$NOEC1 = Disable echo canceller once in the next call on this phone port (phone
-
port specific;
admissible
value: 1) (Not
available on OBi100/OBi110)
$NOJI1
= Disable jitter buffer adjustment once in the next call on this phone port (phone
-
port specific;
admissible
value: 1)
(Not available on OBi100/OBi110)
$IBDT = Enable in
-
band DTMF transmission once in the next call on this phone port (phone
-
port specific;
admissible
value:
1) (Not available on OBi100/OBi110)
$BCLR = Clear all blocked callers (trunk specific;
admissible
value: 1)
$CIDG = Enable Generate Caller ID Generation on this phone port (phone
-
port specific;
admissible
value: 1 for enable, 0 for
disab
le)
$CWCIDG = Enable CWCID Generation on this phone port (phone
-
port specific;
admissible
value: 1 for enable, 0 for disable)
$MWIG = Enable MWI (Stutter Tone) Generation on this phone port (phone
-
port specific;
admissible
value: 1 for enable, 0
for disabl
e)
$VMWIG = Enable VMWI Generation on this phone port (phone
-
port specific;
admissible
value: 1 for enable, 0 for disable)
$BXRN = Blind transfer number for the current call on this phone port (phone
-
port specific;
admissible
value: a number
representing t
he blind transfer target). As soon as a complete blind transfer target number is collected, the OBi will (blind)
transfer the current call peer to the target number.
$CDM1 = Codecs to enable in the next call on this phone port (temporarily overriding any
codec preferences in device
configuration) (phone
-
port specific;
admissible
value: An 8
-
bit unsigned number where each bit of its value represents one
audio codec:
-
Bit0
(LSB) = G711u
-
Bit1 = G711a
-
Bit2 = G726r16
-
Bit3 = G726r24
-
Bit4 = G726r32
-
Bit5 = G726r40
-
Bit6 = G729
)
$LDN = last dialed number on this phone port (for redial) (phone
-
port specific; read only)
$LCR = last caller’s number on this phone port (for call return) (phone
-
port specific; read only)
$SPD[
n
] = number for the speed dial
n
(
n
= 1
–
99) (g
lobal; admissible value: literal or token representing a phone number)
$CODE = the digit(s) representing the variable part of a star code (see examples below; read only)
Variable names are CASE INSENSITIVE.
I noticed the Obiliving parameters are there.
giqcass:
It seems that via Macros you can access just about any info in the Obi. It's just really hard to find certain information. $LCN or last called number for instance is considered a nacro but it will only expand in a few places. You can't seem to use it in a user defined macro for instance. You can however access it in a user defined macro by referencing it like this.
Value = $VoiceService.1.X_FXS.1.CallingFeatures.LastCallerNumber
Then if you put ANY in the Expand in section of the User defined Macro the macro can be used like a variable in any place. IE $UDM0
I'm currently digging through documentation to find out what useful information I can find and useful ways to use that information.
Navigation
[0] Message Index
[*] Previous page