I’m using a Nokia Windows 8 Phone and would like a SIP softphone that runs in the background but Microsoft doesn't like this.

Linphone have a feature for “Audio incoming calls in background mode using push notifications (only for sip.linphone.org accounts)”. This didn't work for me. Anyway I would prefer to use my SipSorcery account.

The code snippet below will iterate through your sipsorcery SIP account bindings and if it finds the Zoiper X-PUSH-URI string in the binding will send a HTTP GET request to the URL. You will need to add this snippet to the extension that you want to use to place calls to your Zoiper softphone.

Hi Aaron, Thanks for this work, some time ago, for Push notification. I have tried to use this code in my Dial Plan. The code line,
if binding.ContactURI.ToString() =~ /X-PUSH-URI=(.*)>/ then
does not find the string and does not execute the following statements. However the string "X-PUSH-URI=" does exist, and if I change the code to,
if binding.ContactURI.ToString() =~ /X-PUSH-URI=/ then
the string is found.
I am not sure what the (.*)< is mean to do and the relationship to the $1, but it seems to stop the string from being found.