Emulate shared call appearance on 2-line phones.Emulate a phone system where each phone has 2 extension numbers. When the first line is called, if it is busy the call rolls over to the second line for that phone. If the second line is busy, the call rolls over into voicemail.
Emulate a phone system where each phone has 2 extension numbers. When the first line is called, if it is busy the call rolls over to the second line for that phone. If the second line is busy, the call rolls over into voicemail. An advantage to this setup as opposed to having just one extension per person is that if someone monitors that person's two lines, they can see that the person is already on a call when the second one comes in - because the monitor light for the first extension will be solid and the monitor light for the second extension will be blinking. Perfect for a professional with assistant that has to pick up calls if their boss is already on the phone.
In addition to the Local_Extensions section of the conf/dialplan/default.xml being modified, each user's xml file will contain variables stating how many calls are allowed per extension (max_calls), a custom ringback (cringback) and which voicemail box to rollover into (fail_over).
In this example, the phone is registered with two identities - 315 and 415. When a call comes into 315, if it isn't already in use with 1 call, FreeSWITCH will transfer the call to 315. If 315 is already in an active call, FreeSWITCH will transfer the call to the user's second line ( 415 ). I have set the ringback to the uk-ring for the second line which means the caller will hear a distinctive ring ( as opposed to the us-ring on the first line ) and be able to tell that the user is already on a call. If 315 and 415 are both in use then the call is transferred to voicemail:315 ( the user's voicemailbox ).
You need to enable multiple registrations if you have users with more than one phone and you want them all to log in with the same extensions. If you have the assistant login with the professional's extension in addition to his/her own, their phone will ring and show the call info when the professional's extensions are called allowing her to pickup the call easily.
conf/dialplan/default.xml (tracking outbound calls)
In order for the rollover to take effect if the extension is making an outbound call also, add the following to your outbound extension condition. In my case, it is put in the extension that matches "9^(\d+)$" where calls go out my gateway.
conf/dialplan/default.xml (Local_Extension example)