Dialogic Voice Cards - Using Timeslot 256 or Higher with SIP for NCC
Symptom
Dialogic Natural Call Control (NCC) is a service of Dialogic® Natural Access (NA) that makes the call control function an integral part of the overall application. Developers using Dialogic® SIP for NCC software to establish, transfer, and tear down VoIP sessions may encounter an issue when using a timeslot with a value greater than 256. The error message Context address is too big: 256 will be displayed if this issue is encountered.
The allowable timeslot values are in the range of 0 to 480, but in order to use timeslots with numbesr equal to or greater than 256, the developer must make a parameter change.
Fix / Solution
There is a configuration parameter of the Dialogic Natural Access SIP server (nmssip) called general.numPorts that specifies how many SIP ports are supported by the server. The default value for this parameter is 256. To use a timeslot of 256 or greater, the general.numPorts parameter must be set to the desired value before executing the NCCCMD_START_PROTOCOL command.
If this parameter is not changed and you are using SIP for NCC with a timeslot that is greater than or equal to 256, the NCCCMD_START_PROTOCOL command will fail and display the error message: Context address is too big: 256.
The example code below illustrates this error message.
> > 13:30:35.23 NCC-CMD 00000100 =====> NCCCMD_START_PROTOCOL 0x0:0 > > 13:30:35.23 ERROR Context address is too big: 256. > > 13:30:35.23 NCC-EVN 00000100 <===== NCCEVN_START_PROTOCOL_DONE 0x1c1001:0
When the configuration parameter is set correctly, you will see messages similar to the one below.
> > 13:30:54.18 NCC-CMD 000000ff =====> NCCCMD_START_PROTOCOL 0x0:0 > > 13:30:54.18 LICENSE Allocate - 7 ports left > > 13:30:54.18 NCC-EVN 000000ff <===== NCCEVN_START_PROTOCOL_DONE 0x1001:0
Product List
Dialogic CG6x6x Media Boards