# \[Help\] Asterfax

**URL:** <https://community.asterisk.org/t/help-asterfax/5391>\
**Category:** Asterisk Support\
**Created:** [March 29, 2006, 10:29pm UTC](https://community.asterisk.org/t/help-asterfax/5391 "2006-03-29T22:29:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![burtis](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@burtis](https://community.asterisk.org/u/burtis)\
**Post date:** [March 29, 2006, 10:29pm UTC](https://community.asterisk.org/t/help-asterfax/5391/1 "2006-03-29T22:29:38Z")

</div>

Error connecting to asterisk manager api via asterfax

asterfax log file

[quote]29 Mar 2006 19:43:13,831 ERROR Connection to the asterisk manager api failed. Check that asterisk is up and configured to accept Manager API connections.  
java.net.ConnectException: Connection refused  
at java.net.PlainSocketImpl.socketConnect(Native Method)  
at java.net.PlainSocketImpl.doConnect(Unknown Source)  
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)  
at java.net.PlainSocketImpl.connect(Unknown Source)  
at java.net.SocksSocketImpl.connect(Unknown Source)  
at java.net.Socket.connect(Unknown Source)  
at [/quote]  
asterisk log file

[quote]Mar 29 19:43:10 WARNING[12431] chan\_zap.c: Ignoring signalling  
Mar 29 19:43:10 WARNING[12431] chan\_zap.c: Ignoring signalling  
Mar 29 19:43:10 WARNING[12449] chan\_sip.c: Section ‘global’ lacks type  
Mar 29 19:44:51 NOTICE[19360] app\_dial.c: Unable to create channel of type ‘zap’ (cause 17 - User busy)  
Mar 29 19:45:00 WARNING[19367] chan\_zap.c: Unknown option ‘-’ in '2-1’  
Mar 29 20:08:43 NOTICE[12431] cdr.c: CDR simple logging enabled.  
Mar 29 20:08:43 NOTICE[12431] indications.c: Removed default indication country 'us’  
Mar 29 20:08:43 WARNING[12431] pbx\_dundi.c: Unable to look up host 'oa-s144-06’  
Mar 29 20:08:43 WARNING[12431] chan\_zap.c: Ignoring signalling  
Mar 29 20:08:43 WARNING[12431] chan\_zap.c: Ignoring signalling  
Mar 29 20:08:43 WARNING[12431] chan\_skinny.c: Unable to get our IP address, Skinny disabled  
Mar 29 20:08:43 WARNING[12441] chan\_mgcp.c: Unable to get our IP address, MGCP disabled  
Mar 29 20:08:43 WARNING[12449] chan\_sip.c: Section ‘global’ lacks type  
[/quote]  
I dont know how much to post of the asterisk, asterfax log file, put if more data is needed i could re-post.

Also here are some other config files

## [quote]manager.conf

[general]  
enable = no  
port = 9995  
bindaddr = 127.0.0.1  
[admin]  
secret = welcome  
deny=0.0.0.0/0.0.0.0  
permit=127.0.0.1/255.255.255.0

## AsterFax.xml
127.0.0.1 admin welcome 3 ..... Zap/1-1 1 internal [/quote]

---

<div class="post-metadata">

**Author:** ![zhu8080](https://avatars.discourse-cdn.com/v4/letter/z/3bc359/32.png) [@zhu8080](https://community.asterisk.org/u/zhu8080)\
**Post date:** [June 21, 2006, 3:26am UTC](https://community.asterisk.org/t/help-asterfax/5391/2 "2006-06-21T03:26:49Z")

</div>

hello, guy:  
you try set enable=yes and add set read ,write your ip like.  
good luck!
