Hi Craig<br><br> I've been developing a Recording Server app (which I will be giving back to the community) and one of the requirements is for the recording to be offloaded to several machines. Because of the filename is being set prior to the recording, I need to pass this variable to the slave server. I'm using
1.2.13 (heavily patched) and I came across your email. Any chance of getting your port? Thanks for your help...<br><br><br>Jesus Mogollon<br><br><br><br><div><span class="gmail_quote">On 2/22/07, <b class="gmail_sendername">
Craig Guy</b> <<a href="mailto:cguy@bigpond.net.au">cguy@bigpond.net.au</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Richard,<br><br>there was a thread regarding this a while ago on the dev list which resulted<br>in a patch being made to allow variable passing via IAX2 channels. See<br><a href="http://bugs.digium.com/view.php?id=7619">
http://bugs.digium.com/view.php?id=7619</a> for the patch which I think is in<br>SVN or anyhow, is not in 1.2<br><br>I have recently backported this patch to 1.2 and have a patch which is<br>tested against 1.2.12, <a href="http://1.2.12.1">
1.2.12.1</a> and 1.2.15, but should work against at least<br>1.2.13 and 1.2.14. The patch introduces a new dialplan function called<br>IAXVAR, Email me if interested.<br><br>Craig<br><br>----- Original Message -----<br>From: "Richard Lyman" <
<a href="mailto:pchammer@dynx.net">pchammer@dynx.net</a>><br>To: "Asterisk Users Mailing List - Non-Commercial Discussion"<br><<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com
</a>><br>Sent: Wednesday, February 21, 2007 7:27 AM<br>Subject: Re: [asterisk-users] Passing a variable from one Asterisk box<br>toanother<br><br><br>> Richard Lyman wrote:<br>>> Eric Bishop wrote:<br>>>> Hi all,
<br>>>><br>>>> We currently have 2 Asterisk boxes and we pass calls to a fro. All works<br>>>> great except we now need to pass variables between them.<br>>>><br>>>> For example now on box 1 we have:
<br>>>><br>>>> exten => _23XX,1,SetVar(Foo=1234)<br>>>> exten => _23XX,2,Dial(SIP/${EXTEN:0}@Box2)<br>>>><br>>>> When the call dials into Box 2 the variable Foo does not get passed...
<br>>>><br>>>> Does anyone have any clever ideas?<br>>> as noted in asterisk/docs/README.variables (iirc)<br>>><br>>> you should see that variable inheritance can occur by prefacing the
<br>>> variable with '_' or '__'<br>>><br>>> also, depending on the age of your asterisk you might want to start using<br>>> 'Set' vice 'SetVar'<br>>><br>>> also, having ${EXTEN:0} , the :0 doesn't do anything, so you should not
<br>>> use it and just have ${EXTEN}<br>>><br>>> i hope this helps<br>>><br>>><br>> sadly replying to my own post, but, i forgot to mention that<br>> passing variables with IAX2 can be an issue sometimes when you use
<br>> user and peer (the user side can pass vars the peer side can not, or<br>> doesn't accept them iirc)<br>><br>> this does not happen using friend, but that has its own issues... check<br>> the wiki for more thoughts about this.
<br>><br>><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list
<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>