X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=chan_lcr.c;h=dcc9b4151ba14ed1ebac4f1bccc3f2e0533ad996;hp=735e4e749d915b3a26289a255fa3b1afd2651ccc;hb=0954d11aca25b25966aa68b22baa670a11ba277d;hpb=b971fdeb6243a5ea64a75cce40cb698946b75411 diff --git a/chan_lcr.c b/chan_lcr.c index 735e4e7..dcc9b41 100644 --- a/chan_lcr.c +++ b/chan_lcr.c @@ -1412,7 +1412,9 @@ static void lcr_in_information(struct chan_call *call, int message_type, union p #if ASTERISK_VERSION_NUM < 110000 strncat(ast->exten, param->information.id, AST_MAX_EXTENSION-1); #else - ast_channel_exten_set(ast, param->information.id); + char *tmp[AST_MAX_EXTENSION]; + snprintf(tmp,AST_MAX_EXTENSION,"%s%s",ast_channel_exten(ast),param->information.id); + ast_channel_exten_set(ast, tmp); #endif lcr_start_pbx(call, ast, param->information.sending_complete); return;