Author Topic: 503 Service Unavailable on Axis Intercom (Generic SIP) Outgoing Calls  (Read 2498 times)

Offline SPSX

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
I am trying to set up an Axis A8105-E Network Video intercom with our local MiVoice Business server. I have been able to register the device with the server and it is able to receive calls.

The trouble comes when I try to place a call with the device, however.

I've tried calling multiple combinations of SIP addresses. For example, trying to call extension 1998 I've tried the following to no avail.
[Server IP is 10.2.16.5]

1998
1998@10.2.16.5
1998@10.2.16.5:5060

I am able to get WireShark traces on the device and here are the relevant bits (outgoing call, failed):

Request: INVITE sip:1937@10.2.16.5:5060 |
Status: 100 Trying |
Status: 401 Unauthorized |
Request: ACK sip:1937@10.2.16.5:5060 |
Request: INVITE sip:1937@10.2.16.5:5060 |
Status: 100 Trying |
Status: 503 Service Unavailable |

When I get a trace on an incoming call, here is what the relevant data looks like (successful incoming call):

Request: INVITE sip:1998@10.5.6.145:5060 |
Status: 100 Trying |
Status: 200 OK (INVITE) |
Request: ACK sip:1998@10.5.6.145:5060;ob |
Request: BYE sip:1998@10.5.6.145:5060;ob |
Status: 200 OK (BYE) |

Does anyone have any idea what I'm missing?


Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4104
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: 503 Service Unavailable on Axis Intercom (Generic SIP) Outgoing Calls
« Reply #1 on: February 17, 2023, 06:52:56 PM »
Disable the video on the Axis camera...

Otherwise, can you get a full SIP trace, not just the overview?

Offline SPSX

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 503 Service Unavailable on Axis Intercom (Generic SIP) Outgoing Calls
« Reply #2 on: February 20, 2023, 09:55:56 AM »
Disable the video on the Axis camera...

Otherwise, can you get a full SIP trace, not just the overview?

SIP video is disabled.

Attached is a trace of both a failed outgoing call as well as a successful incoming call.

According to the logs on the Axis device, the "Last status code" is 503.

2023-02-20T15:28:45.524+00:00 axis-b8a44f6a066f [ INFO    ] sipd[2662]: 15:28:45.960 Making call Out-0-1676906925.523695-zBYjeapf.ylvWuGk.YWDFdk0x10vyHT- from sip_account_1 to 1937.
2023-02-20T15:28:45.589+00:00 axis-b8a44f6a066f [ WARNING ] sipd[2662]: 15:28:45.313 SIP session disconnected (calling), last status code: 503
2023-02-20T15:28:45.590+00:00 axis-b8a44f6a066f [ INFO    ] sipd[2662]: 15:28:45.129 Terminated outgoing call: Out-0-1676906925.523695-zBYjeapf.ylvWuGk.YWDFdk0x10vyHT-
« Last Edit: February 20, 2023, 10:41:03 AM by SPSX »

Offline lundah

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1225
  • Country: us
  • Karma: +66/-0
  • Senior Chief Grunt
    • View Profile
Re: 503 Service Unavailable on Axis Intercom (Generic SIP) Outgoing Calls
« Reply #3 on: February 20, 2023, 10:51:01 AM »
I think the 503 is telling you the Axis is trying to use a protocol the MiVB doesn't support. Also the INVITE packet from the AXIS is over MTU and getting fragmented. Turn off/disable all voice codecs except G.711 U-law (sometimes just shortened to ulaw).

Offline SPSX

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 503 Service Unavailable on Axis Intercom (Generic SIP) Outgoing Calls
« Reply #4 on: February 20, 2023, 11:18:21 AM »
I think the 503 is telling you the Axis is trying to use a protocol the MiVB doesn't support. Also the INVITE packet from the AXIS is over MTU and getting fragmented. Turn off/disable all voice codecs except G.711 U-law (sometimes just shortened to ulaw).

It doesn't seem that G.711 U-law is an option. Here are the available codecs:

L16/8000 (8000 Hz)
speex/16000 (16000 Hz)
speex/8000 (8000 Hz)
G.726-32 (8000 Hz)
PCMU (8000 Hz)
PCMA (8000 Hz)
opus (48000 Hz)
L16/16000 (16000 Hz)

I disabled all codecs except for PCMCU (8000 Hz) because it is the codec with which I am able to call the intercom.
« Last Edit: February 20, 2023, 11:30:45 AM by SPSX »

Offline SPSX

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 503 Service Unavailable on Axis Intercom (Generic SIP) Outgoing Calls
« Reply #5 on: February 20, 2023, 11:45:57 AM »
I got it working!!!

I had to change the Service Level to "Full" instead of "Multi-device."

Thanks for everyone's help and suggestions!

Offline lundah

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1225
  • Country: us
  • Karma: +66/-0
  • Senior Chief Grunt
    • View Profile
Re: 503 Service Unavailable on Axis Intercom (Generic SIP) Outgoing Calls
« Reply #6 on: February 20, 2023, 04:37:20 PM »
I got it working!!!

I had to change the Service Level to "Full" instead of "Multi-device."

Thanks for everyone's help and suggestions!

For future reference, because this will bite you again on something else: if a device is set with a Service Level of "Multi-device", it has to be a member of a Mutli Device User Group.


 

Sitemap 1 2 3 4 5 6 7 8 9 10