Unfortunately GnuGK does not pay any attention to the disconnect reason (so far), neither it can rewrite it. IMHO, the right file to modify is ProxyChannel.cxx, look there at line 886 and below, that is the place where the call disconnect is handled. I can't give a much of help (if any), cause C++ is dark woods for me :) Maybe in near future GnuGK will be able to pay "more" attention to disconnect reason. I see how this is going to be used, when GnuGK will support rerouting in case of a route failure. Imagine this, two or more gateways, serving equal prefixes. There is priority tied to each of them, showing the order a call shall be tried against. And then a list of disconnect reasons... if the call fails with one of the following disconnect reasons (no channel available, no resource available and etc), it shall be tried against the next gateway. On Saturday 26 February 2005 20:27, Jan Riedinger wrote: > Sometimes VoIP carrier releases VoIP calls with an wrong disconnect cause. > E. g. even if a call fails immediately, it is realeased always with "normal > call clearing". This behaviour makes it impossible to reroute the calls to > a second choice. > > Because of that I want to translate all disconnect causes to "no circuit > available". At a Cisco this can be done by setting "isdn reject cause 34" > for the PRI interfaces. Can this translation be done by gnugk as well? If > this is not possible, I would be thankful for a hint at which files I > should look to implement it for myself. > > Thanks > Jan Riedinger > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________________ > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > Homepage: http://www.gnugk.org/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/