Friday, September 9, 2016

Telekom Malaysia (TM) Multi-Line SIP setup with vanilla Asterisk or FreePBX over TEL URI

Telekom Malaysia
Src: https://www.tm.com.my/Office/Business/SME/Solutions/Pages/Multi-Line-SIP.aspx

Happy to say that we’ve successfully set up Asterisk 11 or higher with TM’s Multi-Line SIP which basically uses IMS signaling on Huawei devices used by Telekom Malaysia.

We had to modify chan_sip.c and parser  files to support TEL: URI for INVITE messages. Currently, we have enabled it to support incoming INVITES only. TM doesn’t require to send TEL: uri for outgoing calls and the usual SIP: uri is perfectly fine.

There are several steps involved and i will blog about it later (when i have the time). Generally its

1) Getting the hack from here: http://forums.asterisk.org/viewtopic.php?f=1&t=76432

2) Adding one or two more TEL support in the parser file

3) Configure trunks and registration

4) Setup an incoming dialplan to chomp down parts of the SIP header to be used as CallerID and DID values respectively.

5) Enable ringing into all inbound routes

We successfully tested incoming, outgoing, transfers using standard codecs. The audio quality is nearly as good as PRI tho sometimes, takes a bit longer to handshake the INVITE messages but its hardly noticeable. We might be able to send messages too over regular IP or SMS, i think that’s why the IMS is chosen in the first place, to enable multimedia over voip protocols.

If you need help, write to us info@astiostech.com and if you use Asterisk in a non-commercial environment, i will set it up for free Winking smile

For more information on TM’s MLS: https://www.tm.com.my/Office/Business/SME/Solutions/Pages/Multi-Line-SIP.aspx

Have a good one.
Sanjay

Post a Comment