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.

PTCL use

s Huawei SoftX 3000 Soft Switches for this service , I have had experience on these switches from my previous jobs and I know that it requires PRACK support to start off , In addition , while configuring , I noticed that the user_agent also needs to be set to a certain value for the registration to be successful.

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
Asterisk Config for PTCL SmartLink App
Tagged on:                         

3 thoughts on “Asterisk Config for PTCL SmartLink App

  • May 19, 2015 at 1:09 pm
    Permalink

    Dear Junaid,

    Thanks for sharing nice article.

    What is ip address for ptcl sip server and also can we increase channel limits so we can recieve multiple calls.

    Reply
    • July 17, 2015 at 4:27 pm
      Permalink

      Hi Asif,

      Cannot share the IP address , I am not sure about multiple call limit.

      Regards,
      Junaid

      Reply
  • December 25, 2015 at 1:53 am
    Permalink

    Hi ,i need your help to configure smart link with my asterisk server, i can pay for the help .

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *