[Freeswitch-users] BUG BUG -- mod_spidermonkey or mod_spidermonkey or mod_curl --- BUG BUG???

Shamun toha md shamun.toha at gmail.com
Tue Oct 12 16:04:38 PDT 2010


Never mind its solved. It was receiving 4 length instead of 2.

class iCanSolveNasaProblemsLolController extends Zend_Controller_Action
{

  public function init()
  {
    $this->_helper->layout()->disableLayout();
    $this->_helper->viewRenderer->setNoRender();
    //$this->getHelper('layout')->disableLayout();
    //$this->getHelper('ViewRenderer')->setNoRender();
    //Zend_Controller_Action_HelperBroker::removeHelper('Layout');
    $a = 'OK';

    $this->getResponse()
         ->setHeader('Content-Type', 'application/text')
         ->setBody($a)
         ->sendResponse();
    exit;
  }


}


On Wed, Oct 13, 2010 at 12:52 AM, Shamun toha md <shamun.toha at gmail.com>wrote:

> Hello,
>
>
> I am almost 2 week on the same script and same problem.  It gets OK, and
> then automatically hangup the call, instead of moving/transfer the call to
> somewhere else.
>
> **In fedora 12, the same script same setup is working 100% accurate. Then i
> installed it to CentOS 5.5, there it doesnt work. What is the problem,
> please advise kindly.
>
> Should work:
> ===========
> Here you can see i am receiving 'OK' via curl 2010-10-13 00:39:04.570826
> [INFO] conference.js:45 OK
> Normally it should now execute this:
>
> function my_callback(string,arg)
> {
>   console_log("info", string);
>
>    session.sayPhrase("valid", menuselection, "en");
>    session.setVariable("myroom", menuselection);
>    session.execute("conference" , menuselection, "en");
>
>
>
>   return true;
> }
>
>
> Debug:
> =======
>
> 2010-10-13 00:38:46.946636 [DEBUG] switch_ivr_play_say.c:244 Handle
> speak-text:[Enter your room number.] (en:en)
> 2010-10-13 00:38:46.946636 [DEBUG] switch_ivr_play_say.c:2160 OPEN TTS
> cepstral
> 2010-10-13 00:38:46.946636 [DEBUG] switch_ivr_play_say.c:2169 Raw Codec
> Activated
>
>
> 2010-10-13 00:38:46.947636 [DEBUG] switch_ivr_play_say.c:1878 Speaking
> text: Enter your room number.
> 2010-10-13 00:38:58.046751 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF 3:800
> 2010-10-13 00:38:58.046751 [DEBUG] conference.js:126 digit: 3
> 2010-10-13 00:38:58.626757 [DEBUG] switch_ivr_play_say.c:2050 done speaking
> text
> 2010-10-13 00:38:58.726760 [DEBUG] conference.js:140 Prompt
> done=[DialByNumberMenu] Collected 1 digits [3]
>
>
> 2010-10-13 00:38:58.907732 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF 2:800
> 2010-10-13 00:38:59.767758 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF 3:800
> 2010-10-13 00:39:00.546774 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF 2:800
> 2010-10-13 00:39:01.986791 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF 9:800
> 2010-10-13 00:39:02.727801 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF 8:800
> 2010-10-13 00:39:03.626796 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF 2:800
> 2010-10-13 00:39:04.366833 [DEBUG] switch_rtp.c:2902 RTP RECV DTMF 1:800
> 2010-10-13 00:39:04.366833 [DEBUG] mod_spidermonkey_curl.c:182 Running:
> method: [POST] url: [http://portal.x86_64.com/conference/query] data:
> [room=32329821&security=___whyyoudothis___] cred=[] cb: [yes]
> 2010-10-13 00:39:04.570826 [INFO] conference.js:45 OK
>
>
>
>
> 2010-10-13 00:39:04.576826 [DEBUG] switch_ivr_play_say.c:244 Handle
> execute:[sleep(500)] (en:en)
> EXECUTE sofia/internal/1002 at 3.x86_64.com sleep(500)
> 2010-10-13 00:39:05.206844 [DEBUG] switch_ivr_play_say.c:244 Handle
> speak-text:[Room number is invalid, Please try again.] (en:en)
>
>
> 2010-10-13 00:39:05.206844 [DEBUG] switch_ivr_play_say.c:2160 OPEN TTS
> cepstral
> 2010-10-13 00:39:05.206844 [DEBUG] switch_ivr_play_say.c:2169 Raw Codec
> Activated
> 2010-10-13 00:39:05.207837 [DEBUG] switch_ivr_play_say.c:1878 Speaking
> text: Room number is invalid, Please try again.
> 2010-10-13 00:39:18.606958 [DEBUG] switch_ivr_play_say.c:2050 done speaking
> text
> 2010-10-13 00:39:18.707961 [NOTICE] switch_core_state_machine.c:185
> sofia/internal/1002 at 3.x86_64.com has executed the last dialplan
> instruction, hanging up.
> 2010-10-13 00:39:18.707961 [DEBUG] switch_channel.c:2357 (sofia/internal/
> 1002 at 3.x86_64.com) Callstate Change ACTIVE -> HANGUP
>
>
> 2010-10-13 00:39:18.707961 [NOTICE] switch_core_state_machine.c:187 Hangup
> sofia/internal/1002 at 3.x86_64.com [CS_EXECUTE] [NORMAL_CLEARING]
> 2010-10-13 00:39:18.707961 [DEBUG] switch_channel.c:2373 Send signal
> sofia/internal/1002 at 3.x86_64.com [KILL]
> 2010-10-13 00:39:18.707961 [DEBUG] switch_core_session.c:1047 Send signal
> sofia/internal/1002 at 3.x86_64.com [BREAK]
> 2010-10-13 00:39:18.707961 [DEBUG] switch_core_state_machine.c:348
> (sofia/internal/1002 at 3.x86_64.com) State EXECUTE going to sleep
> 2010-10-13 00:39:18.707961 [DEBUG] switch_core_state_machine.c:314
> (sofia/internal/1002 at 3.x86_64.com) Running State Change CS_HANGUP
> 2010-10-13 00:39:18.707961 [DEBUG] switch_core_state_machine.c:535
> (sofia/internal/1002 at 3.x86_64.com) State HANGUP
> 2010-10-13 00:39:18.707961 [DEBUG] mod_sofia.c:457 Channel sofia/internal/
> 1002 at 3.x86_64.com hanging up, cause: NORMAL_CLEARING
> 2010-10-13 00:39:18.723960 [DEBUG] mod_sofia.c:500 Sending BYE to
> sofia/internal/1002 at 3.x86_64.com
> 2010-10-13 00:39:18.723960 [DEBUG] switch_core_state_machine.c:46
> sofia/internal/1002 at 3.x86_64.com Standard HANGUP, cause: NORMAL_CLEARING
> 2010-10-13 00:39:18.723960 [DEBUG] switch_core_state_machine.c:535
> (sofia/internal/1002 at 3.x86_64.com) State HANGUP going to sleep
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_state_machine.c:333
> (sofia/internal/1002 at 3.x86_64.com) State Change CS_HANGUP -> CS_REPORTING
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_session.c:1047 Send signal
> sofia/internal/1002 at 3.x86_64.com [BREAK]
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_state_machine.c:314
> (sofia/internal/1002 at 3.x86_64.com) Running State Change CS_REPORTING
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_state_machine.c:595
> (sofia/internal/1002 at 3.x86_64.com) State REPORTING
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_state_machine.c:53
> sofia/internal/1002 at 3.x86_64.com Standard REPORTING, cause:
> NORMAL_CLEARING
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_state_machine.c:595
> (sofia/internal/1002 at 3.x86_64.com) State REPORTING going to sleep
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_state_machine.c:327
> (sofia/internal/1002 at 3.x86_64.com) State Change CS_REPORTING -> CS_DESTROY
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_session.c:1047 Send signal
> sofia/internal/1002 at 3.x86_64.com [BREAK]
> 2010-10-13 00:39:18.724961 [DEBUG] switch_core_session.c:1210 Session 10
> (sofia/internal/1002 at 3.x86_64.com) Locked, Waiting on external entities
> 2010-10-13 00:39:18.724961 [NOTICE] switch_core_session.c:1228 Session 10
> (sofia/internal/1002 at 3.x86_64.com) Ended
> 2010-10-13 00:39:18.724961 [NOTICE] switch_core_session.c:1230 Close
> Channel sofia/internal/1002 at 3.x86_64.com [CS_DESTROY]
> 2010-10-13 00:39:18.725963 [DEBUG] switch_core_state_machine.c:427
> (sofia/internal/1002 at 3.x86_64.com) Callstate Change HANGUP -> DOWN
> 2010-10-13 00:39:18.725963 [DEBUG] switch_core_state_machine.c:430
> (sofia/internal/1002 at 3.x86_64.com) Running State Change CS_DESTROY
> 2010-10-13 00:39:18.725963 [DEBUG] switch_core_state_machine.c:440
> (sofia/internal/1002 at 3.x86_64.com) State DESTROY
> 2010-10-13 00:39:18.725963 [DEBUG] mod_sofia.c:362 sofia/internal/
> 1002 at 3.x86_64.com SOFIA DESTROY
> 2010-10-13 00:39:18.725963 [DEBUG] switch_core_state_machine.c:60
> sofia/internal/1002 at 3.x86_64.com Standard DESTROY
> 2010-10-13 00:39:18.725963 [DEBUG] switch_core_state_machine.c:440
> (sofia/internal/1002 at 3.x86_64.com) State DESTROY going to sleep
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101013/dc04de81/attachment.html 


More information about the FreeSWITCH-users mailing list