<div style="font-family: 'Courier New'; font-size: 13px; ">You won't get the user's password in plain text like that EVER. If we did that, we would be considered to be insanely insecure.<div><br></div><div>I am guessing you are using SIP only so you can take a look at the dialplan/public.xml file of the default configs. On the end of that file you will see that there is a verification to do dial plan based authentication.</div><div><br></div><div>Look for this extension in particular:</div><div><br></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "><extension name="check_auth" continue="true"></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "> <condition field="${sip_authorized}" expression="^true$" break="never"></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "> <anti-action application="respond" data="407"/></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "> </condition></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "></extension></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "><extension name="transfer_to_default"></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "> <condition></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "> <action application="transfer" data="${destination_number} XML default"/></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "> </condition></span></div><div><span style="color: rgb(35, 110, 37); font-family: monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; "></extension></span></div><div><br></div><div><br></div><div>Regards,</div></div>
<div><div><br></div><div>-- </div><div>João Mesquita</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div>
<p style="color: #A0A0A8;">On Friday, March 2, 2012 at 7:09 AM, Miha Zoubek wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
Hi,<br>
<br>
in my directory I set variable password (<variable
name="password" value="52166"/>) for every user.<br>
<br>
After I am doing 302 redirect in my public dialplan and transfer
call to extension, I can not use varible pasword.<br>
How can I get varible password, so that I can authenticate call.<br>
<br>
public dialplan:<br>
<br>
<small><anti-action application="log" data="INFO
################# CALL FORWARD ################\n"/><br>
<!-- <anti-action application="log" data=" INFO
sip_redirect_contact_={ip_redirect_contact_}" /> --><br>
<!-- <anti-action application="set"
data="sip_redirect_contex=default" /> --><br>
<anti-action application="info"/><br>
<anti-action application="set" data="process_cdr=false"/><br>
<anti-action application="execute_extension"
data="IZVEDI_PREUSMERITEV XML default"/> </small><br>
<br>
default dialplan:<br>
<br>
<small><condition field="destination_number"
expression="IZVEDI_PREUSMERITEV" /><br>
<condition field="${sip_redirect_contact_user_0}"
expression="^0(\d+)$" ><br>
<action application="set" data="process_cdr=true"/><br>
<action inline="true" application="set"
data="CALLINGNUMBER=${sip_redirect_contact_user_0}"/><br>
<action inline="true" application="set"
data="USERNAME=${sip_req_user}"/></small><br>
<br>
<br>
<br>
<br>
<small><action application="info"/><br>
<br>
<action application="set"
data="effective_caller_id_name=${sip_req_user}"/><br>
<action application="set"
data="origination_caller_id_name=${sip_req_user} "/><br>
<br>
<br>
<action inline="true" application="set"
data="PASSWD=${password}"/><br>
<action application="execute_extension"
data="RADIUS_ANI_AUTH XML default"/><br>
<action application="enum"
data="386${sip_redirect_contact_user_0:1} <a href="http://enumsbc.softnet.si">enumsbc.softnet.si</a>"/><br>
<br>
<action application="bridge"
data="{origination_callee_id_name='${effective_caller_id_name}'}${enum_auto_route}"/><br>
<br>
<br>
<action application="info"/><br>
<action application="bridge"
data=<a href="mailto:sofia/external/386${sip_redirect_contact_user_0:1}@xxx.xxx.xxx.xxx">"sofia/external/386${sip_redirect_contact_user_0:1}@xxx.xxx.xxx.xxx"</a>
/></small><br>
<br>
</div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>