Hi

I am testing Asterisk 12 and got most things working, but cannot get a trunk 
setup working correctly with the pjsip channel driver. The provider provides IP 
security so no registering or credentials are required. 

It complains about no route to host.  

1.8 configs that works

[maintrunk]
type=peer
host=1.2.3.4
disallow=all
allow=g729,alaw,ulaw

and use Dial(SIP/maintrunk/${ARG1})

V12 (does not work) 

[udpnonat]
type=transport
protocol=udp
bind=0.0.0.0:5060

[maintrunk]
type=endpoint
transport=udpnonat
disallow=all
allow=g729,alaw,ulaw
aors=maintrunk

[maintrunk]
type=aor
contact=sip:1.2.3.4:5060

and use Dial(PJSIP/${ARG1}@maintrunk)

It dials but does not connect to the provider. Is the config correct?

Thank you for your time.

/K


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to