Joseph wrote:
On Sat, 2005-04-30 at 13:23 -0400, Time Bandit wrote:
I was wondering if there was a way to have incoming calls to my PSTN line be "transferred" to a voip line?
I would like to make it so that as soon as the pstn call is recieved it will switch the call to the voip line, thus freeing up the pstn line to get more calls. Kind of like roaming.
If you have call transfer on your line, you can do it with somethin like this (from the top of my head) exten => s,1,Answer() exten => s,2,Flash() exten => s,3,SendDTMF(${MYVOIPNUM}) exten => s,4,Hangup()
Basically, you hook-flash the line (giving you a dialtone), compose the number where you want the calls to be forwarded, then hangup the line. The calling party will be connected to the destination and your line will be free
Correct me anybody if I'm wrong; but I think this way he will only free
his internal extension not the PSTN line.
I think the only way of doing this is to order call forward feature form
his PSTN service provider, so when the call comes and his number is busy
it will automatically redirect it to let say DID number over IP (or any
other number).
The better way would be to order Call Forward Busy Line from their telco. In the example above when the hangup() happens both legs of the call will be disconneced. The person should order Conference/Drop/Transfer service from his/her telco, rather than the traditional Three-Way Calling service if they really want to transfer the call.
-- Always do right. This will gratify some people and astonish the rest. Mark Twain _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
