[OpenSIPS-Devel] [opensips] call_control: Passthrough sip_application (#170)
Saúl Ibarra Corretgé
notifications at github.com
Wed Feb 19 03:12:46 CET 2014
> @@ -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,
> + sip_application_avp.name, &value, NULL) ||
> + !value.s.s || value.s.len==0) {
> +
> + value.s.s = "audio";
Lets use "" as the default value. It's easy enough for anybody to set it in the config script.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/170/files#r9851713
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140218/d837a666/attachment.htm>
More information about the Devel
mailing list