[Resolved]Inbound calls to ext -> outbound -> and back


#1

Is it possible to have an outbound number dial in, reach an extension, if that extension makes it to voicemail, have it forward the call to a cell phone, and if the cellphone fails to be answered, directed back to the original extension for voicemail?

If so, can anyone devise an example?

Thanks in advance

-Justin

*edit - I’ve deduced that by simply using the wait and dial function, I can send the call out through *, however, is there any way of redirecting the call back to the original extension’s voicemail?


#2

Should it look something like?

exten => s,1,Answer()
exten => s,2,Background(ext)
exten => [don’t know what goes here, but it should say if this ext doesn’t pick up, forward]
exten => ext,2,Dial(outbound channel, number whatever)
exten => [assuming the cell phone doesn’t pick up or bridge fails to connect] Congesstion(insert desired feature)
exten => [hangup command or whatever triggers voicemail]

Still a newbie here and willing to take any suggestions.

-Justin


#3

Havent tried it but here you go

voip-info.org/wiki-Asterisk+Tips+follow+me


#4

I cannot thank you enough.

That is exactly what I was looking for.

-Justin