Hello! I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why? -- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound). -MC On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello! Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment: <include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include> I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
Boris, you don't set direction, it is set automatically. If you call from the user you was talking about, the A-leg (from the user to FS) will be inbound, and the B-leg (from FS to the callee party) will be outbound. If you call the user, it's the other way around, of course. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 22/04/2011 à 08:08, Boris Kovalenko a écrit :
Hello!
Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment:
<include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include>
I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru> wrote: Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello! Yes, so, with my configuration, when I do a call only the variable test1 should be set? Isn't?
Boris,
you don't set direction, it is set automatically. If you call from the user you was talking about, the A-leg (from the user to FS) will be inbound, and the B-leg (from FS to the callee party) will be outbound. If you call the user, it's the other way around, of course.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr <mailto:david.ponzone@ipeva.fr> tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service ClientIPeva tel: 0811 46 26 26 www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com <BLOCKED::http://www.ipeva-studio.com/>
/Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur./ / /
Le 22/04/2011 à 08:08, Boris Kovalenko a écrit :
Hello!
Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment:
<include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include>
I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
Yes. It should :) David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 22/04/2011 à 10:19, Boris Kovalenko a écrit :
Hello!
Yes, so, with my configuration, when I do a call only the variable test1 should be set? Isn't?
Boris,
you don't set direction, it is set automatically. If you call from the user you was talking about, the A-leg (from the user to FS) will be inbound, and the B-leg (from FS to the callee party) will be outbound. If you call the user, it's the other way around, of course.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
Le 22/04/2011 à 08:08, Boris Kovalenko a écrit :
Hello!
Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment:
<include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include>
I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru> wrote: Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
But does not :) application info shows me both variables are set :(
Yes. It should :)
David Ponzone Direction Technique email: david.ponzone@ipeva.fr <mailto:david.ponzone@ipeva.fr> tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service ClientIPeva tel: 0811 46 26 26 www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com <BLOCKED::http://www.ipeva-studio.com/>
/Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur./ / /
Le 22/04/2011 à 10:19, Boris Kovalenko a écrit :
Hello!
Yes, so, with my configuration, when I do a call only the variable test1 should be set? Isn't?
Boris,
you don't set direction, it is set automatically. If you call from the user you was talking about, the A-leg (from the user to FS) will be inbound, and the B-leg (from FS to the callee party) will be outbound. If you call the user, it's the other way around, of course.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr <mailto:david.ponzone@ipeva.fr> tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service ClientIPeva tel: 0811 46 26 26 www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com <BLOCKED::http://www.ipeva-studio.com/>
/Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur./ / /
Le 22/04/2011 à 08:08, Boris Kovalenko a écrit :
Hello!
Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment:
<include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include>
I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
For users that attribute is unknown and therefore will be ignored, so they'll both be set. -Steve On 22 April 2011 09:19, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
Yes, so, with my configuration, when I do a call only the variable test1 should be set? Isn't?
Boris,
you don't set direction, it is set automatically. If you call from the user you was talking about, the A-leg (from the user to FS) will be inbound, and the B-leg (from FS to the callee party) will be outbound. If you call the user, it's the other way around, of course.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
*Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. **IPeva** décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.* * *
Le 22/04/2011 à 08:08, Boris Kovalenko a écrit :
Hello!
Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment:
<include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include>
I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello! Thank You, Steve!
For users that attribute is unknown and therefore will be ignored, so they'll both be set.
-Steve
On 22 April 2011 09:19, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> wrote:
Hello!
Yes, so, with my configuration, when I do a call only the variable test1 should be set? Isn't?
Boris,
you don't set direction, it is set automatically. If you call from the user you was talking about, the A-leg (from the user to FS) will be inbound, and the B-leg (from FS to the callee party) will be outbound. If you call the user, it's the other way around, of course.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr <mailto:david.ponzone@ipeva.fr> tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service ClientIPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
/Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur./ / /
Le 22/04/2011 à 08:08, Boris Kovalenko a écrit :
Hello!
Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment:
<include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include>
I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru <mailto:boris@tagnet.ru>> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org <http://www.freeswitch.org/>
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
David, He isn't talking about the Direction channel variable, he is talking about the direction attribute available on gateway variables. :) -Steve On 22 April 2011 09:09, David Ponzone <david.ponzone@ipeva.fr> wrote:
Boris,
you don't set direction, it is set automatically. If you call from the user you was talking about, the A-leg (from the user to FS) will be inbound, and the B-leg (from FS to the callee party) will be outbound. If you call the user, it's the other way around, of course.
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
*Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. **IPeva** décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.* * *
Le 22/04/2011 à 08:08, Boris Kovalenko a écrit :
Hello!
Yes, but this form of variable is available only to gateways? I've tried to set direction for user variable too without success. Variable is always present. My test enviroment:
<include> <user id="73435230024"> <params> <param name="password" value="012345"/> <param name="vm-enabled" value="false"/> <param name="vm-password" value="326699"/> </params> <variables> <variable name="toll_allow" value="internal,local,domestic,international"/> <variable name="v_test1" value="test1" direction="inbound"/> <variable name="v_test2" value="test2" direction="outbound"/> <!-- <variable name="v_tagnet_context" value="ho"/>--> </variables> </user> </include>
I do a call from this user to external gateway and see both variables are set with application=info.
The direction variable is set at the time of the call based upon whether or not the user is the caller (outbound) or callee (inbound).
-MC
On Thu, Apr 21, 2011 at 7:01 PM, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Checking the source code, sorry no this attribute only appears to be available on gateways. -Steve On 22 April 2011 03:01, Boris Kovalenko <boris@tagnet.ru> wrote:
Hello!
I found that with gateways I may use <variable .... direction="..."/>. Is this possible with regular (directory) users too? If not, may somebody explain why?
-- С уважением, Борис Коваленко ЗАО "Тагнет" тел. +7 (3435) 230001 факс +7 (3435) 230005
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Boris Kovalenko
-
David Ponzone
-
Michael Collins
-
Steven Ayre