Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 1.4.19 crash with Realtime using SIP peers


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
mkezys at gmail.com
Guest





PostPosted: Mon Apr 07, 2008 7:25 am    Post subject: [asterisk-users] Asterisk 1.4.19 crash with Realtime using S Reply with quote

Hello,

Asterisk 1.4.19 crashes everytime using Realtime and SIP peers

gdb asterisk /tmp/coreXXXXXXX shows:

Program terminated with signal 11, Segmentation fault.
#0 0xb6148968 in find_peer (peer=0xb6042768 "test", sin=0x0, realtime=1) at
chan_sip.c:2547
2547 if (!(hp =
ast_gethostbyname(tmp->value, &ahp)) || (memcmp(&hp->h_addr, &sin->sin_addr,
sizeof(hp->h_addr)))) {
Sorry, I have no time to read manual how to correctly put this into bug
tracker.


Back to 1.4.18.1....


Regards,
Mindaugas Kezys
http://www.kolmisoft.com
Back to top
stotaro at totarotechn...
Guest





PostPosted: Mon Apr 07, 2008 7:29 am    Post subject: [asterisk-users] Asterisk 1.4.19 crash with Realtime using S Reply with quote

File a bug on Mantis.

On Mon, Apr 7, 2008 at 8:25 AM, Mindaugas Kezys <mkezys at gmail.com> wrote:
Quote:
Hello,

Asterisk 1.4.19 crashes everytime using Realtime and SIP peers

gdb asterisk /tmp/coreXXXXXXX shows:

Program terminated with signal 11, Segmentation fault.
#0 0xb6148968 in find_peer (peer=0xb6042768 "test", sin=0x0, realtime=1) at
chan_sip.c:2547
2547 if (!(hp =
ast_gethostbyname(tmp->value, &ahp)) || (memcmp(&hp->h_addr, &sin->sin_addr,
sizeof(hp->h_addr)))) {


Sorry, I have no time to read manual how to correctly put this into bug
tracker.


Back to 1.4.18.1....


Regards,
Mindaugas Kezys
http://www.kolmisoft.com




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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tpeirce at digitalcon.ca
Guest





PostPosted: Wed Apr 09, 2008 9:29 am    Post subject: [asterisk-users] Asterisk 1.4.19 crash with Realtime using S Reply with quote

Mindaugas Kezys wrote:
Quote:
Hello,

Asterisk 1.4.19 crashes everytime using Realtime and SIP peers

Yes I also saw this and had to revert. Calls to the IVR seemed to be
fine, but as soon as two peers call each other it crashes as the call
progresses (never connects). I haven't had a chance to explore any
further and therefore haven't posted a bug either. Perhaps this weekend
if nobody does first.
Back to top
atis at iq-labs.net
Guest





PostPosted: Wed Apr 09, 2008 12:59 pm    Post subject: [asterisk-users] Asterisk 1.4.19 crash with Realtime using S Reply with quote

On Wed, Apr 9, 2008 at 5:29 PM, Trevor Peirce <tpeirce at digitalcon.ca> wrote:
Quote:
Mindaugas Kezys wrote:
Quote:
Hello,

Asterisk 1.4.19 crashes everytime using Realtime and SIP peers

Yes I also saw this and had to revert. Calls to the IVR seemed to be
fine, but as soon as two peers call each other it crashes as the call
progresses (never connects). I haven't had a chance to explore any
further and therefore haven't posted a bug either. Perhaps this weekend
if nobody does first.
So far works fine for me. Sample peer setup below. Had one issue with
peers where ipaddr was 0 (and hostname used instead), but adding this
patch ( http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?r1=113012&r2=113240
) seems to solve everything.

Regards,
Atis

*************************** 1. row ***************************
id: 2
name: 21168
accountcode: NULL
amaflags: NULL
callgroup: NULL
callerid: Atis <21168>
canreinvite: no
context: default-sip
defaultip: NULL
dtmfmode: rfc2833
fromuser: NULL
fromdomain: NULL
fullcontact: sip:21168 at 192.168.1.123:5061
host: dynamic
insecure: NULL
language: NULL
mailbox: 21168 at device
md5secret: NULL
nat: yes
deny: NULL
permit: NULL
mask: NULL
pickupgroup: NULL
port: 5061
qualify: no
restrictcid: NULL
rtptimeout: NULL
rtpholdtimeout: NULL
secret: 21168
type: friend
username: 21168
disallow:
allow: all
musiconhold: NULL
regseconds: 1207763735
ipaddr: 192.168.1.123
regexten:
cancallforward: yes
setvar:
call-limit: 4

--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
Back to top
mmichelson at digium.com
Guest





PostPosted: Wed Apr 09, 2008 1:20 pm    Post subject: [asterisk-users] Asterisk 1.4.19 crash with Realtime using S Reply with quote

Mindaugas Kezys wrote:
Quote:
Hello,

Asterisk 1.4.19 crashes everytime using Realtime and SIP peers

gdb asterisk /tmp/coreXXXXXXX shows:

Program terminated with signal 11, Segmentation fault.
#0 0xb6148968 in find_peer (peer=0xb6042768 "test", sin=0x0, realtime=1) at
chan_sip.c:2547
2547 if (!(hp =
ast_gethostbyname(tmp->value, &ahp)) || (memcmp(&hp->h_addr, &sin->sin_addr,
sizeof(hp->h_addr)))) {


Sorry, I have no time to read manual how to correctly put this into bug
tracker.


Back to 1.4.18.1....


Regards,
Mindaugas Kezys
http://www.kolmisoft.com


For those following this issue, there was a bug filed for this (issue #12362:
http://bugs.digium.com/view.php?id=12362) and it has been fixed, too (Asterisk
1.4 svn revision 113240).

Mark Michelson
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services