[asterisk-dev] Asterisk 12 trunk setup

Kilburn Abrahams kilburna at gmail.com
Tue Dec 31 17:31:56 CST 2013


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




More information about the asterisk-dev mailing list