possible bug in ask and freeswitch

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

possible bug in ask and freeswitch

ik_5
Hello,

I have a weird issue with the ask method.
I'm using it like so:

result = ask "recording.wav", terminator: '#', timeout: 5.seconds, limit: 10

If someone presses on '#' as the first char, it does not return from "ask" but restart everything like it's the first time.

I'm not sure if that's a bug or am I missing something.
If it is a bug, does it belong to rayo or does it belong to different component?

Thanks,
Ido

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: possible bug in ask and freeswitch

ik_5
forgot to place logs and ahn version (2.6.0), logs:

[2015-02-18 20:37:56.733] DEBUG Adhearsion::Call: [hidden email]: Executing command #<Punchblock::Component::Input target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:56 +0200, request_id="bb3eac98-f48a-4908-a244-a690bb725edf", headers={}, max_silence=nil, min_confidence=nil, mode=:dtmf, recognizer=nil, language=nil, terminator=nil, sensitivity=nil, initial_timeout=nil, inter_digit_timeout=nil, recognition_timeout=nil, grammars=[#<Punchblock::Component::Input::Grammar target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:56 +0200, value=<grammar xmlns="http://www.w3.org/2001/06/grammar" version="1.0" xml:lang="en-US" mode="dtmf" root="inputdigits">
  <rule id="inputdigits" scope="public">
    <one-of>
      <item>0</item>
      <item>1</item>
      <item>2</item>
      <item>3</item>
      <item>4</item>
      <item>5</item>
      <item>6</item>
      <item>7</item>
      <item>8</item>
      <item>9</item>
      <item>#</item>
      <item>*</item>
    </one-of>
  </rule>
</grammar>, content_type="application/srgs+xml", url=nil>]>
[2015-02-18 20:37:59.371] DEBUG Adhearsion::Call: [hidden email]: Receiving message: #<Punchblock::Event::Complete target_call_id="e27e5df4-eba2-49a7-9068-929432e2fef2", target_mixer_name=nil, component_id="input-6", source_uri="xmpp:e27e5df4-eba2-49a7-9068-929432e2fef2@127.0.0.1/input-6", domain="127.0.0.1", transport="xmpp", timestamp=Wed, 18 Feb 2015 18:37:59 +0000, reason=#<Punchblock::Component::Input::Complete::Match target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, name=:match, content_type="application/nlsml+xml", nlsml=#<Nokogiri::XML::Element:0x2463e4c name="result" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Element:0x246ffa8 name="interpretation" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Element:0x246fb84 name="input" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> attributes=[#<Nokogiri::XML::Attr:0x246faf8 name="mode" value="dtmf">, #<Nokogiri::XML::Attr:0x246fae4 name="confidence" value="100">] children=[#<Nokogiri::XML::Text:0x246f198 "#">]>, #<Nokogiri::XML::Element:0x246ef54 name="instance" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Text:0x246ea68 "#">]>]>]>>, recording=nil, fax=nil, fax_metadata={}>
[2015-02-18 20:37:59.445] DEBUG Adhearsion::Call: [hidden email]: Receiving message: #<Punchblock::Event::Complete target_call_id="e27e5df4-eba2-49a7-9068-929432e2fef2", target_mixer_name=nil, component_id="output-5", source_uri="xmpp:e27e5df4-eba2-49a7-9068-929432e2fef2@127.0.0.1/output-5", domain="127.0.0.1", transport="xmpp", timestamp=Wed, 18 Feb 2015 18:37:59 +0000, reason=#<Punchblock::Event::Complete::Stop target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, name=:stop>, recording=nil, fax=nil, fax_metadata={}>
[2015-02-18 20:37:59.446] DEBUG Adhearsion::Call: [hidden email]: Executing command #<Punchblock::Component::Output target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, request_id="910e6322-af08-403a-b22b-bfb4a1f42239", headers={}, voice=nil, interrupt_on=nil, start_offset=nil, start_paused=nil, repeat_interval=nil, repeat_times=nil, max_time=nil, renderer=nil, render_documents=[#<Punchblock::Component::Output::Document target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, url=nil, content_type="application/ssml+xml", value=<speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="en-US">
  <audio src="11 - wrong id try again.wav"/>
</speak>>]>



On Wed, Feb 18, 2015 at 8:52 PM, ik <[hidden email]> wrote:
Hello,

I have a weird issue with the ask method.
I'm using it like so:

result = ask "recording.wav", terminator: '#', timeout: 5.seconds, limit: 10

If someone presses on '#' as the first char, it does not return from "ask" but restart everything like it's the first time.

I'm not sure if that's a bug or am I missing something.
If it is a bug, does it belong to rayo or does it belong to different component?

Thanks,
Ido

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: possible bug in ask and freeswitch

Ben Langfeld-2
Please file this with TRACE level logs on Github. If this is FreeSWITCH, please also provide debug level FreeSWITCH logs.

On 18 February 2015 at 16:59, ik <[hidden email]> wrote:
forgot to place logs and ahn version (2.6.0), logs:

[2015-02-18 20:37:56.733] DEBUG Adhearsion::Call: [hidden email]: Executing command #<Punchblock::Component::Input target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:56 +0200, request_id="bb3eac98-f48a-4908-a244-a690bb725edf", headers={}, max_silence=nil, min_confidence=nil, mode=:dtmf, recognizer=nil, language=nil, terminator=nil, sensitivity=nil, initial_timeout=nil, inter_digit_timeout=nil, recognition_timeout=nil, grammars=[#<Punchblock::Component::Input::Grammar target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:56 +0200, value=<grammar xmlns="http://www.w3.org/2001/06/grammar" version="1.0" xml:lang="en-US" mode="dtmf" root="inputdigits">
  <rule id="inputdigits" scope="public">
    <one-of>
      <item>0</item>
      <item>1</item>
      <item>2</item>
      <item>3</item>
      <item>4</item>
      <item>5</item>
      <item>6</item>
      <item>7</item>
      <item>8</item>
      <item>9</item>
      <item>#</item>
      <item>*</item>
    </one-of>
  </rule>
</grammar>, content_type="application/srgs+xml", url=nil>]>
[2015-02-18 20:37:59.371] DEBUG Adhearsion::Call: [hidden email]: Receiving message: #<Punchblock::Event::Complete target_call_id="e27e5df4-eba2-49a7-9068-929432e2fef2", target_mixer_name=nil, component_id="input-6", source_uri="xmpp:e27e5df4-eba2-49a7-9068-929432e2fef2@127.0.0.1/input-6", domain="127.0.0.1", transport="xmpp", timestamp=Wed, 18 Feb 2015 18:37:59 +0000, reason=#<Punchblock::Component::Input::Complete::Match target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, name=:match, content_type="application/nlsml+xml", nlsml=#<Nokogiri::XML::Element:0x2463e4c name="result" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Element:0x246ffa8 name="interpretation" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Element:0x246fb84 name="input" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> attributes=[#<Nokogiri::XML::Attr:0x246faf8 name="mode" value="dtmf">, #<Nokogiri::XML::Attr:0x246fae4 name="confidence" value="100">] children=[#<Nokogiri::XML::Text:0x246f198 "#">]>, #<Nokogiri::XML::Element:0x246ef54 name="instance" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Text:0x246ea68 "#">]>]>]>>, recording=nil, fax=nil, fax_metadata={}>
[2015-02-18 20:37:59.445] DEBUG Adhearsion::Call: [hidden email]: Receiving message: #<Punchblock::Event::Complete target_call_id="e27e5df4-eba2-49a7-9068-929432e2fef2", target_mixer_name=nil, component_id="output-5", source_uri="xmpp:e27e5df4-eba2-49a7-9068-929432e2fef2@127.0.0.1/output-5", domain="127.0.0.1", transport="xmpp", timestamp=Wed, 18 Feb 2015 18:37:59 +0000, reason=#<Punchblock::Event::Complete::Stop target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, name=:stop>, recording=nil, fax=nil, fax_metadata={}>
[2015-02-18 20:37:59.446] DEBUG Adhearsion::Call: [hidden email]: Executing command #<Punchblock::Component::Output target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, request_id="910e6322-af08-403a-b22b-bfb4a1f42239", headers={}, voice=nil, interrupt_on=nil, start_offset=nil, start_paused=nil, repeat_interval=nil, repeat_times=nil, max_time=nil, renderer=nil, render_documents=[#<Punchblock::Component::Output::Document target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, url=nil, content_type="application/ssml+xml", value=<speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="en-US">
  <audio src="11 - wrong id try again.wav"/>
</speak>>]>



On Wed, Feb 18, 2015 at 8:52 PM, ik <[hidden email]> wrote:
Hello,

I have a weird issue with the ask method.
I'm using it like so:

result = ask "recording.wav", terminator: '#', timeout: 5.seconds, limit: 10

If someone presses on '#' as the first char, it does not return from "ask" but restart everything like it's the first time.

I'm not sure if that's a bug or am I missing something.
If it is a bug, does it belong to rayo or does it belong to different component?

Thanks,
Ido

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: possible bug in ask and freeswitch

ik_5
I'ved created a POC, and can't reproduce it :(
But my dev machine uses difference FS version:
FreeSWITCH (Version 1.5.15b git 1a181f0 2015-02-20 18:05:23Z 64bit)

Going to investigate this further.

On Wed, Feb 18, 2015 at 11:04 PM, Ben Langfeld <[hidden email]> wrote:
Please file this with TRACE level logs on Github. If this is FreeSWITCH, please also provide debug level FreeSWITCH logs.

On 18 February 2015 at 16:59, ik <[hidden email]> wrote:
forgot to place logs and ahn version (2.6.0), logs:

[2015-02-18 20:37:56.733] DEBUG Adhearsion::Call: [hidden email]: Executing command #<Punchblock::Component::Input target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:56 +0200, request_id="bb3eac98-f48a-4908-a244-a690bb725edf", headers={}, max_silence=nil, min_confidence=nil, mode=:dtmf, recognizer=nil, language=nil, terminator=nil, sensitivity=nil, initial_timeout=nil, inter_digit_timeout=nil, recognition_timeout=nil, grammars=[#<Punchblock::Component::Input::Grammar target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:56 +0200, value=<grammar xmlns="http://www.w3.org/2001/06/grammar" version="1.0" xml:lang="en-US" mode="dtmf" root="inputdigits">
  <rule id="inputdigits" scope="public">
    <one-of>
      <item>0</item>
      <item>1</item>
      <item>2</item>
      <item>3</item>
      <item>4</item>
      <item>5</item>
      <item>6</item>
      <item>7</item>
      <item>8</item>
      <item>9</item>
      <item>#</item>
      <item>*</item>
    </one-of>
  </rule>
</grammar>, content_type="application/srgs+xml", url=nil>]>
[2015-02-18 20:37:59.371] DEBUG Adhearsion::Call: [hidden email]: Receiving message: #<Punchblock::Event::Complete target_call_id="e27e5df4-eba2-49a7-9068-929432e2fef2", target_mixer_name=nil, component_id="input-6", source_uri="xmpp:e27e5df4-eba2-49a7-9068-929432e2fef2@127.0.0.1/input-6", domain="127.0.0.1", transport="xmpp", timestamp=Wed, 18 Feb 2015 18:37:59 +0000, reason=#<Punchblock::Component::Input::Complete::Match target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, name=:match, content_type="application/nlsml+xml", nlsml=#<Nokogiri::XML::Element:0x2463e4c name="result" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Element:0x246ffa8 name="interpretation" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Element:0x246fb84 name="input" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> attributes=[#<Nokogiri::XML::Attr:0x246faf8 name="mode" value="dtmf">, #<Nokogiri::XML::Attr:0x246fae4 name="confidence" value="100">] children=[#<Nokogiri::XML::Text:0x246f198 "#">]>, #<Nokogiri::XML::Element:0x246ef54 name="instance" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Text:0x246ea68 "#">]>]>]>>, recording=nil, fax=nil, fax_metadata={}>
[2015-02-18 20:37:59.445] DEBUG Adhearsion::Call: [hidden email]: Receiving message: #<Punchblock::Event::Complete target_call_id="e27e5df4-eba2-49a7-9068-929432e2fef2", target_mixer_name=nil, component_id="output-5", source_uri="xmpp:e27e5df4-eba2-49a7-9068-929432e2fef2@127.0.0.1/output-5", domain="127.0.0.1", transport="xmpp", timestamp=Wed, 18 Feb 2015 18:37:59 +0000, reason=#<Punchblock::Event::Complete::Stop target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, name=:stop>, recording=nil, fax=nil, fax_metadata={}>
[2015-02-18 20:37:59.446] DEBUG Adhearsion::Call: [hidden email]: Executing command #<Punchblock::Component::Output target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, request_id="910e6322-af08-403a-b22b-bfb4a1f42239", headers={}, voice=nil, interrupt_on=nil, start_offset=nil, start_paused=nil, repeat_interval=nil, repeat_times=nil, max_time=nil, renderer=nil, render_documents=[#<Punchblock::Component::Output::Document target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, url=nil, content_type="application/ssml+xml", value=<speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="en-US">
  <audio src="11 - wrong id try again.wav"/>
</speak>>]>



On Wed, Feb 18, 2015 at 8:52 PM, ik <[hidden email]> wrote:
Hello,

I have a weird issue with the ask method.
I'm using it like so:

result = ask "recording.wav", terminator: '#', timeout: 5.seconds, limit: 10

If someone presses on '#' as the first char, it does not return from "ask" but restart everything like it's the first time.

I'm not sure if that's a bug or am I missing something.
If it is a bug, does it belong to rayo or does it belong to different component?

Thanks,
Ido

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: possible bug in ask and freeswitch

ik_5
The issue was an older adhearsion-ast on newer ahn, when updated it (bundle update), it was gone.
That's why I was unable to reproduce it.

Ido

On Fri, Feb 20, 2015 at 11:15 PM, ik <[hidden email]> wrote:
I'ved created a POC, and can't reproduce it :(
But my dev machine uses difference FS version:
FreeSWITCH (Version 1.5.15b git 1a181f0 2015-02-20 18:05:23Z 64bit)

Going to investigate this further.

On Wed, Feb 18, 2015 at 11:04 PM, Ben Langfeld <[hidden email]> wrote:
Please file this with TRACE level logs on Github. If this is FreeSWITCH, please also provide debug level FreeSWITCH logs.

On 18 February 2015 at 16:59, ik <[hidden email]> wrote:
forgot to place logs and ahn version (2.6.0), logs:

[2015-02-18 20:37:56.733] DEBUG Adhearsion::Call: [hidden email]: Executing command #<Punchblock::Component::Input target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:56 +0200, request_id="bb3eac98-f48a-4908-a244-a690bb725edf", headers={}, max_silence=nil, min_confidence=nil, mode=:dtmf, recognizer=nil, language=nil, terminator=nil, sensitivity=nil, initial_timeout=nil, inter_digit_timeout=nil, recognition_timeout=nil, grammars=[#<Punchblock::Component::Input::Grammar target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:56 +0200, value=<grammar xmlns="http://www.w3.org/2001/06/grammar" version="1.0" xml:lang="en-US" mode="dtmf" root="inputdigits">
  <rule id="inputdigits" scope="public">
    <one-of>
      <item>0</item>
      <item>1</item>
      <item>2</item>
      <item>3</item>
      <item>4</item>
      <item>5</item>
      <item>6</item>
      <item>7</item>
      <item>8</item>
      <item>9</item>
      <item>#</item>
      <item>*</item>
    </one-of>
  </rule>
</grammar>, content_type="application/srgs+xml", url=nil>]>
[2015-02-18 20:37:59.371] DEBUG Adhearsion::Call: [hidden email]: Receiving message: #<Punchblock::Event::Complete target_call_id="e27e5df4-eba2-49a7-9068-929432e2fef2", target_mixer_name=nil, component_id="input-6", source_uri="xmpp:e27e5df4-eba2-49a7-9068-929432e2fef2@127.0.0.1/input-6", domain="127.0.0.1", transport="xmpp", timestamp=Wed, 18 Feb 2015 18:37:59 +0000, reason=#<Punchblock::Component::Input::Complete::Match target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, name=:match, content_type="application/nlsml+xml", nlsml=#<Nokogiri::XML::Element:0x2463e4c name="result" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Element:0x246ffa8 name="interpretation" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Element:0x246fb84 name="input" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> attributes=[#<Nokogiri::XML::Attr:0x246faf8 name="mode" value="dtmf">, #<Nokogiri::XML::Attr:0x246fae4 name="confidence" value="100">] children=[#<Nokogiri::XML::Text:0x246f198 "#">]>, #<Nokogiri::XML::Element:0x246ef54 name="instance" namespace=#<Nokogiri::XML::Namespace:0x2463e10 href="http://www.ietf.org/xml/ns/mrcpv2"> children=[#<Nokogiri::XML::Text:0x246ea68 "#">]>]>]>>, recording=nil, fax=nil, fax_metadata={}>
[2015-02-18 20:37:59.445] DEBUG Adhearsion::Call: [hidden email]: Receiving message: #<Punchblock::Event::Complete target_call_id="e27e5df4-eba2-49a7-9068-929432e2fef2", target_mixer_name=nil, component_id="output-5", source_uri="xmpp:e27e5df4-eba2-49a7-9068-929432e2fef2@127.0.0.1/output-5", domain="127.0.0.1", transport="xmpp", timestamp=Wed, 18 Feb 2015 18:37:59 +0000, reason=#<Punchblock::Event::Complete::Stop target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, name=:stop>, recording=nil, fax=nil, fax_metadata={}>
[2015-02-18 20:37:59.446] DEBUG Adhearsion::Call: [hidden email]: Executing command #<Punchblock::Component::Output target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, request_id="910e6322-af08-403a-b22b-bfb4a1f42239", headers={}, voice=nil, interrupt_on=nil, start_offset=nil, start_paused=nil, repeat_interval=nil, repeat_times=nil, max_time=nil, renderer=nil, render_documents=[#<Punchblock::Component::Output::Document target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Wed, 18 Feb 2015 20:37:59 +0200, url=nil, content_type="application/ssml+xml", value=<speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="en-US">
  <audio src="11 - wrong id try again.wav"/>
</speak>>]>



On Wed, Feb 18, 2015 at 8:52 PM, ik <[hidden email]> wrote:
Hello,

I have a weird issue with the ask method.
I'm using it like so:

result = ask "recording.wav", terminator: '#', timeout: 5.seconds, limit: 10

If someone presses on '#' as the first char, it does not return from "ask" but restart everything like it's the first time.

I'm not sure if that's a bug or am I missing something.
If it is a bug, does it belong to rayo or does it belong to different component?

Thanks,
Ido

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.