I have the following command it it works great. I run it from a php script
"asterisk -rx 'originate SIP/502 extension 9544791527@from-internal'"
It call my extension and then connects me to the phone number specified
I need it to instead of calling my extension to put it into a queue wait for someone to pick up and then connect t the phone number!