Also fix small leak caused by the span being destroyed before the gsm loop ran
FreeTDM http://wiki.freeswitch.org/wiki/FreeTDM