Thanks for your reply. I am using these scripts here:
so it actually should be 8000. Works fine from Freeppbx, but not with agi.