this mean, use FreePBX as VoIP gateway?
microSIP > (eth0, 192.168.88.200) FreePBX (eth0.822 10.61.24.8) > Maxis VoIP
Ditch Router, use Maxis VoIP on other device!, Works on MicroSIP too
Ditch Router, use Maxis VoIP on other device!, Works on MicroSIP too
|
|
Mar 5 2022, 06:37 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,399 posts Joined: Jul 2009 From: /dev/null |
this mean, use FreePBX as VoIP gateway?
microSIP > (eth0, 192.168.88.200) FreePBX (eth0.822 10.61.24.8) > Maxis VoIP |
|
|
|
|
|
Mar 5 2022, 08:23 PM
Show posts by this member only | IPv6 | Post
#22
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,466 posts Joined: Nov 2004 |
QUOTE(Anime4000 @ Mar 5 2022, 06:37 PM) this mean, use FreePBX as VoIP gateway? microSIP i test directly on maxis fiber (TM fiber), not working. Next step maybe trying in vlan 822. This might be because I use Ubiquiti UDM as router. Got many feedback on broken SIP ALG implementation.microSIP > (eth0, 192.168.88.200) FreePBX (eth0.822 10.61.24.8) > Maxis VoIP As for FreePBX, I wanna use Maxis voip as SIP Trunk. But the term/option as SIP trunk is like too many. Dunno which 1 to fill in. > This is my final use case. I got few cheap IP phone, wanna use as house intercom and incoming & doing outgoing call through maxis. |
|
|
Mar 5 2022, 10:57 PM
Show posts by this member only | IPv6 | Post
#23
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,466 posts Joined: Nov 2004 |
Update. Able to make microsip to work. Seems need to stop sip in Maxis router 1st. If not will keep getting wrong password in Microsip app. Anime4000 liked this post
|
|
|
Mar 6 2022, 12:43 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,399 posts Joined: Jul 2009 From: /dev/null |
|
|
|
Mar 7 2022, 08:59 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,466 posts Joined: Nov 2004 |
Yesterday able to connect using 3CX, using normal maxis internet access (pppoe). So no need to use voip vlan. I think ubiquiti update 2 day before solve sip slg isu. For 3cx just need to change user agent. All able to do within GUI. Nice.. full feature PBX with sip trunk + local incoming number. Anime4000 liked this post
|
|
|
Mar 7 2022, 02:27 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,607 posts Joined: Nov 2020 |
Anime4000 Working on Huawei HG8240H5 on Maxis Own Infra! ![]() Followed your old Github repo, but VLAN 14, and blank URI https://gist.github.com/Anime4000/6bb17e435...4f01771359bfe5f I don't have a landline phone to test but the TEL1 light on the modem also light up, and blinks when a call comes in! so, Huawei ONT also accepted User Agent? And I guess without TM managing the ONT This post has been edited by PRSXFENG: Mar 7 2022, 02:36 PM Anime4000 liked this post
|
|
|
|
|
|
Mar 7 2022, 02:52 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,399 posts Joined: Jul 2009 From: /dev/null |
QUOTE(PRSXFENG @ Mar 7 2022, 02:27 PM) Anime4000 Maxis on TM VLAN822 require specific User-AgentWorking on Huawei HG8240H5 on Maxis Own Infra! ![]() Followed your old Github repo, but VLAN 14, and blank URI https://gist.github.com/Anime4000/6bb17e435...4f01771359bfe5f I don't have a landline phone to test but the TEL1 light on the modem also light up, and blinks when a call comes in! so, Huawei ONT also accepted User Agent? And I guess without TM managing the ONT HG8240H5 has no option to change User-Agent |
|
|
Mar 7 2022, 06:05 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,607 posts Joined: Nov 2020 |
QUOTE(Anime4000 @ Mar 7 2022, 02:52 PM) I did my investigation with MicroSIPFor the TP-Link user agent you just need "TPLINK ARCHER C5V" and it's accepted, no need firmware version or serial The "HUAWEI-EchoLife" user agent also works for me, so that's how my ONT was accepted. (you could try changing <X_HW_SIPStringDefineInstance InstanceID="13" StringBody="HUAWEI-EchoLife %M%/%V%"/> in huawei config file to other user agents, since that's where I got the "HUAWEI-EchoLife" phrase from) I think it's just looking for specific phrases, hence the Yealink phone working while appended. (and thanks Maxis for accepting Huawei ONT user agent) ChenKaiWen liked this post
|
|
|
Mar 7 2022, 07:23 PM
Show posts by this member only | IPv6 | Post
#29
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,399 posts Joined: Jul 2009 From: /dev/null |
QUOTE(PRSXFENG @ Mar 7 2022, 06:05 PM) I did my investigation with MicroSIP 1. I know Maxis User-Agent accept "TPLINK ARCHER C5V" substring, I edit back using full string just to avoid unforseen consequences where Maxis adjust how User-Agent acceptedFor the TP-Link user agent you just need "TPLINK ARCHER C5V" and it's accepted, no need firmware version or serial The "HUAWEI-EchoLife" user agent also works for me, so that's how my ONT was accepted. (you could try changing <X_HW_SIPStringDefineInstance InstanceID="13" StringBody="HUAWEI-EchoLife %M%/%V%"/> in huawei config file to other user agents, since that's where I got the "HUAWEI-EchoLife" phrase from) I think it's just looking for specific phrases, hence the Yealink phone working while appended. (and thanks Maxis for accepting Huawei ONT user agent) 2. "HUAWEI-EchoLife" not accepted in my place with MicroSiP, I believe Subnet Gateway I live have more User-Agent restrictions because Maxis SIP is unencrypted. Also, with "HUAWEI-EchoLife" User-Agent, Wireshark show no reply from homesip.maxis.com.my VoIP Gateway purposely drop packet for invalid User-Agent. Also... I cannot use SIP via PPPoE, only VLAN 822 & 4G Backup PRSXFENG liked this post
|
|
|
Mar 10 2022, 09:17 PM
|
![]() ![]()
Junior Member
116 posts Joined: Jul 2005 |
I have finally managed to get a linksys pap2 gateway running using the steps given. It’s quite stable and works better than the ip phone. Just edit the user-agent as suggested and walla, it works perfectly. Thanks anime4000 for the guide. Anime4000 liked this post
|
|
|
Mar 10 2022, 11:04 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,399 posts Joined: Jul 2009 From: /dev/null |
|
|
|
Mar 17 2022, 04:20 PM
|
![]() ![]()
Junior Member
63 posts Joined: Nov 2008 |
Hi, Just to let you know. I am using Kaon 2140. Using wireshark, I get userAgent=Brcm-Cctk/v2.2.0 M5T SIP Stack/4.1.10.16 1.2.50_r11 <SN> The <SN> is your KAON router serial number all in capital. I have tested without the serial number, it works too. On my side, I must register using vlan 822. If using standard internet 621, I will get a timeout. ![]() Anime4000 liked this post
|
|
|
Mar 17 2022, 04:55 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,607 posts Joined: Nov 2020 |
QUOTE(darthobiguan @ Mar 17 2022, 04:20 PM) Hi, Huh, interestingly it seems to be Broadcom branded(not Kaon branded), M5T SIP Stack gives this result https://www.m5t.com/news/tag/sip-stack/ Just to let you know. I am using Kaon 2140. Using wireshark, I get userAgent=Brcm-Cctk/v2.2.0 M5T SIP Stack/4.1.10.16 1.2.50_r11 <SN> The <SN> is your KAON router serial number all in capital. I have tested without the serial number, it works too. On my side, I must register using vlan 822. If using standard internet 621, I will get a timeout. ![]() I wonder if any other Broadcom based routers with VoIP are using the same user agent? This post has been edited by PRSXFENG: Mar 17 2022, 04:56 PM |
|
|
|
|
|
Mar 18 2022, 01:44 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,399 posts Joined: Jul 2009 From: /dev/null |
QUOTE(darthobiguan @ Mar 17 2022, 04:20 PM) Hi, I have updated the post! Thanks for KaonMedia User-AgentJust to let you know. I am using Kaon 2140. Using wireshark, I get userAgent=Brcm-Cctk/v2.2.0 M5T SIP Stack/4.1.10.16 1.2.50_r11 <SN> The <SN> is your KAON router serial number all in capital. I have tested without the serial number, it works too. On my side, I must register using vlan 822. If using standard internet 621, I will get a timeout. ![]() |
|
|
Apr 28 2022, 11:51 AM
|
![]()
Newbie
6 posts Joined: Jul 2007 |
QUOTE(aneip @ Mar 7 2022, 08:59 AM) Yesterday able to connect using 3CX, using normal maxis internet access (pppoe). So no need to use voip vlan. I think ubiquiti update 2 day before solve sip slg isu. For 3cx just need to change user agent. All able to do within GUI. Try few time setting up 3cx can't work. Mind to share the config?Nice.. full feature PBX with sip trunk + local incoming number. |
|
|
May 10 2022, 04:13 PM
Show posts by this member only | IPv6 | Post
#36
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,516 posts Joined: Mar 2016 |
QUOTE(Anime4000 @ Feb 17 2022, 10:38 PM) Hi, Finally I can confirm that Maxis VoIP can work on Yealink IP Phone Microsip for some reason shows incorrect password, VPN to Maxis PPPOE InternetThis part of my project user replaceable device 1. Ditch ONU, use GPON SFP on Business Grade Router 2. Ditch Router, use Maxis 4G LTE Backup on other device 3. Ditch Router, use Maxis VoIP on other device This Thread This should work on any Maxis on any fiber, however, I tested on TM-Maxis. TLDR: Phone ID / Username: Your Phone ID and Username, it should be same CODE 0123456789 Password: Your password, you can find just do Account Number + Last 4 Digit phone number CODE 00000000006789 SIP Server: Note: This FQDN routable via Proxy, it will resolved IP Address to 14.192.234.109 CODE homesip.maxis.com.my Proxy Server: Note: This FQDN routable only on Maxis Network (PPPoE, 4G, VLAN), it will resolved IP Address to 202.75.146.26 CODE homegw01.maxis.com.my Codec: Note: using unsupported codec result no incoming or outgoing call CODE 1. G.711 ALaw (PCMA) 2. G.711 uLaw (PCMU) Register Expires (sec): CODE 900 Register Retry Interval (sec): CODE 30 DTMF: CODE In-Band User-Agent: Note: Maxis VoIP only accept valid User-Agent sub-string, without this, you will get Error 405: Method Not Allowed TP-Link Archer C5v CODE TPLINK ARCHER C5V BUILD v1.0_191212-3202049003674 KaonMedia AR2140 (Provided by darthobiguan) CODE Brcm-Cctk/v2.2.0 M5T SIP Stack/4.1.10.16 1.2.50_r11 <SN> Aminia MA131 CODE // Waiting User-Agent for these model, if anyone willing to help, I appreciate it, use WireShark to find it: As you can see, I highlighting User-Agent in RED! This is the reason your VoIP not work on other place, SIP Server looking specific sub-string before get Authenticated. Tested Device: Yealink T21 E2 Configure like this, simple is better [attachmentid=11095319] You need change Yealink User-Agent via CFG file, Export, Edit, Import! [attachmentid=11095291] [attachmentid=11095301] NOTE: Yealink custom User-Agent will append like this, not total replace, it may not work in the future. [attachmentid=11095314] Tested SoftPhone: MicroSIP (Windows) Open MicroSIP and add 1 account like this, then close MicroSIP [attachmentid=11095315] Then edit microsip.ini find userAgent= and paste it, like this: [attachmentid=11095316] Then open MicroSIP, try call: [attachmentid=11095320] Android / iOS So far I didn't find suitable SoftPhone that allow custom User-Agent, if you find one, let me know~ ONU POTS I tried on HG8240H and HG8240H5, not working even with custom User-Agent, apparently TM OMCI override VLAN 822 IPoE, you can try if TM OMCI not strict as mine here... Accepted Network 1. VoIP VLAN 2. Maxis PPPoE Internet 3. Maxis 4G/LTE I have tired on non-Maxis (TIME, Unifi, ) it seem FQDN sgb-cvx1.146.26 are not reachable SIP ALG You can use VoIP without VLAN, however, your router must support SIP ALG. Ubiquiti EdgeRouter having trouble with SIP ALG, you must use VoIP VLAN Maxis router not connected(shouldn't have any login to the VOIP account) Update: turns out the password format given in the 1st post doesn't work, contacted maxis for the voip password This post has been edited by yongtjunkit: May 13 2022, 12:27 PM |
|
|
Nov 7 2022, 03:26 PM
|
![]() ![]() ![]() ![]()
Junior Member
612 posts Joined: Mar 2008 |
Any updated documentation for Unifi VoIP? Need to implement this on my home network because I want to throw out the ONU since the VoIP is connected to my ONU.
|
|
|
Dec 31 2022, 10:57 AM
Show posts by this member only | IPv6 | Post
#38
|
![]()
Newbie
2 posts Joined: Mar 2009 |
Hi,
thanks for valuable input from earlier threads. I follow this thread and finally able to make it works using generic VoiP PBX system. In my case, i installed 3CX OS package on Raspberry Pi where the raspberry pi has access to dual IP networks: - Maxis Voip vlan 822 - home wifi 9originated from maxis home fiber PPoE) the trick to make other generic VoIP PBX to works is by injecting the right user agent that recognized by the Maxis VoIP server/proxy. the working user Agent strings have been described in earlier posts. my turn here is to share a working 3CX config that you can use to make your own VoIP PBX connecting to Maxis VoIP: the same principle can be applied if you want to use generic other PBX gateway like asterisk etc. CODE shahrul8404@pi-3cx:/usr/share/3cxpbx/skel/Data/Http/Templates/provider $ cat maxissiptrunk.pv.xml <?xml version="1.0"?> <doc xmlns:tcx="http://www.3cx.com"> <header> <type>gateway-template</type> <version>122147</version> <time>2021-05-20 16:00:00</time> <name>Maxis MY SIP Trunk</name> <url>https://www.maxis.com.my/</url> <image></image> <description>MY</description> </header> <data> <device> <type>provider</type> <manufacturer>Maxis Home Fiber SIP Trunk</manufacturer> <model>Provider</model> <!-- Friendly Name --> <field name="Name">Maxis Home Fiber SIP Trunk</field> <!-- Hostnames and Port Numbers --> <field name="RegistrarHost">homesip.maxis.com.my</field> <!-- Registrar & Proxy IP / FQDN --> <field name="RegistrarPort">5060</field> <!-- Registrar & Proxy Port Number --> <field name="ProxyHost">homegw01.maxis.com.my</field> <!-- Proxy IP / FQDN --> <field name="ProxyPort">5060</field> <!-- Proxy Port Number --> <field name="StunServerHost"></field> <!-- StunServer IP / FQDN --> <field name="StunServerPort"></field> <!-- StunServer Port Number --> <!-- Registration Settings --> <field name="LineAuthenticationPassword" status="readonly"></field> <field name="TimeBetweenRegistration">120</field> <!-- Registration Expiry --> <field name="RequireAuthFor">4</field> <!-- No=1; In=2; Out=3; Both=4 --> <field name="IpInContactReg">1</field> <!-- Ext=1; Int=2; Both=3; Specified=4 --> <field name="IpInContactRegValue"></field> <!-- List of PBX IPs --> <field name="3wayauthenticationid" status="readonly"></field> <!-- Entry to enable 3 way authentication--> <!-- Provider Capabilities --> <field name="IsSupportReinvite">0</field> <!-- Yes=1; No=0 --> <field name="IsSupportReplaces">0</field> <!-- Yes=1; No=0 --> <field name="DisableVideo">1</field> <!-- Yes=1; No=0 --> <field name="RegistrarInvite">1</field> <!-- Send INVITE to same IP as REGISTER=1; Resolve FQDN each time for INVITE=0--> <!-- Location of Destination Number --> <field name="DestNumberIn_TO">1</field> <!-- Yes=1; No=0 --> <field name="DestNumberIn_REQLINEURI">1</field> <!-- Yes=1; No=0 --> <field name="DestNumberIn_RPID_CALLED">0</field> <!-- Yes=1; No=0 --> <!-- Other Options --> <field name="IPRestriction">IPV4</field> <!-- Restricts IPv4 or IPv6. Values: ANY, IPV4, IPV6 --> <field name="TransportRestriction">TCP</field> <!-- Restricts the Transport Protocol. Values: ANY, UDP, TCP, TLS --> <field name="SecondaryRegistrar"></field> <!-- Possible values: FQDN:Port or IP:Port --> <field name="IsBindToMS">1</field> <!-- Bound=1; NotBound=0 --> <field name="UseIPInContact">0</field> <!-- UseIP=1; DoNotUseIP=0 --> <field name="CallerIDIn">1</field> <!-- Fm=1; To=2; ReqURI=3; Con=4; RemPtyClg=6 --> <field name="CalledNumberIn">2</field> <!-- Fm=1; To=2; ReqURI=3; Con=4; RemPtyCld=5 --> <codecs> <codec rfcname="g722" /> <codec rfcname="pcma" /> <codec rfcname="g729" /> </codecs> <!--Source Identification - Use Default PBX Internal Source Identification--> <!--<field status="readonly" name="MatchStrategy">0</field>--> <!--<field status="readonly" name="Source" parameter="" custom=""></field>--> <!-- Gateway / Provider Inbound Parameters --> <field name="ParameterIn" custom="" parameter="RequestLineURIUser">$CalledNum</field> <field name="ParameterIn" custom="" parameter="FromUserPart">$CallerName</field> <field name="ParameterIn" custom="" parameter="FromUserPart">$CallerNum</field> <!-- Gateway / Provider Outbound Parameters --> <field name="ParameterOut" custom="" parameter="RequestLineURIUser">$CalledNum</field> <field name="ParameterOut" custom="" parameter="RequestLineURIHost">$GWHostPort</field> <field name="ParameterOut" custom="" parameter="ContactUser">$OriginatorCallerId</field> <field name="ParameterOut" custom="" parameter="ContactHost">$ContactURI</field> <field name="ParameterOut" custom="" parameter="ToDisplayName">$CalledName</field> <field name="ParameterOut" custom="" parameter="ToUserPart">$CalledNum</field> <field name="ParameterOut" custom="" parameter="ToHostPart">$GWHostPort</field> <field name="ParameterOut" custom="" parameter="FromDisplayName">$OriginatorCallerId</field> <field name="ParameterOut" custom="" parameter="FromUserPart">$OriginatorCallerId</field> <field name="ParameterOut" custom="" parameter="FromHostPart">$GWHostPort</field> <field name="ParameterOut" custom="" parameter="P-AssertedIdentityDisplayName">$LineNumber</field> <field name="ParameterOut" custom="" parameter="P-AssertedIdentityUserPart">$LineNumber</field> <field name="ParameterOut" custom="" parameter="P-AssertedIdentityHostPart">$GWHostPort</field> <field name="ParameterOut" custom="TPLINK ARCHER C5V BUILD V1.0_191212-3202049003674" parameter="">$CustomField</field> <!-- this is the most important trick to fool the VoIP gateway --> </device> </data> </doc> |
|
|
Jan 5 2023, 11:15 PM
Show posts by this member only | IPv6 | Post
#39
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,399 posts Joined: Jul 2009 From: /dev/null |
very nice! shahrul8404 !
I have updated the first post to link your, so user can refer quickly |
|
|
Jan 29 2023, 01:58 AM
|
![]() ![]()
Junior Member
272 posts Joined: Jan 2010 |
I have successfully set this up too together with VOIP and TV. More info type later
|
| Change to: | 0.0294sec
0.62
6 queries
GZIP Disabled
Time is now: 26th November 2025 - 02:07 PM |