Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix missing hangup #37

Merged
merged 1 commit into from
Dec 4, 2017
Merged

fix missing hangup #37

merged 1 commit into from
Dec 4, 2017

Conversation

sjaeckel
Copy link
Contributor

as of [1] we have to issue a hangup action to terminate the call

[1] https://freeswitch.org/confluence/display/FREESWITCH/mod_spandsp#mod_spandsp-Forreceivingafax

@tnssfairchild
Copy link

This patch works and fixed our issue.

@@ -221,6 +221,7 @@ func (e *EventSocketServer) handler(c *eventsocket.Connection) {
}
c.Execute("set", fmt.Sprintf("fax_ident=%s", csi), true)
c.Execute("rxfax", filenameAbs, true)
c.Execute("hangup", "", false)
Copy link
Contributor Author

@sjaeckel sjaeckel Nov 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure though if the parameter lock which I set to false should be true instead...

I tested both and both worked for us, but I only tested it after I opened the PR... therefore I'm leaving this for the author to decide which is correct :)

@denzs denzs merged commit 28ce11e into gonicus:master Dec 4, 2017
@denzs
Copy link
Member

denzs commented Dec 4, 2017

Thank your very much for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants