don't blow up if its null
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-02 22:36:01 UTC (rev 15322)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-02 23:28:55 UTC (rev 15323)
@@ -4451,7 +4451,7 @@
moh = tmp;
}
- if (!strcasecmp(moh, "silence")) {
+ if (moh && !strcasecmp(moh, "silence")) {
moh = NULL;
}