Jump to content

How to set up Text Message - Event notification


Great Office - Hummig KG

Recommended Posts

Where can I find more details about the Syntax of the "URL for sending text messages to cell phones" (at mypbx/reg_messages.htm)? We have a SMS-Gateway installed, supporting HTTP-API (http://www.diafaan.com/applications/web-service-sms-gateway/) and I'd like to use it with our pbx.

Link to comment
Share on other sites

The syntax generally depends on your service provider. The PBX replaces several tags inside the URL:

  • {text} is replaced with the message it self
  • {text-iso} like text, but in ISO/IEC_8859-1 encoding
  • {text-utf} like text, but in UTF-8 encoding
  • {to} is the destination number
  • {to-local} the destination number in the domain representation (depending on the county code)
  • {to-e164} is the global number without the leading +

Hope this helps

Link to comment
Share on other sites

The syntax generally depends on your service provider. The PBX replaces several tags inside the URL:

  • {text} is replaced with the message it self
  • {text-iso} like text, but in ISO/IEC_8859-1 encoding
  • {text-utf} like text, but in UTF-8 encoding
  • {to} is the destination number
  • {to-local} the destination number in the domain representation (depending on the county code)
  • {to-e164} is the global number without the leading +

Hope this helps

 

Excellent. I'm sure this helps. Was that insider-knowledge or can we find those informations in the wiki or elsewhere?

Link to comment
Share on other sites

  • 7 months later...

Hi

 

Could you please indicate if there is a way to trace the function as I have setup the url in the system and it doesn't seem to process the request as they don't even appear attempts in the messaging system logs for these message from Vodia PBX.

 

My url look like this : https://smsapi.telfree.com/json?command=send&username=quinten*******&password=Twe******&destination={to}&message={text}&cli=27877520000

 

I am running CentOS with version 5.2.3 Vodia PBX Installed

 

Thanks allot.

 

Regards

Quinten

Link to comment
Share on other sites

I guess there is something wrong with the certificate. Please make sure that you have make sure that the certificate is in the PBX:

 

 

-----BEGIN CERTIFICATE-----
MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT
MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9i
YWwgQ0EwHhcNMDIwNTIxMDQwMDAwWhcNMjIwNTIxMDQwMDAwWjBCMQswCQYDVQQG
EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEbMBkGA1UEAxMSR2VvVHJ1c3Qg
R2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2swYYzD9
9BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9mOSm9BXiLnTjoBbdq
fnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIuT8rxh0PBFpVXLVDv
iS2Aelet8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6cJmTM386DGXHKTubU
1XupGc1V3sjs0l44U+VcT4wt/lAjNvxm5suOpDkZALeVAjmRCw7+OC7RHQWa9k0+
bw8HHa8sHo9gOeL6NlMTOdReJivbPagUvTLrGAMoUgRx5aszPeE4uwc2hGKceeoW
MPRfwCvocWvk+QIDAQABo1MwUTAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTA
ephojYn7qwVkDBF9qn1luMrMTjAfBgNVHSMEGDAWgBTAephojYn7qwVkDBF9qn1l
uMrMTjANBgkqhkiG9w0BAQUFAAOCAQEANeMpauUvXVSOKVCUn5kaFOSPeCpilKIn
Z57QzxpeR+nBsqTP3UEaBU6bS+5Kb1VSsyShNwrrZHYqLizz/Tt1kL/6cdjHPTfS
tQWVYrmm3ok9Nns4d0iXrKYgjy6myQzCsplFAMfOEVEiIuCl6rYVSAlk6l5PdPcF
PseKUgzbFbS9bZvlxrFUaKnjaZC2mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Un
hw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6pXE0zX5IJL4hmXXeXxx12E6nV
5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvmMw==
-----END CERTIFICATE-----
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...