<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Is there a way to specify a default caller id for all outgoing connections that go through a particular gateway, so I wouldn&#39;t have to specify it in originate options?</blockquote>

<div><br></div><div>You could try setting effective_caller_id_number through the gateway&#39;s outbound variables. <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables</a></div>

<div><br></div><div>-Steve</div><div><br></div><br><div class="gmail_quote">On 12 July 2013 15:06, Rafal Gwizdala <span dir="ltr">&lt;<a href="mailto:rafal.gwizdala@gmail.com" target="_blank">rafal.gwizdala@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Thanks for great support so far.</div><div>I have another two questions to you:</div>

<div>1. I&#39;m originating a call to a mobile phone where the second leg is a httapi-based IVR service. </div>
<div>My originate command looks like this:</div><div><br></div><div>originate {origination_caller_id_number=2234567890}sofia/gateway/ipfon/606999888 6668 <br></div><div><br></div><div>The &#39;6668&#39; extension is an httapi script that plays an audio file and collects some digits.</div>


<div>The problem is that my httapi ivr starts the playback  even before the mobile phone is answerred.</div><div>As a result, the called person doesn&#39;t hear the beginning of the recording.</div><div>
Can I somehow make my httapi script wait for the mobile to be answerred?</div><div><br></div><div>2. If origination_caller_id_number is not specified in the originate call FreeSWITCH will send </div><div>
<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Remote-Party-ID: &lt;</span><a href="mailto:sip%3A0000000000@sip.ipfon.pl" style="font-family:arial,sans-serif;font-size:12.800000190734863px" target="_blank">sip:0000000000@sip.ipfon.pl</a><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">&gt;</span> in INVITE request that goes to the voip gateway.</div>


<div>Is there a way to specify a default caller id for all outgoing connections that go through a particular gateway, so I wouldn&#39;t have to specify it in originate options?</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888">
<div>RG</div></font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>