Re: [asterisk-users] Asterisk compatibility with SMS services

2016-12-01 Thread A J Stiles
On Wednesday 30 Nov 2016, Emiliano Vazquez wrote:
> i'm using gammu[1] with a 3g dongle and my own chip with my preffer
> provider. It can send over 700 every our and receive to. I don't know if
> you need asterisk and sms in the same way but with this tool you can make
> everything. It has python tools to.
> [1] https://wammu.eu/gammu/

I've used that, with an old pre-smartphone mobile as a GSM modem.  It has the 
usual GUI frontend and scriptable backend.  But it is separate from Asterisk.


I have also used the OpenVox G400P/E in the past, which integrates beautifully 
with Asterisk  (incoming text messages, successfully sent outgoing messages 
and failed sent outgoing messages trigger extensions in the dialplan);  but 
this card has been "no longer recommended for new designs" for some time now  
(chan_extra won't even build against recent kernel or Asterisk versions).


Be aware that if you send too many text messages in too short a timespan, your 
telco might deem that to be in excess of their "fair use policy" -- although 
the exact dividing line between fair and unfair use seems to be a jealously-
guarded secret.  The only way to find out for sure is to cross it .


-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk compatibility with SMS services

2016-11-30 Thread Emiliano Vazquez
i'm using gammu[1] with a 3g dongle and my own chip with my preffer
provider. It can send over 700 every our and receive to. I don't know if
you need asterisk and sms in the same way but with this tool you can make
everything. It has python tools to.


Best regards.

Emiliano.

[1] https://wammu.eu/gammu/

On Tue, Nov 29, 2016 at 3:07 PM, Brandon B.  wrote:

>
> Can anyone comment on using SMS in conjunction with VoIP service using one
> of these three VoIP providers: voip.ms, vitelity.com, flowroute.com? Are
> some SMS services more compatible with Asterisk (i.e. SMS over SIP works
> perfectly or not)? Is it best to use a different data channel for SMS
> messages (i.e. SMS via HTTP, SMS via XMPP) instead of Asterisk's built in SMS
> application MessageSend
> ? In order to develop
> a web application for sending and receives SMS messages for business users,
> are there any pitfalls in using Asterisk to handle the message exchanges?
>
>
> On 2016-11-29 09:01 AM, Sebastian Nielsen wrote:
>
> Im using SMS successfully over VoIP. No problems at all. You however need
> to use a good codec.
>
>
>
> However, I don’t use the MessageSend application, instead I use the raw
> SMS() application.
>
> This works by the SMS centre calling my fixed landline from a specific
> number, I detect the callerid, initiate a SMS reception and then the SMS is
> in the spool files.
>
> If I want to send a outgoing SMS, I push a SMS file in the spool folder,
> then initate a call to the SMS centre.
>
>
> That's pretty cool, thank you for the details. You are using the builtin
> SMS application that exchanges SMS data over SIP / PSTN connections. I
> don't believe I can get service like that in Canada. Does anyone use the
> SMS applications to send and receive SMS messages in North America? Who
> provides that service?
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Emiliano Vazquez | PcCentro S.R.L.
White 1611 | C.P. C1407IJG | C.A.B.A.
Office: +54 (11) 4635-7764
Celular: 15.6253.7165
Mail: emilianovazq...@gmail.com 
Web: http://www.pccentro.com.ar
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk compatibility with SMS services

2016-11-29 Thread Brandon B.


Can anyone comment on using SMS in conjunction with VoIP service using 
one of these three VoIP providers: voip.ms, vitelity.com, 
flowroute.com? Are some SMS services more compatible with Asterisk 
(i.e. SMS over SIP works perfectly or not)? Is it best to use a 
different data channel for SMS messages (i.e. SMS via HTTP, SMS via 
XMPP) instead of Asterisk's built in SMS application MessageSend 
? In order to 
develop a web application for sending and receives SMS messages for 
business users, are there any pitfalls in using Asterisk to handle the 
message exchanges?




On 2016-11-29 09:01 AM, Sebastian Nielsen wrote:


Im using SMS successfully over VoIP. No problems at all. You however 
need to use a good codec.


However, I don’t use the MessageSend application, instead I use the 
raw SMS() application.


This works by the SMS centre calling my fixed landline from a specific 
number, I detect the callerid, initiate a SMS reception and then the 
SMS is in the spool files.


If I want to send a outgoing SMS, I push a SMS file in the spool 
folder, then initate a call to the SMS centre.




That's pretty cool, thank you for the details. You are using the builtin 
SMS application that exchanges SMS data over SIP / PSTN connections. I 
don't believe I can get service like that in Canada. Does anyone use the 
SMS applications to send and receive SMS messages in North America? Who 
provides that service?


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk compatibility with SMS services

2016-11-29 Thread Sebastian Nielsen
Im using SMS successfully over VoIP. No problems at all. You however need to 
use a good codec.

 

However, I don’t use the MessageSend application, instead I use the raw SMS() 
application.

This works by the SMS centre calling my fixed landline from a specific number, 
I detect the callerid, initiate a SMS reception and then the SMS is in the 
spool files.

If I want to send a outgoing SMS, I push a SMS file in the spool folder, then 
initate a call to the SMS centre.

 

Ergo, incoming is like this (as early as possible in the dialplan):

 

exten => s,[any],GotoIf($[${CALLERID(num)} = 0740940]?recvsms,s,1)

(where 0740940 is your SMS centre number)

 

Then at recvsms:

[recvsms]

exten => s,1,SMS(in-${clid},a)

exten => s,2,System(/usr/sbin/mailbot sms ${clid})

exten => s,3,Hangup()

 

(where /usr/sbin/mailbot is a script that reads /var/spool/asterisk/mtrx 
folder, and clid is a variable containing a random number)

 

 

 

Outgoing is like this:

Place a file named [RandomA].[RandomB] into /var/spool/asterisk/motx with the 
following content:

da=[number you want to send to]

ud=[text you want to send, only GSM alphabet supported, composite messages NOT 
supported]

 

Then create the following file into /var/spool/asterisk/tmp:

Channel: SIP/074094@YOUROPERATOR

Callerid: "[YOURNUM]" <[YOURNUM]>

Application: SMS

Data: [RandomA]

 

(where 074094 is your SMS center)

Move the file from tmp into /var/spool/asterisk/outgoing/ and the SMS will be 
sent.

 

 

Från: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] För Brandon B.
Skickat: den 29 november 2016 17:25
Till: asterisk-users@lists.digium.com
Ämne: [asterisk-users] Asterisk compatibility with SMS services

 

Can anyone comment on using SMS in conjunction with VoIP service using one of 
these three VoIP providers: voip.ms, vitelity.com, flowroute.com? Are some SMS 
services more compatible with Asterisk (i.e. SMS over SIP works perfectly or 
not)? Is it best to use a different data channel for SMS messages (i.e. SMS via 
HTTP, SMS via XMPP) instead of Asterisk's built in SMS application MessageSend 
<http://www.anveo.com/faq.asp?code=sip_asterisk_sms> ? In order to develop a 
web application for sending and receives SMS messages for business users, are 
there any pitfalls in using Asterisk to handle the message exchanges?



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Asterisk compatibility with SMS services

2016-11-29 Thread Brandon B.
Can anyone comment on using SMS in conjunction with VoIP service using 
one of these three VoIP providers: voip.ms, vitelity.com, flowroute.com? 
Are some SMS services more compatible with Asterisk (i.e. SMS over SIP 
works perfectly or not)? Is it best to use a different data channel for 
SMS messages (i.e. SMS via HTTP, SMS via XMPP) instead of Asterisk's 
built in SMS application MessageSend 
? In order to 
develop a web application for sending and receives SMS messages for 
business users, are there any pitfalls in using Asterisk to handle the 
message exchanges?


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users