<div dir="ltr"><div><div><div>Hello,<br><br></div>I have a problem with SIP Redirect.<br><br></div>I see the sip_redirect_dialstring used internal profile but I need to use external.<br><br></div>I set a action for changing the sip_redirect_profile, but it didn't work.<br>
<div><div><br>My redirected context:<br><br> <context name="redirected"><br> <extension name="handle_redirect"><br> <action application="set" data="sip_redirect_profile=external"/><br>
<condition field="${sip_redirect_dialstring}" expression="^(.*)$"><br> <action application="log" data="${sip_redirect_profile} ${sip_redirect_fork} ${sip_redirect_context} " inline="true"/><br>
<action application="log" data="INFO handling redirect to ${sip_redirect_dialstring}" inline="true"/><br> <action application="bridge" data="${sip_redirect_dialstring}"/><br>
</condition><br> </extension><br> </context><br><br></div><div>Thanks,<br>Amirhossein<br></div></div></div>