[Freeswitch-users] freeswitch: src/switch_core.c:1360: switch_core_session_strdup: Assertion `session != ((void *)0)' failed.
Pekka K. Kurki
pekka.kurki at intellectics.com
Mon Dec 25 16:17:03 PST 2006
here the trace:
[root at salo freeswitch]# bin/freeswitch
2006-12-26 00:57:52 [CONSOLE] switch_core.c:4072
switch_core_init_and_modload() Bringing up environment.
2006-12-26 00:57:52 [CONSOLE] switch_core.c:4073
switch_core_init_and_modload() Loading Modules.
2006-12-26 00:57:52 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_console]
2006-12-26 00:57:52 [ERR] mod_portaudio.c:615 load_config() open of
portaudio.conf failed
Number of devices = 1
---------------------------------------------- #0 DefaultInput DefaultOutput
Name = /dev/dsp
Max Inputs = 16, Max Outputs = 16
Sample Rates = 96000.00, 48000.00, 44100.00, 32000.00, 24000.00,
22050.00, 16000.00, 11025.00, 8000.00,
Native Sample Formats = paUInt8, paInt16,
----------------------------------------------
2006-12-26 00:57:52 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_portaudio]
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:102
switch_loadable_module_process() Adding Endpoint 'portaudio'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'pacall'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'pahup'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'painfo'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'paoffhook'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'padtmf'
2006-12-26 00:57:52 [NOTICE] mod_sofia.c:5000 config_sofia() Started
Profile salo.intellectics.com [sip:mod_sofia at 85.126.75.149:5061]
2006-12-26 00:57:52 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_sofia]
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:102
switch_loadable_module_process() Adding Endpoint 'sofia'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:255
switch_loadable_module_process() Adding Chat interface 'sip'
2006-12-26 00:57:52 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_bridgecall]
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'bridge'
su_port_create() called
su_port(0x96b6760): epoll_create() => 10: OK
su_port_create() returns 0x96b6760
2006-12-26 00:57:52 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_commands]
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'originate'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'killchan'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'reloadxml'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'load'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'transfer'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'pause'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'show'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'status'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'uuid_bridge'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'broadcast'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'hold'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'media'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'fsctl'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'help'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'version'
2006-12-26 00:57:52 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_dptools]
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'privacy'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'transfer'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'sleep'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'strftime'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'phrase'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'eval'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'answer'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'log'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'info'
2006-12-26 00:57:52 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'set'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'ringback'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'detect_speech'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'ivr'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'presence'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'strftime'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:180
switch_loadable_module_process() Adding API Function 'chat'
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_echo]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'echo'
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_playback]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'playback'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'stop_record_session'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'record_session'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'record'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:163
switch_loadable_module_process() Adding Application 'speak'
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_dialplan_xml]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:135
switch_loadable_module_process() Adding Dialplan 'XML'
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_g711]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'PCMU' (g711 ulaw) 8000hz 20ms
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'PCMU' (g711 ulaw) 8000hz 60ms
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'PCMA' (g711 alaw) 8000hz 20ms
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_gsm]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'GSM' (gsm) 8000hz 20ms
nua: nua_create: entering
su_port_create() called
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_l16]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'L16' (raw signed linear
(16 bit)) 8000hz 120ms
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'L16' (raw signed linear
(16 bit)) 8000hz 60ms
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'L16' (raw signed linear
(16 bit)) 8000hz 30ms
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'L16' (raw signed linear
(16 bit)) 8000hz 20ms
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'L16' (raw signed linear
(16 bit)) 16000hz 20ms
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'L16' (raw signed linear
(16 bit)) 22050hz 20ms
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:113
switch_loadable_module_process() Adding Codec 'L16' (raw signed linear
(16 bit)) 32000hz 20ms
2006-12-26 00:57:53 [INFO] mod_sndfile.c:286 setup_formats()
LibSndFile Version : libsndfile-1.0.17 Supported Formats
================================================================================
AIFF (Apple/SGI) (extension "aiff")
AU (Sun/NeXT) (extension "au")
AVR (Audio Visual Research) (extension "avr")
CAF (Apple Core Audio File) (extension "caf")
HTK (HMM Tool Kit) (extension "htk")
IFF (Amiga IFF/SVX8/SV16) (extension "iff")
MAT4 (GNU Octave 2.0 / Matlab 4.2) (extension "mat")
MAT5 (GNU Octave 2.1 / Matlab 5.0) (extension "mat")
PAF (Ensoniq PARIS) (extension "paf")
PVF (Portable Voice Format) (extension "pvf")
RAW (header-less) (extension "raw")
SD2 (Sound Designer II) (extension "sd2")
SDS (Midi Sample Dump Standard) (extension "sds")
SF (Berkeley/IRCAM/CARL) (extension "sf")
VOC (Creative Labs) (extension "voc")
W64 (SoundFoundry WAVE 64) (extension "w64")
WAV (Microsoft) (extension "wav")
WAV (NIST Sphere) (extension "wav")
WAVEX (Microsoft) (extension "wav")
XI (FastTracker 2) (extension "xi")
================================================================================
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_sndfile]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'aiff'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'au'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'avr'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'caf'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'htk'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'iff'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'mat'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'paf'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'pvf'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'raw'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'sd2'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'sds'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'sf'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'voc'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'w64'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'wav'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'xi'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'r8'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'r16'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'r24'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'r32'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'gsm'
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_native_file]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'PCMA'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'L16'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'PCMU'
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:198
switch_loadable_module_process() Adding File Format 'GSM'
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:347
switch_loadable_module_load_file() Successfully Loaded [mod_softtimer]
2006-12-26 00:57:53 [NOTICE] switch_loadable_module.c:149
switch_loadable_module_process() Adding Timer 'soft'
2006-12-26 00:57:53 [CONSOLE] switch_loadable_module.c:564
switch_loadable_module_init() open of post_load_modules.conf failed
2006-12-26 00:57:53 [CONSOLE] switch_core.c:4085
switch_core_init_and_modload()
FreeSWITCH Version 1.0.3827 Started.
Crash Protection [DISABLED]
Max Sessions[1000]
su_port(0x96b8738): epoll_create() => 13: OK
su_port_create() returns 0x96b8738
freeswitch at salo.intellectics.com> nua: nua_stack_init: entering
nua: nua_stack_set_params: entering
soa_create("default", 0x96a44b0, 0x96b8cf8) called
soa_set_params(static::0x96b9a00, ...) called
nta_agent_create: initialized hash tables
nta_agent_create: initialized transports
nta_agent_create: initialized random identifiers
nta_agent_create: initialized timer
nta_agent_create: initialized resolver
tport_create(): 0x96ba978
nta: master transport created
tport_bind_server(0x96ba978) to */85.126.75.149:5061/sip
tport_bind_server(0x96ba978): calling tport_listen for udp
tport_alloc_primary(0x96ba978): new primary tport 0x96bae60
tport_listen(0x96bae60): listening at udp/85.126.75.149:5061/sip
tport_bind_server(0x96ba978): calling tport_listen for tcp
tport_alloc_primary(0x96ba978): new primary tport 0x96bfdb8
tport_listen(0x96bfdb8): listening at tcp/85.126.75.149:5061/sip
nta: bound to (85.126.75.149:5061;transport=*)
nta: agent_init_via: SIP/2.0/udp 85.126.75.149:5061 (sip)
nta: agent_init_via: SIP/2.0/tcp 85.126.75.149:5061 (sip)
nta: Via fields initialized
nta: Contact header created
nua_register: Adding contact URL '85.126.75.149' to list.
nua: nua_set_params: entering
nua: nh_create_handle: entering
2006-12-26 00:57:53 [NOTICE] mod_sofia.c:4555 check_oreg() registering
asterlink
nua: nua_handle_bind: entering
nua: nua_register: entering
nua((nil)): signal r_set_params
nua: nua_stack_set_params: entering
soa_set_params(static::0x96b9a00, ...) called
nua: nua_stack_event: entering
nua(0x96b8cf8): r_set_params 200 OK
nua: nua_event: entering
nua(0x96c0538): signal r_register
nua: nua_stack_set_params: entering
soa_clone(static::0x96b9a00, 0x96a44b0, 0x96c0538) called
soa_set_params(static::0x96c2348, ...) called
soa_set_params(static::0x96c2348, ...) called
soa_set_params(static::0x96c2348, ...) called
nua(0x96c0538): adding register usage
nta_leg_create(0x96c1b50)
nta: selecting scheme sip
tport(0x96bae60): EXPENSIVE unresolved */85.126.75.147:5060
tport_tsend(0x96bae60) tpn = */85.126.75.147:5060
tport_resolve addrinfo = 85.126.75.147:5060
tport_by_addrinfo(0x96bae60): not found by name */85.126.75.147:5060
tport_vsend(0x96bae60): 534 bytes of 534 to */85.126.75.147:5060
tport_vsend returned 534
send 534 bytes to udp/[85.126.75.147]:5060 at 23:57:53.979911:
------------------------------------------------------------------------
REGISTER sip:85.126.75.147:5060 SIP/2.0
Via: SIP/2.0/UDP 85.126.75.149:5061;rport;branch=z9hG4bKB9a0jSr3eXj2F
Max-Forwards: 70
From: <sip:1002 at 85.126.75.147>;tag=B9gBa1jtQ5HZQ
To: <sip:1002 at 85.126.75.147>
Call-ID: 93b81520-0f16-122a-ea9d-00079556e80f
CSeq: 77427200 REGISTER
Contact: <sip:1002 at 85.126.75.147>
Expires: 600
User-Agent: FreeSWITCH(mod_sofia)
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: 100rel, precondition, path
Content-Length: 0
------------------------------------------------------------------------
nta: sent REGISTER (77427200) to */85.126.75.147:5060
tport_pend(0x96bae60): pending 0x96c0b88 for udp/85.126.75.149:5061
(already 0)
tport_wakeup_pri(0x96bae60): events IN
tport_recv_event(0x96bae60)
tport_recv_iovec(0x96bae60) msg 0x96c0338 from (udp/85.126.75.149:5061)
has 65536 bytes, veclen = 1
recv 434 bytes from udp/[85.126.75.147]:5060 at 23:57:54.090576:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
85.126.75.149:5061;rport;branch=z9hG4bKB9a0jSr3eXj2F;received=85.126.75.149
From: <sip:1002 at 85.126.75.147>;tag=B9gBa1jtQ5HZQ
To: <sip:1002 at 85.126.75.147>
Call-ID: 93b81520-0f16-122a-ea9d-00079556e80f
CSeq: 77427200 REGISTER
User-Agent: intellectics
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:1002 at 85.126.75.147>
Content-Length: 0
------------------------------------------------------------------------
tport_deliver(0x96bae60): msg 0x96c0338 (434 bytes) from
udp/85.126.75.147:5061/sip next=(nil)
nta: received 100 Trying for REGISTER (77427200)
nta: 100 Trying going to a transaction
nta_outgoing: RTT is 137.032 ms
tport_release(0x96bae60): 0x96c0b88 by 0x96c3508 with 0x96c0338
(preliminary)
tport_wakeup_pri(0x96bae60): events IN
tport_recv_event(0x96bae60)
tport_recv_iovec(0x96bae60) msg 0x96c0338 from (udp/85.126.75.149:5061)
has 65536 bytes, veclen = 1
recv 508 bytes from udp/[85.126.75.147]:5060 at 23:57:54.208309:
------------------------------------------------------------------------
SIP/2.0 200 OK
Via: SIP/2.0/UDP
85.126.75.149:5061;rport;branch=z9hG4bKB9a0jSr3eXj2F;received=85.126.75.149
From: <sip:1002 at 85.126.75.147>;tag=B9gBa1jtQ5HZQ
To: <sip:1002 at 85.126.75.147>;tag=as0cd8e88e
Call-ID: 93b81520-0f16-122a-ea9d-00079556e80f
CSeq: 77427200 REGISTER
User-Agent: intellectics
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Expires: 600
Contact: <sip:1002 at 85.126.75.147>;expires=600
Date: Mon, 25 Dec 2006 23:58:24 GMT
Content-Length: 0
------------------------------------------------------------------------
tport_deliver(0x96bae60): msg 0x96c0338 (508 bytes) from
udp/85.126.75.147:5061/sip next=(nil)
nta: received 200 OK for REGISTER (77427200)
nta: 200 OK going to a transaction
tport_release(0x96bae60): 0x96c0b88 by 0x96c3508 with 0x96c0338
nua(): refresh register after 247 seconds (in [150..450])
nua: nua_stack_event: entering
nua(0x96c0538): r_register 200 OK
nua: nua_event: entering
2006-12-26 00:57:54 [NOTICE] mod_sofia.c:4545 check_oreg() registered
asterlink
nta: timer K fired, terminate REGISTER (77427200)
outgoing_reclaim_all((nil), (nil), 0xb736c1fc)
nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free
tport_wakeup_pri(0x96bae60): events IN
tport_recv_event(0x96bae60)
tport_recv_iovec(0x96bae60) msg 0x96c4818 from (udp/85.126.75.149:5061)
has 65536 bytes, veclen = 1
recv 1013 bytes from udp/[85.126.75.147]:5060 at 23:58:38.848482:
------------------------------------------------------------------------
INVITE sip:1002 at 85.126.75.147 SIP/2.0
Via: SIP/2.0/UDP 85.126.75.147:5060;branch=z9hG4bK4fad7691
From: "Pekka Kurki" <sip:+432256815811 at 85.126.75.147>;tag=as0c642fe4
To: <sip:1002 at 85.126.75.147>
Contact: <sip:+432256815811 at 85.126.75.147>
Call-ID: 49c54c511b82059c2a91829103ccabbe at 85.126.75.147
CSeq: 102 INVITE
User-Agent: intellectics
Max-Forwards: 70
Date: Mon, 25 Dec 2006 23:59:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 492
v=0
o=root 11091 11091 IN IP4 85.126.75.147
s=session
c=IN IP4 85.126.75.147
t=0 0
m=audio 16414 RTP/AVP 0 4 3 8 111 5 10 7 18 110 97 101
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:10 L16/8000
a=rtpmap:7 LPC/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=noa=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
------------------------------------------------------------------------
tport_deliver(0x96bae60): msg 0x96c4818 (1013 bytes) from
udp/85.126.75.147:5061/sip next=(nil)
nta: received INVITE sip:1002 at 85.126.75.147 SIP/2.0 (CSeq 102)
nta: INVITE (102) going to a default leg
nua: nua_stack_process_request: entering
nua: nh_create: entering
nua: nh_create_handle: entering
nua: nua_stack_set_params: entering
soa_clone(static::0x96b9a00, 0x96a44b0, 0x96c3508) called
soa_set_params(static::0x96c05e8, ...) called
soa_set_params(static::0x96c05e8, ...) called
nta_leg_create(0x96c0d50)
soa_init_offer_answer(static::0x96c05e8) called
soa_set_remote_sdp(static::0x96c05e8, (nil), 0x96c4c11, 492) called
nua(0x96c3508): adding session usage
tport_tsend(0x96bae60) tpn = UDP/85.126.75.147:5060
tport_resolve addrinfo = 85.126.75.147:5060
tport_by_addrinfo(0x96bae60): not found by name UDP/85.126.75.147:5060
tport_vsend(0x96bae60): 311 bytes of 311 to UDP/85.126.75.147:5060
tport_vsend returned 311
send 311 bytes to udp/[85.126.75.147]:5060 at 23:58:38.851717:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 85.126.75.147:5060;branch=z9hG4bK4fad7691
From: "Pekka Kurki" <sip:+432256815811 at 85.126.75.147>;tag=as0c642fe4
To: <sip:1002 at 85.126.75.147>
Call-ID: 49c54c511b82059c2a91829103ccabbe at 85.126.75.147
CSeq: 102 INVITE
User-Agent: FreeSWITCH(mod_sofia)
Content-Length: 0
------------------------------------------------------------------------
nta: sent 100 Trying for INVITE (102)
nua: nua_stack_event: entering
nua(0x96c3508): i_invite 100 Trying
nua(0x96c3508): call state changed: init -> received, received offer
soa_get_remote_sdp(static::0x96c05e8, [0xb736bb58], [0xb736bb54],
[(nil)]) called
nua: nua_stack_event: entering
nua(0x96c3508): i_state 100 Trying
nua: nua_event: entering
nua: nua_handle_bind: entering
nua: nua_event: entering
2006-12-26 00:58:38 [NOTICE] switch_channel.c:347
switch_channel_set_name() New Chan
sofia/salo.intellectics.com/+432256815811 at 85.126.75.147
[68b21b7f-b866-4f40-9b04-94d6cbc592e3]
2006-12-26 00:58:38 [DEBUG] mod_sofia.c:2521 sip_i_state() Channel
sofia/salo.intellectics.com/+432256815811 at 85.126.75.147 entering state
[received]
2006-12-26 00:58:38 [DEBUG] mod_sofia.c:2526 sip_i_state() Remote SDP:
v=0
o=root 11091 11091 IN IP4 85.126.75.147
s=session
c=IN IP4 85.126.75.147
t=0 0
m=audio 16414 RTP/AVP 0 4 3 8 111 5 10 7 18 110 97 101
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:10 L16/8000
a=rtpmap:7 LPC/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=noa=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
2006-12-26 00:58:38 [DEBUG] mod_sofia.c:2172 negotiate_sdp() Codec
Compare [PCMU:0]/[PCMU:0]
2006-12-26 00:58:38 [INFO] mod_sofia.c:1368 tech_set_codec() Set Codec
sofia/salo.intellectics.com/+432256815811 at 85.126.75.147 PCMU/8000 20 ms
2006-12-26 00:58:38 [DEBUG] mod_sofia.c:2644 sip_i_state()
sofia/salo.intellectics.com/+432256815811 at 85.126.75.147 State Change
CS_NEW -> CS_INIT
2006-12-26 00:58:38 [DEBUG] switch_core.c:2945 switch_core_session_run()
(sofia/salo.intellectics.com/+432256815811 at 85.126.75.147) State INIT
2006-12-26 00:58:38 [DEBUG] mod_sofia.c:1119 sofia_on_init() SOFIA INIT
2006-12-26 00:58:38 [DEBUG] mod_sofia.c:1130 sofia_on_init()
sofia/salo.intellectics.com/+432256815811 at 85.126.75.147 State Change
CS_INIT -> CS_RING
2006-12-26 00:58:38 [DEBUG] switch_core.c:2981 switch_core_session_run()
(sofia/salo.intellectics.com/+432256815811 at 85.126.75.147) State RING
2006-12-26 00:58:38 [DEBUG] mod_sofia.c:1146 sofia_on_ring() SOFIA RING
2006-12-26 00:58:38 [DEBUG] switch_core.c:2622
switch_core_standard_on_ring() Standard RING
sofia/salo.intellectics.com/+432256815811 at 85.126.75.147
2006-12-26 00:58:38 [INFO] mod_dialplan_xml.c:218 dialplan_hunt()
Processing Pekka Kurki->1002!
2006-12-26 00:58:38 [DEBUG] mod_dialplan_xml.c:120 parse_exten() test
conditions destination_number(1002) =~ /^1002$/
2006-12-26 00:58:39 [DEBUG] mod_dialplan_xml.c:337 dialplan_hunt()
sofia/salo.intellectics.com/+432256815811 at 85.126.75.147 State Change
CS_RING -> CS_EXECUTE
2006-12-26 00:58:39 [DEBUG] switch_core.c:3017 switch_core_session_run()
(sofia/salo.intellectics.com/+432256815811 at 85.126.75.147) State EXECUTE
2006-12-26 00:58:39 [DEBUG] mod_sofia.c:1164 sofia_on_execute() SOFIA
EXECUTE
2006-12-26 00:58:39 [DEBUG] switch_core.c:2673
switch_core_standard_on_execute() Standard EXECUTE
2006-12-26 00:58:39 [NOTICE] switch_core.c:2683
switch_core_standard_on_execute() Execute
bridge(sofia/salo.intellectics.com/111 at sip.intellectics.com)
2006-12-26 00:58:39 [NOTICE] switch_channel.c:347
switch_channel_set_name() New Chan
sofia/salo.intellectics.com/111 at sip.intellectics.com
[e2e18ecc-ac1e-421f-b2dd-c2b3ce1a021a]
2006-12-26 00:58:39 [DEBUG] mod_sofia.c:2116 sofia_outgoing_channel()
sofia/salo.intellectics.com/111 at sip.intellectics.com State Change CS_NEW
-> CS_INIT
2006-12-26 00:58:39 [DEBUG] switch_core.c:2945 switch_core_session_run()
(sofia/salo.intellectics.com/111 at sip.intellectics.com) State INIT
2006-12-26 00:58:39 [DEBUG] mod_sofia.c:1119 sofia_on_init() SOFIA INIT
freeswitch: src/switch_core.c:1360: switch_core_session_strdup:
Assertion `session != ((void *)0)' failed.
Aborted
[root at salo
freeswitch]#
and my conf file:
[root at salo freeswitch]# cat /usr/local/freeswitch/conf/freeswitch.xml
xml version="1.0"?>
<document type="freeswitch/xml">
<section name="configuration" description="Various Configuration">
<configuration name="switch.conf" description="Modules">
<settings>
<!--Most channels to allow at once -->
<param name="max-sessions" value="1000"/>
</settings>
<!--Any variables defined here will be available in every channel,
in the dialplan etc -->
<variables>
<variable name="uk-ring"
value="%(400,200,400,450);%(400,2200,400,450)"/>
<variable name="us-ring" value="%(2000, 4000, 440.0, 480.0)"/>
<variable name="bong-ring"
value="v=4000;>=0;+=2;#(60,0);v=2000;%(940,0,350,440)"/>
</variables>
</configuration>
<configuration name="modules.conf" description="Modules">
<modules>
<!-- Loggers (I'd load these first) -->
<load module="mod_console"/>
<!-- <load module="mod_syslog"/> -->
<!-- XML Interfaces -->
<!-- <load module="mod_xml_rpc"/> -->
<!-- Event Handlers -->
<!-- <load module="mod_cdr"/> -->
<!-- <load module="mod_event_multicast"/> -->
<!-- <load module="mod_event_socket"/> -->
<!-- <load module="mod_xmpp_event"/> -->
<!-- <load module="mod_zeroconf"/> -->
<!-- Directory Interfaces -->
<!-- <load module="mod_ldap"/> -->
<!-- Endpoints -->
<!-- <load module="mod_dingaling"/> -->
<!--<load module="mod_iax"/>-->
<load module="mod_portaudio"/>
<load module="mod_sofia"/>
<!-- <load module="mod_wanpipe"/> -->
<!-- <load module="mod_woomera"/> -->
<!-- Applications -->
<load module="mod_bridgecall"/>
<load module="mod_commands"/>
<!--<load module="mod_conference"/>-->
<load module="mod_dptools"/>
<load module="mod_echo"/>
<!--<load module="mod_park"/>-->
<load module="mod_playback"/>
<!-- Dialplan Interfaces -->
<!-- <load module="mod_dialplan_directory"/> -->
<load module="mod_dialplan_xml"/>
<!-- Codec Interfaces -->
<load module="mod_g711"/>
<load module="mod_gsm"/>
<!-- <load module="mod_ilbc"/> -->
<load module="mod_l16"/>
<!-- <load module="mod_speex"/> -->
<!-- File Format Interfaces -->
<load module="mod_sndfile"/>
<load module="mod_native_file"/>
<!-- Timers -->
<load module="mod_softtimer"/>
<!-- Languages -->
<!-- <load module="mod_spidermonkey"/> -->
<!-- <load module="mod_perl"/> -->
<!-- ASR /TTS -->
<!-- <load module="mod_cepstral"/> -->
<!-- <load module="mod_rss"/> -->
</modules>
</configuration>
<configuration name="console.conf" description="Console Logger">
<!-- pick a file name, a function name or 'all' -->
<!-- map as many as you need for specific debugging -->
<mappings>
<!-- <param name="log_event" value="DEBUG"/> -->
<param name="all" value="DEBUG"/>
</mappings>
</configuration>
<configuration name="sofia.conf" description="Sofia Endpoint">
<profiles>
<profile name="salo.intellectics.com">
<registrations>
<registration name="asterlink">
<param name="register-scheme" value="Digest"/>
<param name="register-realm" value=""/>
<param name="register-username" value="1002"/>
<param name="register-password" value="xxxxx"/>
<param name="register-from" value="sip:1002 at 85.126.75.147"/>
<param name="register-to" value="sip:1002 at 85.126.75.147"/>
<param name="register-proxy" value="sip:85.126.75.147:5060"/>
<param name="register-frequency" value="600"/>
</registration>
</registrations>
<settings>
<param name="debug" value="1"/>
<param name="rfc2833-pt" value="101"/>
<param name="sip-port" value="5061"/>
<param name="dialplan" value="XML"/>
<param name="dtmf-duration" value="100"/>
<param name="codec-prefs" value="PCMU at 20i"/>
<param name="codec-ms" value="20"/>
<param name="use-rtp-timer" value="false"/>
<param name="rtp-timer-name" value="soft"/>
<param name="rtp-ip" value="85.126.75.149"/>
<param name="sip-ip" value="85.126.75.149"/>
<param name="ext-sip-ip" value="85.126.75.149"/>
<!-- this lets anything register -->
<!-- comment the next line and uncomment one or both of the
other 2 lines for call authentication -->
<param name="accept-blind-reg" value="true"/>
<!--<param name="auth-calls" value="true"/>-->
<!-- on authed calls, authenticate *all* the packets not
just invite -->
<!--<param name="auth-all-packets" value="true"/>-->
<!-- optional ; -->
<param name="ext-rtp-ip" value="stun:stun.voipdiscount.com"/>
<!-- <param name="ext-rtp-ip" value="85.126.75.149"/>-->
<!-- VAD choose one (out is a good choice); -->
<!-- <param name="vad" value="in"/> -->
<!-- <param name="vad" value="out"/> -->
<!-- <param name="vad" value="both"/> -->
<!--<param name="alias" value="sip:10.0.1.251:5555"/>-->
</settings>
</profile>
</profiles>
</configuration>
<configuration name="syslog.conf" description="Syslog Logger">
<!-- SYSLOG -->
<!-- emerg - system is unusable -->
<!-- alert - action must be taken immediately -->
<!-- crit - critical conditions -->
<!-- err - error conditions -->
<!-- warning - warning conditions -->
<!-- notice - normal, but significant, condition -->
<!-- info - informational message -->
<!-- debug - debug-level message -->
<settings>
<param name="ident" value="freeswitch"/>
<param name="facility" value="user"/>
<param name="format" value="${time} - ${message}"/>
<param name="level" value="debug,info,warning-alert"/>
</settings>
</configuration>
<configuration name="xml_rpc.conf" description="XML RPC">
<settings>
<!-- The port where you want to run the http service (default
8080) -->
<param name="http-port" value="8080"/>
<!-- if all 3 of the following params exist all http traffic
will require auth -->
<param name="auth-realm" value="freeswitch"/>
<param name="auth-user" value="pekka"/>
<param name="auth-pass" value="kalevi"/>
<!-- The url to a gateway cgi that can generate xml similar to
what's in -->
<!-- this file only on-the-fly (leave it commented if you dont
need it)-->
<!-- one or more |-delim of configuration|directory|dialplan -->
<param name="gateway-url"
value="http://salo.intellectics.com:8080/gateway.cgi"
bindings="configuration|directory|dialplan"/>
</settings>
</configuration>
</section>
<section name="dialplan" description="Regex/XML Dialplan">
<!-- Valid fields in conditions: -->
<!-- "dialplan, caller_id_name, ani, ani2, caller_id_number, -->
<!-- rdnis, destination_number, uuid, source, context, chan_name" -->
<!-- *NOTE* The special context name 'any' will match any context -->
<context name="default">
<extension name="43720503918">
<condition field="source" expression="mod_sofia"/>
<condition field="destination_number" expression="43720503918">
<action application="bridge"
data="sofia/salo.intellectics.com/1001@${server-domain-name}"/>
</condition>
</extension>
<extension name="111">
<condition field="source" expression="mod_sofia"/>
<condition field="destination_number" expression="111">
<action application="bridge"
data="sofia/salo.intellectics.com/111 at sip.intellectics.com"/>
</condition>
</extension>
<extension name="1001">
<condition field="destination_number" expression="^1001$">
<action application="bridge"
data="sofia/salo.intellectics.com/1001%${server-domain-name}"/>
<action application="echo" />
</condition>
</extension>
<extension name="1002">
<condition field="destination_number" expression="^1002$">
<action application="bridge"
data="sofia/salo.intellectics.com/111 at sip.intellectics.com"/>
<action application="echo" />
</condition>
</extension>
</context>
</section>
</document>
[root at salo freeswitch]#
Michael Jerris wrote:
>
> Can you get a back-trace on this and report it either here, or in irc
> so we can address this issue.
>
>
>
> Thanks
>
> Mike
>
>
>
> ------------------------------------------------------------------------
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of
> *Pekka K. Kurki
> *Sent:* Monday, December 25, 2006 1:45 PM
> *To:* freeswitch-users at lists.freeswitch.org
> *Subject:* Re: [Freeswitch-users] freeswitch: src/switch_core.c:1360:
> switch_core_session_strdup: Assertion `session != ((void *)0)' failed.
>
>
>
> same error...
>
> Brian West wrote:
>
> Update and try again.
>
> /b
>
> On Dec 25, 2006, at 7:27 AM, Pekka K. Kurki wrote:
>
>
>> any time i try to bridge sofia channels i get:
>> freeswitch: src/switch_core.c:1360: switch_core_session_strdup:
>> Assertion `session != ((void *)0)' failed. Aborted
>> (FC5, svn version of last week)
>>
>> br
>> pekka
>>
>> --
>> (Mr.) Pekka K. Kurki
>> Intellectics GesmbH
>> http://www.intellectics.com
>> Helenenstrasse 44, A-2500 Baden, Austria
>> Tel. +43 2256 815811 Mobile +43 699 12532539 Fax +43 2256 815819
>> (Tel. US: 360-2267729 UK: 0870 4787064)
>> sip:pekka.kurki at sip.intellectics.com
>> h323:432256815811 at sip.intellectics.com
>> email: Pekka.Kurki at intellectics.com <mailto:Pekka.Kurki at intellectics.com>
>> www: http://pekka.kurki.at
>>
>> <pekka.kurki.vcf>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org <mailto:Freeswitch-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>> users
>> http://www.freeswitch.org
>>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org <mailto:Freeswitch-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
>
> --
> (Mr.) Pekka K. Kurki
> Intellectics GesmbH
> http://www.intellectics.com
> Helenenstrasse 44, A-2500 Baden, Austria
> Tel. +43 2256 815811 Mobile +43 699 12532539
> Fax +43 2256 815819
> (Tel. US: 360-2267729 UK: 0870 4787064)
> sip:pekka.kurki at sip.intellectics.com
> h323:432256815811 at sip.intellectics.com
> email: Pekka.Kurki at intellectics.com <mailto:Pekka.Kurki at intellectics.com>
> www: http://pekka.kurki.at
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
(Mr.) Pekka K. Kurki
Intellectics GesmbH
http://www.intellectics.com
Helenenstrasse 44, A-2500 Baden, Austria
Tel. +43 2256 815811 Mobile +43 699 12532539
Fax +43 2256 815819
(Tel. US: 360-2267729 UK: 0870 4787064)
sip:pekka.kurki at sip.intellectics.com
h323:432256815811 at sip.intellectics.com
email: Pekka.Kurki at intellectics.com
www: http://pekka.kurki.at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20061226/160f7506/attachment-0003.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pekka.kurki.vcf
Type: text/x-vcard
Size: 331 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20061226/160f7506/attachment-0003.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3188 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20061226/160f7506/attachment-0003.bin
More information about the FreeSWITCH-users
mailing list