You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a segmentation fault whenever I try to do ProxyAction: ListSessions:
$ telnet localhost 1234
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager Proxy/1.28.2
ProxyAction: ListSessions
Connection closed by foreign host.
I've pined down the problem to proxyfunc.c line 53: I've changed the line to: AddHeader(&m, "ProxyClientActionID: %s", c->actionid); and it seems to work now. I'm no C expert, but from my understanding there's no need for the ||"" expression since vsprintf will properly format even if c->actionid is full of \0 (as was my case).
The text was updated successfully, but these errors were encountered:
I'm getting a segmentation fault whenever I try to do ProxyAction:
ListSessions:
$ telnet localhost 1234
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager Proxy/1.28.2
ProxyAction: ListSessions
Connection closed by foreign host.
I've pined down the problem to proxyfunc.c line 53: I've changed the line
to:
AddHeader(&m, "ProxyClientActionID: %s", c->actionid); and it seems to
work now. I'm no C expert, but from my understanding there's no need for
the ||"" expression since vsprintf will properly format even if
c->actionid is full of \0 (as was my case).
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/5
.
Hi,
I'm getting a segmentation fault whenever I try to do
ProxyAction: ListSessions
:I've pined down the problem to proxyfunc.c line 53: I've changed the line to:
AddHeader(&m, "ProxyClientActionID: %s", c->actionid);
and it seems to work now. I'm no C expert, but from my understanding there's no need for the||""
expression since vsprintf will properly format even if c->actionid is full of\0
(as was my case).The text was updated successfully, but these errors were encountered: