<div dir="ltr">Thanks, Steve, unfortunately setting gateway variables doesn't seem to work for me.<div style>R</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 13, 2013 at 4:22 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><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't have to specify it in originate options?</blockquote>
<div><br></div></div><div>You could try setting effective_caller_id_number through the gateway's outbound variables. <a href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Variables" target="_blank">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"><div><div class="h5">On 12 July 2013 15:06, Rafal Gwizdala <span dir="ltr"><<a href="mailto:rafal.gwizdala@gmail.com" target="_blank">rafal.gwizdala@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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'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/<a href="tel:606999888" value="+48606999888" target="_blank">606999888</a> 6668 <br>
</div><div><br></div><div>The '6668' 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'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: <</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">></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't have to specify it in originate options?</div><div><br></div><div>Thanks</div><span><font color="#888888">
<div>RG</div></font></span></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
<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></div>