[Asterisk-Users] Park Craches asterisk

Damian Minkov damian at space-comm.com
Tue Mar 1 04:07:27 MST 2005


I've just installed asterisk on a Debian Linux (apt-get it)
And i have placed two sip phones in sip.conf and i'm testing parking 
with them
I have phone1-SIP/1000 and phone2-SIP/1007

The following happens if i park from calling party and everything is OK
1. Pickup Phone2 and call to Phone1
2. Talk
3. Phone2 dials #700 and parks the call (it is placed in 701)
4. Phone2 is hangup
5. Pickup Phone2 and dial 701
6. The Phone2 is connected back to phone1
7. everything is OK

But if I park the call from phone1 (the called party ) :
1. Pickup Phone2 and call to Phone1
2. Talk
3. Phone1 dials #700 and parks the call (it is placed in 701)
4. Phone1 is hangup
5. Pickup Phone1 and dial 701
6. The Phone1 is connected back to phone2
7. I can hear the voice both sites for 1 second and then asterisk 
craches with segmentation fault
    or
    asterisk craches with segmentation fault

Any Idea ot it is a bug ?

Asterisk verion - Asterisk 1.0.5-BRIstuffed-0.2.0-RC7e

here is the config and the output :

extensions.conf :

[general]
static=yes
writeprotect=no

[globals]

[default]
exten => 1000,1,Dial(SIP/1000,60,tTrg)
exten => 1001,1,Dial(SIP/1001,60,tTrg)
include => parkedcalls
exten => t,1,Hangup

sip.conf :

[general]
context=default    
port=5060
bindaddr=0.0.0.0
srvlookup=yes   
localnet=10.0.0.0/255.0.0.0

[1000]
host=dynamic
nat=no
type=friend
username=1000
secret=1000

[1007]
host=dynamic
nat=no
type=friend
username=1007
secret=mir4o


output :
    -- Executing Dial("SIP/1007-11a2", "SIP/1000|60|tTrg") in new stack
    -- Called 1000
    -- SIP/1000-1e41 is ringing
    -- SIP/1000-1e41 answered SIP/1007-11a2
    -- Attempting native bridge of SIP/1007-11a2 and SIP/1000-1e41
    -- Started music on hold, class 'default', on SIP/1007-11a2
    -- Stopped music on hold on SIP/1007-11a2
    -- Started music on hold, class 'default', on SIP/1007-11a2
  == Parked SIP/1007-11a2 on 701. Will timeout back to default,1000,1 in 
45 seconds
    -- Playing 'digits/7' (language 'en')
    -- Playing 'digits/0' (language 'en')
    -- Playing 'digits/1' (language 'en')
    -- Added extension '701' priority 1 to parkedcalls
    -- Executing ParkedCall("SIP/1000-5e65", "701") in new stack
    -- Stopped music on hold on SIP/1007-11a2
    -- Channel SIP/1000-5e65 connected to parked call 701
    -- Attempting native bridge of SIP/1000-5e65 and SIP/1007-11a2
Mar  1 12:44:37 WARNING[26579]: channel.c:1028 ast_waitfor_nandfds: 
Thread -1255449680 Blocking 'SIP/1007-11a2', already blocked by thread 
-1217746000 in procedure ast_waitfor_nandfds
Mar  1 12:44:40 NOTICE[26579]: rtp.c:435 ast_rtp_read: RTP: Received 
packet with bad UDP checksum
venera*CLI> /usr/sbin/safe_asterisk: line 83: 26579 Segmentation 
fault      asterisk ${CLIARGS} ${ASTARGS} 1>&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.




-- 
    Best Regards,
    Damian Minkov
 
    COSMOS Software Enterprises, Ltd.
    Tel:    (+359-2)   983-32-62
    Mobile: (+359-88)  853-28-25
    E-Mail: damian at space-comm.com
    http://www.space-comm.com
 
    Post address:
       P. O. Box 941,
       1000 Sofia,
       Bulgaria
 
    Office address:
       ap. 9, fl. 4,
       "11 August" str., No. 43,
       1202 Sofia,
       Bulgaria




More information about the asterisk-users mailing list