A real, live example is in extensions.conf, just after the beginning of the [allstar-sys] stanza:


exten => _1.,1,Rpt(${EXTEN:1}|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120) 75

exten => _1.,n,Hangup


In this case, it is passed 1 plus the node number as an extension. If you replace "${EXTEN:1}" with your node

number it should work.


Jim



From: app_rpt-users-bounces@ohnosec.org <app_rpt-users-bounces@ohnosec.org> on behalf of JJC <cummingsj@gmail.com>
Sent: Wednesday, March 30, 2016 3:21 PM
To: app_rpt-users@ohnosec.org
Subject: [App_rpt-users] Reverse AutoPatch
 
I have scoured the internet to find documentation about reverse autopatch but have had no luck.  I have been able to get autopatch working without a problem and have had _limited_ success in getting allstar(dial) to answer.

I was able to get allstar to answer and allow me to run DTMF with the following, but really all that I want is reverse autopatch or both....

If I make any real changes to the stanza in extensions.conf I get an error like:
Using INVITE request as basis request - 1939985154@198.199.84.66
Found no matching peer or user for '198.199.84.66:5060'
[Mar 30 16:15:32] NOTICE[575]: chan_sip.c:14351 handle_request_invite: Failed to authenticate user "Caller ID Strings..."

<sip.conf>
[general]
allowguest = no
match_auth_username=yes

context = default
allowoverlap = no               ; Disable overlap dialing support. (Default is yes)
bindport = 5060                 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr = 0.0.0.0              ; IP address to bind to (0.0.0.0 binds to all)
srvlookup = yes                 ; Enable DNS SRV lookups on outbound calls


[GV17193576518]
type=friend
autocreatepeer=yes
insecure=port,invite
username=REDACTED
secret=XXXXXXX
qualify=no
context=custom-gv-answer

<extensions.conf>
[custom-gv-answer]
exten => 2230,1,Answer()
exten => 2230,n,Playback(rpt/node)
exten => 2230,n,Saydigits(${EXTEN:1})