Page 1 of 1

Set up correct numbers for outgoing calls for DIOD service

PostPosted: 05/03/2015, 17:37
by matteo.erba
In case the operator offers the option to use a range of numbers (the option is called DIOD - Direct Inward and Outward Dialing - e.g. 04611715XXX), it is possible to choose the CLID number for outgoing calls (ISDN or VoIP trunks). This option modifies the FROM field of the SIP INVITE message from the PBX to the VoIP operator / gateway (the gateway then transforms the request to set up an ISDN call).
An example of FROM field: From: "Wildix" <sip:04611715112@>;tag=as3880101a
There are four options of setting the correct CLID number for users:

Option 1
By default the FROM field contains the extension number of the user who starts the call, it is important to know it, because some operators rewrite the CLID inside the request with the default number of the line, others might reject the call.
Option 2
Fill out the “Office” number for each user in the WMS > Users:
user.png (76.91 KiB) Viewed 3637 times

Option 3
Use the Dialplan application “Set” with the option “Caller number on trunk” and write the CLID number there.
Remember that this option overwrites the “Office” attribute of the user.

Note: You can use this option also to create a dynamic DIOD by choosing a part of the internal extension.
dialplan.png (45.05 KiB) Viewed 3637 times

Option 4 (available only for SIP trunks)
Edit the “From” field of the SIP trunk in WMS > Trunks > SIP trunk
This option cannot be used for DIOD service, since you enter a fixed value into the SIP trunk configuration.
Remember that this option overwrites the Dialplan parameters.
trunk.png (81.55 KiB) Viewed 3637 times