Re: [asterisk-users] PJSIP crashes

2020-02-27 Thread Sean Bright

On 2/26/2020 5:06 PM, Saint Michael wrote:

PJSIP should log a warting and continue.


That's exactly what it is doing unless I am misunderstanding. You didn't 
answer my question last time - is Asterisk actually "crashing?"



It is causing the CPU usage to spike dramatically.


If you are able to provide reproducing steps, feel free to open an 
issue¹ and someone will take a look at it. If you don't want to do that 
for whatever reason, you can install a proxy (like Kamailio) in front of 
your Asterisk server which can weed out malformed SIP packets like the 
example one you provided.


Kind regards,
Sean

[1] https://issues.asterisk.org/jira
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] PJSIP crashes

2020-02-26 Thread Saint Michael
>
> I have no control over the SIP calls I receive. PJSIP should log a warting
> and continue. It is causing the CPU usage to spike dramatically.
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] PJSIP crashes

2020-02-25 Thread Sean Bright

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@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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] PJSIP crashes

2020-02-25 Thread Administrator
Did you try to remove the space or replace it (eg underscore) in SIP id 
likemailto:Dental@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 
 : PJSIP syntax error exception when parsing 
'From' header on line 4 col 40:
CANCEL sip:14408785990@162.255.138.102:5060 
 SIP/2.0

Via: SIP/2.0/UDP 8.38.43.67:5060;branch=z9hG4bK1sansay261086943rdb109274
To: >
From: "Radefeld Dental" >;tag=sansay261086943rdb109274
Call-ID: 1001880886-0-2320154044@8.38.43.49 


CSeq: 1 CANCEL
Max-Forwards: 66
Reason: Q.850;cause=34;text="No Ring Timeout"
Content-Length: 0


--
Daniel

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] PJSIP crashes

2020-02-25 Thread Saint Michael
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@162.255.138.102:5060 SIP/2.0
Via: SIP/2.0/UDP 8.38.43.67:5060;branch=z9hG4bK1sansay261086943rdb109274
To: 
From: "Radefeld Dental" ;tag=sansay261086943rdb109274
Call-ID: 1001880886-0-2320154044@8.38.43.49
CSeq: 1 CANCEL
Max-Forwards: 66
Reason: Q.850;cause=34;text="No Ring Timeout"
Content-Length: 0
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users