diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-21 18:55:39 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-21 18:55:39 +0000 |
commit | 94057171acf1f336b5f2655a3ec1f8746fa7feb4 (patch) | |
tree | f1efa8fc2c3644c6093ea329dbd74dd393ab2bdf /pbx.c | |
parent | 2144646c416b6dece22336e254985d8a32dc33cb (diff) |
Save CID and switches in "save dialplan" command (bug #2279)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3630 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-x | pbx.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -4864,6 +4864,16 @@ char *ast_get_ignorepat_registrar(struct ast_ignorepat *ip) return ip ? ip->registrar : NULL; } +int ast_get_extension_matchcid(struct ast_exten *e) +{ + return e ? e->matchcid : 0; +} + +char *ast_get_extension_cidmatch(struct ast_exten *e) +{ + return e ? e->cidmatch : NULL; +} + char *ast_get_extension_app(struct ast_exten *e) { return e ? e->app : NULL; |