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 the a issue that you could not received call on port 2. Outgoing calls are working fine.

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

0 Comments

Please sign in to leave a comment.