Hang up the call x seconds after the called party has
@@ -391,8 +393,8 @@ ASTERISK_REGISTER_FILE()
- Force the outgoing callerid tag parameter to be set to the string x.
- Works with the f option.
+ Force the outgoing CallerID tag parameter to be set to the string x.
+ Works with the f option.
Allow the called party to transfer the calling party by sending the
@@ -406,15 +408,15 @@ ASTERISK_REGISTER_FILE()
- Name of the subroutine to execute via Gosub
+ Name of the subroutine to execute via Gosub
- Arguments for the Gosub routine
+ Arguments for the Gosub routine
- Execute via Gosub the routine x for the called channel before connecting
- to the calling channel. Arguments can be specified to the Gosub
- using ^ as a delimiter. The Gosub routine can set the variable
- GOSUB_RESULT to specify the following actions after the Gosub returns.
+ Execute via Gosub the routine x for the called channel before connecting
+ to the calling channel. Arguments can be specified to the Gosub
+ using ^ as a delimiter. The Gosub routine can set the variable
+ GOSUB_RESULT to specify the following actions after the Gosub returns.
@@ -438,7 +440,7 @@ ASTERISK_REGISTER_FILE()
You cannot use any additional action post answer options in conjunction
with this option. Also, pbx services are run on the peer (called) channel,
- so you will not be able to set timeouts via the TIMEOUT() function in this routine.
+ so you will not be able to set timeouts via the TIMEOUT() function in this routine.
@@ -455,7 +457,7 @@ ASTERISK_REGISTER_FILE()
prohibunavailable
- Works with the f option.
+ Works with the f option.
Allow the called party to enable recording of the call by sending
@@ -497,11 +499,59 @@ ASTERISK_REGISTER_FILE()
hangs up, or if the call is bridged and either of the parties in the bridge
ends the call.If the OUTBOUND_GROUP variable is set, all peer channels created by this
- application will be put into that group (as in Set(GROUP()=...).
+ application will be put into that group (as in Set(GROUP()=...).
If the OUTBOUND_GROUP_ONCE variable is set, all peer channels created by this
- application will be put into that group (as in Set(GROUP()=...). Unlike OUTBOUND_GROUP,
+ application will be put into that group (as in Set(GROUP()=...). Unlike OUTBOUND_GROUP,
however, the variable will be unset after use.
+
+ same => n,Dial(PJSIP/alice,30)
+
+
+ same => n,Dial(PJSIP/alice&PJIP/bob,45)
+
+
+ same => n,Dial(PJSIP/alice,,g)
+ same => n,Log(NOTICE, Alice call result: ${DIALSTATUS})
+
+
+ same => n,Dial(PJSIP/alice,,TX)
+
+
+ same => n,Dial(PJSIP/alice,,L(60000:30000:10000))
+
+
+ [default]
+
+ exten => callee_channel,1,NoOp()
+ same => n,Log(NOTICE, I'm called on channel ${CHANNEL} prior to it starting the dial attempt)
+ same => n,Return()
+
+ exten => called_channel,1,NoOp()
+ same => n,Log(NOTICE, I'm called on outbound channel ${CHANNEL} prior to it being used to dial someone)
+ same => n,Return()
+
+ exten => _X.,1,NoOp()
+ same => n,Dial(PJSIP/alice,,b(default^called_channel^1)B(default^callee_channel^1))
+ same => n,Hangup()
+
+
+ [default]
+
+ exten => called_channel,1,NoOp()
+ same => n,Playback(hello)
+ same => n,Return()
+
+ exten => _X.,1,NoOp()
+ same => n,Dial(PJSIP/alice,,U(default^called_channel^1))
+ same => n,Hangup()
+
+
+ same => n,Dial(PJSIP/alice,,G(jump_to_here))
+ same => n(jump_to_here),Goto(confbridge)
+ same => n,Goto(confbridge)
+ same => n(confbridge),ConfBridge(${EXTEN})
+ This application sets the following channel variables:
@@ -510,6 +560,15 @@ ASTERISK_REGISTER_FILE()
This is the amount of time for actual call.
+
+ The name of the outbound channel that answered the call.
+
+
+ The number that was dialed for the answered outbound channel.
+
+
+ If a call forward occurred, the name of the forwarded channel.
+ This is the status of the call
@@ -530,6 +589,12 @@ ASTERISK_REGISTER_FILE()
+
+ RetryDial
+ SendDTMF
+ Gosub
+ Macro
+
@@ -562,6 +627,9 @@ ASTERISK_REGISTER_FILE()
The dialargs are specified in the same format that arguments are provided
to the Dial application.
+
+ Dial
+
***/