[Asterisk-Users] how to configure iax account for iaxmodem?

Bruno Voigt Bruno.Voigt at ic3s.de
Sat Jan 7 17:11:02 MST 2006


Hi,

I'm running asterisk 1.2.1 and started to play with iaxmodem 0.0.7
running on the same box.

I wonder how to setup the iax account correctly so that I may
initiate outbound calls via iaxmodem?

registration upon iaxmodem startup is okay and I can direct calls to it.

    -- Registered IAX2 'iaxmodem' (AUTHENTICATED) at 127.0.0.1:33874

But upon an outbound call setup request from iaxmodem
(ATD123) I get the following asterisk error:

Jan  8 01:06:29 NOTICE[10273]: chan_iax2.c:6778 socket_read: Rejected
connect attempt from 127.0.0.1, who was trying to reach '123@'

What is missing in the iax.conf to make asterisk accept the outbound calls?

[iaxmodem]
type=peer
callerid="iaxmodem"
username=iaxmodem
secret=password
host=dynamic
disallow=all
allow=alaw
peercontext=from-internal
context=from-internal


TIA, Bruno




More information about the asterisk-users mailing list