<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Avi & Michael,<br>
<br>
Michael, I'm familiar with the info application, and have been using
this to test my progress. It's gotten me a long way, but not past
this hurdle.<br>
<br>
Avi, I tried that, or at least my interpretation of that, and it
didn't work.<br>
<br>
I found the gateway in question - it's one of only two references to
the trunk - in sip_profiles/. The declaration, including my addition
of the variables clause, looks like this:<br>
<br>
<br>
<gateway name="trunk_1"><br>
<param name="realm" value="talk2"/><br>
<param name="register" value="false"/><br>
<param name="username" value="TCAPI_User"/><br>
<param name="password" value="TCAPI_User"/><br>
<variables><br>
<variable name="foo" data="bar" direction="both"/><br>
</variables><br>
</gateway><br>
<br>
I then called in via that interface, using a DDI, with the info
application. I got lots of information, but neither foo nor bar. I
did change the direction from "inbound" to "both", to make it as
likely as possible to work.<br>
<br>
The log output I got had lots of stuff in it (see
<a class="moz-txt-link-freetext" href="http://pastebin.freeswitch.org/17943">http://pastebin.freeswitch.org/17943</a> ) but no foo, no bar, and no
trunk_1. It did have several occurrences of the ip address of talk2,
10.10.9.1, but that can change. I also see several references to the
ip address (10.10.10.149) and sofia profile name (sipinterface_3),
but all gateways will be on the same profile.<br>
<br>
Any further help would be appreciated.<br>
<br>
Jaybee-<br>
<br>
<br>
On 06/12/11 11:57, Avi Marcus wrote:
<blockquote
cite="mid:CALNZuwmP0RKynHzUtMXoVrFcMCw88R0Ax27NTB1xEyJVf3aQCw@mail.gmail.com"
type="cite">
<div dir="ltr"><a moz-do-not-send="true"
href="http://lists.freeswitch.org/pipermail/freeswitch-users/2010-March/055508.html">http://lists.freeswitch.org/pipermail/freeswitch-users/2010-March/055508.html</a><br>
<div><br>
</div>
<div>Hmm, gateways on the wiki should be cleaned up.. I couldn't
find it on the wiki, only via google.<br>
<div><br clear="all">
<div dir="ltr"><span
style="font-family:Verdana,Arial,Helvetica,sans-serif"><span
style="font-size:small">-Avi</span></span></div>
<br>
<br>
<div class="gmail_quote">On Tue, Dec 6, 2011 at 12:45 AM,
Michael Collins <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
Try adding one of these to the dialplan that handles
inbound calls:
<div><br>
</div>
<div><action application="info"/></div>
<div><br>
</div>
<div>Then, watch the console while an inbound comes in
and you'll see quite a lot of information. Anything in
that info dump is available to you for "figuring out"
what's going on. If you have any questions then drop
that info output to a pastebin and give us the URL
here.</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
</font></span>
<div><span class="HOEnZb"><font color="#888888">-MC</font></span>
<div>
<div class="h5"><br>
<br>
<div class="gmail_quote">On Mon, Dec 5, 2011 at
2:02 PM, Jort Bloem <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:jort.bloem@btg.co.nz"
target="_blank">jort.bloem@btg.co.nz</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
Hi all,<br>
<br>
I have a setup with several gateways coming in
on one profile. The<br>
Realms, unfortunately, are by DNS, and move
from time to time.<br>
<br>
Is there any way to identify, in the dialplan,
which gateway the call<br>
comes from, for incoming calls?<br>
<br>
I know I can get the ip address, but the ip
address is subject to change.<br>
<br>
I know that the trunk provider can set various
things, but I don't have<br>
control of the far end of the trunk.<br>
<br>
If there is a way to set variables on a
per-gateway (NOT per-profile)<br>
basis, that would be perfect.<br>
<br>
"RTFM" gladly accepted with a hint about which
part of which FM to R.<br>
<br>
--<br>
Jaybee-<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel
Communication Server<br>
<a moz-do-not-send="true"
href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication
Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jort Bloem
Technical Engineer - Auckland
Business Technology Group
P: +64 9 5801374 x 9884
Sent from Mozilla Thunderbird</pre>
</body>
</html>