use a macro instead of an inline function, so that backtraces will report the caller...
[asterisk-bristuff.git] / doc / smdi.txt
bloba4aa6bbd644865ed2ce097e946e2fcfad438bf10
1 Asterisk SMDI (Simple Message Desk Interface) integration
2 ---------------------------------------------------------
4 SMDI integration is configured in smdi.conf, zaptel.conf, and voicemail.conf.
5 Various characteristics of the SMDI interfaces to be used (serial ports) are
6 defined in smdi.conf.  SMDI integration for callerid and MWI are defined in
7 zaptel.conf and voicemail.conf respectively. SMDI only works with Zaptel
8 interfaces configured for FXS signalling.
10 When SMDI is enabled and a call comes into Asterisk, the forwarding station
11 number is used as the destination for the call and any callerid information
12 present is used.  This way you can configure your extensions.conf as follows to
13 behave as a message desk.
15 [default]
17 exten => _XXXXXXX,1,VoiceMail(${EXTEN}|${SMDI_VM_TYPE})
18 exten => _XXXXXXX,n,Hangup
20 exten => s,1,VoiceMailMain(${CALLERID(num)})
21 exten => s,n,Hangup
23 The ${SMDI_VM_TYPE} variable will be set to u, b, or nothing depending on the
24 contents of the type of SMDI message received.