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

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Jul 22 04:40:25 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251499#comment-251499 ] 

Joshua C. Colp commented on ASTERISK-28995:
-------------------------------------------

Ah, I've found what is going on. Your information has been confusing on what is what and such.

You have to configure an explicit contact on an AOR and also REGISTER to it. That's not something I've seen anyone else do, so probably why noone saw this.

> pjsip: 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: Resources/res_pjsip, Resources/res_pjsip_registrar
>    Affects Versions: 16.12.0
>         Environment: Debian 10/64 with Asterisk compiled from source 
>            Reporter: tootai
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: Asterisk-28995-log1, Asterisk-28995-log2
>
>
> 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