The authors propose that after destruction of cutaneous nerves, aberrant regenerant sprouting innervates sweat glands, producing gustatory sweating as in auriculotemporal syndrome (Frey syndrome), and innervates nociceptors, producing pain.
http://www.neurology.org/cgi/content/abstract/63/8/1471