From: Alec L Davis Date: Fri, 22 Apr 2011 22:59:18 +0000 (+0000) Subject: chan_dahdi: Can't return to normal ring after distinctive ring on FXS X-Git-Tag: 1.8.5-rc1~11^2~203 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f014ffa9d024ce9ea4d2cdf60178ee62e7b2e7f8;p=thirdparty%2Fasterisk.git chan_dahdi: Can't return to normal ring after distinctive ring on FXS clear a previous distinctivering pattern before each new call (closes issue #18985) Reported by: bromont Patches: bug18985.diff.txt uploaded by alecdavis (license 585) Tested by: alecdavis, bromont git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@315001 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 0555a46c35..a595c4e1ea 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -13409,6 +13409,7 @@ static struct ast_channel *dahdi_request(const char *type, format_t format, cons } } + p->distinctivering = 0; /* Make special notes */ switch (start.opt) { case '\0':