Re: [asterisk-users] AGI command

2013-01-20 Thread Muhammad
Thanks Salman. Here is my cli debug when run agi: -- Launched AGI Script /var/lib/asterisk/agi-bin/testAGI.php -- SIP/101-0007AGI Script testAGI.php completed, returning 0 and here is my php agi source code: #!/usr/bin/php -q ?php error_reporting(E_ALL); ob_implicit_flush(false);

Re: [asterisk-users] AGI command

2013-01-20 Thread Eric Wieling
Stop Asterisk. Start Asterisk as asterisk -cvvvd then in the CLI issue the command agi set debug on. Starting Asterisk as this command will make it run in the foreground and show you STDERR. You do not normally get to see STDERR when running AGIs in Asterisk.Since Asterisk is running in

Re: [asterisk-users] AGI command

2013-01-20 Thread Chris Bagnall
On 20/1/13 4:15 pm, Eric Wieling wrote: Personally, I use the PHPAGI library and don't worry about all the low level stuff. This. It also gives you a nice logging function you can use to output debug information to the asterisk CLI so you don't have to kill and start asterisk interactively.

[asterisk-users] Does Asterisk support remove header from sip message?

2013-01-20 Thread Ding Peng
Hi, all, I need remove some header from sip message, such as removing the privacy:id from receiving INVITE and sending out? Is there any method to do that? Thanks in advance. Ding Peng -- _ -- Bandwidth and

Re: [asterisk-users] Does Asterisk support remove header from sip message?

2013-01-20 Thread Stefan Schmidt
Am 21.01.13 08:22, schrieb Ding Peng: Hi, all, I need remove some header from sip message, such as removing the privacy:id from receiving INVITE and sending out? Is there any method to do that? Thanks in advance. Ding Peng Hello, core show application SipRemoveHeader should do what