Ticket #4520 (closed Bugs: duplicate)

Opened 1 year ago

Last modified 1 year ago

deprecated function split() sends junk to asterisk confusing dialparties.agi execution

Reported by: ianf Assigned to: p_lindheimer
Priority: major Milestone: 2.9
Component: Core Version: 2.8-branch
Keywords: dialparties.agi Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: Asterisk 1.6 Backend Engine Version:

Description

agi debug output during failed execution of dialparties.agi shows Deprecated function warnings being sent to asterisk and the resulting "510 Invalid or unknown command" returned from asterisk gets parsed into subsequent queries. This prevents the agi from working as expected:

[Aug 27 13:50:11] VERBOSE[54403] logger.c: <DAHDI/1-1>AGI Tx >> 510 Invalid or unknown command [Aug 27 13:50:11] VERBOSE[54403] logger.c: <DAHDI/1-1>AGI Rx << Deprecated: Function split() is deprecated in /usr/local/share/asterisk/agi-bin/dialparties.agi on line 765 [Aug 27 13:50:11] VERBOSE[54403] logger.c: <DAHDI/1-1>AGI Tx >> 510 Invalid or unknown command [Aug 27 13:50:11] VERBOSE[54403] logger.c: <DAHDI/1-1>AGI Rx << DATABASE GET "DEVICE" "/dial"

Patch to resolve the issue attached.

Ian

Attachments

dialparties.agi.patch (0.8 kB) - added by ianf on 09/02/10 10:14:20.

Change History

09/02/10 10:14:20 changed by ianf

  • attachment dialparties.agi.patch added.

09/02/10 12:20:58 changed by mickecarlsson

  • status changed from new to closed.
  • resolution set to duplicate.

Dupe of #4401