How to use SIPcontrol Dialplans
The Dialogic® Diva® SIPcontrol™ Software Dialplan is used to convert number formats used by one interface into number formats used by another interface. On the SIP side it is common to present numbers in E.164 format.
International numbers consist of international prefix, country, area, base and extension code, e.g. +44 1628 384 123/0044 1628 384 123.
National numbers consist of national prefix, area code, base number and extension number, e.g. UK number 01628 123 456. Converted to E.164 this number has the format +44 1628 123 456 where the national prefix gets replaced by the international prefix and country code.
Numbers sent to and from the gateway will typically not always be in E.164 format.
Click on the following image to view it full size

However it is not possible to dial E.164 numbers on the PSTN or when connected to a PBX. So the Gateway needs to convert or ‘localise’ numbers to be able to present them to the PBX.
This is generally handled automatically by the Dialplan settings on the Dialogic® 4000 Media Gateways. There are three parts to this – the main Dialplan configuration and the Address Normalisation settings in the PSTN or SIP Peer details. In particular, the parameters Type of Number (outbound) and Encoding (outbound) control the format in which numbers are localised.
Note:All called, calling and (if present) redirection numbers are converted based on the Dialplan. If one part should use a different conversion setting, a corresponding Address Map needs to be used. See How to use SIPcontrol Address Maps.
The following sample outputs show how both parameters influence numbers based on the configured Dialplan.
Country code '44'
Area code '1628'
Base number '384'
Maximum extension digits '3'
Internation prefix '00'
National prefix '0'.
- PSTN outbound set to Unchanged -> Dialplan is not used.
Lync DMG
To: +44 1628 384 777 CPN 44 1628 384 777 Q.931 Type of Number: International
From: +44 1628 384 042 CgPN 44 1628 384 042 Q.931 Type of Number: International
- PSTN outbound set to Extension, use prefix
Lync DMG
To: +44 1628 384 777 CPN 777 Q.931 Type of Number: unknown
To :+44 1628 123 456 CPN 123 456 Q.931 Type of Number: unknown
To: +44 123 456 789 CPN 0123456789 Q.931 Type of Number: unknown
To: +49 123 456 789 CPN 0049 123456789 Q.931 Type of Number: unknown
From: +44 1628 384 042 CgPN 042 Q.931 Type of Number: unknown
- PSTN outbound set to Extension, use type flag
Lync DMG
To: +44 1628 384 777 CPN 777 Q.931 Type of Number: subscriber
To: +44 1628 123 456 CPN 123 456 Q.931 Type of Number: subscriber
To: +44 123 456 789 CPN 123 456789 Q.931 Type of Number: national
To: +49 123 456 789 CPN 49 123456789 Q.931 Type of Number: International
From: +44 1628 384 042 CgPN 042 Q.931 Type of Number: subsriber
- PSTN outbound set to National, use prefix
Lync DMG
To: +44 1628 384 777 CPN 01628 384 777 Q.931 Type of Number: unknown
To :+44 1628 123 456 CPN 01628 123 456 Q.931 Type of Number: unknown
To: +44 123 456 789 CPN 0123 456 789 Q.931 Type of Number: unknown
To: +49 123 456 789 CPN 0049 123 456 789 Q.931 Type of Number: unknown
From: +44 1628 384 042 CgPN 01628 384 042 Q.931 Type of Number: unknown
- PSTN outbound set to National, use type flag
Lync DMG
To: +44 1628 384 777 CPN 1628 384 777 Q.931 Type of Number: national
To: +44 1628 123 456 CPN 1628 123 456 Q.931 Type of Number: national
To: +44 123 456 789 CPN 123 456 789 Q.931 Type of Number: national
To: +49 123 456 789 CPN 49 123 456 789 Q.931 Type of Number: International
From: +44 1628 384 042 CgPN 1628 384 042 Q.931 Type of Number: national
- PSTN outbound set to International, use prefix
Lync DMG
To: +44 1628 384 777 CPN 0044 1628 384 777 Q.931 Type of Number: unknown
To :+44 1628 123 456 CPN 0044 1628 123 456 Q.931 Type of Number: unknown
To: +44 123 456 789 CPN 0044 123 456 789 Q.931 Type of Number: unknown
To: +49 123 456 789 CPN 0049 123 456 789 Q.931 Type of Number: unknown
From: +44 1628 384 042 CgPN 0044 1628 384 042 Q.931 Type of Number: unknown
- PSTN outbound set to National, use type flag
Lync DMG
To: +44 1628 384 777 CPN 44 1628 384 777 Q.931 Type of Number: International
To: +44 1628 123 456 CPN 44 1628 123 456 Q.931 Type of Number: International
To: +44 123 456 789 CPN 44 123 456 789 Q.931 Type of Number: International
To: +49 123 456 789 CPN 49 123 456 789 Q.931 Type of Number: International
From: +44 1628 384 042 CgPN 44 1628 384 042 Q.931 Type of Number: International
See also:Overview of SIPcontrol number manipulation
First published: 20-Jul-2012
Open access: Product rule: ; Page rule: Auto