[Asterisk-Users] Unable to create channel of type 'SIP'
Miguel
mmiranda at 123.com.sv
Thu Feb 23 18:12:39 MST 2006
Hi, i have a working asterisk version CVS-v1-0-05/13/05-15:06:32, i was
installed using amportal , i want to migrate to another server, this
time i dont wat to use amportal and edited "by hand" everyfile, i can
make outboundcalls without problems, but i cant receive anything, either
from between the sip phones or the external peers, i copied the sip.conf
from the old server, this is the relevant port of the external peer, a
cisco as5400:
### sip.conf ###
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=g729
allow=g723.1
allow=alaw
allow=ulaw
context = bogon-calls ; Send unknown SIP callers to this context
callerid = Unknown
language=es
register => @prepago-in
[prepago-in]
type=friend
host=aaa.bbb.ccc.ddd
context = from-external
dtmfmode=rfc2833
insecure=very ; required for incoming FWD calls
[prepago-out]
type=peer ; we only want to call out, not be called
host=aaa.bbb.ccc.ddd
dtmfmode=rfc2833
[22662124]
callerid="22662124" <22662124>
context=from-internal
host=dynamic
secret=22662124
type=friend
username=22662124
this is the error log
Destroying call '4110b0c75ff4e8f5217ccd7703010157 at 200.13.161.27'
Feb 23 19:16:52 NOTICE[1023]: app_dial.c:1011 dial_exec_full: Unable to
create channel of type 'SIP' (cause 3 - No route to destination)
Transmitting (no NAT) to aaa.bbb.ccc.ddd:5060:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP aaa.bbb.ccc.ddd:5060;received=aaa.bbb.ccc.ddd
From: <sip:22660124 at aaa.bbb.ccc.ddd>;tag=1FA0C538-A3B
To: <sip:22662124 at aaa.bbb.ccc.ddd>;tag=as3aaf6cd5
Call-ID: A3C0864C-A40811DA-876CF280-F55453B3 at aaa.bbb.ccc.ddd
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:22662124 at aaa.bbb.ccc.ddd>
Content-Length: 0
X-Asterisk-HangupCause: No route to destination
what can we wrong?
---
Miguel
More information about the asterisk-users
mailing list