hi guys,<br>Im running a lot of conferences in one machine and start to think, why meetme is always looking for zap/pseudo.<br>Since, im running thru ztdummy and i didnt load chan_zap.so, im always getting such warnings:<br>
<br> -- AGI Script Executing Application: (MeetMe) Options: (2005|MpT)<br>
== Parsing '/etc/asterisk/meetme.conf': Found<br>
[Feb 28 09:48:32] WARNING[15870]: channel.c:3020 ast_request: No channel type registered for 'zap'<br>
[Feb 28 09:48:32] WARNING[15870]: app_meetme.c:727 build_conf: Unable to open pseudo channel - trying device<br>
[Feb 28 09:48:32] WARNING[15870]: channel.c:3020 ast_request: No channel type registered for 'zap'<br>
-- Created MeetMe conference 1021 for conference '2005'<br>
-- <SIP/64.15.69.138-082ef280> Playing 'conf-onlyperson' (language 'fr')<br><br>But, the conference works perfectly (as far that I know).<br><br><br>What are the zap uses for exactly? <br>I saw the ast_conference has these 2 members:
<br> struct ast_channel *chan; /*!< Announcements channel */<br> struct ast_channel *lchan; /*!< Listen/Record channel */<br><br>Even if im not using zap/pseudo, i still can get MOH (option M).
<br><br>In scenario like that example, do we agree zap/pseudo is totally useless?<br><br>Based on that code:<br>cnf->chan = ast_request("zap", AST_FORMAT_SLINEAR, "pseudo", NULL);<br>[... few condition here ...]
<br>cnf->lchan = ast_request("zap", AST_FORMAT_SLINEAR, "pseudo", NULL);<br><br>it just duplicate the warning in the CLI.<br><br>So both the chan and lchan are requesting a pseudo, but why exactly?
<br>After that explanation, maybe we could write something with flags, and do these ast_request() only when really needed?<br><br>Also, even if these ast_request() got no chan (like my scenario), it just continue, so what's the point exactly?
<br><br>There's also the variable using_pseudo which could help to control if we're using the pseudo channel.<br><br>ls -l /dev/zap/<br>total 0<br>crw-rw---- 1 root dialout 196, 254 2007-02-20 19:38 channel<br>
crw-rw---- 1 root dialout 196, 0 2007-02-20 19:38 ctl<br>crw-rw---- 1 root dialout 196, 255 2007-02-20 19:38 pseudo<br>crw-rw---- 1 root dialout 196, 253 2007-02-20 19:38 timer<br>crw-rw---- 1 asterisk asterisk 196, 250 2007-02-20 19:38 transcode
<br><br>(im running 1.4.0 on that box)<br><br>Thanks, for letting me understand that zap stuff in meetme.<br><br><br>-- <br>Clod Patry