Lines Matching refs:my_params

1688 				switch_event_t *my_params = NULL;  in listen_file()  local
1732 switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS); in listen_file()
1733 switch_assert(my_params); in listen_file()
1735 …s = switch_xml_locate_user_merged("id:number-alias", vm_cc, cbt->domain, NULL, &x_user, my_params); in listen_file()
1736 switch_event_destroy(&my_params); in listen_file()
3245 switch_event_t *my_params = NULL; in voicemail_inject() local
3248 switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS); in voicemail_inject()
3249 switch_assert(my_params); in voicemail_inject()
3252 switch_event_add_header_string(my_params, SWITCH_STACK_BOTTOM, "group", user); in voicemail_inject()
3255 switch_event_add_header_string(my_params, SWITCH_STACK_BOTTOM, "user", "_all_"); in voicemail_inject()
3257 switch_event_add_header_string(my_params, SWITCH_STACK_BOTTOM, "user", user); in voicemail_inject()
3262 switch_event_add_header_string(my_params, SWITCH_STACK_BOTTOM, "Forwarded-By", forwarded_by); in voicemail_inject()
3264 switch_event_add_header_string(my_params, SWITCH_STACK_BOTTOM, "domain", domain); in voicemail_inject()
3265 switch_event_add_header_string(my_params, SWITCH_STACK_BOTTOM, "purpose", "publish-vm"); in voicemail_inject()
3267 if (switch_xml_locate_domain(domain, my_params, &xml_root, &x_domain) != SWITCH_STATUS_SUCCESS) { in voicemail_inject()
3270 switch_event_destroy(&my_params); in voicemail_inject()
3275 switch_event_destroy(&my_params); in voicemail_inject()
3294 switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS); in voicemail_inject()
3296 …deliver_vm(profile, ux, domain, path, 0, read_flags, my_params, pool, cid_name, cid_num, forwarded… in voicemail_inject()
3298 switch_event_destroy(&my_params); in voicemail_inject()
3304 switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS); in voicemail_inject()
3306 my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE, in voicemail_inject()
3308 switch_event_destroy(&my_params); in voicemail_inject()
3328 switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS); in voicemail_inject()
3330 my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE, in voicemail_inject()
3332 switch_event_destroy(&my_params); in voicemail_inject()
3343 switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS); in voicemail_inject()
3345 my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE, in voicemail_inject()
3347 switch_event_destroy(&my_params); in voicemail_inject()
5007 switch_event_t *my_params; member
5015 …switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Received-Epoch", "%s", ar… in message_get_callback()
5016 …switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Read-Epoch", "%s", argv[1… in message_get_callback()
5019 switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-UUID", "%s", argv[4]); in message_get_callback()
5020 …switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Caller-Name", "%s", argv[… in message_get_callback()
5021 …switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Caller-Number", "%s", arg… in message_get_callback()
5022 switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Folder", "%s", argv[7]); in message_get_callback()
5023 …switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-File-Path", "%s", argv[8]… in message_get_callback()
5024 switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Duration", "%s", argv[9]); in message_get_callback()
5025 switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Flags", "%s", argv[10]); in message_get_callback()
5026 …switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Read-Flags", "%s", argv[1… in message_get_callback()
5027 …switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, "VM-Message-Forwarded-By", "%s", argv… in message_get_callback()
5035 switch_event_t *my_params; member
5045 switch_event_add_header(cbt->my_params, SWITCH_STACK_BOTTOM, varname, "%s", argv[0]); in message_list_callback()
5214 switch_event_t *my_params = NULL; in SWITCH_STANDARD_API() local
5217 switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS); in SWITCH_STANDARD_API()
5218 …switch_event_add_header(my_params, SWITCH_STACK_BOTTOM, "VM-Preference-Greeting-File-Path", "%s", … in SWITCH_STANDARD_API()
5219 …switch_event_add_header(my_params, SWITCH_STACK_BOTTOM, "VM-Preference-Greeting-Slot", "%s", "Not … in SWITCH_STANDARD_API()
5220 …switch_event_add_header(my_params, SWITCH_STACK_BOTTOM, "VM-Preference-Greeting-Selected", "%s", "… in SWITCH_STANDARD_API()
5221 switch_event_serialize_json(my_params, &ebuf); in SWITCH_STANDARD_API()
5222 switch_event_destroy(&my_params); in SWITCH_STANDARD_API()
5446 switch_event_create(&cbt.my_params, SWITCH_EVENT_REQUEST_PARAMS); in SWITCH_STANDARD_API()
5452 …switch_event_add_header(cbt.my_params, SWITCH_STACK_BOTTOM, "VM-List-Count", "%"SWITCH_SIZE_T_FMT,… in SWITCH_STANDARD_API()
5453 switch_event_serialize_json(cbt.my_params, &ebuf); in SWITCH_STANDARD_API()
5454 switch_event_destroy(&cbt.my_params); in SWITCH_STANDARD_API()
5820 switch_event_create(&cbt.my_params, SWITCH_EVENT_REQUEST_PARAMS); in SWITCH_STANDARD_API()
5823 file_path = switch_event_get_header(cbt.my_params, "VM-Message-File-Path"); in SWITCH_STANDARD_API()
5843 switch_event_destroy(&cbt.my_params); in SWITCH_STANDARD_API()
5849 …ile_path, switch_event_get_header(cbt.my_params, "VM-Message-Caller-Number"), switch_event_get_hea… in SWITCH_STANDARD_API()
5855 switch_event_destroy(&cbt.my_params); in SWITCH_STANDARD_API()
5864 switch_event_destroy(&cbt.my_params); in SWITCH_STANDARD_API()
5869 switch_event_destroy(&cbt.my_params); in SWITCH_STANDARD_API()
5927 switch_event_create(&cbt.my_params, SWITCH_EVENT_REQUEST_PARAMS); in SWITCH_STANDARD_API()
5933 switch_event_serialize_json(cbt.my_params, &ebuf); in SWITCH_STANDARD_API()
5934 switch_event_destroy(&cbt.my_params); in SWITCH_STANDARD_API()
6010 switch_event_create(&cbt.my_params, SWITCH_EVENT_GENERAL); in SWITCH_STANDARD_API()
6014 msg_uuid = switch_event_get_header(cbt.my_params, "VM-Message-UUID"); in SWITCH_STANDARD_API()
6021 …if (!strcasecmp(switch_event_get_header(cbt.my_params, "VM-Message-Read-Flags"), URGENT_FLAG_STRIN… in SWITCH_STANDARD_API()
6025 …message_count(profile, id, domain, switch_event_get_header(cbt.my_params, "VM-Message-Folder"), &t… in SWITCH_STANDARD_API()
6028 …switch_time_exp_lt(&tm, switch_time_make(atol(switch_event_get_header(cbt.my_params, "VM-Message-R… in SWITCH_STANDARD_API()
6031 …formatted_cid_num = switch_format_number(switch_event_get_header(cbt.my_params, "VM-Message-Caller… in SWITCH_STANDARD_API()
6034 …switch_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "Message-Type", "forwarded-voic… in SWITCH_STANDARD_API()
6035 …switch_event_add_header(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_total_new_messages", "%d", … in SWITCH_STANDARD_API()
6036 …switch_event_add_header(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_total_saved_messages", "%d"… in SWITCH_STANDARD_API()
6037 …switch_event_add_header(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_urgent_new_messages", "%d",… in SWITCH_STANDARD_API()
6038 …switch_event_add_header(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_urgent_saved_messages", "%d… in SWITCH_STANDARD_API()
6039 …event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_current_folder", switch_eve… in SWITCH_STANDARD_API()
6040 switch_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_account", id); in SWITCH_STANDARD_API()
6041 switch_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_domain", domain); in SWITCH_STANDARD_API()
6042 …vent_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_caller_id_number", switch_ev… in SWITCH_STANDARD_API()
6043 …switch_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_formatted_caller_id_… in SWITCH_STANDARD_API()
6044 …event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_caller_id_name", switch_eve… in SWITCH_STANDARD_API()
6045 …h_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_file_path", switch_event_… in SWITCH_STANDARD_API()
6046 …h_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_read_flags", switch_event… in SWITCH_STANDARD_API()
6047 switch_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_time", date); in SWITCH_STANDARD_API()
6048 switch_event_add_header(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_priority", "%d", priority); in SWITCH_STANDARD_API()
6051 message_len = atoi(switch_event_get_header(cbt.my_params, "VM-Message-Duration")); in SWITCH_STANDARD_API()
6054 …l_duration = switch_time_make(atol(switch_event_get_header(cbt.my_params, "VM-Message-Duration")),… in SWITCH_STANDARD_API()
6061 …switch_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_message_len", durati… in SWITCH_STANDARD_API()
6062 switch_event_add_header_string(cbt.my_params, SWITCH_STACK_BOTTOM, "voicemail_email", email); in SWITCH_STANDARD_API()
6067 from = switch_event_expand_headers(cbt.my_params, profile->email_from);; in SWITCH_STANDARD_API()
6073 id, domain, switch_event_get_header(cbt.my_params, "VM-Message-Caller-Name"), in SWITCH_STANDARD_API()
6074 switch_event_get_header(cbt.my_params, "VM-Message-Caller-Number"), priority); in SWITCH_STANDARD_API()
6076 headers = switch_event_expand_headers(cbt.my_params, profile->email_headers); in SWITCH_STANDARD_API()
6090 body = switch_event_expand_headers(cbt.my_params, profile->email_body); in SWITCH_STANDARD_API()
6092 …ssage_len, switch_event_get_header(cbt.my_params, "VM-Message-Caller-Name"), switch_event_get_head… in SWITCH_STANDARD_API()
6095 …switch_simple_email(email, from, header_string, body, switch_event_get_header(cbt.my_params, "VM-M… in SWITCH_STANDARD_API()
6099 switch_event_fire(&cbt.my_params); in SWITCH_STANDARD_API()
6120 switch_event_t *my_params = NULL; in SWITCH_STANDARD_API() local
6169 switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS); in SWITCH_STANDARD_API()
6170 …switch_event_add_header(my_params, SWITCH_STACK_BOTTOM, "VM-Total-New-Messages", "%d", cbt.total_n… in SWITCH_STANDARD_API()
6171 …switch_event_add_header(my_params, SWITCH_STACK_BOTTOM, "VM-Total-New-Urgent-Messages", "%d", cbt.… in SWITCH_STANDARD_API()
6172 …switch_event_add_header(my_params, SWITCH_STACK_BOTTOM, "VM-Total-Saved-Messages", "%d", cbt.total… in SWITCH_STANDARD_API()
6173 …switch_event_add_header(my_params, SWITCH_STACK_BOTTOM, "VM-Total-Saved-Urgent-Messages", "%d", cb… in SWITCH_STANDARD_API()
6174 switch_event_serialize_json(my_params, &ebuf); in SWITCH_STANDARD_API()
6175 switch_event_destroy(&my_params); in SWITCH_STANDARD_API()