RADIUS - Diversion Info in CDR

 

 

The feature below takes the "username" or "string" portion of a Diversion Header, Redirecting Number, or Original Called Number and adds it to one of the VSAs displayed below. This feature utilizes four new Radius VSAs which all have to do with redirecting or forwarding a called number. The added VSA's are as follows:

  • Dialogic-sip-top-diversion = "username"

  • Dialogic-sip-bottom-diversion = "username"

  • Dialogic-original-called-number = "username"

  • Dialogic-redirecting-number = "username"

When installing software the newest dictionary.dialogic file will get loaded into the /opt/dialogic/common/radius directory. If using FreeRadius, the newest dictionary.dialogic file must then be copied into the /usr/share/freeradius directory. How is ths being accomplished through Web GUI. See below for more information on this feature.

Example 1

Incoming -- (SIP to ISDN)

Below is a trace of a call coming into the IMG 2020 using SIP and eventually going to an ISDN TDM network. The capture displays a portion of  an incoming SIP trace and the corresponding Radius CDR logs. The first Diversion Header which is the topmost header highlighted in red will generate the VSA Dialogic-sip-top-diversion with the redirecting number as the username. The second Diversion Header in the Call Trace will generate the VSA Dialogic-sip-bottom-diversion with the Original Called number as the username.

 

Notes on above Call Trace:

  • The first Diversion Header maps to Dialogic-sip-top-diversion which is the Redirecting number.

  • The second Diversion Header maps to Dialogic-sip-bottom-diversion which is the Original Called Number

  • In this example, the IMG 1010 - ISDN Interworking Redirection pane was configured as a default setting of 'Redirecting'.

Example 2

Incoming -- (SIP to SS7) -- OCN configured in Interworking Redirection page in the Web GUI.

Below is a trace of a call which is coming into the IMG 2020 using SIP and eventually going to a SS7 network. The capture displays a portion of  an incoming SIP trace and the corresponding Radius CDR logs. In this example, redirection information from SIP is included in the RADIUS VSAs. The Radius CDR Log will show the redirection information from SIP in the following VSAs.

  • Dialogic-original-called-number

  • Dialogic-redirecting-number

The new VSAs in the RADIUS detail file will be displayed on the A-leg (incoming) portion of the call. They will not be displayed on the B-leg (outgoing) portion of the call.

 

 

On the next few tables, the Incoming side displays the Diversion Header and the order in which they are received. The Radius VSA sent side displays the VSA's sent from the IMG 2020 and the order in which they are output in the Radius CDR log.

SIP to ISDN - (Default Configuration)

Incoming SIP (Diversion Header)

Radius VSA sent

Diversion Header Redirecting # = '2035551111'

Dialogic-sip-top-diversion = '2035551111'

Diversion Header Redirecting # = '2035551111'Diversion Header Original Called # = '2035552222'

Dialogic-sip-top-diversion = '2035551111'Dialogic-sip-bottom-diversion = '2035552222'

Diversion Header Redirecting # = '2035551111'Diversion Header Redirecting # = '2035552222'Diversion Header Original Called # = '2035553333'

Dialogic-sip-top-diversion = '2035551111'Dialogic-sip-bottom-diversion = '2035553333'

SIP to ISDN - (ISDN Interworking Redirection configured for Original Called Number)

Incoming SIP (Diversion Header)

Radius VSA sent

Diversion Header Original Called # = '2035551111'

Dialogic-sip-top-diversion = '2035551111'

Diversion Header Redirecting # = '2035551111'Diversion Header Original Called # = '2035552222'

Dialogic-sip-top-diversion = '2035551111'Dialogic-sip-bottom-diversion = '2035552222'

Diversion Header Redirecting # = '2035551111'Diversion Header Redirecting # = '2035552222'Diversion Header Original Called # = '2035553333'

Dialogic-sip-top-diversion = '2035551111'Dialogic-sip-bottom-diversion = '2035553333' 

ISDN to SIP - (Default Configuration)

Incoming ISDN

Radius VSA sent

Redirecting # = '2035551111'

Dialogic-redirecting-number = '2035551111'

Original Called # = '2035551111'

No VSA sent for original called number

1st Redirecting # = '2035551111'2nd Redirecting # = '2035552222'

Dialogic-redirecting-number = '2035552222'Dialogic-original-called-number = '2035551111'

1st Original Called # = '2035551111'  2nd Original Called # = '2035552222'

Dialogic-original-called-number = '2035551111'

1st Redirecting # = '2035551111'Original Called # = '2035552222'

Dialogic-redirecting-number = '2035551111'Dialogic-original-called-number = '2035552222' 

ISDN to SIP - (ISDN Interworking Redirection configured for Original Called Number)

Incoming ISDN

Radius VSA sent

Redirecting # = '2035551111'

No VSA sent for redirecting number

Original Called # = '2035551111'

Dialogic-original-called-number = '2035551111'

1st Original Called # = '2035551111'2nd Original Called # = '2035552222'

Dialogic-original-called-number = '2035551111'

1st Redirecting # = '2035551111'Original Called # = '2035552222'

Dialogic-redirecting-number = '2035551111'Dialogic-original-called-number = '2035552222'

SIP to SS7 - (No Interworking Redirection configured in SS7)

Incoming SIP (Diversion Header)

Radius VSA sent

Diversion Header Redirecting # = '2035551111'

Dialogic-sip-top-diversion = '2035551111'

Diversion Header Redirecting # = '2035551111'Diversion Header Original Called # = '2035552222'

Dialogic-sip-top-diversion = '2035551111'Dialogic-sip-bottom-diversion = '2035552222'

Diversion Header Redirecting # = '2035551111'Diversion Header Redirecting # = '2035552222'Diversion Header Original Called # = '2035553333'

Dialogic-sip-top-diversion = '2035551111'Dialogic-sip-bottom-diversion = '2035553333' 

SS7 to SIP - (No Interworking Redirection configured in SS7)

Incoming ISDN

Radius VSA sent

Redirecting # = '2035551111'

Dialogic-redirecting-number = '2035551111'

Original Called # = '2035551111'

No VSA sent for original called number

Redirecting # = '2035551111'Original Called # = '2035552222'

Dialogic-redirecting-number = '2035551111'Dialogic-original-called-number = '2035552222'

Additional Information:

Below are tables which display how the Radius CDR log would output the newest VSAs. The order of how the VSAs are output can change depending on the following:

  • There are more than two Diversion Headers coming from SIP leg. In this case the Radius CDR log will display only the top and bottom Diversion Headers.

  • The IMG 2020 can be configured to interwork only the Original Called number. In the Original Called case, the Radius CDR log would output only the OCN. See ISDN Interworking Redirection
     

 

 

Return to Documentation Home I Return to Sangoma Support