<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div style="" class="markdown-here-wrapper"
data-md-url="Thunderbird">
<p style="margin: 0px 0px 1.2em ! important;">Hi!</p>
<p style="margin: 0px 0px 1.2em ! important;">I have the following
extension at the beginning of my context:</p>
<pre style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;font-size: 1em; line-height: 1.2em;margin: 1.2em 0px;"><code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;white-space: pre; overflow: auto; border-radius: 3px; border: 1px solid rgb(204, 204, 204); padding: 0.5em 0.7em; display: block ! important;display: block; overflow-x: auto; padding: 0.5em; color: rgb(51, 51, 51); background: rgb(248, 248, 248) none repeat scroll 0% 0%;" class="hljs language-xml"><span style="color: rgb(0, 0, 128); font-weight: normal;" class="hljs-tag"><<span style="color: rgb(153, 0, 0); font-weight: bold;color: rgb(0, 0, 128); font-weight: normal;" class="hljs-title">extension</span> <span style="color: rgb(0, 128, 128);" class="hljs-attribute">name</span>=<span style="color: rgb(221, 17, 68);" class="hljs-value">"prepare call intercept"</span> <span style="color: rgb(0, 128, 128);" class="hljs-attribute">continue</span>=<span style="color: rgb(221, 17, 68);" class="hljs-value">"true"</span>></span>
<span style="color: rgb(0, 0, 128); font-weight: normal;" class="hljs-tag"><<span style="color: rgb(153, 0, 0); font-weight: bold;color: rgb(0, 0, 128); font-weight: normal;" class="hljs-title">condition</span>></span>
<span style="color: rgb(0, 0, 128); font-weight: normal;" class="hljs-tag"><<span style="color: rgb(153, 0, 0); font-weight: bold;color: rgb(0, 0, 128); font-weight: normal;" class="hljs-title">action</span> <span style="color: rgb(0, 128, 128);" class="hljs-attribute">application</span>=<span style="color: rgb(221, 17, 68);" class="hljs-value">"set"</span> <span style="color: rgb(0, 128, 128);" class="hljs-attribute">data</span>=<span style="color: rgb(221, 17, 68);" class="hljs-value">"nolocal:execute_on_ring=db insert/call_intercept/${dialed_user}@{dialed_domain}/${originator}"</span>/></span>
<span style="color: rgb(0, 0, 128); font-weight: normal;" class="hljs-tag"></<span style="color: rgb(153, 0, 0); font-weight: bold;color: rgb(0, 0, 128); font-weight: normal;" class="hljs-title">condition</span>></span>
<span style="color: rgb(0, 0, 128); font-weight: normal;" class="hljs-tag"></<span style="color: rgb(153, 0, 0); font-weight: bold;color: rgb(0, 0, 128); font-weight: normal;" class="hljs-title">extension</span>></span>
</code></pre>
<p style="margin: 0px 0px 1.2em ! important;">However, I get an
error from the <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">db</code>
application because these variables are expanded to empty
strings.<br>
If I change the action’s data to <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">nolocal:execute_on_ring=info</code>
I see the variables in the console.<br>
What am I missing here?<br>
Thank you!</p>
<p style="margin: 0px 0px 1.2em ! important;">Kind regards,<br>
Iskren</p>
<div
title="MDH:SGkhPGJyPjxicj5JIGhhdmUgdGhlIGZvbGxvd2luZyBleHRlbnNpb24gYXQgdGhlIGJlZ2lubmluZyBvZiBteSBjb250ZXh0Ojxicj5gYGB4bWw8YnI+Jmx0O2V4dGVuc2lvbiBuYW1lPSJwcmVwYXJl
IGNhbGwgaW50ZXJjZXB0IiBjb250aW51ZT0idHJ1ZSImZ3Q7PGJyPsKgwqDCoCAmbHQ7Y29uZGl0
aW9uJmd0Ozxicj7CoMKgwqAgwqDCoMKgICZsdDthY3Rpb24gYXBwbGljYXRpb249InNldCIgZGF0
YT0ibm9sb2NhbDpleGVjdXRlX29uX3Jpbmc9ZGIgaW5zZXJ0L2NhbGxfaW50ZXJjZXB0LyR7ZGlh
bGVkX3VzZXJ9QHtkaWFsZWRfZG9tYWlufS8ke29yaWdpbmF0b3J9Ii8mZ3Q7PGJyPsKgwqDCoCAm
bHQ7L2NvbmRpdGlvbiZndDs8YnI+Jmx0Oy9leHRlbnNpb24mZ3Q7PGJyPmBgYDxicj48YnI+SG93
ZXZlciwgSSBnZXQgYW4gZXJyb3IgZnJvbSB0aGUgYGRiYCBhcHBsaWNhdGlvbiBiZWNhdXNlIHRo
ZXNlIHZhcmlhYmxlcyBhcmUgZXhwYW5kZWQgdG8gZW1wdHkgc3RyaW5ncy48YnI+SWYgSSBjaGFu
Z2UgdGhlIGFjdGlvbidzIGRhdGEgdG8gYG5vbG9jYWw6ZXhlY3V0ZV9vbl9yaW5nPWluZm9gIEkg
c2VlIHRoZSB2YXJpYWJsZXMgaW4gdGhlIGNvbnNvbGUuPGJyPldoYXQgYW0gSSBtaXNzaW5nIGhl
cmU/PGJyPlRoYW5rIHlvdSE8YnI+PGJyPktpbmQgcmVnYXJkcyw8YnI+SXNrcmVuPGJyPg=="
style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0;"></div>
</div>
</body>
</html>