Telcobridges - Session Border Controllers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Remote Workers - No Registration

2 posters

Go down

Remote Workers - No Registration Empty Remote Workers - No Registration

Post by juanh Sat Jan 05, 2019 1:57 pm

Hi All

I am configuring the Remote worker scenario on a FreePBX system.  I followed the scenario but can not get it to work.  Usually I will get either a 404 contact no found or a 405 method not allowed.  Removing the FreeSBC from the flow allows the remote phone(s) to register successfully.  

Below is a small tcpdump of a registration attempt which failed.  I took it from the outside view and one from the pbx server itself.  

Can any one help?


From Outside:

10:46:49.456038 IP (tos 0x0, ttl 51, id 0, offset 0, flags [DF], proto UDP (17), length 615)
   172.58.27.59.48344 > 47.180.28.254.5060: [udp sum ok] SIP, length: 587
       REGISTER sip:dh-sip.datahauler.com;transport=UDP SIP/2.0
       Via: SIP/2.0/UDP 192.0.0.2:44158;branch=z9hG4bK-524287-1---1684567dc86a8c10;rport
       Max-Forwards: 70
       Contact: <sip:101@192.0.0.2:44158;rinstance=3f4b9cd3dce5e35e;transport=UDP>
       To: <sip:101at domain dot co;transport=UDP>
       From: <sip:101at domain dot co;transport=UDP>;tag=a31aca5b
       Call-ID: bx7R_eakxTAHVQwajd1Prg..
       CSeq: 1 REGISTER
       Expires: 60
       Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
       User-Agent: Zoiper rv2.9.2
       Allow-Events: presence, kpml, talk
       Content-Length: 0

10:46:49.515169 IP (tos 0x0, ttl 63, id 19447, offset 0, flags [DF], proto UDP (17), length 396)
   47.180.28.254.5060 > 172.58.27.59.48344: [udp sum ok] SIP, length: 368
       SIP/2.0 404 Not Found
       Via: SIP/2.0/UDP 192.0.0.2:44158;branch=z9hG4bK-524287-1---1684567dc86a8c10;received=172.58.27.59;rport
       From: <sip:101at domain dot co>;tag=a31aca5b
       To: <sip:101at domain dot co>;tag=z9hG4bK-0f45c239bbb35a092a108f4d63836915
       Call-ID: bx7R_eakxTAHVQwajd1Prg..
       CSeq: 1 REGISTER
       Server: FPBX-14.0.5.23(15.5.0)
       Content-Length: 0


On PBX System:

18:46:49.485596 IP (tos 0x0, ttl 64, id 3229, offset 0, flags [DF], proto UDP (17), length 720)
   10.100.0.16.sip > 10.100.0.5.sip: [udp sum ok] SIP, length: 692
       REGISTER sip:dh-sip.datahauler.com;transport=UDP SIP/2.0
       Via: SIP/2.0/UDP 10.100.0.16:5060;branch=z9hG4bK-0f45c239bbb35a092a108f4d63836915
       Via: SIP/2.0/UDP 192.0.0.2:44158;branch=z9hG4bK-524287-1---1684567dc86a8c10;received=172.58.27.59;rport
       From: <sip:101at domain dot co;transport=UDP>;tag=a31aca5b
       To: <sip:101at domain dot co;transport=UDP>
       Call-ID: bx7R_eakxTAHVQwajd1Prg..
       CSeq: 1 REGISTER
       Contact: <sip:101@192.0.0.2:44158;transport=UDP;rinstance=3f4b9cd3dce5e35e>;expires=3600
       Max-Forwards: 69
       User-Agent: Zoiper rv2.9.2
       Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
       Allow-Events: presence, kpml, talk
       Content-Length: 0

18:46:49.486244 IP (tos 0x60, ttl 64, id 56609, offset 0, flags [DF], proto UDP (17), length 512)
   10.100.0.5.sip > 10.100.0.16.sip: [bad udp cksum 0x16da -> 0xb9d9!] SIP, length: 484
       SIP/2.0 404 Not Found
       Via: SIP/2.0/UDP 10.100.0.16:5060;rport=5060;received=10.100.0.16;branch=z9hG4bK-0f45c239bbb35a092a108f4d63836915
       Via: SIP/2.0/UDP 192.0.0.2:44158;rport;received=172.58.27.59;branch=z9hG4bK-524287-1---1684567dc86a8c10
       Call-ID: bx7R_eakxTAHVQwajd1Prg..
       From: <sip:101at domain dot co>;tag=a31aca5b
       To: <sip:101at domain dot co>;tag=z9hG4bK-0f45c239bbb35a092a108f4d63836915
       CSeq: 1 REGISTER
       Server: FPBX-14.0.5.23(15.5.0)
       Content-Length:  0


Juan

juanh

Number of Messages : 3
Point : 5
Registration Date : 2019-01-01

Back to top Go down

Remote Workers - No Registration Empty Re: Remote Workers - No Registration

Post by juanh Mon Jan 07, 2019 3:12 pm

Thanks for the reply, but they didn't help.  

This may add more light to this.  I am adding a few more tcpdumps to see if it helps:

Direct Connection (Working Registration):  


19:12:15.711592 IP (tos 0x0, ttl 64, id 5424, offset 0, flags [DF], proto UDP (17), length 621)
   10.100.0.113.37728 > 10.100.0.5.sip: [udp sum ok] SIP, length: 593
       REGISTER sip:dh dash dot datahauler dot com;transport=UDP SIP/2.0
       Via: SIP/2.0/UDP 10.100.0.113:37728;branch=z9hG4bK-524287-1---f7601861fe7380eb;rport
       Max-Forwards: 70
       Contact: <sip:102at10.100.0.113:37728;rinstance=b6e28966b08d0d30;transport=UDP>
       To: <sip:102at dh dash dot datahauler dot com;transport=UDP>
       From: <sip:102at dh dash dot datahauler dot com;transport=UDP>;tag=2eaad75c
       Call-ID: lItQn1y0cGruzQara9xnzg..
       CSeq: 1 REGISTER
       Expires: 60
       Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
       User-Agent: Zoiper rv2.9.2
       Allow-Events: presence, kpml, talk
       Content-Length: 0

19:12:15.712277 IP (tos 0x60, ttl 64, id 53882, offset 0, flags [DF], proto UDP (17), length 551)
   10.100.0.5.sip > 10.100.0.113.37728: [bad udp cksum 0x1762 -> 0x9b98!] SIP, length: 523
       SIP/2.0 401 Unauthorized
       Via: SIP/2.0/UDP 10.100.0.113:37728;rport=37728;received=10.100.0.113;branch=z9hG4bK-524287-1---f7601861fe7380eb
       Call-ID: lItQn1y0cGruzQara9xnzg..
       From: <sip:102at dh dash dot datahauler dot com>;tag=2eaad75c
       To: <sip:102at dh dash dot datahauler dot com>;tag=z9hG4bK-524287-1---f7601861fe7380eb
       CSeq: 1 REGISTER
       WWW-Authenticate: Digest  realm="asterisk",nonce="1546888335/715c6aece506bae56488cc5b07c668d2",opaque="0cab00c011d3e6e9",algorithm=md5,qop="auth"
       Server: FPBX-14.0.5.25(15.5.0)
       Content-Length:  0

19:12:15.721543 IP (tos 0x0, ttl 64, id 5425, offset 0, flags [DF], proto UDP (17), length 921)
   10.100.0.113.37728 > 10.100.0.5.sip: [udp sum ok] SIP, length: 893
       REGISTER sip:dh dash dot datahauler dot com;transport=UDP SIP/2.0
       Via: SIP/2.0/UDP 10.100.0.113:37728;branch=z9hG4bK-524287-1---00c79e8559327463;rport
       Max-Forwards: 70
       Contact: <sip:102at10.100.0.113:37728;rinstance=b6e28966b08d0d30;transport=UDP>
       To: <sip:102at dh dash dot datahauler dot com;transport=UDP>
       From: <sip:102at dh dash dot datahauler dot com;transport=UDP>;tag=2eaad75c
       Call-ID: lItQn1y0cGruzQara9xnzg..
       CSeq: 2 REGISTER
       Expires: 60
       Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
       User-Agent: Zoiper rv2.9.2
       Authorization: Digest username="102",realm="asterisk",nonce="1546888335/715c6aece506bae56488cc5b07c668d2",uri="sip:dh dash dot datahauler dot com;transport=UDP",response="b962f77fe02dcbd48005fbe431795663",cnonce="bc6f743fb1108291b4dd191066a59d65",nc=00000001,qop=auth,algorithm=md5,opaque="0cab00c011d3e6e9"
       Allow-Events: presence, kpml, talk
       Content-Length: 0

19:12:15.722453 IP (tos 0x60, ttl 64, id 53888, offset 0, flags [DF], proto UDP (17), length 521)
   10.100.0.5.sip > 10.100.0.113.37728: [bad udp cksum 0x1744 -> 0xf751!] SIP, length: 493
       SIP/2.0 200 OK
       Via: SIP/2.0/UDP 10.100.0.113:37728;rport=37728;received=10.100.0.113;branch=z9hG4bK-524287-1---00c79e8559327463
       Call-ID: lItQn1y0cGruzQara9xnzg..
       From: <sip:102at dh dash dot datahauler dot com>;tag=2eaad75c
       To: <sip:102at dh dash dot datahauler dot com>;tag=z9hG4bK-524287-1---00c79e8559327463
       CSeq: 2 REGISTER
       Date: Mon, 07 Jan 2019 19:12:15 GMT
       Contact: <sip:102at10.100.0.113:37728;rinstance=b6e28966b08d0d30>;expires=59
       Expires: 60
       Server: FPBX-14.0.5.25(15.5.0)
       Content-Length:  0

19:12:15.723017 IP (tos 0x60, ttl 64, id 53889, offset 0, flags [DF], proto UDP (17), length 496)
   10.100.0.5.sip > 10.100.0.113.37728: [bad udp cksum 0x172b -> 0x57c5!] SIP, length: 468
       OPTIONS sip:102at10.100.0.113:37728;rinstance=b6e28966b08d0d30 SIP/2.0
       Via: SIP/2.0/UDP 10.100.0.5:5060;rport;branch=z9hG4bKPj83ad7c53-9b9e-4380-ab3e-73ec48728fc8
       From: <sip:102at10.100.0.5>;tag=8edbbed2-f5a6-4bda-baca-d2f055f066cb
       To: <sip:102at10.100.0.113;rinstance=b6e28966b08d0d30>
       Contact: <sip:102at10.100.0.5:5060>
       Call-ID: e23d45e3-858c-432f-aafc-42f2ba978372
       CSeq: 64754 OPTIONS
       Max-Forwards: 70
       User-Agent: FPBX-14.0.5.25(15.5.0)
       Content-Length:  0

19:12:15.731507 IP (tos 0x0, ttl 64, id 5426, offset 0, flags [DF], proto UDP (17), length 705)
   10.100.0.113.37728 > 10.100.0.5.sip: [udp sum ok] SIP, length: 677
       SIP/2.0 200 OK
       Via: SIP/2.0/UDP 10.100.0.5:5060;rport=5060;branch=z9hG4bKPj83ad7c53-9b9e-4380-ab3e-73ec48728fc8
       Contact: <sip:10.100.0.113:37728>
       To: <sip:102at10.100.0.113;rinstance=b6e28966b08d0d30>;tag=c117123b
       From: <sip:102at10.100.0.5>;tag=8edbbed2-f5a6-4bda-baca-d2f055f066cb
       Call-ID: e23d45e3-858c-432f-aafc-42f2ba978372
       CSeq: 64754 OPTIONS
       Accept: application/sdp, application/sdp
       Accept-Language: en
       Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
       Supported: replaces, norefersub, extended-refer, timer, outbound, path, X-cisco-serviceuri
       User-Agent: Zoiper rv2.9.2
       Allow-Events: presence, kpml, talk
       Content-Length: 0


Thru FREESBC (Not working)

12:03:35.443930 IP (tos 0x0, ttl 48, id 0, offset 0, flags [DF], proto UDP (17), length 615)
   172.58.29.53.41316 > 47.180.28.254.5060: [udp sum ok] SIP, length: 587
       REGISTER sip:dh dash dot datahauler dot com;transport=UDP SIP/2.0
       Via: SIP/2.0/UDP 192.0.0.2:37728;branch=z9hG4bK-524287-1---e877d74af2975294;rport
       Max-Forwards: 70
       Contact: <sip:102at192.0.0.2:37728;rinstance=775c78fce1516432;transport=UDP>
       To: <sip:102at dh dash dot datahauler dot com;transport=UDP>
       From: <sip:102at dh dash dot datahauler dot com;transport=UDP>;tag=b863e45e
       Call-ID: mCzYp-Lymb1OSjHTZB0yVg..
       CSeq: 1 REGISTER
       Expires: 60
       Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
       User-Agent: Zoiper rv2.9.2
       Allow-Events: presence, kpml, talk
       Content-Length: 0

12:03:35.502912 IP (tos 0x0, ttl 63, id 15389, offset 0, flags [DF], proto UDP (17), length 396)
   47.180.28.254.5060 > 172.58.29.53.41316: [udp sum ok] SIP, length: 368
       SIP/2.0 404 Not Found
       Via: SIP/2.0/UDP 192.0.0.2:37728;branch=z9hG4bK-524287-1---e877d74af2975294;received=172.58.29.53;rport
       From: <sip:102at dh dash dot datahauler dot com>;tag=b863e45e
       To: <sip:102at dh dash dot datahauler dot com>;tag=z9hG4bK-83085dc5b8f1cd67178e08a89cf279a8
       Call-ID: mCzYp-Lymb1OSjHTZB0yVg..
       CSeq: 1 REGISTER
       Server: FPBX-14.0.5.25(15.5.0)
       Content-Length: 0

juanh

Number of Messages : 3
Point : 5
Registration Date : 2019-01-01

Back to top Go down

Remote Workers - No Registration Empty Re: Remote Workers - No Registration

Post by Admin Mon Jan 07, 2019 3:15 pm

Would you send your configuration backup and tbsigtrace capture to support@telcobridges.com please?

Admin
Admin

Number of Messages : 516
Point : 1211
Registration Date : 2017-11-27

http://freesbc.yetkinforum.com

Back to top Go down

Remote Workers - No Registration Empty Re: Remote Workers - No Registration

Post by juanh Mon Jan 07, 2019 3:20 pm

Done. Appreciate your help. I can call in also if needed.

Juan

juanh

Number of Messages : 3
Point : 5
Registration Date : 2019-01-01

Back to top Go down

Remote Workers - No Registration Empty Re: Remote Workers - No Registration

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum