Changes between Version 13 and Version 14 of PagingIntercom

Show
Ignore:
Author:
p_lindheimer (IP: 98.203.245.82)
Timestamp:
10/29/07 00:32:47 (6 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PagingIntercom

    v13 v14  
    9595exten => _*81.,n,Return 
    9696}}} 
    97  
    98  
    99  
     97I like the concept of checking what type of phone it is based on the useragent. However - there seems to be such a diverse range of useragents which include firmware version, etc. You can truncate part of it however it seems like it may be a bit error prone. Here is an example of what a few phones/ATAs return to show the diversity: 
     98{{{ 
     99PolycomSoundPointIP-SPIP_601-UA/1.6.5.0043 
     100Sipura/SPA2002-3.1.5 
     101Mitel-5212-SIP-Phone 06.00.00.19 08000F270FD2 
     102snom300/6.2.3 
     103Mitel-5235-SIP-Phone 
     104Aastra 480i Cordless 
     105}}} 
     106Maybe a way to handle it is to check if the device type is known already (from provisioning info in the future), if not go through a method like this and barring that, set a default value. Note that other fields like Call-Info can also very by phone.