[Asterisk-Users] seg fault when skinny phone answers

btb btb at bitrate.net
Mon Feb 20 14:49:58 MST 2006


hello-

i'm having trouble completing a connection between an older skinny  
phone (12sp+) and a soft sip phone (x-lite).

the skinny phone appears to successfully register:
      -- Starting Skinny session from 192.168.1.50
Device SEP00D0BA03AB66 is attempting to register
     -- Device 'office' successfuly registered
Requesting capabilities
Version Request
Received CapabilitiesRes
Buttontemplate requested
Sending 12SP template to 1234 at office (12SP)
Received Time/Date Request

when a place a call from x-lite, the 12sp+ rings, and asterisk says:
     -- Executing Dial("SIP/ion-226a", "Skinny/1234 at office|20|tr") in  
new stack
Found device: office
     -- skinny_request(1234 at office)
     -- Skinny cw: 0, dnd: 0, so: 0, sno: 0
skinny_new: tmp->nativeformats=4 fmt=4
     -- skinny_call(Skinny/1234 at office-2)
Trying to send: 2r
ämó@'
Displaying message 2r
ämó@'
Displaying Prompt Status 'Ring-In'
     -- Called 1234 at office
     -- Skinny/1234 at office-2 is ringing

as soon as i answer the call (or hangup from x-lite, or wait for the  
timeout period), aterisk says:
     -- Skinny/1234 at office-2 answered SIP/ion-226a
Segmentation fault (core dumped)

in addition, i can't make a call from the 12sp.  when i dial x-lite  
from the 12sp, asterisk says:
Attempting to Clear display on Skinny 1234 at office
skinny_new: tmp->nativeformats=4 fmt=4
     -- Starting simple switch on '1234 at office'
Collected digit: [8]
     -- Asked to indicate 'Stop tone' condition on channel Skinny/ 
1234 at office-2
Collected digit: [1]
     -- Asked to indicate 'Stop tone' condition on channel Skinny/ 
1234 at office-2
     -- Asked to indicate 'Stop tone' condition on channel Skinny/ 
1234 at office-2
Skinny 1234 at office went on hook
Skinny(1234 at office): waitfordigit returned < 0
skinny_hangup(Skinny/1234 at office-2) on 1234 at office

the "Asked to indicate..." message after repeats indefinitely until  
the phone is hung up, and x-lite never sees the call.

i'm running asterisk 1.2.1 (debian testing package) - below are a few  
related sections of my config.  my apologies if i've omitted  
something - this is my first experience with asterisk.

thanks!
-ben

--sip.conf:
[general]
context=home
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes

--skinny.conf:
[general]
port = 2000
bindaddr = 0.0.0.0
dateFormat = Y-M-D
keepAlive = 120

[office]
device=SEP00D0BA03AB66
host=192.168.1.50
context=home
line => 1234
model=12SP
version=P00203010003
callerid="office" <84>

--extensions.conf:
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

[globals]
CONSOLE=Console/dsp
IAXINFO=guest
TRUNK=Zap/g2
TRUNKMSD=1

[home]
exten => 81,1,Dial(SIP/ion,20,tr)
exten => 82,1,Dial(SIP/quark,20,tr)
exten => 83,Dial(SIP/proton,20,tr)
exten => 84,1,Dial(Skinny/1234 at office,20,tr)


More information about the asterisk-users mailing list