AT&T IP Flex Sip trunk Configuration

Does anyone have the Config for AT&T SIP Trunk using IP Flex.

Carrier is the one who provides you the configuration parameters ,and then you just simply create the sip peer on your sip.conf configuration files

for example :

[sip_proxy-out]
type=peer
remotesecret=guessit
defaultuser=yourusername
fromuser=yourusername
fromdomain=provider.sip.domain
host=box.provider.com
transport=udp,tcp

Check the sip sample configuration file in order to know all the options available

Are you using PJSIP or chan_sip? For PJSIP:

pjsip.conf

; Basic UDP transport
;
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0

;**********AT&T Endpoints
[att-endpoint-template](!
type=endpoint
context=default
disallow=all
direct_media=yes
allow=ulaw
allow=g729
t38_udptl=yes
transport=transport-udp

[first_gateway](att-endpoint-template
aors=first_gateway

[first_gateway]
type=aor
contact=sip:12.x.x.x:5060
qualify_frequency=0

[first_gateway]
type=identify
endpoint=first_gateway
match=12.x.x.x

[second_gateway](att-endpoint-template
aors=second_gateway

[second_gateway]
type=aor
contact=sip:12.y.y.y:5060
qualify_frequency=0

[second_gateway]
type=identify
endpoint=second_gateway
match=12.y.y.y

**********NOTE The missing ) in the endpoint declarations. This site turned them into links if I added them. You will need to put them back in your pjsip.conf file.