Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed file seek in mod_http_cache #1

Open
grahamsnz opened this issue May 9, 2019 · 1 comment
Open

Fixed file seek in mod_http_cache #1

grahamsnz opened this issue May 9, 2019 · 1 comment

Comments

@grahamsnz
Copy link
Contributor

Master issue/ticket: https://freeswitch.org/jira/browse/FS-11796

Description:
When I test the following two extensions from master Debian repo (1.9.02038743cddcjessie-1jessie+1), the second extension does not actually fast forward or rewind the playback to the client:

    <!-- uuid_fileman local test extension --> 
    <extension name="uuid-fileman-test-local"> 
      <condition field="destination_number" expression="^uuid-fileman-local$"> 
        <action application="bind_digit_action" data="cc,4,api:uuid_fileman, ${uuid} seek:-16000" /> 
        <action application="bind_digit_action" data="cc,6,api:uuid_fileman, ${uuid} seek:+16000" /> 
        <action application="answer"/> 
        <action application="sleep" data="1000"/> 
        <action application="playback" data="/usr/share/freeswitch/sounds/music/custom/rick-rolled.mp3" /> 
      </condition> 
    </extension> 

    <!-- uuid_fileman http test extension --> 
    <extension name="uuid-fileman-test-http"> 
      <condition field="destination_number" expression="^uuid-fileman-http$"> 
        <action application="bind_digit_action" data="cc,4,api:uuid_fileman, ${uuid} seek:-16000" /> 
        <action application="bind_digit_action" data="cc,6,api:uuid_fileman, ${uuid} seek:+16000" /> 
        <action application="answer"/> 
        <action application="sleep" data="1000"/> 
        <action application="playback" data="http_cache://http://localhost/rick-rolled.mp3" /> 
      </condition> 
    </extension>
@grahamsnz
Copy link
Contributor Author

Please see attached examples:
http_cache.conf.xml.zip
modHttpCacheSeek.patch.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant