Follow-me


#1

Ok I think i’m confused with the logic of the follow-me option.

Where should I be adding this code too??

It dosn’t seem to be excuting the commands?

If someone can explain what needs to be configured for this to work…sip.conf, extension.conf etc.

Thanks in advance.

here is my updated code but don’t know where to put it or what??
I basically want to it ring ext200 and 201 ----> cell----> back to VM

exten => 200,1,dial(sip/201,15)
exten => 200,2,playback(pls-wait-connect-call)
exten => 200,3,Setvar(NewCaller=${CALLERIDNUM})
exten => 200,4,SetCIDNum(0${CALLERIDNUM})
exten => 200,5,dial(SIP/broadvoice/mycellnumber,r)
exten => 200,6,SetCIDNum(${NewCaller})
exten => 200,7,voicemail2(u200@default)
exten => 200,201,voicemail2(b200@default)
exten => 200,202,hangup


#2

Your problems are probably related to Broadvoice. Their service has been flakey for a week, their is a rumor floating around that they could not pay some bills. Your specific problem, I think, is that you are trying to define the caller id number and Broadvoice will not let you. Try something like this, it will not alert you that the call is coming from Asterisk on your cell phone but it should work.

exten => 200,1,dial(SIP/201&SIP/201,15)
exten => 200,2,playback(pls-wait-connect-call)
exten => 200,3,dial(SIP/broadvoice/mycellnumber,12)
exten => 200,4,voicemail2(u200@default)
exten => 200,5,hangup


#3

I don’t think i’m putting this code in the right area of my extension.conf??

The output form my CLI dosn’t show any excecution of the code.

Can you advise me on this??


#4

run “show dialplan” and make sure it is showing up in the correct context


#5

My question is which context should I put this in??