PTCL has recently launched an app called “SmartLink” , Which provides you access to your phone line over SIP , essentially providing landline access from anywhere.
Since the land-line I have is only used for DSL and SmartTV, I wanted to set it up on SIP , so I can access it from any device.
I used chan_pjsip and asterisk 13 for this setup. Below is the configuration that works!
[ptcl] type=registration transport=simpletrans outboundauth=ptcl serveruri=sip:SIPSERVER clienturi=sip:USERNAME@SIPSERVER expiration=900 contactuser=USERNAME supportpath=yes [ptcl] type=auth auth_type=userpass password=PASSWORD username=USERNAME [ptcl] type=aor contact=sip:SIPSERVER:5060 [ptcl] type=endpoint transport=simpletrans context=from-ptcl disallow=all allow=ulaw outboundauth=ptcl fromdomain = SIPSERVER fromuser = USERNAME dtmfmode = rfc4733 force_rport = yes aors=ptcl timers_sess_expires=900 100rel=yes [ptcl] type=identify endpoint=ptcl match=SIPSERVER