From: Jose Fco. Irles Date: Wed, 1 Jun 2016 14:58:40 +0000 (+0200) Subject: FS-9216: [mod_sofia] Add Cisco SPA30X and Grandstream GXP user agents to send UPDATE X-Git-Tag: v1.6.9~2^2~29^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b36cef731c14eb73730b9e86b5dd533c20180eb4;p=thirdparty%2Ffreeswitch.git FS-9216: [mod_sofia] Add Cisco SPA30X and Grandstream GXP user agents to send UPDATE --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 8c3f063839..e54c7c5768 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1837,6 +1837,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi TAG_IF(!zstr(tech_pvt->user_via), SIPTAG_VIA_STR(tech_pvt->user_via)), TAG_END()); } else if (ua && ((switch_stristr("aastra", ua) && !switch_stristr("Intelligate", ua)) || (switch_stristr("cisco/spa50", ua) || switch_stristr("cisco/spa525", ua)) || + switch_stristr("cisco/spa30", ua) || switch_stristr("Grandstream GXP", ua) || switch_stristr("Yealink", ua) || switch_stristr("Mitel", ua) || switch_stristr("Panasonic", ua))) { snprintf(message, sizeof(message), "P-Asserted-Identity: \"%s\" ", name, number, tech_pvt->profile->printable_sipip);