Re: [asterisk-users] Help setting IAX variables.

2009-09-08 Thread Tilghman Lesher
On Tuesday 08 September 2009 00:14:53 Asterisk User wrote:
 Thanks Tilghman for your quick reply.

 I know that we should set variables through IAXVAR on source server to
 access them on Destination server.
 I just wanted to know the reverse case, where IAX channel variables set on
 destination server are accessible on Source server or not.
 Thanks again for your inputs.

They are not.  IAXVARs are only sent during the NEW, which is a one-way
packet.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com  www.asterisk.org

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Help setting IAX variables.

2009-09-07 Thread Tilghman Lesher
On Monday 07 September 2009 05:55:12 Asterisk User wrote:
 I am new to Asterisk and want to perform following on my test project.
 I have 2 Asterisk servers SA and SB and an IAX trunk from SA to SB.
 Now I set some variables on SB in the same context where an IAX call lands.
 My question is , is it possible to access these variables in dialplan of
 SA?

 If yes then how?

 I know about IAXVAR application where variables set in source server of IAX
 channel can be access from destination server...

For the variable to be accessed on the destination server, you must explicitly
set the IAXVAR variable on the source server.  This method does not merely
access arbitrary variables on the source server but only variables which have
been sent through this mechanism.

Just as a version note, you need to be running 1.6.0 or higher to get the
IAXVAR mechanism.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com  www.asterisk.org

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Help setting IAX variables.

2009-09-07 Thread Asterisk User
Thanks Tilghman for your quick reply.

I know that we should set variables through IAXVAR on source server to
access them on Destination server.
I just wanted to know the reverse case, where IAX channel variables set on
destination server are accessible on Source server or not.
Thanks again for your inputs.


--- Asterisk user
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users