Kenneth Long
2005-Jan-23 00:56 UTC
[Asterisk-Users] can iaxcomm run on the same server as Asterisk?
I can run iaxcomm by itself...and I start up Asterisk on it own... But if I start Asterisk first, then launch iaxcomm I get this error: bash-2.05b$ ./iaxcomm Error wxWindows Fatal Error : Couldn't Initialize IAX Client . bash-2.05b$ and if I start iaxcomm first then launch asterisk, I get this startup error with asterisk: bash-2.05b# asterisk -vvvcg . . <not shown> . == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) Jan 23 02:52:11 ERROR[22009]: chan_iax2.c:7524 load_module: Unable to bind to 0.0.0.0 port 4569: Address already in use Jan 23 02:52:11 WARNING[22009]: loader.c:345 ast_load_resource: chan_iax2.so: load_module failed, returning -1 == Manager unregistered action IAXpeers == Unregistered channel type 'IAX2' Jan 23 02:52:11 WARNING[22009]: loader.c:440 load_modules: Loading module chan_iax2.so failed! Ouch ... error while writing audio data: : Broken pipe Warning, flexible rate not heavily tested! bash-2.05b# this is my version of asterisk: *CLI> show version Asterisk CVS-v1-0-01/06/05-21:14:07 built by kelargo@kelargo on a i686 running Linux *CLI> Both _should_ work on the same machine, right? seem like some kind of port issue... thanks, Ken __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com
Bruno Hertz
2005-Jan-23 07:11 UTC
[Asterisk-Users] can iaxcomm run on the same server as Asterisk?
On Sat, 2005-01-22 at 23:56 -0800, Kenneth Long wrote:> seem like some kind of port issue...Probably. Both try to set up listeners on the IAX port (4569 for IAX2). Disable or reconfigure one of them to bind to a different port, whichever you want to answer on it. Also, don't forget to disable chan_alsa and chan_oss in modules.conf. When running another client you won't want the * console hogging your soundcard. Regards, Bruno.
Philipp von Klitzing
2005-Jan-23 08:31 UTC
[Asterisk-Users] can iaxcomm run on the same server as Asterisk?
Hi!> I can run iaxcomm by itself...and I start up Asterisk > on it own... > > But if I start Asterisk first, then launch iaxcomm > I get this error:You really do not want to run Asterisk and X-Windows on the same box. Cheers, Philipp