[asterisk-users] Asterisk 12 trunk setup

Kilburn Abrahams kilburna at gmail.com
Mon Dec 30 06:35:57 CST 2013


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



More information about the asterisk-users mailing list