app_meetme.c:1228 build_conf: Unable to open DAHDI pseudo de


#1

Hello All,

meetme application is not workiing.

-- Executing [1234@dynamic-nway:5] MeetMe("SIP/xxxxxxx-0000006f", "1234,pdMX") in new stack

[Jan 8 02:29:29] WARNING[8893]: app_meetme.c:1228 build_conf: Unable to open DAHDI pseudo device
== Spawn extension (dynamic-nway, 1234, 5) exited non-zero on ‘SIP/xxxxxx-0000006f’

Here is the CLI output for some command

ws1CLI> module show like chan_
Module Description Use Count
chan_multicast_rtp.so Multicast RTP Paging Channel 0
chan_dahdi.so DAHDI Telephony Driver 0
chan_phone.so Linux Telephony API Support 0
chan_sip.so Session Initiation Protocol (SIP) 0
chan_skinny.so Skinny Client Control Protocol (Skinny) 0
chan_local.so Local Proxy Channel (Note: used internal 0
chan_bridge.so Bridge Interaction Channel 0
chan_iax2.so Inter Asterisk eXchange (Ver 2) 0
chan_oss.so OSS Console Channel Driver 0
chan_agent.so Agent Proxy Channel 0
chan_unistim.so UNISTIM Protocol (USTM) 0
chan_mgcp.so Media Gateway Control Protocol (MGCP) 0
12 modules loaded
ws1
CLI> module show like dahdi
Module Description Use Count
chan_dahdi.so DAHDI Telephony Driver 0
app_dahdibarge.so Barge in on DAHDI channel application 0
codec_dahdi.so Generic DAHDI Transcoder Codec Translato 0
app_dahdiras.so DAHDI ISDN Remote Access Server 0
res_timing_dahdi.so DAHDI Timing Interface 0
5 modules loaded
ws1*CLI> module show like res_timing
Module Description Use Count
res_timing_pthread.so pthread Timing Interface 0
res_timing_timerfd.so Timerfd Timing Interface 1
res_timing_dahdi.so DAHDI Timing Interface 0
3 modules loaded

==============
[root@ws1 asterisk]# ps -ef|grep dahd*
root 9229 2871 0 02:46 pts/1 00:00:00 grep dahd*
[root@ws1 asterisk]# lsmod|grep dahdi
dahdi_transcode 5240 1 wctc4xxp
dahdi_voicebus 49298 2 wctdm24xxp,wcte12xp
dahdi 184104 11 xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp
crc_ccitt 1337 2 wctdm24xxp,dahdi
[root@ws1 asterisk]# /etc/init.d/dahdi start
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte12xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]

Running dahdi_cfg: [ OK ]

[root@ws1 asterisk]# ls -l /dev/dahdi/
total 0
crw-rw---- 1 root root 196, 254 Jan 8 02:35 channel
crw-rw---- 1 root root 196, 0 Jan 8 02:35 ctl
crw-rw---- 1 root root 196, 255 Jan 8 02:35 pseudo
crw-rw---- 1 root root 196, 253 Jan 8 02:35 timer
crw-rw---- 1 root root 196, 250 Jan 8 02:35 transcode

============

I have not installed any dahdi hardware.

Thanks in advance for any help.


#2

The dahdi modules must be loaded before you start Asterisk. If the init.d script says OK, it suggests that it wasn’t run duing startup.


#3

Thanks David, appreciate your help. it’s working…

I stopped the dahdi

[root@ws1 asterisk]# /etc/init.d/dahdi stop
Unloading DAHDI hardware modules: done

Then Stopped asterisk

ws1CLI> core stop now
ws1
CLI>
Disconnected from Asterisk server
Asterisk ended with exit status 0
Asterisk shutdown normally.

Then start dahdi again.

[root@ws1 asterisk]# /etc/init.d/dahdi start
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte12xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]

Running dahdi_cfg: [ OK ]

Then start the asterisk

root@ws1 asterisk]# safe_asterisk &
[1] 13446
[root@ws1 asterisk]#
[1]+ Done safe_asterisk

And after restarting it’s working fine. i don’t see the error again