We recommend you create configurations for each Clearly IP Server that your service is setup for. You can locate the Server Domain name, SIP Username and SIP Password from within the SIP Trunking Portal under the Location as outlined here.
XXX with XXX being your Trunking Server Domain name from above
UUU with UUU being your SIP Username
SSS with SSS being your SIP Password
Add the following details to your sip.conf file in asterisk
[XXX]
register=UUU:SSS@XXX
disallow=all
allow=ulaw
context=from-pstn
type=peer
insecure=port,invite
qualify=yes
qualifyfreq=30
sendrpid=yes
trustrpid=yes
dtmfmode=rfc2833
outofcall_message_context=sms-incoming
username=UUU with UUU being your SIP Username
secret=SSS with SSS being your SIP Password
host=XXX with XXX being your Trunking Server Domain name from above