BT Call Server

Top  Previous  Next
IT&Operations > Security > SIP Authentication

Turret to TPO session

Turret :

•"Enable SIP authentication" is set to "true"

 

Location: Terminal Boot Settings, TPO Boot Settings
SIP
Enable SIP authentication truefalse

 

 

•Add generic credential using "BTTRADE_TSS_BOOT_CREDENTIALS". This is the same credential required for Securing Device Session > Turret

 

TableCornerTopLeftA

IPT_Empty

IPT_Empty

TableCornerTopRightA

IPT_Empty

ImportantNote_Icon

This process is currently only supported on Flexpro and not Touchpro

IPT_Empty

TableCornerBottomLeftA

IPT_Empty

IPT_Empty

TableCornerBottomRightA

 

TPO :

•"Enable SIP authentication" is set to "true"

 

Location: Terminal Boot Settings, TPO Boot Settings
SIP
Enable SIP authentication truefalse

 

 

•Add generic credential using "BTTRADE_TSS_BOOT_CREDENTIALS" via "C:\Users\Public\sc.bat". This is the same credential required for Securing Device Session > TPO

Non-registered invites from BT Call Server

TPO:

•"Enable SIP authentication" is set to "true"

 

Location: Terminal Boot Settings, TPO Boot Settings
SIP
Enable SIP authentication truefalse

 

 

•Add an additional generic credential using "BTTRADE_TPO_SBC_KEY1_CREDENTIALS" in the same "C:\Users\Public\sc.bat" file mentioned in Securing Device Session > TPO

Example of what the file should look like:

cmdkey /genric:BTTRADE_TSS_BOOT_CREDENTIALS /user:username /pass:password

cmdkey /genric:BTTRADE_TPO_SBC_KEY1_CREDENTIALS /user:username /pass:password

 

TableCornerTopLeftA

IPT_Empty

IPT_Empty

TableCornerTopRightA

IPT_Empty

ImportantNote_Icon

Though the credentials required mentions "BTTRADE_TPO_SBC_KEY1_CREDENTIALS"
The same also applies to external PBX registered DDI lines such as the BT Call Server.

IPT_Empty

TableCornerBottomLeftA

IPT_Empty

IPT_Empty

TableCornerBottomRightA

 

BT Call Server:

 

For invites from BT Call Server towards the TPO. 

The following additional settings are required on the BT Call Server to authenticate the challenge sent by the TPO when "application.sip.auth.enable = true"

The "username" and "password" set below MUST match the credentials set in "BTTRADE_TPO_SBC_KEY1_CREDENTIALS". 
The BT Call Server will then insert this authentication when contacting the TPO.

 

sends_auth = yes

outbound_auth/username = username

outbound_auth/password = password

 

The above settings are best applied in the “extension-defaults" template section of “Extension Configuration > Advanced” in the BT Call Server
This will ensure they apply to all lines making use of this template.

 

Example configuration:

[extension-defaults](!)

type = wizard

accepts_auth = yes

sends_auth = yes

outbound_auth/username = username

outbound_auth/password = password

accepts_registrations = yes

transport = transport-tcp

endpoint/allow = !all,ulaw,alaw,opus,ilbc,g722

endpoint/context = outbound

endpoint/dtmf_mode = auto

endpoint/direct_media = yes

;endpoint/tos_audio = ef

;endpoint/cos_audio = 5

aor/qualify_frequency = 30

aor/max_contacts = 1

aor/remove_existing = yes

 

 

Troubleshooting

•If SIP communication is not authenticated by a digest, check if  application.sip.auth.enable is set correctly in the TPO debug info

•If turret cannot contact the TPO : 

ocheck if application.sip.auth.enable is set correctly in the turret debug info

oIf turret or TPO cannot find the credentials, they will send a CCL!E5008 error, meaning they could not retrieve the credentials, in that case : 

▪Check if credentials are present

▪Check if user can access the credentials

▪Check if there is an additional error code

•Take a Wireshark capture on the BT Call Server and analyse the SIP messages.

•If you're using TPO to TPO authentication, ensure that both credentials are present and that "TPO client BTTRADE_TPO_SBC_KEY1_CREDENTIALS" credentials are the same as TPO server "BTTRADE_TSS_BOOT_CREDENTIALS" credentials. 

•If TPO client must also communicate with BT Call Server, ensure that credentials are coherent everywhere, as TPO client will use the same "BTTRADE_TPO_SBC_KEY1_CREDENTIALS" for both TPO server and BT Call Server.