Increase agi buffer?

I’m trying to pass an XML string from dialplan to an agi script to parse then send a selection back. The CLI output show’s me it is being cut off, and when I run a dif data set it works the way I want it to. Can I increase the character or buffer limit in asterisk to allow me to do this, and if so, how do I do it. Thank you so much in advance, any help is much appreciated.

-- Launched AGI Script /var/lib/asterisk/agi-bin/outagecase.py

<SIP/test_zoiper-00000008>AGI Tx >> agi_request: outagecase.py
<SIP/test_zoiper-00000008>AGI Tx >> agi_channel: SIP/test_zoiper-00000008
<SIP/test_zoiper-00000008>AGI Tx >> agi_language: en
<SIP/test_zoiper-00000008>AGI Tx >> agi_type: SIP
<SIP/test_zoiper-00000008>AGI Tx >> agi_uniqueid: 1430417929.16
<SIP/test_zoiper-00000008>AGI Tx >> agi_version: 13.0.0-beta2
<SIP/test_zoiper-00000008>AGI Tx >> agi_callerid: test_zoiper
<SIP/test_zoiper-00000008>AGI Tx >> agi_calleridname: test_zoiper
<SIP/test_zoiper-00000008>AGI Tx >> agi_callingpres: 0
<SIP/test_zoiper-00000008>AGI Tx >> agi_callingani2: 0
<SIP/test_zoiper-00000008>AGI Tx >> agi_callington: 0
<SIP/test_zoiper-00000008>AGI Tx >> agi_callingtns: 0
<SIP/test_zoiper-00000008>AGI Tx >> agi_dnid: 200
<SIP/test_zoiper-00000008>AGI Tx >> agi_rdnis: unknown
<SIP/test_zoiper-00000008>AGI Tx >> agi_context: testcase
<SIP/test_zoiper-00000008>AGI Tx >> agi_extension: 211
<SIP/test_zoiper-00000008>AGI Tx >> agi_priority: 10
<SIP/test_zoiper-00000008>AGI Tx >> agi_enhanced: 0.0
<SIP/test_zoiper-00000008>AGI Tx >> agi_accountcode:
<SIP/test_zoiper-00000008>AGI Tx >> agi_threadid: 139799868184320
<SIP/test_zoiper-00000008>AGI Tx >>
<SIP/test_zoiper-00000008>AGI Rx << VERBOSE “python agi started” 1
outagecase.py: python agi started
<SIP/test_zoiper-00000008>AGI Tx >> 200 result=1
<SIP/test_zoiper-00000008>AGI Rx << GET VARIABLE “phil”

<SIP/test_zoiper-00000008>AGI Tx >> 200 result=1 (<?xml version="1.0" encoding="UTF-8" ?>CUST_ID0DB52517-F703-4F48-BE50-0A57253D3AA0CUST_PHONE9795562317CUST_ACNT2889101CUST_TTS_ADDR2 69 greenbriarCUST_ID0A0867FA-C08A-4D03-8347-4EFA98F21147CUST_PHONE9795562317CUST_ACNT1036601CUST_TTS_ADDR2 7 0 5 2, pecos ranch roadCUST_IDACC5DDAB-A04E-4BA6-B0CE-571CF63EBF56CUST_PHONE9795562317CUST_ACNT2984200CUST_TTS_ADDR<v)

<SIP/test_zoiper-00000008>AGI Rx << VERBOSE “GOT VARIABLE” 1