[asterisk-bugs] [JIRA] (ASTERISK-28995) Asterisk client get sip_parser and sip_transport error

Benjamin Keith Ford (JIRA) noreply at issues.asterisk.org
Mon Jul 20 09:45:25 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Keith Ford updated ASTERISK-28995:
-------------------------------------------

    Assignee: tootai
      Status: Waiting for Feedback  (was: Triage)

Looks like the problem is with the first "Contact" header, with the expiration of "2699878327". This may be out of the range of the parser. Can you provide some SIP and debug logs of successful REGISTERs leading up to this one? I'll look at the REGISTER code to confirm the above.

> Asterisk client get sip_parser and sip_transport error
> ------------------------------------------------------
>
>                 Key: ASTERISK-28995
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28995
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 16.12.0
>         Environment: Debian 10/64 with Asterisk compiled from source 
>            Reporter: tootai
>            Assignee: tootai
>
> Client asterisk can't no more register getting
> [Jul 18 18:16:41] ERROR[16446]: pjproject: <?>:           sip_parser.c Error parsing '2699878327': String value was greater than the maximum allowed value.   
> [Jul 18 18:16:41] ERROR[16446]: pjproject: <?>:         sip_transport. Error processing 557 bytes packet from UDP 10.1.58.11:5060 : PJSIP invalid value error 
> exception when parsing 'Contact' header on line 8 col -1:                                                                                                     
> SIP/2.0 200 OK                                                                                                                                                
> Via: SIP/2.0/UDP 10.99.3.25:5060;rport=5060;received=10.99.3.25;branch=z9hG4bKPj14b7789f-2b4a-4b86-a5f8-da30ee91620f                                          
> Call-ID: 3516f022-c9a9-4e6d-a5f7-1c41e71dc3e5                                                                                                                 
> From: <sip:33388086940 at 10.1.58.11>;tag=5208efde-b08d-4f25-abd0-a567ff0ee1f6                                                                                   
> To: <sip:33388086940 at 10.1.58.11>;tag=z9hG4bKPj14b7789f-2b4a-4b86-a5f8-da30ee91620f                                                                            
> CSeq: 25192 REGISTER                                                                                                                                          
> Date: Sat, 18 Jul 2020 16:16:09 GMT                                                                                                                           
> Contact: <sip:10.99.3.25:5060>;expires=2699878327                                                                                                             
> Contact: <sip:s at 10.99.3.25:5060>;expires=3599
> Expires: 3600
> Server: TOOTAiAudio
> Content-Length:  0
> -- end of packet. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list