<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div style="margin-top: 0px; margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;" class="">conference_set_auto_outcall not working with proxy server. I am calling application from lua with following code. Suppose 167 is sip phone no.</div><div class="" style="margin: 0px; padding: 0px; border: 0px; font-size: 15px; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"><div class="" style="margin: 0px; padding: 0px; border: 0px;"></div></div><pre data-original-code="session:execute(&quot;conference_set_auto_outcall&quot;, &quot;sofia/gateway/Kamailio/167&quot;)" data-snippet-id="ext.3b19df6d077bdab909ab593545225594" data-snippet-saved="false" data-csrftoken="J4adlGgr-NB2D3ZOWDWpVvTsopZicZimsy_k" data-codota-status="done" style="margin-top: 0px; padding: 5px; border: 0px; font-size: 13px; overflow: auto; width: auto; max-height: 600px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; word-wrap: normal; color: rgb(34, 34, 34); background-color: rgb(238, 238, 238);" class=""><code style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;" class="">session:execute("conference_set_auto_outcall", "sofia/gateway/Kamailio/167")
</code></pre><div style="margin-top: 0px; margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;" class="">Gateway is defined in external.xml</div><div class="" style="margin: 0px; padding: 0px; border: 0px; font-size: 15px; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;"><div class="" style="margin: 0px; padding: 0px; border: 0px;"></div></div><pre data-original-code="<gateway name=&quot;Kamailio&quot;>         <param name=&quot;extension&quot; value=&quot;conference&quot;/>         <param name=&quot;expire-seconds&quot; value=&quot;125&quot;/>         <param name=&quot;register-transport&quot; value=&quot;udp&quot;/>         <param name=&quot;proxy&quot; value=&quot;xyz.com&quot;/>         <param name=&quot;register&quot; value=&quot;false&quot;/>         <param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/>          <param name=&quot;username&quot; value=&quot;not-used&quot;/>         <param name=&quot;password&quot; value=&quot;not-used&quot;/>    </gateway>" data-snippet-id="ext.99f1612499f8d090899c5380673351ab" data-snippet-saved="false" data-codota-status="done" style="margin-top: 0px; padding: 5px; border: 0px; font-size: 13px; overflow: auto; width: auto; max-height: 600px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; word-wrap: normal; color: rgb(34, 34, 34); background-color: rgb(238, 238, 238);" class=""><code style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;" class="">&lt;gateway name="Kamailio"&gt;
         &lt;param name="extension" value="conference"/&gt;
         &lt;param name="expire-seconds" value="125"/&gt;
         &lt;param name="register-transport" value="udp"/&gt;
         &lt;param name="proxy" value="xyz.com"/&gt;
         &lt;param name="register" value="false"/&gt;
         &lt;param name="caller-id-in-from" value="true"/&gt; 
         &lt;param name="username" value="not-used"/&gt;
         &lt;param name="password" value="not-used"/&gt;
    &lt;/gateway&gt;
</code></pre><div style="margin-top: 0px; margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;" class="">Error:</div><div style="margin-top: 0px; margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19.5px;" dir="ltr" class="">2015-07-03 16:06:50.193203 [NOTICE] switch_core_session.c:1633 Session 35 (sofia/external/167) Ended 2015-07-03 16:06:50.193203 [NOTICE] switch_core_session.c:1637 Close Channel sofia/external/167 [CS_DESTROY] 2015-07-03 16:06:50.193203 [DEBUG] switch_core_state_machine.c:626 (sofia/external/167) Running State Change CS_DESTROY 2015-07-03 16:06:50.193203 [DEBUG] switch_core_state_machine.c:636 (sofia/external/167) State DESTROY 2015-07-03 16:06:50.193203 [DEBUG] mod_sofia.c:323 sofia/external/167 SOFIA DESTROY 2015-07-03 16:06:50.193203 [DEBUG] switch_core_state_machine.c:111 sofia/external/167 Standard DESTROY 2015-07-03 16:06:50.193203 [DEBUG] switch_core_state_machine.c:636 (sofia/external/167) State DESTROY going to sleep&nbsp;<strong style="margin: 0px; padding: 0px; border: 0px;" class=""><em style="margin: 0px; padding: 0px; border: 0px;" class="">2015-07-03 16:06:50.193203 [ERR] mod_conference.c:8469 Cannot create outgoing channel, cause: NORMAL_TEMPORARY_FAILURE</em></strong>&nbsp;2015-07-03 16:06:50.193203 [DEBUG] switch_ivr_originate.c:2079 Parsing global variables</div></div></body></html>