elastix
Information
Community
Developers
What We Sell
Forums
Addons
Download
Information
Community
Social Networks
For Developers
Manufacturer Support
Appliances
Training & Certification

Asterisk Command Help

Problems and announcements related to Asterisk

Asterisk Command Help

Postby gbrogna » Thu Jul 11, 2013 6:07 pm

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!

Any thoughts
gbrogna
Fresh Boarder
Fresh Boarder
 
Posts: 10
Joined: Mon Jun 17, 2013 7:12 am
Karma: 0

Re: Asterisk Command Help

Postby mbit » Thu Jul 11, 2013 9:09 pm

Where you have SIP/502 try Local/queuenumber
mbit
Senior Boarder
Senior Boarder
 
Posts: 450
Joined: Wed Jul 04, 2007 12:41 am
Karma: 12

Re:Asterisk Command Help

Postby gbrogna » Fri Jul 12, 2013 7:19 am

Thanks for the reply!

Tried no results. It just goes nowhere. Nothing in my CDR report. What report do I look in to see what happening or any other suggestion?
gbrogna
Fresh Boarder
Fresh Boarder
 
Posts: 10
Joined: Mon Jun 17, 2013 7:12 am
Karma: 0

Re:Asterisk Command Help

Postby gbrogna » Fri Jul 12, 2013 7:23 am

2 08:22:20 VERBOSE [2985] asterisk.c: -- Remote UNIX connection
Jul 12 08:22:20 NOTICE [3724] chan_local.c: No such extension/context 501@default while calling Local channel
Jul 12 08:22:20 NOTICE [3724] channel.c:Unable to call channel Local/501
Jul 12 08:22:20 VERBOSE [3724] asterisk.c:-- Remote UNIX connection disconnected
gbrogna
Fresh Boarder
Fresh Boarder
 
Posts: 10
Joined: Mon Jun 17, 2013 7:12 am
Karma: 0

Re: Asterisk Command Help

Postby Jeremy Salmon » Fri Aug 02, 2013 5:59 am

9544791527 is an external number ? Call via SIP ? DAHDI ?

If SIP try

Code: [Select all] [Expand/Collapse] [Download] (Untitled.txt)
originate SIP/<<your_sip_trunk>>/9544791527 app queue <<QUEUE_NUMBER>>
GeSHi ©


If DAHDI try

Code: [Select all] [Expand/Collapse] [Download] (Untitled.txt)
originate DAHDI/<<dahdi group (ex:g1)>>/9544791527 app queue <<QUEUE_NUMBER>>
GeSHi ©
Jeremy Salmon
Fresh Boarder
Fresh Boarder
 
Posts: 26
Joined: Fri Aug 02, 2013 3:51 am
Karma: 0


Return to Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest