]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ChanIsAvail() generates a CDR when unanswered=yes in cdr.conf.
authorFrederic LE FOLL <frederic.lefoll@c-s.fr>
Thu, 5 Sep 2019 16:09:28 +0000 (18:09 +0200)
committerFrederic LE FOLL <frederic.lefoll@c-s.fr>
Thu, 5 Sep 2019 16:09:28 +0000 (18:09 +0200)
commitc8cf3ad389ffbcf96e3079fc776a27da737f79b7
tree3982344b5d45a6c9c1eeef5f279da37351ca00bd
parent1158411f53fc0b4d22511c2527850cad457b9c4a
ChanIsAvail() generates a CDR when unanswered=yes in cdr.conf.

ChanIsAvail() creates a temporary channel with ast_request() to test
resource availability. It should not generate a CDR when it hangs up
this temporary channel.

This patch disables CDR generation for the temporary channel with
ast_cdr_set_property().

ASTERISK-28527

Change-Id: I7b0555c6909c7d322e452dde97c9ea5b111552d1
apps/app_chanisavail.c