PUSH messages doesn't work with Windows Mobile 8.1

+1 vote

Hi! My company is currently migrating from Alcatel PBX system to vanilla Asterisk. 

Some of our employees have Windows Mobile 8.1 based phones. As you might know there is a common problem with running application in a background, so I'd decided to use your instruction for sending PUSH messages to certain windows phone.

However I made some alterations with your script and dialplan because dialplan you adviced to use sends incorrect URL to script. Now I am sending complete location string to script and then cutting it with sed. It looks like everything should work fine, script debug returns 

<code>HTTP/1.1 200 OK</code>




but the phone didn't recieves any push messages. 

I'd read about two different services providing PUSH messages: MPNS and WNS. However devices with windows 8.1 uses only WNS. Is it possible that zoiper app trying to send it with MPNS instead of WNS?

"Keep alive wi-fi" and  "Run under locked screen" options are enabled. Can you help me with this problem?

asked Sep 16, 2015 in Windows Phone by nobleman (130 points)  
edited Sep 17, 2015 by nobleman

1 Answer

0 votes


Zoiper for Windows Phone supports WNS for the push notifications. The example for the push notifications should work just fine, but if any significant changes are made, some things may not work as expected.

answered Sep 21, 2015 by Ivan (18,410 points)  

The provided push.sh script is not correct. There are some on the internet, though.

Could you please provide a new version of the push.sh?


One more thing:

Since WNS docu sais "Avoid URI length restrictions since the length of the URI used has increased to over 200 characters", Asterisk will fail to Dial(...). An error occurs, either "The To Header..." or "failed to extend from ..."

The only way to fix this is to edit the chan_sip.c and increase Array sizes and compile Asterisk yourself
Ask your questions and receive answers from other members of the Zoiper Community.

Did you check our Help Section?

You are a Zoiper Biz or Premium customer? If so, click HERE to get premium support.
Top users 12/2023
  1. Tsetso.Zdravkov

    34310 Points

  2. Ivan

    18410 Points

  3. Joachim

    11490 Points

  4. Anton

    3950 Points

Latest tweets