I am getting the following assertion when attempting to record a G.729 call:
freeswitch: src/switch_channel.c:832: switch_channel_get_variable_dup: Assertion `channel != ((void *)0)' failed.
The system has a Sangoma D100 card installed. The call is established using the G.729 codec, and after playing some prompts, I am attempting to record an answer:
freeswitch@192.168.9.151:5000@internal> show codecs
type,name,ikey
codec,ADPCM (IMA),mod_spandsp
codec,G.711 alaw,CORE_PCM_MODULE
codec,G.711 ulaw,CORE_PCM_MODULE
codec,G.722,mod_spandsp
codec,G.726 16k,mod_spandsp
codec,G.726 16k (AAL2),mod_spandsp
codec,G.726 24k,mod_spandsp
codec,G.726 24k (AAL2),mod_spandsp
codec,G.726 32k,mod_spandsp
codec,G.726 32k (AAL2),mod_spandsp
codec,G.726 40k,mod_spandsp
codec,G.726 40k (AAL2),mod_spandsp
codec,GSM,mod_spandsp
codec,LPC-10,mod_spandsp
codec,PROXY PASS-THROUGH,CORE_PCM_MODULE
codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE
codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE
codec,Sangoma G729,mod_sangoma_codec
18 total.
.
.
.
2013-05-24 12:33:31.071446 [ALERT] switch_core_session.c:2739 sofia/crossfonetrunk/52764439 receive message [APPLICATION_EXEC_COMPLETE]
2013-05-24 12:33:31.071446 [ALERT] switch_ivr.c:650 sofia/crossfonetrunk/52764439 receive message [AUDIO_SYNC]
2013-05-24 12:33:31.111446 [ALERT] switch_core_session.c:2724 sofia/crossfonetrunk/52764439 receive message [APPLICATION_EXEC]
2013-05-24 12:33:31.111446 [INFO] mod_native_file.c:94 Opening File [/mnt/TEMP/beep-7.G729] 8000hz
2013-05-24 12:33:31.231447 [ALERT] switch_core_session.c:2739 sofia/crossfonetrunk/52764439 receive message [APPLICATION_EXEC_COMPLETE]
2013-05-24 12:33:31.231447 [ALERT] switch_ivr.c:650 sofia/crossfonetrunk/52764439 receive message [AUDIO_SYNC]
2013-05-24 12:33:31.271451 [ALERT] switch_core_session.c:2724 sofia/crossfonetrunk/52764439 receive message [APPLICATION_EXEC]
2013-05-24 12:33:31.291450 [ALERT] switch_core_io.c:446 sofia/crossfonetrunk/52764439 receive message [TRANSCODING_NECESSARY]
freeswitch@192.168.9.151:5000@internal> freeswitch: src/switch_channel.c:832: switch_channel_get_variable_dup: Assertion `channel != ((void *)0)' failed.
FreeSwitch dies after this. Note that this does not happen if I restrict everything to G711 (ULAW).
Any thoughts?
--
Guillermo Ruiz Camauer