diff --git a/src/mod/endpoints/mod_skinny/skinny_server.c b/src/mod/endpoints/mod_skinny/skinny_server.c index cd5f10b03f..26566423f0 100644 --- a/src/mod/endpoints/mod_skinny/skinny_server.c +++ b/src/mod/endpoints/mod_skinny/skinny_server.c @@ -649,7 +649,7 @@ int skinny_ring_lines_callback(void *pArg, int argc, char **argv, char **columnN send_start_tone(listener, SKINNY_TONE_CALLWAITTONE, 0, line_instance, helper->tech_pvt->call_id); send_stop_tone(listener, line_instance, helper->tech_pvt->call_id); } else { - /* silent ring - would like to just flash the lamp */ + send_set_ringer(listener, SKINNY_RING_FLASHONLY, SKINNY_RING_FOREVER, 0, helper->tech_pvt->call_id); } switch_channel_ring_ready(channel); } diff --git a/src/mod/endpoints/mod_skinny/skinny_tables.c b/src/mod/endpoints/mod_skinny/skinny_tables.c index b4917bf475..87d0412dfe 100644 --- a/src/mod/endpoints/mod_skinny/skinny_tables.c +++ b/src/mod/endpoints/mod_skinny/skinny_tables.c @@ -195,6 +195,7 @@ SKINNY_DECLARE_STR2ID(skinny_str2tone, SKINNY_TONS, -1) {SKINNY_RING_INSIDE, "RingInside"}, {SKINNY_RING_OUTSIDE, "RingOutside"}, {SKINNY_RING_FEATURE, "RingFeature"}, + {SKINNY_RING_FLASHONLY, "RingFlashOnly"}, {0, NULL} }; SKINNY_DECLARE_ID2STR(skinny_ring_type2str, SKINNY_RING_TYPES, "RingTypeUnknown") diff --git a/src/mod/endpoints/mod_skinny/skinny_tables.h b/src/mod/endpoints/mod_skinny/skinny_tables.h index f766cbe13d..40abce5c71 100644 --- a/src/mod/endpoints/mod_skinny/skinny_tables.h +++ b/src/mod/endpoints/mod_skinny/skinny_tables.h @@ -115,9 +115,10 @@ enum skinny_ring_type { SKINNY_RING_OFF = 1, SKINNY_RING_INSIDE = 2, SKINNY_RING_OUTSIDE = 3, - SKINNY_RING_FEATURE = 4 + SKINNY_RING_FEATURE = 4, + SKINNY_RING_FLASHONLY = 5 }; -extern struct skinny_table SKINNY_RING_TYPES[5]; +extern struct skinny_table SKINNY_RING_TYPES[6]; const char *skinny_ring_type2str(uint32_t id); uint32_t skinny_str2ring_type(const char *str); #define SKINNY_PUSH_RING_TYPES SKINNY_DECLARE_PUSH_MATCH(SKINNY_RING_TYPES)