aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
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;