Hi David,

Thanks, yes that was the problem.

Really appreciate your tip.

Cheers

Sathya


From: David Croft <[EMAIL PROTECTED]>
Organization: Sargasso Networks
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] can't get the full callerid php/agi
Reply-To: [EMAIL PROTECTED]
Your script is receiving the data correctly, as you will see if you
actually dump that data to a file rather than back to the asterisk console.
The problem is actually in your VERBOSE statement. You are passing back
this string:
VERBOSE ""Sathya Weerasooriya" <1001>"
Naturally asterisk is confused by this quote nesting. Try this line instead:
echo "VERBOSE \"".str_replace("\"", "\\\"", $temp)."\"\n";
David


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to