I bought 1 landline (landline 1) and I have my own server too.
I'd like to redirect calls made to landline 1 to another landline (landline 2) that I don't own.
I've already made a vocal robot on Asterisk so that depending on the digit the caller presses, it does something different.
What I need now is the last part :
1) Depending on the digit pressed, forward the call to a given landline number (in my case it's only landline 2)
2) optional but if someone knows a good way to do it, it's a big plus : since all call will be forwarded to the same landline 2, I'd like the person who answers landline 2 to hear the option the caller chose before he can talk with him.
PS : If you know Asterisk well, you probably know that this is quick and easy to do. I've already made the inbound SIP trunk myself + the dialplan in extensions.conf with the vocal robot, but I don't want to waste time trying to figure out how to do those 2 last parts because this is not my specialized area.