Re: [Asterisk-Users] can't get the full callerid php/agi

2004-03-21 Thread Sathya
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] You

Re: [Asterisk-Users] can't get the full callerid php/agi

2004-03-20 Thread David Croft
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 conf

[Asterisk-Users] can't get the full callerid php/agi

2004-03-20 Thread Sathya
Hi folks,   I need some help from php/agi experts out there;   I am having difficulties in extracting the callerid number from php. My script is given below;   #!/usr/local/bin/php -q //environment dump   ob_implicit_flush(true);set_time_limit(0);   $err=fopen("php://stderr","w");$in = fope