From: FERNANDO V. <fvi...@ya...> - 2006-03-28 02:22:01
|
My problem was with a consultation SQL and not with verbose, luckyly already I have solved it. In any case thanks Matthew. --- "Matthew A. Nicholson" <mni...@di...> wrote: > You have new line characters '\n' in your verbose > commands, that is what > is causing your problems. If you split multiple > lines into multiple > verbose commands, that should solve your problem. > > FERNANDO VILLARROEL wrote: > > hello not as it is the reason, but verbose me this > > throwing the following error, I stick the error to > > them: > > > > COMMAND: VERBOSE "Mensaje Bienvenida Convenio > Call > > Me S.A." 1 > > prepagocard/prepagocard.py|100|8000: Mensaje > > Bienvenida Convenio Call Me S.A. > > RESULT_LINE: 200 result=1 > > RESULT_DICT: {'result': ('1', '')} > > COMMAND: STREAM FILE cc-bienvenida-defecto "" > 0 > > RESULT_LINE: 200 result=0 endpos=18880 > > RESULT_DICT: {'result': ('0', ''), 'endpos': > > ('18880', '')} > > COMMAND: GET DATA cc-ingrese-numero-tarjeta > 2000 > > 255 > > -- Playing 'cc-ingrese-numero-tarjeta' > (language > > 'en') > > RESULT_LINE: 200 result=124 (timeout) > > RESULT_DICT: {'result': ('124', 'timeout')} > > COMMAND: VERBOSE "ERROR: syntax error en o > cerca > > de "[" at character 73 > > " 1 > > prepagocard/prepagocard.py|100|8000: ERROR: > syntax > > error en o cerca de [ at character 73 > > RESULT_LINE: 200 result=1 > > RESULT_DICT: {'result': ('1', '')} > > COMMAND: VERBOSE "La Tarjeta esta en uso en > este > > momento se cancela ejecucion" 1 > > prepagocard/prepagocard.py|100|8000: La Tarjeta > esta > > en uso en este momento se cancela ejecucion > > RESULT_LINE: 510 Invalid or unknown command > > Traceback (most recent call last): > > File > > > "/var/lib/asterisk/agi-bin/prepagocard/prepagocard.py", > > line 219, in ? > > ag.verbose('La Tarjeta esta en uso en este > momento > > se cancela ejecucion') > > File > "/var/lib/asterisk/agi-bin/prepagocard/agi.py", > > line 548, in verbose > > self.execute('VERBOSE', self._quote(message), > > level) > > File > "/var/lib/asterisk/agi-bin/prepagocard/agi.py", > > line 102, in execute > > return self.get_result() > > File > "/var/lib/asterisk/agi-bin/prepagocard/agi.py", > > line 146, in get_result > > raise AGIInvalidCommand(response) > > agi.AGIInvalidCommand: Invalid or unknown command > > -- AGI Script prepagocard/prepagocard.py > > completed, returning 0 > > == Auto fallthrough, channel 'SIP/100-d17f' > status > > is 'UNKNOWN' > > > > > > Thanks you for its suggestions. > > > > Fernando Villarroel N. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > > that extends applications into web and mobile > media. Attend the live webcast > > and join the prime developer group breaking into > this new coding territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Pyst-users mailing list > > Pys...@li... > > > https://lists.sourceforge.net/lists/listinfo/pyst-users > > -- > Matthew A. Nicholson > Digium > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Pyst-users mailing list > Pys...@li... > https://lists.sourceforge.net/lists/listinfo/pyst-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |