Follow me call

Hi. in my system i would like to get a way of when someone is calling my extensions (ext. 25) after 5 times the call to go to the gsm gateway and call a particular number (456789).
To call out through the particular gsm gateway it has to dial a prefix 9.
i would appreciate any help available.


You could accomplish this with either two Dial strings, e.g.:

exten => 25,1,Dial(SIP/myphone,25)
exten => 25,n,Dial(SIP/mypeer/456789)

There’s also a dedicated FollowMe application - see followme.conf.


I am afraid i am missing the part where i say how many rings(eg 5times) before follow me on a particular number.


You define an amount of time in seconds, e.g. 25, not specifically a number of rings.