This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
alphaindexes:devel:modfunctions [2017/08/02 16:47] miconda |
alphaindexes:devel:modfunctions [2017/12/11 22:44] miconda |
||
---|---|---|---|
Line 9: | Line 9: | ||
| **acc_db_request(comment, | | **acc_db_request(comment, | ||
| **acc_diam_request(comment)** | //modules// | [[http:// | | **acc_diam_request(comment)** | //modules// | [[http:// | ||
+ | | **acc_diam_request(comment)** | //modules// | [[http:// | ||
| **acc_log_request(comment)** | //modules// | [[http:// | | **acc_log_request(comment)** | //modules// | [[http:// | ||
| **acc_rad_request(comment)** | //modules// | [[http:// | | **acc_rad_request(comment)** | //modules// | [[http:// | ||
+ | | **acc_request(comment, | ||
| **add_contact_alias([ip_addr, | | **add_contact_alias([ip_addr, | ||
| **add_diversion(reason [, uri])** | //modules// | [[http:// | | **add_diversion(reason [, uri])** | //modules// | [[http:// | ||
Line 23: | Line 25: | ||
| **add_sock_hdr(hdr_name)** | //modules// | [[http:// | | **add_sock_hdr(hdr_name)** | //modules// | [[http:// | ||
| **add_uri_param(param)** | //modules// | [[http:// | | **add_uri_param(param)** | //modules// | [[http:// | ||
- | | **alias_db_find( table_name , input, output [,flags] )** | //modules// | [[http:// | + | | **alias_db_find( table_name , input, output [,flags] )** | //modules// | [[http:// |
- | | **alias_db_lookup(table_name [,flags])** | //modules// | [[http:// | + | | **alias_db_lookup(table_name [,flags])** | //modules// | [[http:// |
| **allow_address(group_id, | | **allow_address(group_id, | ||
| **allow_address_group(addr, | | **allow_address_group(addr, | ||
Line 138: | Line 140: | ||
| **cnt_inc([group.]name)** | //modules// | [[http:// | | **cnt_inc([group.]name)** | //modules// | [[http:// | ||
| **cnt_reset([group.]name)** | //modules// | [[http:// | | **cnt_reset([group.]name)** | //modules// | [[http:// | ||
- | | **cnxcc_set_max_channel()** | //modules// | [[http:// | + | | **cnxcc_set_max_channel(customer, maxchan)** | //modules// | [[http:// |
- | | **cnxcc_set_max_credit()** | //modules// | [[http:// | + | | **cnxcc_set_max_credit(customer, maxcredit, cps, ipulse, fpulse)** | //modules// | [[http:// |
- | | **cnxcc_set_max_time()** | //modules// | [[http:// | + | | **cnxcc_set_max_time(customer, maxtime)** | //modules// | [[http:// |
- | | **cnxcc_terminate_all()** | //modules// | [[http:// | + | | **cnxcc_terminate_all(customer)** | //modules// | [[http:// |
- | | **cnxcc_update_max_time()** | //modules// | [[http:// | + | | **cnxcc_update_max_time(customer, maxtime)** | //modules// | [[http:// |
| **Common requirements** | //modules// | [[http:// | | **Common requirements** | //modules// | [[http:// | ||
| **compare_ips (ip1, ip2)** | //modules// | [[http:// | | **compare_ips (ip1, ip2)** | //modules// | [[http:// | ||
Line 148: | Line 150: | ||
| **consume_credentials()** | //modules// | [[http:// | | **consume_credentials()** | //modules// | [[http:// | ||
| **core_hash(string1, | | **core_hash(string1, | ||
- | | **cpl_process_register()** | //modules// | [[http:// | + | | **cpl_process_register()** | //modules// | [[http:// |
- | | **cpl_process_register_norpl()** | //modules// | [[http:// | + | | **cpl_process_register_norpl()** | //modules// | [[http:// |
- | | **cpl_run_script(type, | + | | **cpl_run_script(type, |
| **crypto_aes_decrypt(text, | | **crypto_aes_decrypt(text, | ||
| **crypto_aes_encrypt(text, | | **crypto_aes_encrypt(text, | ||
Line 196: | Line 198: | ||
| **dlg_setflag(flag)** | //modules// | [[http:// | | **dlg_setflag(flag)** | //modules// | [[http:// | ||
| **dlg_set_property(attr)** | //modules// | [[http:// | | **dlg_set_property(attr)** | //modules// | [[http:// | ||
+ | | **dlg_set_ruri()** | //modules// | [[http:// | ||
| **dlg_set_timeout(timeout [, h_entry, h_id])** | //modules// | [[http:// | | **dlg_set_timeout(timeout [, h_entry, h_id])** | //modules// | [[http:// | ||
| **dlg_set_timeout_by_profile(profile, | | **dlg_set_timeout_by_profile(profile, | ||
Line 209: | Line 212: | ||
| **does_uri_exist()** | //modules// | [[http:// | | **does_uri_exist()** | //modules// | [[http:// | ||
| **does_uri_exist()** | //modules// | [[http:// | | **does_uri_exist()** | //modules// | [[http:// | ||
- | | **do_routing("[groupID]")** | //modules// | [[http:// | + | | **do_routing([groupID])** | //modules// | [[http:// |
- | | **dp_apply_policy()** | //modules// | [[http:// | + | | **dp_apply_policy()** | //modules// | [[http:// |
- | | **dp_can_connect()** | //modules// | [[http:// | + | | **dp_can_connect()** | //modules// | [[http:// |
| **dp_match(dpid, | | **dp_match(dpid, | ||
| **dp_reload()** | //modules// | [[http:// | | **dp_reload()** | //modules// | [[http:// | ||
Line 234: | Line 237: | ||
| **encode_contact(encoding_prefix)** | //modules// | [[http:// | | **encode_contact(encoding_prefix)** | //modules// | [[http:// | ||
| **encode_contact(encoding_prefix, | | **encode_contact(encoding_prefix, | ||
- | | **end_media_session()** | //modules// | [[http:// | + | | **end_media_session()** | //modules// | [[http:// |
- | | **engage_media_proxy()** | //modules// | [[http:// | + | | **engage_media_proxy()** | //modules// | [[http:// |
| **enum_pv_query(" | | **enum_pv_query(" | ||
| **enum_query([" | | **enum_query([" | ||
Line 265: | Line 268: | ||
| **fix_nated_sdp(flags [, ip_address])** | //modules// | [[http:// | | **fix_nated_sdp(flags [, ip_address])** | //modules// | [[http:// | ||
| **flags2attr(" | | **flags2attr(" | ||
+ | | **float2int(fval, | ||
| **fnmatch(value, | | **fnmatch(value, | ||
| **from_any_gw([ip_addr, | | **from_any_gw([ip_addr, | ||
Line 341: | Line 345: | ||
| **is_e164(pseudo-variable)** | //modules// | [[http:// | | **is_e164(pseudo-variable)** | //modules// | [[http:// | ||
| **is_first_hop()** | //modules// | [[http:// | | **is_first_hop()** | //modules// | [[http:// | ||
- | | **is_from_gw( type, [flag])** | //modules// | [[http:// | + | | **is_from_gw([ type, [flag] ])** | //modules// | [[http:// |
- | | **is_from_gw([type])** | //modules// | [[http:// | + | |
| **is_from_local()** | //modules// | [[http:// | | **is_from_local()** | //modules// | [[http:// | ||
| **is_from_user_enum()** | //modules// | [[http:// | | **is_from_user_enum()** | //modules// | [[http:// | ||
Line 456: | Line 459: | ||
| **matrix (string first, string second, string dstavp)** | //modules// | [[http:// | | **matrix (string first, string second, string dstavp)** | //modules// | [[http:// | ||
| **maxfwd_at_least(max_value)** | //modules// | [[http:// | | **maxfwd_at_least(max_value)** | //modules// | [[http:// | ||
- | | **maxfwd_process(max_value)** | //modules// | [[http:// | + | | **maxfwd_process(max_value)** | //modules// | [[http:// |
| **mf_lowlimit(max_value)** | //modules// | [[http:// | | **mf_lowlimit(max_value)** | //modules// | [[http:// | ||
| **mf_process_maxfwd_header(max_value)** | //modules// | [[http:// | | **mf_process_maxfwd_header(max_value)** | //modules// | [[http:// | ||
Line 469: | Line 472: | ||
| **mongodb_free(replyid)** | //modules// | [[http:// | | **mongodb_free(replyid)** | //modules// | [[http:// | ||
| **mongodb_next(replyid)** | //modules// | [[http:// | | **mongodb_next(replyid)** | //modules// | [[http:// | ||
- | | **mono_exec(path [, param])** | //modules// | [[http:// | + | | **mono_exec(path [, param])** | //modules// | [[http:// |
- | | **mono_run([param])** | //modules// | [[http:// | + | | **mono_run([param])** | //modules// | [[http:// |
| **mq_add(queue, | | **mq_add(queue, | ||
| **mq_fetch(queue)** | //modules// | [[http:// | | **mq_fetch(queue)** | //modules// | [[http:// | ||
Line 500: | Line 503: | ||
| **nat_uac_test(flags)** | //modules// | [[http:// | | **nat_uac_test(flags)** | //modules// | [[http:// | ||
| **next_gw()** | //modules// | [[http:// | | **next_gw()** | //modules// | [[http:// | ||
+ | | **next_routing()** | //modules// | [[http:// | ||
| **not_empty(pvar)** | //modules// | [[http:// | | **not_empty(pvar)** | //modules// | [[http:// | ||
| **nsq_pua_publish(json_payload)** | //modules// | [[http:// | | **nsq_pua_publish(json_payload)** | //modules// | [[http:// | ||
Line 522: | Line 526: | ||
| **perl_exec(func, | | **perl_exec(func, | ||
| **perl_exec_simple(func, | | **perl_exec_simple(func, | ||
+ | | **phonenum_match(num, | ||
| **pike_check_req()** | //modules// | [[http:// | | **pike_check_req()** | //modules// | [[http:// | ||
| **pkg_status()** | //modules// | [[http:// | | **pkg_status()** | //modules// | [[http:// | ||
Line 562: | Line 567: | ||
| **pv_xavp_print()** | //modules// | [[http:// | | **pv_xavp_print()** | //modules// | [[http:// | ||
| **pv_xavp_to_var(xname)** | //modules// | [[http:// | | **pv_xavp_to_var(xname)** | //modules// | [[http:// | ||
- | | **python_exec(method [, args])** | //modules// | [[http:// | + | | **python_exec(method [, args])** | //modules// | [[http:// |
===== [Q] ===== | ===== [Q] ===== | ||
Line 573: | Line 578: | ||
| **rabbitmq_publish(exchange, | | **rabbitmq_publish(exchange, | ||
| **rabbitmq_publish_consume(exchange, | | **rabbitmq_publish_consume(exchange, | ||
- | | **radius_does_uri_exist([uri])** | //modules// | [[http:// | + | | **radius_does_uri_exist([uri])** | //modules// | [[http:// |
- | | **radius_does_uri_user_exist([user])** | //modules// | [[http:// | + | | **radius_does_uri_user_exist([user])** | //modules// | [[http:// |
- | | **radius_is_user_in(user, | + | | **radius_is_user_in(user, |
- | | **radius_load_callee_avps(callee)** | //modules// | [[http:// | + | | **radius_load_callee_avps(callee)** | //modules// | [[http:// |
- | | **radius_load_caller_avps(caller)** | //modules// | [[http:// | + | | **radius_load_caller_avps(caller)** | //modules// | [[http:// |
- | | **radius_proxy_authorize(realm [, uri_user])** | //modules// | [[http:// | + | | **radius_proxy_authorize(realm [, uri_user])** | //modules// | [[http:// |
- | | **radius_www_authorize(realm [, uri_user])** | //modules// | [[http:// | + | | **radius_www_authorize(realm [, uri_user])** | //modules// | [[http:// |
| **rand_event()** | //modules// | [[http:// | | **rand_event()** | //modules// | [[http:// | ||
| **rand_get_prob()** | //modules// | [[http:// | | **rand_get_prob()** | //modules// | [[http:// | ||
Line 615: | Line 620: | ||
| **replace_body_atonce(re, | | **replace_body_atonce(re, | ||
| **reportospusage()** | //modules// | [[http:// | | **reportospusage()** | //modules// | [[http:// | ||
- | | **report_capture([table], | + | | **report_capture([table], [cid], [data])** | //modules// | [[http:// |
| **requestosprouting()** | //modules// | [[http:// | | **requestosprouting()** | //modules// | [[http:// | ||
| **resetbflag(flag [, branch])** | //modules// | [[http:// | | **resetbflag(flag [, branch])** | //modules// | [[http:// | ||
Line 731: | Line 736: | ||
| **sht_rm_value_re(htable=& | | **sht_rm_value_re(htable=& | ||
| **sht_unlock(htable=& | | **sht_unlock(htable=& | ||
+ | | **sipdump_send(tag)** | //modules// | [[http:// | ||
| **sipt_destination(destination, | | **sipt_destination(destination, | ||
| **sipt_set_bci_1(charge_indicator, | | **sipt_set_bci_1(charge_indicator, | ||
| **sipt_set_calling(origin, | | **sipt_set_calling(origin, | ||
- | | **sip_capture([table])** | //modules// | [[http:// | + | | **sip_capture([table], [cmode])** | //modules// | [[http:// |
| **sip_p_charging_vector(flags)** | //modules// | [[http:// | | **sip_p_charging_vector(flags)** | //modules// | [[http:// | ||
| **sip_trace([address][, | | **sip_trace([address][, | ||
Line 756: | Line 762: | ||
| **sstCheckMin(send_reply_flag)** | //modules// | [[http:// | | **sstCheckMin(send_reply_flag)** | //modules// | [[http:// | ||
| **starts_with(str1, | | **starts_with(str1, | ||
- | | **start_recording()** | //modules// | [[http:// | ||
| **start_recording()** | //modules// | [[http:// | | **start_recording()** | //modules// | [[http:// | ||
+ | | **start_recording([flags])** | //modules// | [[http:// | ||
| **statsd_decr(key)** | //modules// | [[http:// | | **statsd_decr(key)** | //modules// | [[http:// | ||
| **statsd_gauge(key, | | **statsd_gauge(key, | ||
Line 764: | Line 770: | ||
| **statsd_start(key)** | //modules// | [[http:// | | **statsd_start(key)** | //modules// | [[http:// | ||
| **statsd_stop(key)** | //modules// | [[http:// | | **statsd_stop(key)** | //modules// | [[http:// | ||
+ | | **stop_recording([flags])** | //modules// | [[http:// | ||
| **subscribe_to_reg(domain)** | //modules// | [[http:// | | **subscribe_to_reg(domain)** | //modules// | [[http:// | ||
| **subst('/ | | **subst('/ | ||
Line 881: | Line 888: | ||
| **uri_param(param)** | //modules// | [[http:// | | **uri_param(param)** | //modules// | [[http:// | ||
| **uri_param(param, | | **uri_param(param, | ||
- | | **use_media_proxy()** | //modules// | [[http:// | + | | **use_media_proxy()** | //modules// | [[http:// |
- | | **use_next_gw()/ | + | | **use_next_gw()** | //modules// | [[http:// |
| **usleep(time)** | //modules// | [[http:// | | **usleep(time)** | //modules// | [[http:// | ||
Line 913: | Line 920: | ||
| **xavp_params_explode(sparams, | | **xavp_params_explode(sparams, | ||
| **xbug(format)** | //modules// | [[http:// | | **xbug(format)** | //modules// | [[http:// | ||
- | | **xcaps_del(uri, | + | | **xcaps_del(uri, |
- | | **xcaps_get(uri, | + | | **xcaps_get(uri, |
- | | **xcaps_put(uri, | + | | **xcaps_put(uri, |
| **xcap_auth_status(watcher_uri, | | **xcap_auth_status(watcher_uri, | ||
| **xcrit(format)** | //modules// | [[http:// | | **xcrit(format)** | //modules// | [[http:// |