Branch: refs/heads/1.9
Home: https://github.com/OpenSIPS/opensips
Commit: c94887a5f5e950ee59e699f1bcfb3118d7cc78fb
https://github.com/OpenSIPS/opensips/commit/c94887a5f5e950ee59e699f1bcfb3118d7cc78fb
Author: Walter Doekes walter+git...@wjd.nu
Date: 2014-02-05 (Wed, 05 Feb
Branch: refs/heads/1.10
Home: https://github.com/OpenSIPS/opensips
Commit: 26044bfee42c28d3d53516fbe54080a3a9420a87
https://github.com/OpenSIPS/opensips/commit/26044bfee42c28d3d53516fbe54080a3a9420a87
Author: Walter Doekes walter+git...@wjd.nu
Date: 2014-02-05 (Wed, 05 Feb
@@ -177,6 +180,7 @@
{call_token_avp, STR_PARAM, (call_token_avp.spec.s)},
{prepaid_account_flag,STR_PARAM, prepaid_account_str},
{prepaid_account_flag,INT_PARAM, prepaid_account_flag},
+{sip_application_avp, STR_PARAM, (sip_application_avp.spec.s)},
@@ -640,6 +662,7 @@ struct module_exports exports = {
prepaid: %s\r\n
call_limit: %d\r\n
call_token: %.*s\r\n
+ application: %.*s\r\n
sip_application
---
Reply to this email directly or view it on
@@ -406,6 +411,22 @@ struct module_exports exports = {
return value.s;
}
+// Get SIP application type
+static str
+get_sip_application(struct sip_msg* msg)
+{
+int_str value;
+
+if (!search_first_avp(sip_application_avp.type | AVP_VAL_STR,
+