Index: main/pbx.c =================================================================== --- main/pbx.c (revision 137974) +++ main/pbx.c (working copy) @@ -3391,7 +3391,7 @@ */ if (e->exten[0] == '_') { ast_add_extension(e->parent->name, 0, exten, e->priority, e->label, - e->cidmatch, e->app, strdup(e->data), free, + e->cidmatch, e->app, (e->data ? strdup(e->data) : NULL), free, e->registrar); e = ast_hint_extension(NULL, context, exten); if (!e || e->exten[0] == '_') {