Hi all.
After UA makes a PSTN call, if remote PSTN peer hangs up first, server correctly receives BYE from gateway, hit BYE section in config and CDR records accordingly through radius. But if UA hangs up first, BYE section in config never gets hit, instead server logs "ERROR: forward_reply: no 2nd via found in reply" right after " ACC: transaction answered:...", which was logged when the call was answered by called PSTN. CDR accounting only records without STOP time and duration being zero.
Any comments will be appreciated.
Hi,
you should take a look at the network trace - looks like something is wrong with the reply of BYE and its accounting is never trigger. If you insert some [x]log in your script, you will see that probably the BYE is passing through your server, but the reply fails - accounting is done when reply is received.
regards, bogdan
johnk@koreanet.us wrote:
Hi all.
After UA makes a PSTN call, if remote PSTN peer hangs up first, server correctly receives BYE from gateway, hit BYE section in config and CDR records accordingly through radius. But if UA hangs up first, BYE section in config never gets hit, instead server logs "ERROR: forward_reply: no 2nd via found in reply" right after " ACC: transaction answered:...", which was logged when the call was answered by called PSTN. CDR accounting only records without STOP time and duration being zero.
Any comments will be appreciated.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users