]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Push CLI qualify into the threadpool.
authorMark Michelson <mmichelson@digium.com>
Tue, 8 Oct 2013 15:36:08 +0000 (15:36 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 8 Oct 2013 15:36:08 +0000 (15:36 +0000)
commitce3d908fcac9b8b6860fe31cb69718258f0325a5
treef383ca5a23360f5b51cd6cc5ba6854b9f2580489
parente57deaec333c1001ac07c15bff721cf543765b47
Push CLI qualify into the threadpool.

If you run Asterisk in the background and then connect to
it through a separate console, the thread that runs CLI commands
is not registered with PJLIB. Thus PJLIB does not like it when
you attempt to send OPTIONS requests from that thread. So now
we push the task into the threadpool, which we know to be registered
with PJLIB.

Thanks to Antti Yrjola for reporting this.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip/pjsip_options.c