[asterisk-users] Follow Me problems

David M. Zendzian dmz at dmzs.com
Tue Nov 7 07:20:02 MST 2006


I asked on freenode #asterisk a while ago about the followme and someone 
was nice enough to share a macro with me that I'm using (although I use 
voip outbound instead of zap, but it may be worth trying):

MYPHONE=IAX2/666
MYOUT=SIP/8885551212 at myoutbound
MYEXT=666

exten => 9,1,Macro(voicemail,${MYPHONE},${MYOUT},${MYEXT})

[macro-voicemail]
exten => s,1,Dial(${ARG1},25,r)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Setvar(NewCaller=${CALLERIDNUM})
exten => s-NOANSWER,2,Set(CALLERID(number)=${CALLERIDNUM})
exten => s-NOANSWER,3,Dial(${ARG2},15,r)
exten => s-NOANSWER,4,Set(CALLERID(number)=${NewCaller})
exten => s-NOANSWER,5,Voicemail(u${ARG3})
exten => s-NOANSWER,6,Hangup
exten => s-BUSY,1,Voicemail(b${ARG3})
exten => s-BUSY,2,Hangup
exten => _s-.,1,Goto(s-NOANSWER,1)

Time Bandit wrote:
>> Today we appear to have discovered our first bug.  We have an extension
>> setup to "followme" by ringing that extension + an external cell #
>> (ringall).  If nobody answers after 20 seconds the "destination if no
>> answer" is set to go to the extensions voicemail in the "followme" 
>> module.
>> The problem is it just keeps ringing forever.  If we delete the 
>> followme it
>> forwards to the voicemail as per the default SIP extension configuration
>> with voicemail enabled.
>>
>> Anyone run into this?  Is there a workaround?  Any advice would be 
>> greatly
>> appreciated as always.
>>
>> Our configuration is:
>> Supermicro Pentium D 2.66 Server with 2x512MB Memory
>> 3ware 8006-2LP Hardware RAID 1
>> Sangoma A200D with 8fxo (latest firmware/drivers as of last week)
>> CentOS 4.4
>> Asterisk 1.2.13
>> Zaptel 1.2.10
>> FreePBX 2.1.3
> 
> When Asterisk dial the Cell phone, it goes out on the ZAP channel
> (Sangoma A200D), so as soon as it hit that channel, the call is
> considered answered even if the cell phone never actually pickup the
> call. I didn't play with the "followme" module myself but that is what
> I suspect is happening. Just watch the console and you should see
> something like "Zap/1-1 answered ..."
> 
> hth
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users


More information about the asterisk-users mailing list