It doesn't say the call was successful it says the originate was. The purpose of the originate function is to produce a channel with media. The call can still end and you can still tell when and why from the data in the call. On Tue, Sep 28, 2010 at 11:27 AM, Michael Jerris <mike@jerris.com> wrote:
On Sep 28, 2010, at 10:46 AM, Bambr wrote:
As far as I know, when, during the calling, FS recieves 183 responce, call is considered succesful, it is marked in cdr and so on. While, there's possibility for this call to be failed, as after ringing the call might be declined. Asking in IRC on #freeswitch got me answer like "it's a question of conventions" - and it is right, but our convention (dictated by users) is that such call can not be marked as successful "a priori" - only when it really succeeded. I tried looking at sources of FS finding the place where it is judged, found something like it in switch_ivr_originate.c but i'm not sure it is the right place and tests i did - they didn't get me needed result. So here is my question: is it possible to make configurable behavior upon recieving 183?
I'm aware about ignoring all early media, but this is not an option. I'm interested in managing status of call on recieving 183.
thats what ignore_early_media setting does.
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900