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

2008-04-09 Thread Trevor Peirce
Mindaugas Kezys wrote:
 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.



___
-- 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


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

2008-04-09 Thread Atis Lezdins
On Wed, Apr 9, 2008 at 5:29 PM, Trevor Peirce [EMAIL PROTECTED] wrote:
 Mindaugas Kezys wrote:
   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=113012r2=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:[EMAIL PROTECTED]:5061
  host: dynamic
  insecure: NULL
  language: NULL
   mailbox: [EMAIL PROTECTED]
 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,
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

___
-- 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


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

2008-04-09 Thread Mark Michelson
Mindaugas Kezys wrote:
 Hello,
 
 Asterisk 1.4.19 crashes everytime using Realtime and SIP peers
 
 gdb asterisk /tmp/coreXXX 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
 2547if (!(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

___
-- 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


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

2008-04-07 Thread Mindaugas Kezys
Hello,

Asterisk 1.4.19 crashes everytime using Realtime and SIP peers

gdb asterisk /tmp/coreXXX 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
2547if (!(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


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

2008-04-07 Thread Steve Totaro
File a bug on Mantis.

On Mon, Apr 7, 2008 at 8:25 AM, Mindaugas Kezys [EMAIL PROTECTED] wrote:
 Hello,

  Asterisk 1.4.19 crashes everytime using Realtime and SIP peers

  gdb asterisk /tmp/coreXXX 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
  2547if (!(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


___
-- 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