All pastes #28154 Raw Edit

Untitled

public text v1 · immutable
#28154 ·published 2005-11-09 17:19 UTC
rendered paste body
iax.conf on local server:
-------------------------

[general]
disallow=all
allow=ulaw
allow=alaw

tos=lowdelay

[webone]
type=user
username=webone
secret=baa
host=1XX.XX.XXX.19  <---- ip address of machine to connect to


iax.conf on remote server:
--------------------------

[general]
port=5036

disallow=all
allow=ulaw
allow=alaw

tos=lowdelay

[webone]
type=peer
username=webone
secret=baa
host=1XX.XX.XXX.21   <--- ip address of connecting machine
context=td-out


the extensions.conf on the local server just says:

[default]
exten => _X.,1,Dial(IAX2/webone/${EXTEN},30)


The error when I attempt to set up a call via the maanger API is:

Nov  9 17:03:33 WARNING[13898]: chan_iax2.c:2212 create_addr: No such host: webone
Nov  9 17:03:33 NOTICE[13898]: channel.c:1829 __ast_request_and_dial: Unable to request channel IAX2/webone/+447711111111