[Home]

Summary:ASTERISK-08936: Crash with SLA
Reporter:Francesco Romano (francesco_r)Labels:
Date Opened:2007-03-05 09:20:34.000-0600Date Closed:2007-06-30 09:20:07
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt_full.txt
Description:I have succesfully configured SLA with an IP trunk and two Grandstream GXP2000 but i have frequent asterisk crashs. I have attached a full bt of a core dump (asterisk compiled with DONT_OPTIMIZE).

This is my sla.conf
---------------------------------------------
[general]

[line1]
type=trunk
device=Local/disa@line1_outbound
ringtimeout=60

[line2]
type=trunk
device=Local/disa@line2_outbound
ringtimeout=60

[line4]
type=trunk
device=Local/disa@line4_outbound
ringtimeout=60
;barge=no
;hold=private

[station](!)
type=station
autocontext=sla_stations
trunk=line1
trunk=line2
trunk=line4
ringtimeout=60

[station1](station)
device=SIP/201

-------------------------------------
extensions.conf
[line1]
exten => s,1,SLATrunk(line1)
;exten => s,2,SLATrunk(line2)

[line2]
exten => s,1,SLATrunk(line2)

[line4]
exten => s,1,SLATrunk(line4)

[line1_outbound]
exten => disa,1,Disa(no-password|line1_outbound)
exten => _XX.,1,Dial(mISDN/1/${EXTEN})

[line2_outbound]
exten => disa,1,Disa(no-password|line2_outbound)
exten => _XX.,1,Dial(mISDN/1/${EXTEN})


[line4_outbound]
exten => disa,1,Disa(no-password|line4_outbound)
exten => _XX.,1,Dial(SIP/${EXTEN}@396898516594)

[station2](station)
device=SIP/202
--------------------------------------------------

I have econutered also the following problems. But perhaps is not the right places to discuss it.
If i set barge=no in a trunk i can't pickup the call from the second phone when the first phone put on hold the call. With barge=yes i can pickup the call on hold but in the first phone the call remains open, like a conference. And this is not like a traditional key system.
If i call the SLATrunk and the other party hangup the sip notify is infinitely in ringing state (core show hints: station1_line4@sla_stations:SLA:station1_line4    State:Ringing).
If i put on hold, no moh.
Comments:By: Russell Bryant (russell) 2007-03-05 10:13:06.000-0600

I'm out of the office today, but I will take a look at this tomorrow.  Thanks for the report.

By: Joshua C. Colp (jcolp) 2007-03-05 12:40:45.000-0600

Not to rain on russell's parade but can you try 1.4 as of revision 57872? Thanks.

By: Francesco Romano (francesco_r) 2007-03-06 03:41:37.000-0600

Works well with SVN 57914 for now, no core dumps. I have to open other issues for the other problems? Particularly for the sla ring state remaining up, what you need for debug? Thank you

By: Serge Vecher (serge-v) 2007-03-06 09:03:51.000-0600

francesco_r: thanks for reporting back the results. Please open another report for the ring state issue. If you need help with debugging, please hop on to the #asterisk-bugs irc channel.