4/1/2023 0 Comments Freepbx zoiper![]() More functionality could and probably should be built into it. below), which would be tied to the SIP extension the Phone was registered with.įor this I included the following script (adapted from the ZoiPer tutorial) at the end of the "extensions_nf" using FreePBX Config Edit. For the Dial Plan, I decided to use a "Custom Destination" in FreePBX (see step 3.#printResult "$RETCODE" "$X_NotificationStatus" "$X_DeviceConnectionStatus" "$X_SubscriptionStatus" X_SubscriptionStatus=`echo "$headers" | grep "X-SubscriptionStatus" | sed 's#X-SubscriptionStatus: #' | sed -e 's/^\s*//g' -e 's/\s*$//g' ` X_DeviceConnectionStatus=`echo "$headers" | grep "X-DeviceConnectionStatus" | sed 's#X-DeviceConnectionStatus: #' | sed -e 's/^\s*//g' -e 's/\s*$//g' ` X_NotificationStatus=`echo "$headers" | grep "X-NotificationStatus" | sed 's#X-NotificationStatus: #' | sed -e 's/^\s*//g' -e 's/\s*$//g' ` Headers=`$CURL -s -data 'ZoiperIncomingCall' -D -header 'Content-Type: text/xml' -header 'X-NotificationClass: 4' $URL | tr -d '\r'` PrintResult "$RETCODE" "$X_NotificationStatus" "$X_DeviceConnectionStatus" "$X_SubscriptionStatus" I decided to call it "zoiperpush.sh" and to place it in the "/var/lib/asterisk/agi-bin" folder, giving it permissions ( x) and user:group (asterisk:asterisk) so that asterisk can execute it. The somewhat modified / corrected shell script (see below) from the tutorial is used to send the push notification to Microsoft's MPNS servers, to notify the phone of the incoming call."Push Notifications" tutorial published by ZoiPer.Configured for "Push Notification" as per "Help, Tutorial." section in the settings page of the client itself. Zoiper, Windows Phone Edition (v.1.0.2.0) as SIP client. ![]() ![]() Asterisk: a rather old asterisk version (1.4.31) running as full VM on a PROXMOX server.However as I am quite encouraged by the results, I decided to share my findings with the community to get feedback, improvement suggestions and possibly others to perfect the solution. While researching a possible solution, it became clear to me that there is not much information available on this topic (WP8 related). As I recently upgraded my smartphone to a Nokia Lumia 925 running Windows Phone 8 (T-Mobile), I decided to see if I could get it to work as a SIP extension on my personal PIAF system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |