off the top of my head I would say in switch_ivr_originate.c and switch_ivr_bridge.c<br><br><div class="gmail_quote">On Sat, Jan 24, 2009 at 5:59 AM, shehzad p <span dir="ltr">&lt;<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi Anthony,<br>
<br>
Where I can apply such patch in code to suppress answer.<br>
<br>
Thanks for response.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
Anthony Minessale-2 wrote:<br>
&gt;<br>
&gt; Daivd,<br>
&gt;<br>
&gt; I think you missed part of his question.<br>
&gt;<br>
&gt; You can easily choose not to answer an inbound call in FS by never<br>
&gt; explicitly answering it.<br>
&gt; you can call pre_answer instead or if you send the call to an app that<br>
&gt; requires media it&#39;s pre_answered automatically.<br>
&gt;<br>
&gt; pre_answer in FS terms is early media.<br>
&gt;<br>
&gt; You can run an ivr for instance completely in early_media (assuming the<br>
&gt; telco allows dtmf during early media)<br>
&gt;<br>
&gt; He asked if we can *bridge* the call outward to another endpoint and not<br>
&gt; pass the answer across when the far end answers.<br>
&gt;<br>
&gt; The bridge application is designed to bridge calls and the standard<br>
&gt; behavior<br>
&gt; when forwarding a call would be<br>
&gt; once the far end answers, pass the answer indication down the line.<br>
&gt;<br>
&gt; We do not currently have provision for supressing the answer as I stated.<br>
&gt; It would require a patch.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 22, 2009 at 6:44 AM, David Knell &lt;<a href="mailto:dave@3c.co.uk">dave@3c.co.uk</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; &nbsp;There&#39;s a whole bunch of reasons why you might not want to answer an<br>
&gt;&gt; inbound call:<br>
&gt;&gt; - intercept messages (e.g. &quot;the cellphone you&#39;ve called is switched off&quot;)<br>
&gt;&gt; - cost reduction on 1-800 calls, although you won&#39;t get a forward audio<br>
&gt;&gt; path from the<br>
&gt;&gt; caller until you do answer it<br>
&gt;&gt; - in one case, a company for whom I&#39;d provided some IVR (back in the<br>
&gt;&gt; 1990s)<br>
&gt;&gt; had<br>
&gt;&gt; someone mail out some tens of thousands of cards with &quot;You owe us X - you<br>
&gt;&gt; must call<br>
&gt;&gt; this (900) number now to avoid court proceedings&quot; on; we were able to not<br>
&gt;&gt; answer the<br>
&gt;&gt; inbound leg of the call, but still play a recorded message to the caller<br>
&gt;&gt; informing them<br>
&gt;&gt; that they could just ignore it. &nbsp;Had we had to answer the inbound leg,<br>
&gt;&gt; they&#39;d have been<br>
&gt;&gt; charged.<br>
&gt;&gt;<br>
&gt;&gt; --Dave<br>
&gt;&gt;<br>
&gt;&gt; &nbsp;Thanks Anthony,<br>
&gt;&gt;<br>
&gt;&gt; There are some toll-free numbers I need to configure such that,<br>
&gt;&gt; originator<br>
&gt;&gt; does not need to charge to its users, even though they are answered on<br>
&gt;&gt; terminator side.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Anthony Minessale-2 wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &nbsp;You can&#39;t.<br>
&gt;&gt;<br>
&gt;&gt; Why would you need that? &nbsp;Are you trying to forward inbound calls from<br>
&gt;&gt; the<br>
&gt;&gt; pstn to an ivr without answering them?<br>
&gt;&gt; That could get you in trouble FYI.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jan 21, 2009 at 7:40 AM, shehzad p &lt;<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>&gt;<br>
&gt;&gt; &lt;<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &nbsp;Hi all,<br>
&gt;&gt;<br>
&gt;&gt; When I dial a number from Originator Gateway, It will route to Freeswitch<br>
&gt;&gt; Server and then FS will bridge the call to Terminator Gateway as below.<br>
&gt;&gt; Terminator Answer the call (and runs playback, and look for DTMF).<br>
&gt;&gt;<br>
&gt;&gt; |Originator Gateway|---------------&gt; |FreeSwitch |------------------&gt;<br>
&gt;&gt; |Terminator Gateway|<br>
&gt;&gt;<br>
&gt;&gt; I used bridge application to route call to Terminator.<br>
&gt;&gt; But my requirement is that when Terminator answer the call (Respnd with<br>
&gt;&gt; 200OK) , Freeswitch should NOT Answer call for A leg (Originater<br>
&gt;&gt; Gateway).<br>
&gt;&gt;<br>
&gt;&gt; How can be this done?<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance.<br>
&gt;&gt; msp.<br>
&gt;&gt; --<br>
&gt;&gt; View this message in<br>
&gt;&gt; context:<a href="http://www.nabble.com/How-to-bridge-without-Answer--tp21583334p21583334.html" target="_blank">http://www.nabble.com/How-to-bridge-without-Answer--tp21583334p21583334.html</a><br>
&gt;&gt; Sent from the Freeswitch-users mailing list archive at Nabble.com.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Freeswitch-users mailing<br>
</div></div>&gt;&gt; listFreeswitch-users@lists.freeswitch.orghttp://<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org</a><br>

<div class="Ih2E3d">&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;--<br>
&gt;&gt; Anthony Minessale II<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;&gt;<br>
</div>&gt;&gt; AIM: <a href="mailto:anthmMSN%3Aanthony_minessale@hotmail.com">anthmMSN:anthony_minessale@hotmail.com</a><br>
<div class="Ih2E3d">&gt;&gt; &lt;<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt;&gt; &lt;<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a>&lt;<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>

&gt;&gt; &lt;<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt;&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;&gt;<br>
</div>&gt;&gt; FreeSWITCH Developer <a href="mailto:Conferencesip%3A888@conference.freeswitch.org">Conferencesip:888@conference.freeswitch.org</a><br>
<div class="Ih2E3d">&gt;&gt; &lt;<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
</div>&gt;&gt; &lt;<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<a href="http://iax:guest@conference.freeswitch.org/888googletalk:conf+888@conference.freeswitch.org" target="_blank">iax:guest@conference.freeswitch.org/888googletalk:conf+888@conference.freeswitch.org</a>&lt;<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>

<div class="Ih2E3d">&gt;&gt; &lt;<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt;&gt; pstn:213-799-1400<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Freeswitch-users mailing<br>
</div>&gt;&gt; listFreeswitch-users@lists.freeswitch.orghttp://<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org</a><br>

<div class="Ih2E3d">&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; David Knell, Director, 3C Limited<br>
</div>&gt;&gt; T: 020 8114 5002 &nbsp;F: 020 3002 7257 &nbsp;M: 07773 800623<a href="http://www.3c.co.uk" target="_blank">http://www.3c.co.uk</a><br>
<div class="Ih2E3d">&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Freeswitch-users mailing list<br>
&gt;&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
</div><div class="Ih2E3d">&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a> &lt;<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>

&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a>&lt;<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> &lt;<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a>&lt;<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>

&gt; pstn:213-799-1400<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
--<br>
</div>View this message in context: <a href="http://www.nabble.com/How-to-bridge-without-Answer--tp21583334p21639876.html" target="_blank">http://www.nabble.com/How-to-bridge-without-Answer--tp21583334p21639876.html</a><br>

<div><div></div><div class="Wj3C7c">Sent from the Freeswitch-users mailing list archive at Nabble.com.<br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>