Template Register Solution for TA200

Background

When client want to use SIP trunk with 2 DID numbers on TA200, this seems not possible in TA200. As it doesn't support the Template Register feature like TA400, TA800.

Solution

Precondition: the SIP trunk should be allowed to be registered by same device repeatedly.

1. Fill in the same SIP trunk account info on port 1 and port 2 except:

  • Caller ID Name
  • Caller ID Number
  • From User
  • DID Number

2. After you check the 2 ports have been registered, you would find an issue that you could not receive calls on port 2. Outgoing calls are working fine. 

Try to upgrade your TA200 firmware to this version: https://update-ys2015-alicloud.oss-cn-hongkong.aliyuncs.com/YeastarSupport/image/44.19.0.32.2.bin

 

## The following is obsolete if you upgrade to 44.19.0.32.2.

3. Customize the extensions.conf (How to customize the config file: Click Here )

Find the find context [DID_SIP-SERVER-VoIPServer1] and copy the whole content under this context.

[DID_SIP-SERVER-VoIPServer1]
exten = _{Your DID of Port 1},1,noop(not use t38)
same = n,Set(CDR(VoIPServer)=VoIPServer1)
same = n,Macro(stdexten-fromoutside,1,${DIALPARAM_OF_FXS1})
exten = h,1,hangup()

{Your DID of Port 1} is the DID number you filled in port 1.

4. Add extensions_custom.conf in the path /persistent with the content copied from on last step.

And insert line in blue before line "exten = h,1,hangup()"

[DID_SIP-SERVER-VoIPServer1]
exten = _{Your DID of Port 1},1,noop(not use t38)
same = n,Set(CDR(VoIPServer)=VoIPServer1)
same = n,Macro(stdexten-fromoutside,1,${DIALPARAM_OF_FXS1})
exten = _{Your DID of Port 2},1,Goto(DID_SIP-SERVER-VoIPServer2,${EXTEN},1)
; Foward the call of DID {Your DID of Port 2}to context of port 2.
exten = h,1,hangup()

{Your DID of Port 2} is the DID number you filled in port 2.

5. Apply and Save any change on web or reboot TA200 to let the customized config take effect.

 

Have more questions? Submit a request

2 Comments

  • 0
    Avatar

    Adding this line has the same effect : include = DID_SIP-SERVER-VoIPServer2

  • 0
    Avatar

    Could you please make a new release about this case? 

    It is not so easy for every customer to make this configuration. It is a basic requirement for the gateways.. 

    Edit: I used a DID number like 2 on the port 2. Then I forward busy and no answer calls to number 2 on Port 1. 

    When the Port 1 busy or not answering, Port 2 is ringing.

    Edited by Emre (Nolto)
Please sign in to leave a comment.