Summary: | ASTERISK-17015: [patch] const timeout = 30 makes app_originate pretty useless | ||
Reporter: | Jacco van Tuijl (jacco) | Labels: | |
Date Opened: | 2010-11-24 07:45:57.000-0600 | Date Closed: | 2012-09-05 09:24:24 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/NewFeature |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_originate_longer_timeout.diff ( 1) app_originate_timeout.patch | |
Description: | It would be nice if one could specify the timeout in an extra argument. | ||
Comments: | By: Paul Belanger (pabelanger) 2010-11-24 08:52:33.000-0600 Patches welcome By: Jacco van Tuijl (jacco) 2011-03-24 09:42:10 I made a patch to change the hardcoded timeout from 30seconds to 36000seconds That will do for me By: Jacco van Tuijl (jacco) 2011-07-06 05:00:41.791-0500 -= Info about application 'Originate' =- [Synopsis] Originate a call. [Description] This application originates an outbound call and connects it to a specified extension or application. This application will block until the outgoing call fails or gets answered. At that point, this application will exit with the status variable set and dialplan processing will continue. This application sets the following channel variable before exiting: ${ORIGINATE_STATUS}: This indicates the result of the call origination. FAILED SUCCESS BUSY CONGESTION HANGUP RINGING UNKNOWN: In practice, you should never see this value. Please report it to the issue tracker if you ever see it. [Syntax] Originate(tech_data,type,arg1[,arg2[,arg3[,timeout]]]) [Arguments] tech_data Channel technology and data for creating the outbound channel. For example, SIP/1234. type This should be 'app' or 'exten', depending on whether the outbound channel should be connected to an application or extension. arg1 If the type is 'app', then this is the application name. If the type is 'exten', then this is the context that the channel will be sent to. arg2 If the type is 'app', then this is the data passed as arguments to the application. If the type is 'exten', then this is the extension that the channel will be sent to. arg3 If the type is 'exten', then this is the priority that the channel is sent to. If the type is 'app', then this parameter is ignored. timeout Timeout in seconds. Default is 30 seconds. By: Jacco van Tuijl (jacco) 2011-07-06 05:00:50.416-0500 -= Info about application 'Originate' =- [Synopsis] Originate a call. [Description] This application originates an outbound call and connects it to a specified extension or application. This application will block until the outgoing call fails or gets answered. At that point, this application will exit with the status variable set and dialplan processing will continue. This application sets the following channel variable before exiting: ${ORIGINATE_STATUS}: This indicates the result of the call origination. FAILED SUCCESS BUSY CONGESTION HANGUP RINGING UNKNOWN: In practice, you should never see this value. Please report it to the issue tracker if you ever see it. [Syntax] Originate(tech_data,type,arg1[,arg2[,arg3[,timeout]]]) [Arguments] tech_data Channel technology and data for creating the outbound channel. For example, SIP/1234. type This should be 'app' or 'exten', depending on whether the outbound channel should be connected to an application or extension. arg1 If the type is 'app', then this is the application name. If the type is 'exten', then this is the context that the channel will be sent to. arg2 If the type is 'app', then this is the data passed as arguments to the application. If the type is 'exten', then this is the extension that the channel will be sent to. arg3 If the type is 'exten', then this is the priority that the channel is sent to. If the type is 'app', then this parameter is ignored. timeout Timeout in seconds. Default is 30 seconds. By: Matt Jordan (mjordan) 2012-09-05 09:24:24.227-0500 Looks like this was committed some time ago, as the Originate application supports the timeout documented in this issue. |