Issue description
The customer needs to make the below solution
They need when some Huawei phones registered under U1981 make calls to analog phones registered to siemens 3rd party PBX they dial number which is not related to the real number under the 3rd party PBX as these numbers are important users for example if someone needs to dial 500 which is analog phone under the siemens PBX he has to dial 220 which will be converted to be 500
U1981 version is V200R003C50.
The below is the UC topology the customer needs the call to go through from U1981 to U1960 then to siemens 3rd party PBX.

U1981: all of the users registered here
U1960: he needs the calls to pass through it because the QSIG trunk will be connected to the 3rd pay PBX so we have to make SIP trunk between the U1981 and the U1960.
Siemens PBX: the QSIG trunk will be created between the U1960 and this PBX and it has around 500 analog phones under it.
Final summary: when someone under the U1981 dial 220 it will go to U1960 then converted to be 500 and directed to siemens PBX.

Handing process
We have to make sure that the users are added on U1981 and can make calls normally internally.
We have to make a SIP trunk between the U1981 and the U1960.
We have to make a prefix and office route on U1981.
We have to make office route and prefixes on U1960 to send calls to Siemens PBX and calls also to U1981 coming from siemens PBX.
We have to make a QSIG trunk between the U1960 and the siemens PBX.
We have to make sure that the license is installed on the U1981 and it is working fine with enough users registered on it.
Planning for this activity:
Users under U1981 will dial 220as a prefix to reach their destination on 3rd party PBX and they will not know the real number as per the customer request.
Create office route under the U1981 with 122 and office route selection code with 122.
Create SIP trunk on U1981 with IP of U1960 which is x.x.x.x and will office route 122.
Create an office route on U1960 with 122 and office selection code 122.
Create SIP trunk on U1960 with the destination IP of the U1981 y.y.y.y and office route 122.
Create prefix 220 on U1960 with called number change to change it from 220 to be 500.
Creare change number index to with modifying the number from 220 to be 500 and put it as called number change on the 220 prefix.
Create a 122 office route and 122 office route selection code for the SIP trunk between the U1960 and the U1981.
Create 11 office route and 11 office route selection code for the route between the U1960 and the siemens PBX 3rd party.
Create QSIG on U1960 to connect U1960 with the Siemens PBX with office route 123.
Steps:
Under the U1981
Create an office route and office route selection code with 122.


Create Prefix with 220 and bound it to the office route 122 which will be the route of the SIP trunk between U1981 and the U1960.

Create a SIP trunk with the U1960
Destination IP is the IP if the U1960
Office route is 122
Domain Name: can be any name for the peer device which is the U1960

Under the U1960
Create an office route and office route selection code with 122 for the calls to go from siemens PBX to U1981.


Create a SIP trunk with the U1981.
Domain name: any name customer need for the peer device which is the U1981
IP of the peer device: the IP of the U1981
Office route: will be 122

Create a number change index with modifying the number from 220 to be 500 and name it index 99 for example.

Create another office route 11 and office route selection code for the route between the U1960 and the siemens PBX.


Create prefix with 220 and put the office route which is 123 and called number change index which is 99.

Create the QSIG between the U1960 and the 3rd party PBX using office route 11
Slot and port: must be the same as the slot and port on the MTU board on the U1960
the position must be opposite of the siemens PBX (example if U1960 is user, siemens PBX must be network and vica versa ).
CRC must be the same as the siemens PBX
Office route is 11 as per our plan

The final step, we can test this solution, if any IP phone dial 220 which is registered under the U1981 the call will go to U1960 then called number change happened and the new destination will be 500 and will go to siemens PBX and the analog phone which is 500 will ring.
Note: How to make batch configuration for 8 users with 8 number change index as our above example is just for 1 prefix which is 220 with 1 number change index which is 99.
For any scenario, you can make any number of prefixes in this way.
we have to create 100 prefixes on U1981 and route them to U1960, so we will use the script load by LMT to make 100 commands with 100 prefixes creation and load than one time on the U1981 LMT
On our example here we will make a script of 8 prefixes one time
We will use the below command and we will put it on .txt file

config add prefix dn 123 callcategory basic callattribute local cldpredeal no cldmap no officeselectcode 122
config add prefix dn 124 callcategory basic callattribute local cldpredeal no cldmap no officeselectcode 122
config add prefix dn 125 callcategory basic callattribute local cldpredeal no cldmap no officeselectcode 122
config add prefix dn 126 callcategory basic callattribute local cldpredeal no cldmap no officeselectcode 122
config add prefix dn 127 callcategory basic callattribute local cldpredeal no cldmap no officeselectcode 122
config add prefix dn 128 callcategory basic callattribute local cldpredeal no cldmap no officeselectcode 122
config add prefix dn 129 callcategory basic callattribute local cldpredeal no cldmap no officeselectcode 122
config add prefix dn 130 callcategory basic callattribute local cldpredeal no cldmap no officeselectcode 122
We have to load this .txtx file into the U1981 LMT.

Under the U1960 we have to make 8 number change indexes and 8 prefixes and bound each number change index with one prefix and put the office route which is 11 which is the office route between the U1960 and the siemens PBX
we will make indexes from 100 till 107 and new vnumbers 226 , 242 , 244 , 253 , 301 , 303 , 305, and 306 as per below command.
Config add predeal index 100 changetype Modify changepos 0 changelen 32 newdn 226
Config add predeal index 101 changetype Modify changepos 0 changelen 32 newdn 242
Config add predeal index 102 changetype Modify changepos 0 changelen 32 newdn 244
Config add predeal index 103 changetype Modify changepos 0 changelen 32 newdn 253
Config add predeal index 104 changetype Modify changepos 0 changelen 32 newdn 301
Config add predeal index 105 changetype Modify changepos 0 changelen 32 newdn 303
Config add predeal index 106 changetype Modify changepos 0 changelen 32 newdn 305
Config add predeal index 107 changetype Modify changepos 0 changelen 32 newdn 306
Then creating prefixes with the number change index we make above and bind it with office route 11 as per below, in this example we make prefixes as the same we created on U1981 from 123 till 130 and with number change index as we created above from 100 till 107
config add prefix dn 123 callcategory basic callattribute local cldpredeal yes cldindex 100 officeselectcode 11
config add prefix dn 124 callcategory basic callattribute local cldpredeal yes cldindex 101 officeselectcode 11
config add prefix dn 125 callcategory basic callattribute local cldpredeal yes cldindex 102 officeselectcode 11
config add prefix dn 126 callcategory basic callattribute local cldpredeal yes cldindex 103 officeselectcode 11
config add prefix dn 127 callcategory basic callattribute local cldpredeal yes cldindex 104 officeselectcode 11
config add prefix dn 128 callcategory basic callattribute local cldpredeal yes cldindex 105 officeselectcode 11
config add prefix dn 129 callcategory basic callattribute local cldpredeal yes cldindex 106 officeselectcode 11
config add prefix dn 130 callcategory basic callattribute local cldpredeal yes cldindex 107 officeselectcode 11
Then load the 2 .txt files we create above into the LMT of the U1960.

Solution
see the Planning for this activity.
Thanks for reading!
















