PJISP cannot handle the From field when it does not contain a number. Can this be fixed? [Feb 25 12:35:43] ERROR[7143]: pjproject: <?>: sip_transport.c Error processing 400 bytes packet from UDP 8.38.43.67:5060 : PJSIP syntax error exception when parsing 'From' header on line 4 col 40: CANCEL sip:14408785990 at 162.255.138.102:5060 SIP/2.0 Via: SIP/2.0/UDP 8.38.43.67:5060;branch=z9hG4bK1sansay261086943rdb109274 To: <sip:14408785990 at 162.255.138.102> From: "Radefeld Dental" <sip:Radefeld Dental at 8.38.43.67>;tag=sansay261086943rdb109274Call-ID: 1001880886-0-2320154044 at 8.38.43.49 CSeq: 1 CANCEL Max-Forwards: 66 Reason: Q.850;cause=34;text="No Ring Timeout" Content-Length: 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200225/8bab54e4/attachment.html>
Did you try to remove the space or replace it (eg underscore) in SIP id like<sip:RadefeldDental at 8.38.43.67 <mailto:Dental at 8.38.43.67>> ? Le 25/02/2020 à 18:40, Saint Michael a écrit :> PJISP cannot handle the From field when it does not contain a number. > Can this be fixed? > > [Feb 25 12:35:43] ERROR[7143]: pjproject: <?>: sip_transport.c Error > processing 400 bytes packet from UDP 8.38.43.67:5060 > <http://8.38.43.67:5060> : PJSIP syntax error exception when parsing > 'From' header on line 4 col 40: > CANCEL sip:14408785990 at 162.255.138.102:5060 > <http://sip:14408785990 at 162.255.138.102:5060> SIP/2.0 > Via: SIP/2.0/UDP 8.38.43.67:5060;branch=z9hG4bK1sansay261086943rdb109274 > To: <sip:14408785990 at 162.255.138.102 > <mailto:sip%3A14408785990 at 162.255.138.102>> > From: "Radefeld Dental" <sip:Radefeld Dental at 8.38.43.67 > <mailto:Dental at 8.38.43.67>>;tag=sansay261086943rdb109274 > Call-ID: 1001880886-0-2320154044 at 8.38.43.49 > <mailto:1001880886-0-2320154044 at 8.38.43.49> > CSeq: 1 CANCEL > Max-Forwards: 66 > Reason: Q.850;cause=34;text="No Ring Timeout" > Content-Length: 0 >-- Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200225/fa3a901e/attachment.html>
On 2/25/2020 12:40 PM, Saint Michael wrote:> PJISP cannot handle the From field when it does not contain a number.Sure it can, but: sip:Radefeld Dental at 8.38.43.67 Is not a valid SIP URI (it can't contain a space). Is Asterisk actually "crashing" or are you just seeing this error in your logs? Kind regards, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200225/ba8f8fc8/attachment.html>