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
;


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to