[Asterisk-Users] IAX2 to IAX2 connection problems

tucker tucker at vplan.co.uk
Thu Jul 1 15:07:53 MST 2004


Only trying to get one way, office to local working at moment

Local calls work ok, can dial out and receive calls from POTS
Console to SIP works fine
Routing will work locally, answer, to sip, to mailbox if unavilable etc

Remote end
extensions.conf
exten => _43,1,Dial(IAX2/iax-gateway/2200,10)

iax.conf
[iax-gateway]
type=friend
allow=localpcip
context=incoming
host=localpcip

sip.conf
no sip installed

Local end
extensions.conf
PHONES1=SIP/2200				
PHONES1VM=2200
[incoming]
exten => 2200,1,Dial(${PHONES1},20,Ttm)
exten => 2200,2,Macro(vmessage,${PHONES1VM})
exten => 2200,2,Wait,5
exten => 2200,3,Hangup

iax.conf
[iax-ogateway]
type=friend
allow=remotepcip
context=incoming
host=remotepcip

sip.conf
[2200]
type=friend
host=dynamic
context=home
callerid="SPA1" <2200>
dtmfmode=rfc2833
nat=0
;





More information about the asterisk-users mailing list