Advertisement
Guest User

Untitled

a guest
Nov 10th, 2017
989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. Caller ID test on your HT503:
  2. At first, we have to be sure that the HT503 handles the caller ID correctly; otherwise there will be no need to proceed to the next step. A verification to see if the HT503 handles the caller ID properly is needed. You can verify if the caller ID is properly handled by doing like this:
  3. Open the web interface of your HT503.
  4. Click on the FXO port
  5. Scroll down of the page:
  6. Go to the Caller ID Scheme: Select the Caller ID Scheme that is supported by your phone service provider from the drop down menu
  7. Go to Caller ID Transport Type: Select the method by which the caller ID is transported.
  8. Scroll down of the page to Number of rings. This is the number of times the FXO port will be ringing before having the a VoIP extension ringing or before having the phone on the FXS port ringing if PSTN Ring through FXS is set to yes. Please set it to a value that is equal or greater than 4.
  9. Scroll down of the page to PSTN Ring Thru FXS to Yes, so the phone connected to the FXS port will ring.
  10. Click on update
  11. Check if the same Caller ID settings on the FXS port are similar to those on the FXO port.
  12. Go to the Basic Settings , and check if the Life Line Mode is set to Auto. Setting the Life Line Mode to Auto will allow the device to parse the Caller ID if the HT503 is on, and automatically be a relay if the device is off.
  13. Plug the phone to the FXS port, and do a PSTN call to the HT503.
  14. If you see the caller ID on your phone and the HT503 is on and all the previous parameters are respected, the HT503 handles properly the Caller ID. And now you can move on to the next step.
  15. Configuration of your HT503:
  16. Now that you are sure that the HT503 is handling the Caller ID correctly, you should be able to do the peering of the HT503 with Elastix and having your CDR fetched with the Caller ID from the PSTN network and from VoIP to PSTN. As mentioned previously, the peering is without registration.
  17. Please follow the steps below so you can configure your HT503 to route a call to an extension that you want to receive the call on. The settings below are either an addition or a change to the configuration that was made previously, so you can go through the Asterisk server to make the call to the FXS port of the HT503. Please make sure you go through all these settings:
  18. Page
  19. Settings
  20. Basic Settings
  21. Unconditional Call Forward: this option will allow you to forward a PSTN call to any extension that you want in the VoIP network. You can configure the HT503 to send the call to an extension that is registered in Elastix. Example: your Elastix PBX IP address is 192.168.1.254 and listening on incoming SIP connections on 5060, the FXS port of the HT503 is registered to Elastix and the extension number is 4001. So the Unconditional Call Forward will be 4001@192.168.1.254:5060
  22. Advanced Settings
  23. Life Line Mode: as explained before this will change the behavior of the HT503 depending on whether it’s powered on or off. If the device is on, then It will handle the Caller ID and can transfer it to the Asterisk server, if not it will act just as a simple relay. But this time, it should not ring through the FXS port as the HT503 is set not to ring through it.
  24. FXO Port
  25. Account Active set to YES
  26. Primary SIP server set to the IP address of the PBX
  27. User ID is phone number set to NO
  28. SIP Registration set to NO
  29. Unregister on Reboot set to YES (this will allow the HT503 to clear all the SIP credentials that were set to be used on the device before and unregister from the server)
  30. Outgoing Calls without Registration set to YES (this will allow to make PSTN call without being registered to a SIP server)
  31. Number of Rings is greater than or equal 4
  32. Stage Method set to 1
  33. PSTN Ring through FXS set to NO
  34. FXS Port
  35. Verify if the caller ID settings are the same as the ones defined on the FXO Port.
  36. Register the FXS port on the Asterisk /Elastix server so you can use it with the phone
  37. Configuration your Asterisk PBX (Elastix):
  38. Please follow the steps below to configure your Asterisk IP PBX:
  39. 1 -Add A SIP Trunk from the Trunk men
  40. 2 -Under the outgoing settings:
  41. A – Set a trunk name (i.e. HT503_Trunk)
  42. B – For the PEER DETAILS enter the following:
  43. host=IP_ADDRESS_OF_YOUR_HT503
  44. type=peer
  45. canreinvite=no
  46. insecure=very
  47. dtmfmode=rfc2833
  48. nat=yes
  49. port=5062 (this is the port number used by the HT503’s FXO port)
  50. 3 -Under the incoming settings:
  51. A- Give the User Context to a certain name.
  52. B-For the USER DETAILS enter the following:
  53. context=from-trunk
  54. host=dynamic
  55. insecure=very
  56. type=friend
  57. dtmfmode=rfc2833
  58. 4 -Submit and Apply the settings.
  59. 5 -Go to the Outbound Routes:
  60. A – Give the outbound route a name
  61. B – Set the Dial Pattern if you want to dial a PSTN number.
  62. C – Under Trunk Sequence, select the HT503 trunk that you have created before.
  63. 6 – Submit and apply the settings.
  64. Final Result:
  65. Now you should be able make and receive calls from and to a PSTN network, while having all the calls logged into the CDR of your server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement