Check the mediastate callback. You should check for the status code, for example is its 408 you could exit... On Mon, Sep 28, 2009 at 7:21 PM, Rachel Baskaran <rachelbaskaran at gmail.com> wrote: > Hey all, > > I figured to hangup and quit, once 'h' is pressed. > Now I need a console app to quit pjsua if the person doesn't pick my call , > like case scenario. > > Any Help! > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- /Sa?l http://www.saghul.net | http://www.sipdoc.net