A non-transitory computer-readable medium comprising program code instructions stored thereon for routing calls intended for a first communication terminal, when the program code instructions are executed by a processor of a gateway, the program code instructions configuring the gateway to:
- receive, from a second communication terminal, a modification command of the routing of calls intended for said first communication terminal, without intervention of the first communication terminal, the second communication terminal being able to receive calls, and the modification command being based on at least one activation condition being verified by at least one piece of contextual information of the second communication terminal, wherein said at least one activation condition is selected from the group consisting of the second communication terminal leaving a geographic zone in which the first terminal is located, the second communication terminal being located a distance from the first communication terminal that exceeds a threshold, and the second communication terminal being located outside a coverage area of a local wireless communication network to which the first communication terminal belongs;
- receive a call to be routed intended for the first communication terminal;
- and
- route said call to the second communication terminal or a third terminal, based on a piece of call routing information contained in the modification command.