Specify Origination Phone Number
$outbound_ani phoneno
This command is used to specify the origination phone number for outbound calls. It overrides the ANI telephone number for the channel specified in CFHWL, if one was specified there.
This value may also be overridden by assignment to the OB_ANI system variable.
The parameters on this command are used as follows:
| phoneno | the telephone number to be sent as ANI, without spaces or punctuation. The special code X suppresses the outbound ANI if this is permitted by the telephone company. |
For Diva, the X may be followed by a number which will be inserted as the calling number but coded as restricted. If you are about to transfer a call using the Dialogic Diva or XCAPI line interconnect feature, the value will be applied on the outbound call.
For Copia VoIP ports, X followed by a number (or specifying Anonymous in the variable VOIP_SET_FROM_NAME) will cause the number to be set as the P-Asserted-Identity, visible to the telephony service provider but not sent to the remote party. The feature depends on the capability of, and the rules enforced by, the connected PBX, switch, or ITSP. For example Cloudli users have to get pre-authorization to use a specific outbound number.
For Commetrex BladeWare SIP only, the value default is supplied in the CFSIP_CALLINGNUM variable set by OTFCONFIG . The values from this command and from system variable OB_ANI replace the part between the 'sip:' and the '@'. The feature depends on the capability of, and the rules enforced by, the connected PBX, switch, or ITSP. Calls are known to have been rejected with outcome code 7709 (bad number).
If the dialed number is marked as a toll-free number on a configuration file $phone_mask command, then the $outbound_tf_ani command, or OB_TF_ANI value, is used instead of this value.
Hardware Issues: supported PRI boards/ports and VoIP only. Special authority is required for Cloudli.
Default: The number allocated to the phone line by the telephone company, if a physical telephone line is attached.
Example:
$outbound_ani 1234567890