Asterisk 12 Trunk Setup

Home » Asterisk Users » Asterisk 12 Trunk Setup
Asterisk Users 1 Comment

Hi All

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

This is version 1.8 that works

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

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

My version12

[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

One thought on - Asterisk 12 Trunk Setup

  • Kilburn Abrahams wrote:

    Hola,

    Your config itself looks fine, what actually shows up on the console?

    Cheers,