[Freeswitch-users] Unable to leave voicemail message longer than a few seconds

Mark Campbell-Smith mcampbellsmith at gmail.com
Wed Apr 13 15:32:09 MSD 2011


HI!

I am having an issue which must have been introduced at my last upgrade of
FS (FreeSWITCH Version 1.0.head (git-b737851 2011-03-25 00-13-39 +0100))

Callers are unable to leave voicemail messages of any length; the voicemail
application terminates the recording and transfers to the ivr.

My dialplan is quite simple. Extract here:

                        <action application="bridge"
data="${group_extension}"/>
                        <action application="set_user"
data="${dialed_extension}@${domain}"/>
                        <action application="answer"/>
                        <action application="sleep" data="1000"/>
                        <action application="voicemail" data="default
${domain_name} ${dialed_extension}"/>
                  </condition>
            </extension>

And the only place the message length value is defined is in
voicemail.conf.xml in the autoloads conf directory.  It is set to default.
      <param name="max-record-len" value="300"/>

Below is an extract of the debug logs.  I am only allowed to leave a message
in this case for 6 seconds (between times 2011-04-13 21:26:41.098532
and 2011-04-13 21:26:47.37119)

Dialplan: sofia/internal/1000 at 192.168.1.120 Action set(call_timeout=22)
Dialplan: sofia/internal/1000 at 192.168.1.120 Action
set(sip_contact_user=${caller_id_number})
Dialplan: sofia/internal/1000 at 192.168.1.120 Action
export(sip_contact_user=${caller_id_number})
Dialplan: sofia/internal/1000 at 192.168.1.120 Action info()
Dialplan: sofia/internal/1000 at 192.168.1.120 Action bind_meta_app(1 a s
execute_extension::4001 XML default)
Dialplan: sofia/internal/1000 at 192.168.1.120 Action bind_meta_app(3 b s
execute_extension::cf XML features)
Dialplan: sofia/internal/1000 at 192.168.1.120 Action bind_meta_app(2 a s
execute_extension::checkpin XML features)
Dialplan: sofia/internal/1000 at 192.168.1.120 Action bind_meta_app(9 b s
record_session::/usr/local/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav)
Dialplan: sofia/internal/1000 at 192.168.1.120 Action
bridge(${group_extension})
Dialplan: sofia/internal/1000 at 192.168.1.120 Action
set_user(${dialed_extension}@${domain})
Dialplan: sofia/internal/1000 at 192.168.1.120 Action answer()
Dialplan: sofia/internal/1000 at 192.168.1.120 Action sleep(1000)
Dialplan: sofia/internal/1000 at 192.168.1.120 Action voicemail(default
${domain_name} ${dialed_extension})
:
:
2011-04-13 21:26:29.611121 [DEBUG] switch_core_session.c:709 Send signal
sofia/internal/1000 at 192.168.1.120 [BREAK]
2011-04-13 21:26:29.611121 [DEBUG] switch_channel.c:2813 (sofia/internal/
1000 at 192.168.1.120) Callstate Change EARLY -> ACTIVE
2011-04-13 21:26:29.611121 [NOTICE] mod_dptools.c:929 Channel
[sofia/internal/1000 at 192.168.1.120] has been answered
EXECUTE sofia/internal/1000 at 192.168.1.120 sleep(1000)
2011-04-13 21:26:29.702581 [DEBUG] sofia.c:4744 Channel sofia/internal/
1000 at 192.168.1.120 entering state [ready][200]
2011-04-13 21:26:29.758583 [DEBUG] switch_rtp.c:3082 Correct ip/port
confirmed.
EXECUTE sofia/internal/1000 at 192.168.1.120 voicemail(default
markcs.dyndns.org 1000)
2011-04-13 21:26:30.750645 [DEBUG] switch_ivr_play_say.c:1291 Codec
Activated L16 at 8000hz 1 channels 30ms
2011-04-13 21:26:40.050617 [DEBUG] switch_ivr_play_say.c:1635 done playing
file
2011-04-13 21:26:40.050617 [DEBUG] switch_ivr_play_say.c:63 No language
specified - Using [en]
2011-04-13 21:26:41.098532 [DEBUG] switch_ivr_play_say.c:581 Raw Codec
Activated
2011-04-13 21:26:41.098532 [DEBUG] switch_core_codec.c:116 sofia/internal/
1000 at 192.168.1.120 Push codec L16:70

2011-04-13 21:26:47.371195 [DEBUG] switch_core_codec.c:141 sofia/internal/
1000 at 192.168.1.120 Restore previous codec PCMU:0.
2011-04-13 21:26:47.371195 [DEBUG] switch_ivr_play_say.c:63 No language
specified - Using [en]
2011-04-13 21:26:47.418939 [DEBUG] switch_ivr_play_say.c:244 Handle
play-file:[voicemail/vm-press.wav] (en:en)
2011-04-13 21:26:47.418939 [DEBUG] switch_ivr_play_say.c:1291 Codec
Activated L16 at 8000hz 1 channels 30ms
2011-04-13 21:26:47.758529 [DEBUG] switch_ivr_play_say.c:1635 done playing
file
2011-04-13 21:26:47.878531 [DEBUG] switch_ivr_play_say.c:244 Handle say:[1]
(en:en)
2011-04-13 21:26:47.878531 [DEBUG] switch_ivr_play_say.c:1291 Codec
Activated L16 at 8000hz 1 channels 30ms

Any ideas why this would be?  I checked Jira but couldn't find any reference
to bugs there.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110413/af9599df/attachment.html 


More information about the FreeSWITCH-users mailing list