Recommend, review or get some help setting up your SIP based softphone of choice here.
User avatar
By Robshire
Posts Avatar Topics
#6080
Hey,

I am new to the world of VOIP and FreePBX, so forgive my ignorance.

I am looking for some help or guidance. I am having an issue with Zoiper on Andriod 11. I am using FreePBX on v14
Anytime I make or receive a call there is no audio, I can't hear the caller, and they can't hear me.
It is also silent when I make an echo call (*43).

This is only an issue on 4G/LTE and NOT over wifi.

Call statistics indicate no bytes received - which makes me think it's a NAT issue.
However I have used another Softphone Andriod app (MizuDroid) where the audio does work, but the app itself has other quirks, hence not just using that.

This makes me question if it is truly a NAT issue, or some app configuration issue.

My setup is as follow.
- I have a static public IP address, this is specified in Sip Settings > Chan SIP. Along with NAT setting is set to Yes.
- My mobile is set as a PJSIP Extension (default when adding quick extensions)
- I have port forwarding set for port 5160 (UDP) to FreePBX. Zoiper registers the extension fine, and can receive calls fine over 4G LTE (albeit no audio)
- Use STUN is off, and use RPORT for signalling / media is also off (though I have tried different combinations)

One thing I have not forwarded is UDP ports 10000-20000 to FreePBX, as I did try this, however I still had the same issue.
Given no other ports other than 5160, I am a little confused as to why MizuDroid would work but not Zoiper?

I am unable to check firewall logs as the settings in the Virgin Media Superhub 3s are very watered down.

Any help will be appreciated thanks,

Rob
0
User avatar
By WelshPaul
Posts Signature Likes Avatar Topics
#6081
Yea, encountered this issue myself many times...

Your WIFI is internal, your 4G/LTE is external. You need to forward the following default ports to your FreePBX server:
  • 5060 (UDP)
  • 10000 - 20000 (UDP) <<< Audio uses this port range
The FreePBX extension should have the following set:
  • Transport: Auto
  • Media Encryption: None
On Zoiper, Settings > Accounts > Encryption Settings:
  • Enable ZRTP: Disabled
  • Enable SRTP: Disabled
Have you altered any of the default Zoiper Listening Ports?
Might be worth rebooting the Virgin Media Hub after setting up port forwarding as the Virgin Media Hub can be a bit flakey at times (I have one).

FYI - You should consider changing the default ports 10000-20000 on your FreePBX server to something else.
(Asterisk SIP Settings > RTP Port Ranges)
0
User avatar
By Robshire
Posts Avatar Topics
#6082
Thanks for the quick response, however I still have the same issue.
I also note your advise on changing the RTP ports.

I have attached some screenshots, do they seem right?

I am running the free version of Zoiper, so the encryption settings are already disabled, and I did change the default ports to match mine.
sipsettings.png
sipsettings.png (37.49 KiB) Viewed 5850 times
These are my SIP settings, on the CHAN SIP settings are:
NAT - Yes
IP Config - Static
Override External IP - <MY IP ADDDRESS>

screenshot.jpg
screenshot.jpg (63.31 KiB) Viewed 5850 times
These are my port settings in Zoiper to match PBX
port-forwarding.png
port-forwarding.png (3.68 KiB) Viewed 5850 times
These are port forwarding settings of RTP in the VM SH3, rebooted after setting.

Don't worry, my actual port number is different from the screenshot :)

Cheers,
Rob
0
User avatar
By WelshPaul
Posts Signature Likes Avatar Topics
#6083
Are you aware that Virgin Media only provide static IP addresses to their business broadband customers and not residential? If you're a Virgin Media residential broadband customer you can leave "Static IP" selected but be aware that when your IP does change, calls passed to and from your PBX may fail.

Regarding your configuration above...
  1. You need to configure both the "External Address" and "Local Networks" fields on your FreePBX too.
    I suspect you have but omitted them from screenshot above for obvious reasons! If not, try clicking on the "Detect Network Settings" button, should add them automatically.

    Example:
    • Allow Anonymous Inbound SIP Calls: No
    • Allow SIP Guests: No
    • External Address: ***YOUR VM WAN IP***
    • Local Networks: ***YOUR LOCAL NETWORKS IP***
    • RTP Port Ranges: Start: 50500 End: 50900
    • Codec: alaw,ulaw,gsm,g726,g729
    Note: All other settings on that page can usually be left at their default setting.
  2. Your Zoiper configuration looks good but what about "Use RPORT For Signalling"?
    (Settings > Accounts > Network Settings)
    Is it enabled? If so, have you tried with it disabled (or vice versa)?

    Example:
    • Local SIP Port: 5060 (Random Port: Unchecked)
    • Local IAX Port: ***LEAVE AS DEFAULT*** (Random Port: Checked)
    • Local RTP Port: 11111 (Random Port: Unchecked)
    • Local TLS Port: ***LEAVE AS DEFAULT*** (Random Port: Checked)
  3. Virgin Media port forwarding looks good too!
One last thing you could try is to enable/disable STUN on the Zoiper softphone. If that fails, then we need to start looking at server logs and SIP traces to find out exactly what’s going on.
0
User avatar
By Robshire
Posts Avatar Topics
#6084
Hey,

Yeah static IP was probably not the best phrasing, it's a sticky IP, but it's only changed twice in the last few years - but aware of the potential risk :)

So use RPORT For Signalling is off
And I have tried different settings with STUN, to no avail, it is currently set to No.

I also made that change on the general sip settings and it does pickup my Local IP & CIDR and my Public IP correctly.
However anytime I have set these IP settings previously under General SIP Settings, calls do not go through on my Cisco IP Phone (it just hangs when calling *43).
Likewise the calls to *43 from Zoiper don't actually go through, it just immediately hangs up with 'Normal Local Hang-up'
genSip.PNG
genSip.PNG (23.13 KiB) Viewed 5731 times
Cheers,
Rob
0
User avatar
By Robshire
Posts Avatar Topics
#6085
I also attach log output from FreePBX (when NAT settings are not specified on General SIP Settings)
Hopefully these will help and what you maybe after?
Code: Select all
[2021-01-18 19:40:42] VERBOSE[29863] res_pjsip/pjsip_configuration.c: Contact 4444/sip:4444@<4G-LTE-PUBLIC-IP>:1034;rinstance=6f0ec4ed37bcd91b has been deleted
[2021-01-18 19:40:42] VERBOSE[16431] res_pjsip_registrar.c: Added contact 'sip:4444@<4G-LTE-PUBLIC-IP>:1034;rinstance=6f0ec4ed37bcd91b' to AOR '4444' with expiration of 60 seconds
[2021-01-18 19:40:42] VERBOSE[29863] res_pjsip/pjsip_configuration.c: Contact 4444/sip:4444@<4G-LTE-PUBLIC-IP>:1034;rinstance=6f0ec4ed37bcd91b has been created
[2021-01-18 19:40:42] VERBOSE[29863] res_pjsip/pjsip_configuration.c: Contact 4444/sip:4444@<4G-LTE-PUBLIC-IP>:1034;rinstance=6f0ec4ed37bcd91b is now Reachable. RTT: 154.996 msec
[2021-01-18 19:40:49] VERBOSE[454] pbx_variables.c: Setting global variable 'SIPDOMAIN' to '<MY-HOME-PUBLIC-IP>'
[2021-01-18 19:40:49] VERBOSE[454] netsock2.c: Using SIP RTP Audio TOS bits 184
[2021-01-18 19:40:49] VERBOSE[454] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2021-01-18 19:40:49] VERBOSE[454] netsock2.c: Using SIP RTP Audio CoS mark 5
[2021-01-18 19:40:49] VERBOSE[20087][C-00000146] pbx.c: Executing [*43@from-internal:1] Set("PJSIP/4444-000001e7", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
[2021-01-18 19:40:49] VERBOSE[20087][C-00000146] pbx.c: Executing [*43@from-internal:2] Set("PJSIP/4444-000001e7", "CONNECTEDLINE(name,i)=Echo Test") in new stack
[2021-01-18 19:40:49] VERBOSE[20087][C-00000146] pbx.c: Executing [*43@from-internal:3] Set("PJSIP/4444-000001e7", "CONNECTEDLINE(num,i)=*43") in new stack
[2021-01-18 19:40:49] VERBOSE[20087][C-00000146] pbx.c: Executing [*43@from-internal:4] Answer("PJSIP/4444-000001e7", "") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [*43@from-internal:5] Macro("PJSIP/4444-000001e7", "user-callerid,") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/4444-000001e7", "TOUCH_MONITOR=1610998849.493") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/4444-000001e7", "AMPUSER=4444") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("PJSIP/4444-000001e7", "0?report") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("PJSIP/4444-000001e7", "1?Set(REALCALLERIDNUM=4444)") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/4444-000001e7", "AMPUSER=4444") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("PJSIP/4444-000001e7", "0?limit") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/4444-000001e7", "AMPUSERCIDNAME=ExtenetionTestName") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("PJSIP/4444-000001e7", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("PJSIP/4444-000001e7", "0?report") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/4444-000001e7", "AMPUSERCID=4444") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/4444-000001e7", "__DIAL_OPTIONS=Ttr") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:12] Set("PJSIP/4444-000001e7", "CALLERID(all)="ExtenetionTestName" <4444>") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("PJSIP/4444-000001e7", "0?limit") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("PJSIP/4444-000001e7", "0?Set(GROUP(concurrency_limit)=4444)") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:15] NoOp("PJSIP/4444-000001e7", "Macro Depth is 1") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:16] GotoIf("PJSIP/4444-000001e7", "1?report2:macroerror") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx_builtins.c: Goto (macro-user-callerid,s,17)
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("PJSIP/4444-000001e7", "0?continue") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:18] Set("PJSIP/4444-000001e7", "__TTL=64") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:19] GotoIf("PJSIP/4444-000001e7", "1?continue") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx_builtins.c: Goto (macro-user-callerid,s,35)
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:35] Set("PJSIP/4444-000001e7", "CALLERID(number)=4444") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:36] Set("PJSIP/4444-000001e7", "CALLERID(name)=ExtenetionTestName") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:37] GotoIf("PJSIP/4444-000001e7", "0?cnum") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:38] Set("PJSIP/4444-000001e7", "CDR(cnam)=ExtenetionTestName") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:39] Set("PJSIP/4444-000001e7", "CDR(cnum)=4444") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [s@macro-user-callerid:40] Set("PJSIP/4444-000001e7", "CHANNEL(language)=en") in new stack
[2021-01-18 19:40:50] VERBOSE[20087][C-00000146] pbx.c: Executing [*43@from-internal:6] Wait("PJSIP/4444-000001e7", "1") in new stack
[2021-01-18 19:40:51] VERBOSE[20087][C-00000146] pbx.c: Executing [*43@from-internal:7] BackGround("PJSIP/4444-000001e7", "demo-echotest,,,app-echo-test-echo") in new stack
[2021-01-18 19:40:51] VERBOSE[20087][C-00000146] file.c: <PJSIP/4444-000001e7> Playing 'demo-echotest.ulaw' (language 'en')
[2021-01-18 19:41:13] VERBOSE[20087][C-00000146] pbx.c: Executing [*43@from-internal:8] Goto("PJSIP/4444-000001e7", "app-echo-test-echo,1,1") in new stack
[2021-01-18 19:41:13] VERBOSE[20087][C-00000146] pbx_builtins.c: Goto (app-echo-test-echo,1,1)
[2021-01-18 19:41:13] VERBOSE[20087][C-00000146] pbx.c: Executing [1@app-echo-test-echo:1] Echo("PJSIP/4444-000001e7", "") in new stack
[2021-01-18 19:41:22] VERBOSE[20087][C-00000146] pbx.c: Spawn extension (app-echo-test-echo, 1, 1) exited non-zero on 'PJSIP/4444-000001e7'
0
User avatar
By Robshire
Posts Avatar Topics
#6086
When specifying my IP address and local IP these are then the logs
Code: Select all
[2021-01-18 20:08:07] VERBOSE[454] pbx_variables.c: Setting global variable 'SIPDOMAIN' to '<MY-HOME-PUBLIC-IP>'
[2021-01-18 20:08:07] VERBOSE[454] netsock2.c: Using SIP RTP Audio TOS bits 184
[2021-01-18 20:08:07] VERBOSE[454] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2021-01-18 20:08:07] VERBOSE[454] netsock2.c: Using SIP RTP Audio CoS mark 5
[2021-01-18 20:08:07] VERBOSE[21436][C-00000147] pbx.c: Executing [*43@from-internal:1] Set("PJSIP/4444-000001e8", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
[2021-01-18 20:08:07] VERBOSE[21436][C-00000147] pbx.c: Executing [*43@from-internal:2] Set("PJSIP/4444-000001e8", "CONNECTEDLINE(name,i)=Echo Test") in new stack
[2021-01-18 20:08:07] VERBOSE[21436][C-00000147] pbx.c: Executing [*43@from-internal:3] Set("PJSIP/4444-000001e8", "CONNECTEDLINE(num,i)=*43") in new stack
[2021-01-18 20:08:07] VERBOSE[21436][C-00000147] pbx.c: Executing [*43@from-internal:4] Answer("PJSIP/4444-000001e8", "") in new stack
[2021-01-18 20:08:07] VERBOSE[21436][C-00000147] pbx.c: Executing [*43@from-internal:5] Macro("PJSIP/4444-000001e8", "user-callerid,") in new stack
[2021-01-18 20:08:07] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/4444-000001e8", "TOUCH_MONITOR=1611000487.494") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/4444-000001e8", "AMPUSER=4444") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("PJSIP/4444-000001e8", "0?report") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("PJSIP/4444-000001e8", "1?Set(REALCALLERIDNUM=4444)") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/4444-000001e8", "AMPUSER=4444") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("PJSIP/4444-000001e8", "0?limit") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/4444-000001e8", "AMPUSERCIDNAME=ExtTestName") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("PJSIP/4444-000001e8", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("PJSIP/4444-000001e8", "0?report") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/4444-000001e8", "AMPUSERCID=4444") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/4444-000001e8", "__DIAL_OPTIONS=Ttr") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:12] Set("PJSIP/4444-000001e8", "CALLERID(all)="ExtTestName" <4444>") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("PJSIP/4444-000001e8", "0?limit") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("PJSIP/4444-000001e8", "0?Set(GROUP(concurrency_limit)=4444)") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:15] NoOp("PJSIP/4444-000001e8", "Macro Depth is 1") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:16] GotoIf("PJSIP/4444-000001e8", "1?report2:macroerror") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx_builtins.c: Goto (macro-user-callerid,s,17)
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("PJSIP/4444-000001e8", "0?continue") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:18] Set("PJSIP/4444-000001e8", "__TTL=64") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:19] GotoIf("PJSIP/4444-000001e8", "1?continue") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx_builtins.c: Goto (macro-user-callerid,s,35)
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:35] Set("PJSIP/4444-000001e8", "CALLERID(number)=4444") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:36] Set("PJSIP/4444-000001e8", "CALLERID(name)=ExtTestName") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:37] GotoIf("PJSIP/4444-000001e8", "0?cnum") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:38] Set("PJSIP/4444-000001e8", "CDR(cnam)=ExtTestName") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:39] Set("PJSIP/4444-000001e8", "CDR(cnum)=4444") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [s@macro-user-callerid:40] Set("PJSIP/4444-000001e8", "CHANNEL(language)=en") in new stack
[2021-01-18 20:08:08] VERBOSE[21436][C-00000147] pbx.c: Executing [*43@from-internal:6] Wait("PJSIP/4444-000001e8", "1") in new stack
[2021-01-18 20:08:09] VERBOSE[21436][C-00000147] pbx.c: Executing [*43@from-internal:7] BackGround("PJSIP/4444-000001e8", "demo-echotest,,,app-echo-test-echo") in new stack
[2021-01-18 20:08:09] VERBOSE[21436][C-00000147] file.c: <PJSIP/4444-000001e8> Playing 'demo-echotest.ulaw' (language 'en')

0
User avatar
By WelshPaul
Posts Signature Likes Avatar Topics
#6087
Robshire wrote: Mon 18th Jan 2021, 19:09 So use RPORT For Signalling is off
Leave it enabled if disabling didn't help at all.
Robshire wrote: Mon 18th Jan 2021, 19:09 I also made that change on the general sip settings and it does pickup my Local IP & CIDR and my Public IP correctly.
However anytime I have set these IP settings previously under General SIP Settings, calls do not go through on my Cisco IP Phone (it just hangs when calling *43).
Likewise the calls to *43 from Zoiper don't actually go through, it just immediately hangs up with 'Normal Local Hang-up'
Pretty sure it's the super HUB causing issues and there is no way to disable SIP ALG on them.
(I use mine in modem mode)

Your logs above don't tell me anything. Can you get a PCAP trace server side?
0
User avatar
By Robshire
Posts Avatar Topics
#6088
>Pretty sure it's the super HUB causing issues and there is no way to disable SIP ALG on them.
This would not surprise me

>Your logs above don't tell me anything. Can you get a PCAP trace
I'm afraid I am not sure how to provide this, I have tried using wireshark on another device but it is not picking up packets for my FreePBX.
I have also tried running directly my pi
Code: Select all
 tcpdump -s 0 -i any -w sip-trace.pcap
but I get
Code: Select all
-bash: tcpdump: command not found
And I've tried installing
Code: Select all
~# yum install tcpdump
-bash: yum: command not found
I apologise for the handholding, my Linux experience is very limited
0
User avatar
By WelshPaul
Posts Signature Likes Avatar Topics
#6089
Try this:
Code: Select all
sudo tcpdump -i eth0 -s0 -w /tmp/pcap.pcap port 5060
Replace eth0 and 5060 with whatever your server is configured to use. When finished, CTRL C to exit and the PCAP file will be located in the /tmp directory.

To install tcpdump:
Code: Select all
sudo apt-get install tcpdump
Providing you have forwarded the correct ports on the router it should work. If it works on WIFI but not 4G/LTE then it's the going to be the router at fault and with no way to disable SIP ALG on the HUB, your only option is to put the HUB in modem only mode and use a third party router.
0
User avatar
By Robshire
Posts Avatar Topics
#6090
Very helpful thanks,
let me know if you need the full PCAP file, I've anonymised as best as possible, here's the capture.

82.2.2.2 is the IP address of my mobile
81.100.100.100 is my public IP of my router
pcap.PNG
pcap.PNG (12.98 KiB) Viewed 5702 times
I started the capture before calling *43, and ended capture when the call ended on its own after 31 seconds.

Cheers,
Rob
0
User avatar
By WelshPaul
Posts Signature Likes Avatar Topics
#6091
Yea send me the full PCAP file. You can email it to admin at ukvoipforums dot com.
0
0

I've been a Sipgate user since 2005, and have a couple …

WelshPaul, Thank you so much. That sounds the perfect …

Hardware choices and availability

As all the major telecoms and broadband providers are p…

Sipgate, 4G & Obi110

Hello! It's been a while since I posted here so I thou…

Sign up for VIP membership