<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>It looks to me like the inbound call hung up before you even hit the first DTMF tone on the radio side of things.<br>
</p>
<br>
<br>
<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> JJC <cummingsj@gmail.com><br>
<b>Sent:</b> Thursday, March 31, 2016 1:11 PM<br>
<b>To:</b> Jim Duuuude<br>
<b>Cc:</b> app_rpt-users@ohnosec.org<br>
<b>Subject:</b> Re: [App_rpt-users] Reverse AutoPatch</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>  == Parked SIP/<obfuscated>-76904e08 on 701@parkedcalls. Will timeout back to extension [custom-gv-answer] s, 2 in 45 seconds</div>
<div>    -- Added extension '701' priority 1 to parkedcalls</div>
<div>    -- Call Parking Called, lot: 701, timeout: 0, context: (null)</div>
<div>    -- Music class default requested but no musiconhold loaded.</div>
<div>    -- Music class default requested but no musiconhold loaded.</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'rpt/node' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/4' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/3' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/2' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/6' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/5' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'rpt/in-call' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/0' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/7' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/0' (language 'en')</div>
<div>    -- <DAHDI/pseudo-1661934131> Playing 'digits/1' (language 'en')</div>
<div>    -- Hungup 'DAHDI/pseudo-1661934131'</div>
<div>[Mar 31 14:09:08] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char * duration 84 ms</div>
<div>[Mar 31 14:09:08] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char 6 duration 85 ms</div>
<div>[Mar 31 14:09:09] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char 1 duration 86 ms</div>
<div>[Mar 31 14:09:09] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char 0 duration 85 ms</div>
<div>[Mar 31 14:09:10] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char 7 duration 86 ms</div>
<div>[Mar 31 14:09:10] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char 0 duration 84 ms</div>
<div>[Mar 31 14:09:10] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char 1 duration 127 ms</div>
<div>    -- Hungup 'DAHDI/pseudo-176387851'</div>
<div>
<div>  == SIP/<obfuscated>-76904e08 got tired of being parked</div>
<div>[Mar 31 14:09:23] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char * duration 86 ms</div>
<div>[Mar 31 14:09:23] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char 6 duration 79 ms</div>
<div>[Mar 31 14:09:24] NOTICE[577]: chan_usbradio.c:3064 usbradio_read: Got DTMF char 2 duration 106 ms</div>
<div>    -- Hungup 'DAHDI/pseudo-959605867'</div>
<div>    -- Hungup 'DAHDI/pseudo-1384624454'</div>
<div>    -- Hungup 'DAHDI/pseudo-1284356810'</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 31, 2016 at 2:05 PM, Jim Duuuude <span dir="ltr">
<<a href="mailto:telesistant@hotmail.com" target="_blank">telesistant@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Then it should be "*610701", since the autopatch acccess is *61, in your case.</p>
<p><br>
</p>
<p>Could you "set verbose 4", make a couple of calls, attempting to answer, and send me the output so</p>
<p>that I can see what it is doing?<br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> JJC <<a href="mailto:cummingsj@gmail.com" target="_blank">cummingsj@gmail.com</a>><br>
<b>Sent:</b> Thursday, March 31, 2016 9:08 AM
<div>
<div class="h5"><br>
<b>To:</b> Jim Duuuude<br>
<b>Cc:</b> <a href="mailto:app_rpt-users@ohnosec.org" target="_blank">app_rpt-users@ohnosec.org</a><br>
<b>Subject:</b> Re: [App_rpt-users] Reverse AutoPatch</div>
</div>
</font>
<div> </div>
</div>
<div>
<div class="h5">
<div>
<div dir="ltr">This is what I had thought from what I could find online.  My features.conf is the default and I have not modified the section of the extensions.conf.  I cannot find any stanza for the "parkedcalls" context reference in features.conf.  When the
 call comes in, the system does announce that there is an inbound call on the defined Node and extension of 0701.  I have tried also *610701 etc... just given that *61 brings autopatch up to dailtone..
<div><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<br>
$ grep '^6' *<br>
rpt.conf:61 = autopatchup,noct = 1,farenddisconnect = 1,dialtime = 20000  ; Autopatch up<br>
rpt.conf:62 = autopatchdn                                                 ; Autopatch down<br>
rpt.conf:67 = remote,210<span style="white-space:pre-wrap"> </span>; Send a *<br>
rpt.conf:69 = remote,211<span style="white-space:pre-wrap"> </span>; Send a #</blockquote>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<br>
$ grep -i park *<br>
chan_dahdi.conf:;   Also enables call parking (overrides the 'canpark' parameter)<br>
chan_dahdi.conf:; Allow call parking<br>
chan_dahdi.conf:; ('canpark=no' is overridden by 'transfer=yes')<br>
chan_dahdi.conf:canpark=yes<br>
extensions.conf:exten => s,1,Rpt(43265|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120) 75<br>
extensions.conf:exten = _07XX,1,Goto(parkedcalls|${EXTEN:1}|1)<br>
extensions.conf:exten => _1.,1,Rpt(${EXTEN:1}|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120)<br>
features.conf:; Sample Call Features (parking, transfer, etc) configuration<br>
features.conf:parkext => 700<span style="white-space:pre-wrap"> </span>; What extension to dial to park<br>
features.conf:parkpos => 701-720<span style="white-space:pre-wrap"> </span>; What extensions to park calls on. These needs to be<br>
features.conf:<span style="white-space:pre-wrap"> </span>; and increments with one for the next parked call.<br>
features.conf:context => parkedcalls<span style="white-space:pre-wrap"> </span>; Which context parked calls are in<br>
modules.conf:load => app_parkandannounce.so ;<span style="white-space:pre-wrap"> </span>
Call Parking and Announce Application</blockquote>
<div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
repeater*CLI> dialplan show custom-gv-answer<br>
[ Context 'custom-gv-answer' created by 'pbx_config' ]<br>
  's' =>            1. Rpt(43265|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120) [pbx_config]<br>
                    2. Hangup()                                   [pbx_config]<br>
-= 1 extension (2 priorities) in 1 context. =- </blockquote>
<div><br>
</div>
<div><features.conf></div>
<div>
<div>[general]</div>
<div>parkext => 700                  ; What extension to dial to park</div>
<div>parkpos => 701-720              ; What extensions to park calls on. These needs to be</div>
<div>                                ; numeric, as Asterisk starts from the start position</div>
<div>                                ; and increments with one for the next parked call.</div>
<div>context => parkedcalls          ; Which context parked calls are in</div>
</div>
<div><br>
</div>
<div><extensions.conf snip></div>
<div>
<div>[radio]</div>
<div>exten = _X11,1,Goto(check_route|${EXTEN}|1);</div>
<div>exten = _NXXXXXX,1,Goto(check_route|1${HOMENPA}${EXTEN}|1)</div>
<div>exten = _1XXXXXXXXXX,1,Goto(check_route|${EXTEN}|1)</div>
<div>exten = _07XX,1,Goto(parkedcalls|${EXTEN:1}|1)</div>
<div>exten = 00,1,Goto(my-ip|s|1)</div>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Mar 30, 2016 at 11:05 PM, Jim Duuuude <span dir="ltr">
<<a href="mailto:telesistant@hotmail.com" target="_blank">telesistant@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>701 is meant to un-park call parked in parking lot 1 in Asterisk.</p>
<p>If your autopatch access code is *6, then *6 plus what it tells</p>
<p>you to dial (0701) should work, if you have the call parking configured</p>
<p>correctly (see features.conf), and accessed in the autopatch's</p>
<p>Asterisk dialplan, as is in the default extensions.conf:</p>
<p><br>
</p>
<p>exten=_07XX,1,Goto(parkedcalls|${EXTEN:1}|1)<br>
</p>
<p><br>
</p>
<p>In the default config that is shipped with ACID, this is how it is set up</p>
<p>already.</p>
<p><br>
</p>
<p>Jim<br>
</p>
<p><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> JJC <<a href="mailto:cummingsj@gmail.com" target="_blank">cummingsj@gmail.com</a>><br>
<b>Sent:</b> Wednesday, March 30, 2016 8:25 PM
<div>
<div><br>
<b>To:</b> Jim Duuuude<br>
<b>Cc:</b> <a href="mailto:app_rpt-users@ohnosec.org" target="_blank">app_rpt-users@ohnosec.org</a><br>
<b>Subject:</b> Re: [App_rpt-users] Reverse AutoPatch</div>
</div>
</font>
<div> </div>
</div>
<div>
<div>
<div>
<div dir="ltr">It is now at the point where it announces there is an incoming call but none of the commands that I have found seem to be working.. trying:
<div><br>
</div>
<div>*60701</div>
<div>*6701</div>
<div><br>
</div>
<div>I also changed the extension from 701 to s with the same results (while removing the /701 from the register line), removed the Answer() directive</div>
<div><br>
</div>
<div><sip.conf></div>
<div>register=USER:<obfuscated>@THING/701<br>
</div>
<div><br>
</div>
<div>
<div>[THING]</div>
<div>type=peer</div>
<div>allowguest=yes</div>
<div>autocreatepeer=yes</div>
<div>insecure=port,invite</div>
<div>username=THING</div>
<div>secret=<obfuscated></div>
<div>host=<a href="http://gvgw.simonics.com" target="_blank">gvgw.simonics.com</a></div>
<div>qualify=no</div>
<div>allowexternaldomains=yes</div>
<div>context=custom-gv-answer<br>
</div>
</div>
<div><br>
</div>
<div><extensions.conf></div>
<div>
<div>[custom-gv-answer]</div>
<div>exten => 701,1,Answer()</div>
<div>exten => 701,n,Rpt(43265|Rrpt/node:NODE:rpt/in-call:digits/0:PARKED|120) 75</div>
<div>exten => 701,n,Hangup</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Mar 30, 2016 at 6:34 PM, JJC <span dir="ltr"><<a title="Ctrl+Click or tap to follow the link" href="mailto:cummingsj@gmail.com" target="_blank">cummingsj@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="auto">
<div>It's all one big mess, yes I did need that also.. It seems that when I make changes even to my reverse auto patch it affects the error that I noted.  Thanks for the info for sure!<br>
<br>
Sent from the iRoad</div>
<div>
<div>
<div><br>
On Mar 30, 2016, at 18:26, Jim Duuuude <<a href="mailto:telesistant@hotmail.com" target="_blank">telesistant@hotmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>No, that's a SIP problem, I thought you were needing info on the reverse autopatch.<br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> JJC <<a href="mailto:cummingsj@gmail.com" target="_blank">cummingsj@gmail.com</a>><br>
<b>Sent:</b> Wednesday, March 30, 2016 5:24 PM<br>
<b>To:</b> Jim Duuuude<br>
<b>Cc:</b> <a href="mailto:app_rpt-users@ohnosec.org" target="_blank">app_rpt-users@ohnosec.org</a><br>
<b>Subject:</b> Re: [App_rpt-users] Reverse AutoPatch</font>
<div> </div>
</div>
<div>
<div>This will address the "found no matching peer or user" error?<br>
<br>
Sent from the iRoad</div>
<div><br>
On Mar 30, 2016, at 17:10, Jim Duuuude <<a href="mailto:telesistant@hotmail.com" target="_blank">telesistant@hotmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div 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 style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b>
<a href="mailto:app_rpt-users-bounces@ohnosec.org" target="_blank">app_rpt-users-bounces@ohnosec.org</a> <<a href="mailto:app_rpt-users-bounces@ohnosec.org" target="_blank">app_rpt-users-bounces@ohnosec.org</a>> on behalf of JJC <<a href="mailto:cummingsj@gmail.com" target="_blank">cummingsj@gmail.com</a>><br>
<b>Sent:</b> Wednesday, March 30, 2016 3:21 PM<br>
<b>To:</b> <a href="mailto:app_rpt-users@ohnosec.org" target="_blank">app_rpt-users@ohnosec.org</a><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" target="_blank">
1939985154@198.199.84.66</a></div>
<div>Found no matching peer or user for '<a href="http://198.199.84.66:5060" target="_blank">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" target="_blank">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" target="_blank">gvgw.simonics.com</a></div>
<div>qualify=no</div>
<div>;permit=<a href="http://0.0.0.0/0.0.0.0" target="_blank">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>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>