Hi,
I have newly installed freeswitch in another machine.
After starting the freeswitch I try to dial a extension from console but when i call extension 1002 from freeswitch console, call is connected to extension 1002, but FS is aborted but call is established in1002.
When i dial from console the call get connected and freeswitch is cut.
OUtput:
FreeSWITCH Version 1.0.trunk (10567) Started.
Crash Protection [Disabled]
Max Sessions[1000]
Session Rate[30]
SQL [Enabled]
2008-12-03 21:02:21 [CONSOLE] mod_local_stream.c:142 read_stream_thread() Can't open directory: /usr/local/freeswitch/sounds/music/16000
freeswitch@hp30094686650.optimus.co.in> pa devlist
API CALL [pa(devlist)] output:
0;/dev/dsp;16;4
1;Intel ICH5: Intel ICH5 (hw:0,0);2;6
2;Intel ICH5: Intel ICH5 - MIC ADC (hw:0,1);2;0
3;Intel ICH5: Intel ICH5 - MIC2 ADC (hw:0,2);2;0
4;Intel ICH5: Intel ICH5 - ADC2 (hw:0,3);2;0
5;Intel ICH5: Intel ICH5 - IEC958 (hw:0,4);0;2
6;front;0;6
7;surround40;0;4
8;surround41;0;128
9;surround50;0;128
10;surround51;0;6
11;iec958;0;2
12;spdif;0;2
13;default;128;128
14;dmix;0;2
freeswitch@hp30094686650.optimus.co.in> pa call 1002
2008-12-03 21:06:11 [NOTICE] switch_channel.c:564 switch_channel_set_name() New Channel portaudio/1002 [fae97d5b-3480-410e-af0a-192d00710537]
freeswitch@hp30094686650.optimus.co.in> 2008-12-03 21:06:12 [NOTICE] mod_portaudio.c:1586 place_call() Channel [portaudio/1002] has been answered
API CALL [pa(call 1002)] output:
SUCCESS:1:fae97d5b-3480-410e-af0a-192d00710537
2008-12-03 21:06:12 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing FreeSWITCH->1002 in context default
2008-12-03 21:06:12 [WARNING] switch_ivr.c:1840 switch_ivr_set_user() can't find user [default@]
2008-12-03 21:06:12 [INFO] mod_dptools.c:872 info_function() CHANNEL_DATA:
Channel-State: [CS_EXECUTE]
Channel-State-Number: [4]
Channel-Name: [portaudio/1002]
Unique-ID: [fae97d5b-3480-410e-af0a-192d00710537]
Call-Direction: [inbound]
Answer-State: [answered]
Channel-Read-Codec-Name: [L16]
Channel-Read-Codec-Rate: [8000]
Channel-Write-Codec-Name: [L16]
Channel-Write-Codec-Rate: [8000]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [FreeSWITCH]
Caller-Caller-ID-Number: [0000000000]
Caller-Network-Addr: [172.20.176.32]
Caller-Destination-Number: [1002]
Caller-Unique-ID: [fae97d5b-3480-410e-af0a-192d00710537]
Caller-Source: [mod_portaudio]
Caller-Context: [default]
Caller-Channel-Name: [portaudio/1002]
Caller-Profile-Index: [1]
Caller-Profile-Created-Time: [1228318571584600]
Caller-Channel-Created-Time: [1228318571584600]
Caller-Channel-Answered-Time: [1228318572164620]
Caller-Channel-Progress-Time: [0]
Caller-Channel-Progress-Media-Time: [0]
Caller-Channel-Hangup-Time: [0]
Caller-Channel-Transfer-Time: [0]
Caller-Screen-Bit: [true]
Caller-Privacy-Hide-Name: [false]
Caller-Privacy-Hide-Number: [false]
variable_channel_name: [portaudio/1002]
variable_endpoint_disposition: [ANSWER]
variable_read_codec: [L16]
variable_read_rate: [8000]
variable_write_codec: [L16]
variable_write_rate: [8000]
variable_use_profile: [nat]
variable_dialed_ext: [1002]
variable_current_application: [info]
2008-12-03 21:06:12 [INFO] mod_dptools.c:858 log_function() Answer-State []n
2008-12-03 21:06:12 [INFO] switch_ivr_async.c:1577 switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 1 execute_extension::dx XML features
2008-12-03 21:06:12 [INFO] switch_ivr_async.c:1577 switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 2 record_session::/usr/local/freeswitch/recordings/0000000000.2008-12-03-21-06-12.wav
2008-12-03 21:06:12 [INFO] switch_ivr_async.c:1577 switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 3 execute_extension::cf XML features
2008-12-03 21:06:12 [NOTICE] switch_channel.c:564 switch_channel_set_name() New Channel sofia/internal/sip:1002@172.20.179.201:37046;rinstance=e6259d34a17a130a [e9a905cd-dc7c-49b1-b3f7-1cd52c1129d1]
freeswitch: src/switch_core_io.c:202: switch_core_session_read_frame: Assertion `(*frame)->codec != ((void *)0)' failed.
Aborted (core dumped)
[root@hp30094686650 bin]#
After installing current svn trunk also i get the same error.I cant able to recover the failure .Correct me were i am wrong.
Thanks Regards,
N.Baskar
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org