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"><<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>></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>
><br>
> Daivd,<br>
><br>
> I think you missed part of his question.<br>
><br>
> You can easily choose not to answer an inbound call in FS by never<br>
> explicitly answering it.<br>
> you can call pre_answer instead or if you send the call to an app that<br>
> requires media it's pre_answered automatically.<br>
><br>
> pre_answer in FS terms is early media.<br>
><br>
> You can run an ivr for instance completely in early_media (assuming the<br>
> telco allows dtmf during early media)<br>
><br>
> He asked if we can *bridge* the call outward to another endpoint and not<br>
> pass the answer across when the far end answers.<br>
><br>
> The bridge application is designed to bridge calls and the standard<br>
> behavior<br>
> when forwarding a call would be<br>
> once the far end answers, pass the answer indication down the line.<br>
><br>
> We do not currently have provision for supressing the answer as I stated.<br>
> It would require a patch.<br>
><br>
><br>
><br>
><br>
><br>
> On Thu, Jan 22, 2009 at 6:44 AM, David Knell <<a href="mailto:dave@3c.co.uk">dave@3c.co.uk</a>> wrote:<br>
><br>
>> There's a whole bunch of reasons why you might not want to answer an<br>
>> inbound call:<br>
>> - intercept messages (e.g. "the cellphone you've called is switched off")<br>
>> - cost reduction on 1-800 calls, although you won't get a forward audio<br>
>> path from the<br>
>> caller until you do answer it<br>
>> - in one case, a company for whom I'd provided some IVR (back in the<br>
>> 1990s)<br>
>> had<br>
>> someone mail out some tens of thousands of cards with "You owe us X - you<br>
>> must call<br>
>> this (900) number now to avoid court proceedings" on; we were able to not<br>
>> answer the<br>
>> inbound leg of the call, but still play a recorded message to the caller<br>
>> informing them<br>
>> that they could just ignore it. Had we had to answer the inbound leg,<br>
>> they'd have been<br>
>> charged.<br>
>><br>
>> --Dave<br>
>><br>
>> Thanks Anthony,<br>
>><br>
>> There are some toll-free numbers I need to configure such that,<br>
>> originator<br>
>> does not need to charge to its users, even though they are answered on<br>
>> terminator side.<br>
>><br>
>><br>
>><br>
>><br>
>> Anthony Minessale-2 wrote:<br>
>><br>
>><br>
>> You can't.<br>
>><br>
>> Why would you need that? Are you trying to forward inbound calls from<br>
>> the<br>
>> pstn to an ivr without answering them?<br>
>> That could get you in trouble FYI.<br>
>><br>
>><br>
>> On Wed, Jan 21, 2009 at 7:40 AM, shehzad p <<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>><br>
>> <<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>> Hi all,<br>
>><br>
>> When I dial a number from Originator Gateway, It will route to Freeswitch<br>
>> Server and then FS will bridge the call to Terminator Gateway as below.<br>
>> Terminator Answer the call (and runs playback, and look for DTMF).<br>
>><br>
>> |Originator Gateway|---------------> |FreeSwitch |------------------><br>
>> |Terminator Gateway|<br>
>><br>
>> I used bridge application to route call to Terminator.<br>
>> But my requirement is that when Terminator answer the call (Respnd with<br>
>> 200OK) , Freeswitch should NOT Answer call for A leg (Originater<br>
>> Gateway).<br>
>><br>
>> How can be this done?<br>
>><br>
>> Thanks in advance.<br>
>> msp.<br>
>> --<br>
>> View this message in<br>
>> 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>
>> Sent from the Freeswitch-users mailing list archive at Nabble.com.<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Freeswitch-users mailing<br>
</div></div>>> 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>
>> 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">>><br>
>> --<br>
>> Anthony Minessale II<br>
>><br>
>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>><br>
</div>>> AIM: <a href="mailto:anthmMSN%3Aanthony_minessale@hotmail.com">anthmMSN:anthony_minessale@hotmail.com</a><br>
<div class="Ih2E3d">>> <<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><br>
>> <<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
>> <<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
>> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>><br>
</div>>> FreeSWITCH Developer <a href="mailto:Conferencesip%3A888@conference.freeswitch.org">Conferencesip:888@conference.freeswitch.org</a><br>
<div class="Ih2E3d">>> <<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><br>
</div>>> <<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><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><<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
<div class="Ih2E3d">>> <<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
>> pstn:213-799-1400<br>
>><br>
>> _______________________________________________<br>
>> Freeswitch-users mailing<br>
</div>>> 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>
>> 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">>><br>
>><br>
>><br>
>><br>
>> --<br>
>> David Knell, Director, 3C Limited<br>
</div>>> T: 020 8114 5002 F: 020 3002 7257 M: 07773 800623<a href="http://www.3c.co.uk" target="_blank">http://www.3c.co.uk</a><br>
<div class="Ih2E3d">>><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>
>><br>
>><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
><br>
> AIM: anthm<br>
</div><div class="Ih2E3d">> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a> <<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">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> <<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><br>
> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
> pstn:213-799-1400<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>
><br>
><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>