Author Topic: MBG and SIP  (Read 10653 times)

Offline Mattmayn

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1069
  • Country: vi
  • Karma: +14/-0
    • View Profile
MBG and SIP
« on: June 15, 2012, 02:28:18 PM »
I am trying to get a SIP device to connect to MBG 7.1 and I cannot get it to register. I can get the device to register will I tell it go straight to the 3300 but not externally. I run the TNA and it shows 5060 open, but when I use the Diagnostics/SIP connectivity test on the MBG I get rport missing from Via header - cannot test. What does that mean?


Offline dilkie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 340
  • Karma: +11/-0
    • View Profile
Re: MBG and SIP
« Reply #1 on: June 17, 2012, 05:32:23 PM »
MBG running in Server-Gateway mode or in a DMZ? If the latter, does the DMZ have a SIP-aware ALG running? (it shouldn't).

You've configured your SIP device with the same set-side username and password as your've done on MBG? It's pointing to the right IP?

Try a register and then take a look in the "tug" logs, /var/log/tug.log, these will show how MBG is processing the registration request. You might be able to make sense of it.

Offline Navarre

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-1
    • View Profile
Re: MBG and SIP
« Reply #2 on: June 18, 2012, 07:12:20 AM »
but when I use the Diagnostics/SIP connectivity test on the MBG I get rport missing from Via header - cannot test. What does that mean?

It means that the MCD is old enough that it cannot test for port mapping problems, but it is responding so you don't have a connectivity problem.

What settings did you configure in the Devices tab for this SIP device?

Offline Mattmayn

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1069
  • Country: vi
  • Karma: +14/-0
    • View Profile
Re: MBG and SIP
« Reply #3 on: June 18, 2012, 09:18:17 AM »
The MBG is in Server-Gateway mode and yes the user info matches.

The tug logs look like a timeout is occurring.

I programmed the set-side and ICP-side user info, gave it a description, checked the enabled box and chose my local controller as the configure ICP. Everything else is "Use master setting." Is this what you are asking for?

Offline Navarre

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-1
    • View Profile
Re: MBG and SIP
« Reply #4 on: June 18, 2012, 09:33:20 AM »
The tug logs look like a timeout is occurring.

On which side? Is the device registering with MBG, and then the timeout is on the MCD side, or is the timeout on the device-side? You can cut and paste a log snippet...

Was product support not helpful?

Offline brentond

  • New Member
  • *
  • Posts: 3
  • Country: au
  • Karma: +0/-0
    • View Profile
Re: MBG and SIP
« Reply #5 on: February 20, 2014, 10:46:00 PM »
Did you ever get this sorted? I am having a very similar issue at the moment.

MBG is server gateway, no firewall in place. MBG is registering with provider, and everything appears to be working correctly. However there is a timeout between the MBG and the MCD. MCD keeps dropping the SIP link due to an options timeout, but a packet trace shows MBG requesting and receiving options from the provider. Incoming call is picked up by the MBG, but does appear to pass onto the MCD.

Offline dilkie

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 340
  • Karma: +11/-0
    • View Profile
Re: MBG and SIP
« Reply #6 on: February 21, 2014, 07:12:30 AM »
does a packet trace show the options working between mcd and mbg? That's where it sounds like your problem is, mbg thinks mcd is down.

Offline brentond

  • New Member
  • *
  • Posts: 3
  • Country: au
  • Karma: +0/-0
    • View Profile
Re: MBG and SIP
« Reply #7 on: February 23, 2014, 09:37:51 PM »
I've completed some further tracing and this is what I've found:

MCD sends option request. MBG receives option request and forwards to SIP trunk provider. SIP trunk sends response which is received by MBG. MBG doesn't forward onto MCD.

MBG sends it's own option request periodically to the MCD and this transaction completes. MBG reports that the SIP trunk is up both on the Trunk-side and Icp-side.

I can't see MBG trying to send the response to the MCD out on any interface, so it appears that it is dropping this response.

I have checked routing rule as i believe this is where the problem lies. I only have one entry in which is * request forward to MCD.

Any other suggestions?

Offline Navarre

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-1
    • View Profile
Re: MBG and SIP
« Reply #8 on: February 24, 2014, 09:17:18 AM »
I'd have to see the trace myself.

Any chance the response from the provider has an incorrect hostname, port, etc? Any complaint in the tug.log at the moment the response is not forwarded on?

Offline brentond

  • New Member
  • *
  • Posts: 3
  • Country: au
  • Karma: +0/-0
    • View Profile
Re: MBG and SIP
« Reply #9 on: February 25, 2014, 12:26:24 AM »
Provider rebuilt there end and all is up and running - nothing wrong with MBG at all  :D

Offline Navarre

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-1
    • View Profile
Re: MBG and SIP
« Reply #10 on: February 25, 2014, 07:25:09 AM »
Provider rebuilt there end and all is up and running - nothing wrong with MBG at all  :D

Yeah, pretty common. MBG is in the middle so it's often blamed for everything.


 

Sitemap 1 2 3 4 5 6 7 8 9 10