Jump to content

Music on Hold with SPA942 and Axon


softvision

Recommended Posts

Hi,

 

I have setup a small test environment with Axon Virtual PBX, IMS On-Hold Messages Player and Express Phone. Everything works fine, when using the SoftPhones. When I place a call on hold, the "on hold music" is played. I have registered the "On-Hold Messages Player" as an extension (197) in the Axon Virtual PBX. Now, I want to connect my Linksys SPA942 to the test environment. I can connect to the Axon, make calls and receive calls. But the problem is, when I place a call on hold, the other user can't here the music. When I dial "197" from the SPA942, I can hear the music. When I place an active call on hold, the other user can't here the music (no sound at all). I have entered the "197" in the "MOH server" field of the SPA942 configuration.

 

When I place a call on hold, I see the following messages in the Axon window (log):

 

08:40:53 Call 101 -> sip:102@192.168.1.50

08:40:55 Call 101 -> sip:102@192.168.1.50 answered

08:40:58 LPBXSipLine::Reinvite uInviteResponse: 200

08:40:58 Call 102 -> sip:197@192.168.1.50

08:40:58 Call 102 -> sip:197@192.168.1.50 answered

08:41:01 LPBXSipLine::Reinvite uInviteResponse: 200

08:41:01 Call 102 -> sip:197@192.168.1.50 disconnected

08:41:02 Call 101 -> sip:102@192.168.1.50 disconnected

 

Any sugestions what the problem can be?

 

Thanks

Bernd

Link to comment
Share on other sites

I don't know if you've already seen this topic, but it looks like it should help you out a bit http://nch.invisionzone.com/lofiversion/index.php/t3833.html

 

Personally I have never used IMS with Linksys devices, so I can't really offer much help. It seems to me though (from the topic) that the people who were most successful put in the IMS extension @ the IP address of the MOH (IMS) server : followed by the port number IMS is using (e.g. 197@192.168.0.3:5070).

Link to comment
Share on other sites

Yes, I have seen this document. It was may guidance to setup everything for the Softphones, but I can't get it work for the SPA942. I tried many ways to enter the "MOH server" and also the way you recommended.

 

If I compare the output in the Axon window between the Softphone and the SPA942, I see one difference.

 

Softphone (one line only):

08:40:58 LPBXSipLine::Reinvite uInviteResponse: 200

 

SPA942 (three lines)

08:40:58 LPBXSipLine::Reinvite uInviteResponse: 200

08:40:58 Call 102 -> sip:197@192.168.1.50

08:40:58 Call 102 -> sip:197@192.168.1.50 answered

 

It seems to me, that the SPA942 tries to transfer the call to "197" and the Spoftphone activates a SIP function only.

 

Any help is welcome :rolleyes:

Link to comment
Share on other sites

... after a long search, I have found the solution for that problem.

 

Just for information for others who also have such a problem: the description http://nch.invisionzone.com/lofiversion/index.php/t3833.html is a working solution, but one information is missing in there:

 

In the SPA942 configuration is a field "EXT SIP Port" on the page "Ext 1". By default, this field is empty. You have to enter the port "5060" (Port of the Axon SIP server) into this field.

 

Then you can enter the extension number (e.g. 197) into the field MOH server and everything works perfect.

Link to comment
Share on other sites

  • 1 month later...

Ive also seen on a lot of home routers and firewall the stun servers will screw things up, you can try not to use then in axon and the MOH (this will have to be done on the local host file and have it point to the loopback address). after this i was able to put the 197 by itself on the MOH tab and it allowed me to place people on hold.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...