SubscriptionId - chan-sccp/chan-sccp GitHub Wiki
Specific CallerID per SharedLine Instance (SubscriptionId / Advanced Feature)
When connecting a line on multiple devices (a.k.a. Shared Line), they will be assigned a so called subscriptionId automatically (have a look at 'sccp show lines' to see the automatic assignment). Note: to use shared line there is not need to set subscriptionId's etc, just assigning a line to multiple device buttons will work just fine.
Dialing a specific shared line member
When you know the subscriptionId of one of the members of a shared line, you can call that particular device by including the subscriptionId when dialing the number, for example the first device on line 111:
DIAL(SCCP/111@01);
Manual Assignment:
To circumvent the automatic assignment and statically allocate the subscriptionId you can extend the button statement, following this rule
button = line, [line]@[+/=][subscriptionId][:cidname][#label] [!aux/silent/default]
For example:
button = line, 111@+1:DdG#Shared # appending the id and cidname, to the ones found on the line
button = line, 111@1:DdG#Shared # same as the line before (backward compatibily)
button = line, 111@=11:DdG#Shared # instead of appending to the id/cidname, it replaced the line's cidnum and cidname with the new ones.
Would create a line connection for this device. In this case it would be connected to line 111 at subscriptionId 1, with a specific callerId '7960'. It would show up on the phone as 'Shared'.
Setting this callerid information overwrites the cid_num, cid_name pair assigned to the line when this particular shared-line member is called directly.
Extra flags
If you like you can add !silent as an auxiliary parameter to make this line a silent shared line, which will not produce ringing sounds. For example:
button = line, 111@+2:7975#me, Shared!silent
Would create a line connection for this device. In this case it would be connected to line 111 at subscriptionId 2, with a specific callerId '7975'. It would show up on the phone as 'Shared' and be silent when the the shared line is run.
If you call this line including the subscriptionId (like DIAL(SCCP/111@2) however, the device would ring, This setup is sometimes used in a so called Boss/Secretary Setup.