<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body><div style="font-family:Helvetica,Arial;font-size:13px; ">Sorry to nudge...</div> <br> <div class="gmail_signature" ></div> <div class="airmail_ext_on" style="color:black"><br>From: <span style="color:black">Rick Jarvis</span> <a href="mailto:rick@magicmail.mooo.com"><rick@magicmail.mooo.com></a><br>Reply: <span style="color:black">Rick Jarvis</span> <a href="mailto:rick@magicmail.mooo.com"><rick@magicmail.mooo.com></a><br>Date: <span style="color:black">25 February 2019 at 23:04:17</span><br>To: <span style="color:black">FreeSWITCH Users Help</span> <a href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>Subject: <span style="color:black"> Re: [Freeswitch-users] Variable no longer showing in channels <br></span></div><br> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>




<title></title>


<div style="font-family:Helvetica,Arial;font-size:13px;">Sorry
Mike, can you expand on that? It was all working fine before, so
I’m not sure either what “has changed” or what “needs to change”,
if you see what I mean!</div>
<br>
<div class="gmail_signature"></div>
<div class="airmail_ext_on" style="color:black"><br>
From: <span style="color:black">Mike Jerris</span> <a href="mailto:mike@freeswitch.org"><mike@freeswitch.org></a><br>
Reply: <span style="color:black">FreeSWITCH Users Help</span>
<a href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>

Date: <span style="color:black">25 February 2019 at
21:08:18</span><br>
To: <span style="color:black">FreeSWITCH Users Help</span>
<a href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>

Subject:  <span style="color:black">Re: [Freeswitch-users]
Variable no longer showing in channels<br></span></div>
<br>
<blockquote type="cite" class="clean_bq">
<div class="">
<div><span>The dial plan is parsed and extensions created, and then
they are run.  The ${callsubject} in your log line is
evaluated in routing state, before httapi is run in execute
state</span>
<div class="">
<div><span><br class=""></span>
<blockquote type="cite" class="">
<div class=""><span>On Feb 25, 2019, at 12:08 PM, Rick Jarvis
<<a href="mailto:rick@magicmail.mooo.com" class="">rick@magicmail.mooo.com</a>> wrote:</span></div>
<span><br class="Apple-interchange-newline"></span>
<div class="">
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span>I got this working (with the help of this list) some
time ago, but for some reason it seems to have stopped
working.</span></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span><br class=""></span></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span>I’m setting a variable ‘callsubject’ in the dialplan
via httapi, for which I added a column in the channels
table:</span></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span><br class=""></span></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span><span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;" class="">ALTER TABLE channels ADD COLUMN callsubject
VARCHAR(256)</span></span></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(47, 180, 29); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: rgb(242, 242, 242);" class=""> </span></p>
<div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(47, 180, 29); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: rgb(242, 242, 242);" class="">      </span><span style="font-variant-ligatures: no-common-ligatures; color: rgb(46, 174, 187);" class=""><action</span><span style="font-variant-ligatures: no-common-ligatures;" class=""><span class="Apple-converted-space"> </span>application="httapi"
data="{url=<a href="https://server/$%7Bdestination_number%7D%7D%E2%80%9D/" class="">https://server/${destination_number}}”/</a></span><span style="font-variant-ligatures: no-common-ligatures; color: rgb(46, 174, 187);" class="">> <!-- gets variable callsubject as ’test’, amongst
other stuff --></span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(47, 180, 29); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: rgb(242, 242, 242);" class="">     <span class="Apple-converted-space"> </span></span><span style="font-variant-ligatures: no-common-ligatures; color: rgb(46, 174, 187);" class=""><action</span><span style="font-variant-ligatures: no-common-ligatures;" class=""><span class="Apple-converted-space"> </span>application="log"
data="CRIT callsubject: ${callsubject}”/</span><span style="font-variant-ligatures: no-common-ligatures; color: rgb(46, 174, 187);" class="">> <!-- correctly shows ’test’ --></span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(47, 180, 29); background-color: rgba(0, 0, 0, 0.933333);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: rgb(46, 174, 187);" class=""><br class=""></span></div>
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">And yet, whilst the column shows up in ’show channels’,
the leg in question has an empty value.</div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">What am I missing, maybe?</div>
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div>
</blockquote>
</div>
<br class=""></div>
_________________________________________________________________________<br>

Professional FreeSWITCH Services<br>
sales@freeswitch.com<br>
https://freeswitch.com<br>
<br>
Official FreeSWITCH Sites<br>
https://freeswitch.com/oss<br>
https://freeswitch.org/confluence<br>
https://cluecon.com<br>
<br>
FreeSWITCH-users mailing list<br>
FreeSWITCH-users@lists.freeswitch.org<br>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>

https://freeswitch.com</div>
</div>
</blockquote>


_________________________________________________________________________<br>Professional FreeSWITCH Services<br>sales@freeswitch.com<br>https://freeswitch.com<br><br>Official FreeSWITCH Sites<br>https://freeswitch.com/oss<br>https://freeswitch.org/confluence<br>https://cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>https://freeswitch.com</div></div></span></blockquote></body></html>