Skip to content

FormatException: Input string was not in a correct format. #39

@Atrejoe

Description

@Atrejoe

View details in Rollbar: https://rollbar.com/SPACallmanagerPro/SPA-Callmanager-Pro/items/43/

Traceback (most recent call last):
  File "Microsoft.VisualBasic.CompilerServices.Conversions", line 91, in ParseDouble(System.String Value, System.Globalization.NumberFormatInfo NumberFormat)
  File "Microsoft.VisualBasic.CompilerServices.Conversions", line 5, in ToInteger(System.String Value)
FormatException: Input string was not in a correct format.Traceback (most recent call last):
  File "Microsoft.VisualBasic.CompilerServices.Conversions", line 79, in ToInteger(System.String Value)
  File "H:\Downloads\SPA-Call-Manager-Pro-master\Cisco\ClsPhone.vb", line 220, in ProcessInboundPhoneMessage(System.String message)
InvalidCastException: Conversion from string "1">no;0" to type 'Integer' is not valid.Traceback (most recent call last):

Exception: Exception while parsing 'System.String[]' from message NOTIFY sip:cti@lssbc.8x8.com:5199 SIP/2.0
v: SIP/2.0/UDP 192.168.1.39:5060;branch=z9hG4bK-6802eed9;rport
f: "Sriven Systems" <sip:0455245767@lssbc.8x8.com>;tag=ac57edf9e8acfdfbo0
t: <sip:cti@lssbc.8x8.com>
i: 49bd22b5-717e6bb2@192.168.1.39
CSeq: 33892 NOTIFY
Max-Forwards: 70
o: x-spa-cti
User-Agent: Cisco/SPA504G-7.5.2b-cc:ef:48:5d:7f:e4
P-Station-Name: 1006 ;mac=ccef485d7fe4;display="";sn=CBT15400JIS;scunit1=offline;scunit2=offline;hwver=1.0.3
l: 56
c: application/x-spa-status

<spa-status>
<mwi ext="1">no;0/0</mwi>
</spa-status>
 : System.InvalidCastException: Conversion from string "1">no;0" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   --- End of inner exception stack trace ---
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   at Pss.Cisco.ClsPhone.ProcessInboundPhoneMessage(String message) in H:\Downloads\SPA-Call-Manager-Pro-master\Cisco\ClsPhone.vb:line 220

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions