<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("conference_set_auto_outcall", "sofia/gateway/Kamailio/167")" 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="Kamailio"> <param name="extension" value="conference"/> <param name="expire-seconds" value="125"/> <param name="register-transport" value="udp"/> <param name="proxy" value="xyz.com"/> <param name="register" value="false"/> <param name="caller-id-in-from" value="true"/> <param name="username" value="not-used"/> <param name="password" value="not-used"/> </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=""><gateway name="Kamailio">
<param name="extension" value="conference"/>
<param name="expire-seconds" value="125"/>
<param name="register-transport" value="udp"/>
<param name="proxy" value="xyz.com"/>
<param name="register" value="false"/>
<param name="caller-id-in-from" value="true"/>
<param name="username" value="not-used"/>
<param name="password" value="not-used"/>
</gateway>
</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 <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> 2015-07-03 16:06:50.193203 [DEBUG] switch_ivr_originate.c:2079 Parsing global variables</div></div></body></html>