<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>A real, live example is in extensions.conf, just after the beginning of the [allstar-sys] stanza:</p>
<p><br>
</p>
<p>exten => _1.,1,Rpt(${EXTEN:1}|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120) 75</p>
<p>exten => _1.,n,Hangup</p>
<p><br>
</p>
<p>In this case, it is passed 1 plus the node number as an extension. If you replace "${EXTEN:1}" with your node</p>
<p>number it should work.</p>
<p><br>
</p>
<p>Jim</p>
<p><br>
</p>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> app_rpt-users-bounces@ohnosec.org <app_rpt-users-bounces@ohnosec.org> on behalf of JJC <cummingsj@gmail.com><br>
<b>Sent:</b> Wednesday, March 30, 2016 3:21 PM<br>
<b>To:</b> app_rpt-users@ohnosec.org<br>
<b>Subject:</b> [App_rpt-users] Reverse AutoPatch</font>
<div> </div>
</div>
<div>
<div dir="ltr">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.
<div><br>
</div>
<div>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....</div>
<div><br>
</div>
<div>If I make any real changes to the stanza in extensions.conf I get an error like:</div>
<div>
<div>Using INVITE request as basis request - <a href="mailto:1939985154@198.199.84.66">
1939985154@198.199.84.66</a></div>
<div>Found no matching peer or user for '<a href="http://198.199.84.66:5060">198.199.84.66:5060</a>'</div>
<div>[Mar 30 16:15:32] NOTICE[575]: chan_sip.c:14351 handle_request_invite: Failed to authenticate user "Caller ID Strings..."</div>
</div>
<div><br>
</div>
<div><sip.conf></div>
<div>
<div>[general]</div>
<div>allowguest = no</div>
<div>match_auth_username=yes</div>
<div>register=<a href="http://REDACTED:XXXXXX@gvgw.simonics.com/2230">REDACTED:XXXXXX@gvgw.simonics.com/2230</a></div>
<div><br>
</div>
<div>context = default</div>
<div>allowoverlap = no               ; Disable overlap dialing support. (Default is yes)<br>
</div>
<div>bindport = 5060                 ; UDP Port to bind to (SIP standard port is 5060)</div>
<div>bindaddr = 0.0.0.0              ; IP address to bind to (0.0.0.0 binds to all)</div>
<div>srvlookup = yes                 ; Enable DNS SRV lookups on outbound calls</div>
<div><br>
</div>
<div><br>
</div>
<div>[GV17193576518]</div>
<div>type=friend</div>
<div>autocreatepeer=yes</div>
<div>insecure=port,invite</div>
<div>username=REDACTED</div>
<div>secret=XXXXXXX</div>
<div>host=<a href="http://gvgw.simonics.com">gvgw.simonics.com</a></div>
<div>qualify=no</div>
<div>;permit=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a></div>
<div>context=custom-gv-answer</div>
</div>
<div><br>
</div>
<div><extensions.conf></div>
<div>
<div>[custom-gv-answer]</div>
<div>exten => 2230,1,Answer()</div>
<div>exten => 2230,n,Playback(rpt/node)<br>
</div>
<div>exten => 2230,n,Saydigits(${EXTEN:1})</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>