aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-21 18:55:39 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-21 18:55:39 +0000
commit94057171acf1f336b5f2655a3ec1f8746fa7feb4 (patch)
treef1efa8fc2c3644c6093ea329dbd74dd393ab2bdf /pbx.c
parent2144646c416b6dece22336e254985d8a32dc33cb (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-xpbx.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/pbx.c b/pbx.c
index 83eb48243..bedcabe1e 100755
--- a/pbx.c
+++ b/pbx.c
@@ -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;