Follow-Me app not recording caller's name

Hello, I’m using the Followme() options ‘san’ which includes the record caller’s name option (a). Followme creates a sound file in /var/spool/asterisk but when I watch the directory i see that the file is always empty (0 bytes).

Console output is at the bottom of message.

Tried both Asterisk versions: 1.4.20.1 and SVN-branch-1.4-r118055
OS: Centos Linux 2.6.18-53.el5

Network: Local SIP phones on same network as PBX. I can call extension to extension with audio working on both sides of all calls.

What is your use case and call flow?
Call from extension 4003 to extension 4000 which is
forwarded to: Followme(4000,san)

followme.conf**
[general]
featuredigittimeout=>5000
takecall=>1
declinecall=>2
call-from-prompt=>followme/call-from
norecording-prompt=>followme/no-recording
options-prompt=>followme/options
pls-hold-prompt=>followme/pls-hold-while-try
status-prompt=>followme/status
sorry-prompt=>followme/sorry

[4000]
context=>phone_4000
musicclass=>music_2
number=>4001,270,1



Note: I also tried adding ‘allow=sln’ lines to the entries in sip.conf, reloading followme app and
reloading asterisk: it did not help.

sip.conf:

[general]
context=incoming
allowguest=yes
;realm=
bindport=5060
bindaddr=0.0.0.0
srvlookup=no
;domain=
allowexternalinvites=yes
;autodomain=N/A
;pedantic=N/A
tos=0x1c
maxexpiry=7200
defmaxexpiry=3600
;notifymimetype=
;checkmwi=
videosupport=yes
;recordhistory=N/A
disallow=all
allow=ulaw
allow=alaw
allow=gsm
;musicclass=music_
language=en
relaxdtmf=yes
;rtptimeout=
;rtpholdtimeout=
;trustrpid=N/A
;sendrpid=N/A
;progressinband=
;useragent=
;promiscredir=N/A
;usereqphone=N/A
dtmfmode=auto
;compactheaders=N/A
;sipdebug=N/A
;subscribecontext=
notifyringing=yes
qualify=8000
callevents=yes
externip=0.0.0.0
;externhost=
;externrefresh=
localnet=192.168.2.0/255.255.255.0
nat=yes
rtcachefriends=yes
;rtupdate=N/A
;rtautoclear=N/A
;canreinvite=na
insecure=very
;ignoreregexpire=N/A
allowexternaldomains=yes

[authentication]

[4000]
username=4000
call-limit=0
md5secret=**********
type=friend
dtmfmode=rfc2833
host=dynamic
context=phone_4000
callerid=Extension 4000 <4000>
mailbox=4000@default
nat=yes
qualify=8000
callgroup=1
pickupgroup=1
insecure=very
disallow=all
deny=0.0.0.0/0.0.0.0
permit=192.168.2.0/255.255.255.0
allow=ulaw
allow=alaw
allow=gsm

[4001]
username=4001
call-limit=0
md5secret=*********
type=friend
dtmfmode=rfc2833
host=dynamic
context=phone_4001
callerid=Extension 4001 <4001>
mailbox=4001@default
nat=yes
qualify=8000
callgroup=1
pickupgroup=1
insecure=very
disallow=all
deny=0.0.0.0/0.0.0.0
permit=192.168.2.0/255.255.255.0
allow=ulaw
allow=alaw
allow=gsm

[4003]
username=4003
call-limit=0
md5secret=*********
type=friend
dtmfmode=rfc2833
host=dynamic
context=phone_4003
callerid=Extension 4003 <4003>
mailbox=4003@default
nat=yes
qualify=8000
callgroup=1
pickupgroup=1
insecure=very
disallow=all
deny=0.0.0.0/0.0.0.0
permit=192.168.2.0/255.255.255.0
allow=ulaw
allow=alaw
allow=gsm


IAX.CONF:

[general]
bandwidth=low
allow=all
disallow=lpc10

jitterbuffer=no
forcejitterbuffer=no

authdebug=yes
tos=lowdelay
autokill=yes


Entry into follow me is achieved via a forward to this entry in extensions.conf:
phone_4000
exten => s,1,Followme(4000,san)


CONSOLE:

-- Goto (phone_4000,s,1)
-- Executing [117@dest_map:1] FollowMe("SIP/4003-08c133d0", "4000|san") in new stack
-- <SIP/4003-08c133d0> Playing 'followme/status' (language 'en')
-- <SIP/4003-08c133d0> Playing 'vm-rec-name' (language 'en')
-- <SIP/4003-08c133d0> Playing 'beep' (language 'en')
-- x=0, open writing:  /var/spool/asterisk/followme.1211907986.30 format: sln, 0x8bb8da8
-- User ended message by pressing #
-- <SIP/4003-08c133d0> Playing 'auth-thankyou' (language 'en')
-- <SIP/4003-08c133d0> Playing 'followme/pls-hold-while-try' (language 'en')
-- Music class music_2 requested but no musiconhold loaded.
-- calling 4001@phone_4000
-- Goto (ext_4001,s,1)
-- Dial("Local/4001@phone_4000-b058,2", "SIP/4001|320|t")
-- Called 4001
-- SIP/4001-08c18140 is ringing
-- Local/4001@phone_4000-b058,1 is ringing
-- SIP/4001-08c18140 answered Local/4001@phone_4000-b058,2
-- Local/4001@phone_4000-b058,1 stopped sounds
-- Local/4001@phone_4000-b058,1 answered SIP/4003-08c133d0
-- Starting playback of followme/call-from
-- <Local/4001@phone_4000-b058,1> Playing 'followme/call-from' (language 'en')
-- Local/4001@phone_4000-b058,1 requested a source update, passing it to SIP/4003-08c133d0
-- Playback of the call-from file appears to be done.
-- <SIP/4001-08c18140> Playing '/var/spool/asterisk/followme.1211907986.30' (language 'en')

[May 27 13:06:43] NOTICE[16963]: app_followme.c:555 wait_for_winner: Unable to playback

/var/spool/asterisk/followme.1211907986.30. Maybe the caller didn’t record their name?
– <SIP/4001-08c18140> Playing ‘followme/options’ (language ‘en’)

Thanks!

Not positive this is your issue, but try adding either an Answer() or Playback(silence/1) prior to calling FollowMe.

Thanks davevg, doing Answer() before Followme() was the fix. It’s strange since other applications in our dial plan like Voicemail worked just fine.