mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-15 22:38:08 +00:00
Finally fix the fix (what a day)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2911,8 +2911,9 @@ static struct ast_frame *zt_handle_event(struct ast_channel *ast)
|
||||
case SIG_SF:
|
||||
case SIG_SFWINK:
|
||||
case SIG_SF_FEATD:
|
||||
if (strlen(p->dop.dialstr))
|
||||
res = ioctl(p->subs[SUB_REAL].zfd, ZT_DIAL, &p->dop);
|
||||
if (res < 0) {
|
||||
else if (res < 0) {
|
||||
ast_log(LOG_WARNING, "Unable to initiate dialing on trunk channel %d\n", p->channel);
|
||||
p->dop.dialstr[0] = '\0';
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user