Re: [asterisk-users] Asterisk SMS

2015-07-10 Thread Bryant Zimmerman
On Friday 10 Jul 2015, Thyda ENG wrote:
> Dear Sir,
>
> Does the asterisk support SMS feature ?
> If it does how can we config that ?
> I am waiting for your reply,Thank.
 
 Thyda
  
 Yes asterisk supports SMS on both cell card and sip trunk.
  
 Checkout this link as a starting point. 
  
 http://www.voip-info.org/wiki/view/Asterisk+cmd+Sms
  
 Thanks

Bryant Zimmerman (ZK Tech Inc.)
616-855-1030 Ext. 2003
  
   

 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Asterisk SMS

2015-07-10 Thread A J Stiles
On Friday 10 Jul 2015, Thyda ENG wrote:
> Dear Sir,
> 
> Does the asterisk support SMS feature ?
> If it does how can we config that ?
> I am waiting for your reply,Thank.

You need a suitable GSM card.  We have used the OpenVox G400P / E400E series.  
This has a facility for sending SMS directly via the Asterisk CLI  (and hence, 
any programming language that can issue a system() command).  It can be 
obtained with up to four GSM modules, which are also available separately if 
you need to upgrade a card with only one, two or three.

Note that whilst every telco will promise you "unlimited text messages" on 
their SIM-only, pay-monthly contracts, in practice, they will cut you off for 
bogarting bandwidth in a heartbeat if you send too many messages too quickly 
for too long at a stretch.  What that actual limit is, seems to be a secret 
more jealously guarded than the Windows Source Code; and the easiest way to 
find out seems to be to exceed 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Asterisk SMS

2015-07-10 Thread Thyda ENG
Dear Sir,

Does the asterisk support SMS feature ?
If it does how can we config that ?
I am waiting for your reply,Thank.

Thyda
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Asterisk SMS()

2013-02-20 Thread Stelios Koroneos

> On Tuesday 19 February 2013, Nicholas Johnson wrote:
> > Thanks for the help.  Right now I'm running asterisk on a raspberry pi
> > using a phone number from flowroute.  Is using a company like flowroute
> > the same as connecting to the PSTN?  Also i've tried to install smsq but I
> > couldn't find any good documentation to get it setup properly.  So no, I'm
> > not using smsq.
> 
> The bad news:  You need a GSM modem to send SMS messages.
> 
> The good news:  It is not so.
> 
> You can send SMS messages on POTS or ISDN lines
> See the voip-wiki about it
> 

In the US (and other parts of the world) there are SMS gateways the
providers offer to reach their subscribers
They are free and since you are using a raspberry which means no direct
pstn interface might be a good approach with the help of some AGI/bash
scripting

-- 
Stelios S. Koroneos




--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread Hans Witvliet
-Original Message-
From: A J Stiles 
Reply-to: Asterisk Users Mailing List - Non-Commercial Discussion

To: Asterisk Users Mailing List - Non-Commercial Discussion

Subject: Re: [asterisk-users] Asterisk SMS()
Date: Tue, 19 Feb 2013 16:50:10 +

On Tuesday 19 February 2013, Nicholas Johnson wrote:
> Thanks for the help.  Right now I'm running asterisk on a raspberry pi
> using a phone number from flowroute.  Is using a company like flowroute
> the same as connecting to the PSTN?  Also i've tried to install smsq but I
> couldn't find any good documentation to get it setup properly.  So no, I'm
> not using smsq.

The bad news:  You need a GSM modem to send SMS messages.

The good news:  It is not so.

You can send SMS messages on POTS or ISDN lines
See the voip-wiki about it

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread A J Stiles
On Tuesday 19 February 2013, Nicholas Johnson wrote:
> Thanks for the help.  Right now I'm running asterisk on a raspberry pi
> using a phone number from flowroute.  Is using a company like flowroute
> the same as connecting to the PSTN?  Also i've tried to install smsq but I
> couldn't find any good documentation to get it setup properly.  So no, I'm
> not using smsq.

The bad news:  You need a GSM modem to send SMS messages.

The good news:  Almost any old mobile phone which can accept a USB cable can 
be used as a GSM modem, even that old one you've had kicking around in a 
drawer for ages.  Buy a cheap SIM and the minimum amount of calling credit the 
carrier will let you have.  Plug the phone into the computer, check for TTY-
type devices, open one with minicom and see what happens.

If typing
AT
gets you an
OK
then you're probably good to go.

Note that not every mobile phone supports sending SMS messages in text mode, 
but they all support PDU mode.  Also, you'll probably have to make some 
separate arrangement for keeping track of how much credit you have; then use 
the last messageworth of it to text yourself to remind you to get more.


I swear I'll write this up as an Interesting Project, one of these days.

-- 
AJS

Answers come *after* questions.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread jon pounder

On 02/19/2013 11:20 AM, Christopher Harrington wrote:

I was always under the impression you needed to either use a cellphone 
type device to send them using your account, or send on to one of the 
aggregators who have apis for this.



For low volume stuff, you can simply send an email 
@ and it will hit the phone network as an sms.





On Tue, Feb 19, 2013 at 10:12 AM, Nicholas Johnson > wrote:


On Feb 19, 2013, at 10:41 AM, Christopher Harrington wrote:


On Tue, Feb 19, 2013 at 9:14 AM, Nicholas Johnson
mailto:nejohns...@me.com>> wrote:

All,
  I'm trying to send an SMS directly from asterisk but it
doesn't seem to be working.  The SMS() function does create
an outgoing file but doesn't deliver the SMS.  Can anyone
help me to understand how SMS() works.  Thanks.

extensions.conf example:

same => n,SMS(hello,a,17654307001 ,"hello nick")



Let's start out by figuring out what hardware you have. Is
Asterisk connected to the PSTN? What is physically delivering the
SMS to the carriers?

Also, when I run `core show application SMS` it talks about some
software called smsq. Are you running that software?


Thanks for the help.  Right now I'm running asterisk on a
raspberry pi using a phone number from flowroute.  Is using a
company like flowroute the same as connecting to the PSTN?  Also
i've tried to install smsq but I couldn't find any good
documentation to get it setup properly.  So no, I'm not using smsq.

I'm not well informed, but it appears that you need to (at a minimum) 
provide some sort of interface to connect to a hardware interface for 
this process. Google "ETSI ES 201 912".


Having looked at Flowroute, they don't appear to mention SMS anywhere 
on their website, so I am going to go out on a limb and say that they 
will not provide what you need to send an SMS.



--
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread Christopher Harrington
On Tue, Feb 19, 2013 at 10:12 AM, Nicholas Johnson wrote:

> On Feb 19, 2013, at 10:41 AM, Christopher Harrington wrote:
>
> On Tue, Feb 19, 2013 at 9:14 AM, Nicholas Johnson wrote:
>
>> All,
>>   I'm trying to send an SMS directly from asterisk but it doesn't seem to
>> be working.  The SMS() function does create an outgoing file but doesn't
>> deliver the SMS.  Can anyone help me to understand how SMS() works.  Thanks.
>>
>> extensions.conf example:
>>
>> same => n,SMS(hello,a,17654307001,"hello nick")
>>
>>
>>
> Let's start out by figuring out what hardware you have. Is Asterisk
> connected to the PSTN? What is physically delivering the SMS to the
> carriers?
>
> Also, when I run `core show application SMS` it talks about some software
> called smsq. Are you running that software?
>
> Thanks for the help.  Right now I'm running asterisk on a raspberry pi
> using a phone number from flowroute.  Is using a company like flowroute the
> same as connecting to the PSTN?  Also i've tried to install smsq but I
> couldn't find any good documentation to get it setup properly.  So no, I'm
> not using smsq.
>
>
I'm not well informed, but it appears that you need to (at a minimum)
provide some sort of interface to connect to a hardware interface for this
process. Google "ETSI ES 201 912".

Having looked at Flowroute, they don't appear to mention SMS anywhere on
their website, so I am going to go out on a limb and say that they will not
provide what you need to send an SMS.


-- 
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread Nicholas Johnson
Thanks for the help.  Right now I'm running asterisk on a raspberry pi using a 
phone number from flowroute.  Is using a company like flowroute the same as 
connecting to the PSTN?  Also i've tried to install smsq but I couldn't find 
any good documentation to get it setup properly.  So no, I'm not using smsq.

 nick


On Feb 19, 2013, at 10:41 AM, Christopher Harrington wrote:

> On Tue, Feb 19, 2013 at 9:14 AM, Nicholas Johnson  wrote:
> All,
>   I'm trying to send an SMS directly from asterisk but it doesn't seem to be 
> working.  The SMS() function does create an outgoing file but doesn't deliver 
> the SMS.  Can anyone help me to understand how SMS() works.  Thanks.
> 
> extensions.conf example:
> 
> same => n,SMS(hello,a,17654307001,"hello nick")
> 
> 
> 
> Let's start out by figuring out what hardware you have. Is Asterisk connected 
> to the PSTN? What is physically delivering the SMS to the carriers?
> 
> Also, when I run `core show application SMS` it talks about some software 
> called smsq. Are you running that software?
> 
> -- 
> -Chris Harrington
> ACSDi Office: 763.559.5800
> Mobile Phone: 612.326.4248
> 
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread Christopher Harrington
On Tue, Feb 19, 2013 at 9:14 AM, Nicholas Johnson  wrote:

> All,
>   I'm trying to send an SMS directly from asterisk but it doesn't seem to
> be working.  The SMS() function does create an outgoing file but doesn't
> deliver the SMS.  Can anyone help me to understand how SMS() works.  Thanks.
>
> extensions.conf example:
>
> same => n,SMS(hello,a,17654307001,"hello nick")
>
>
>
Let's start out by figuring out what hardware you have. Is Asterisk
connected to the PSTN? What is physically delivering the SMS to the
carriers?

Also, when I run `core show application SMS` it talks about some software
called smsq. Are you running that software?

-- 
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] Asterisk SMS()

2013-02-19 Thread Nicholas Johnson
All,
  I'm trying to send an SMS directly from asterisk but it doesn't seem to be 
working.  The SMS() function does create an outgoing file but doesn't deliver 
the SMS.  Can anyone help me to understand how SMS() works.  Thanks.

extensions.conf example:

same => n,SMS(hello,a,17654307001,"hello nick")



- nick
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Asterisk + SMS + PRI

2010-08-24 Thread Ramu
Hi,

Can we implement SMS solution using Asterisk + PRI/E1 lines with digium
cards?

I would appreciate any help on this item.

-- 
Ramu
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] Asterisk SMS: Experience with EMS?

2006-11-07 Thread Anselm Martin Hoffmeister
Hello *,

I recently started playing around with the "SMS" application. Several of
my SIP clients are FritzBoxes, with SMS capable DECT phones connected
via ISDN or analog line.

So far, SMSing works great: I defined extension 0193010[01] to receive
SMSes, which works well with the default settings for German phones.
Incoming SMS in the morx queue will be parsed by a cronjob and forwarded
either to the recipient or to the local handler (e.g. SMS recipient 118
is the enquiries line, where phone book lookups can be got from; call
forwarding settings can be queried by texting to extension 999 etc).
It's marvellous.

But I would like to send EMS, especially bitmap files for the phones
here that in theory allow pictures and tones to be updated via SMS. I
found some EMS specs, but all that leaves me without too much clue.

Has anyone got SMS working to send bitmaps and tones to phones?

Thanks,
Anselm

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] asterisk SMS and sprintpcs

2005-09-28 Thread Kevin Hanson

Ric Moseley wrote:

I have the digital receptionist answering when an incoming call comes 
in to the main trunk.  How do i get it to answer after so many rings 
or seconds.  It seems to pick up on the first ring.  I know how to 
modify the time it takes to go to voice mail but I do not see an 
obvious setting for the delay in digital receptionist pick up.
 
Thanks.


How about waiting before answering.  Something like:

exten => s,1,Noop
exten => s,2,Wait(15) ; wait 15 sec
exten => s,3,Answer
exten => s,3,Wait(1) ;needed to keep from upcutting the first meessage
exten => s,4,GotoIfTime(8:30-17:00|mon-fri|*|*?s,6) ; if open
exten => s,5,Goto(Mainmenu,s,1) ; closed - go to Auto attendant

I haven't tried this so I'm not sure if you can call Wait() before Answer.

Cheers,
Kevin
___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] asterisk SMS and sprintpcs

2005-09-27 Thread Ric Moseley
I have the digital receptionist answering when an incoming call comes in to the main trunk.  How do i get it to answer after so many rings or seconds.  It seems to pick up on the first ring.  I know how to modify the time it takes to go to voice mail but I do not see an obvious setting for the delay in digital receptionist pick up.

 
Thanks. 
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

Re: [Asterisk-Users] asterisk SMS and sprintpcs

2005-09-27 Thread Kevin Hanson

Jerry Geis wrote:


Does anyone know about sending SMS messages to a sprint pcs phone.

Can you give me a few details. Thanks,

Jerry

___
-


Not sure if this is what you're looking for, but we use this in our 
voicemail.conf:


@messaging.sprintpcs.com

Cheers,
Kevin
___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] asterisk SMS and sprintpcs

2005-09-26 Thread Tom Hayden
Well, you need to be a bit more specific. How are you trying to send
it? Are you using an SMSC? What kind of lines do you have?

--
Tom

On 9/26/05, Jerry Geis <[EMAIL PROTECTED]> wrote:
> Does anyone know about sending SMS messages to a sprint pcs phone.
>
> Can you give me a few details. Thanks,
>
> Jerry
>
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>


--
Tom
___
--Bandwidth and Colocation sponsored by Easynews.com --

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


[Asterisk-Users] asterisk SMS and sprintpcs

2005-09-26 Thread Jerry Geis

Does anyone know about sending SMS messages to a sprint pcs phone.

Can you give me a few details. Thanks,

Jerry

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


[Asterisk-Users] Asterisk SMS via IAX2?

2005-09-04 Thread Henry Junior
In v1.2beta1, README.sms mentions that SMS() allows sending and  
receiving of text messages over the PSTN (and that it's not likely to  
work over a compressed link.)  I think this likely answers my  
following question, but I wanted to ask because maybe someone has  
accomplished this:


Is it possible to route an incoming SMS via a PSTN terminated IAX2  
trunk using SMS()?  Ideally, I'd like to pass off any incoming SMS to  
my VoIP line to Kannel for further handling.  Can this be done, if  
so, how?


Cheers, HJ
___
--Bandwidth and Colocation sponsored by Easynews.com --

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


Re: [Asterisk-Users] Asterisk SMS configuration

2005-06-15 Thread Jon Creasey
Yes i've changed the line mentioned to 6000 but i'm not sure thats the 
problem as from abrief look at the code it appears that only applies to 
a certain response that app_sms send which seems to be fine.


I'll maybe try with a higher value later

Just for interest what hardware areyou running.

Jon

Tony Hoyle wrote:


Jon Creasey wrote:


Tony,

I'm havin a similar issue i'm in the UK using x100p with the patch 
for CID and get the following.  Any ideas


Did you change line as mentioned earlier?  Without that patch incoming 
SMS won't work at all.


You might need to use an even higher pause... might be worth 
experimenting.


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


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


Re: [Asterisk-Users] Asterisk SMS configuration

2005-06-15 Thread Tony Hoyle

Jon Creasey wrote:

Tony,

I'm havin a similar issue i'm in the UK using x100p with the patch for 
CID and get the following.  Any ideas


Did you change line as mentioned earlier?  Without that patch incoming 
SMS won't work at all.


You might need to use an even higher pause... might be worth 
experimenting.


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


[Asterisk-Users] Asterisk SMS configuration

2005-06-15 Thread Jon Creasey

Tony,

I'm havin a similar issue i'm in the UK using x100p with the patch for 
CID and get the following.  Any ideas


Executing Goto("Zap/1-1", "sms-in|s|1") in new stack
   -- Goto (sms-in,s,1)
   -- Executing SMS("Zap/1-1", "default|a") in new stack
   -- SMS TX 93 00 6D
   -- SMS RX 93 00 6D
   -- SMS TX 94 00 6C
   -- SMS RX 94 00 6C
   -- Executing Wait("Zap/1-1", "1") in new stack
   -- Executing Hangup("Zap/1-1", "") in new stack
 == Spawn extension (sms-in, s, 3) exited non-zero on 'Zap/1-1'

Jon

Tony Hoyle wrote:


Tony Hoyle wrote:

response). Has anyone got this working in the UK?  Do I have to set a 
country specific setting?



OK I got it working... there's a timeout in app_sms.c that just isn't 
long enough for the BT implementation - the app gives up long before 
the message centre has had time to respond.


I got the fix from http://projects.codefidence.com/asterisk.html 
eventually (specifically 
http://projects.codefidence.com/src/sms-il.diff).


The important bit is the pause:

--- app_sms.c   21 Jan 2005 07:06:24 -  1.17
+++ app_sms.c   1 Apr 2005 00:15:29 -
@@ -1240,7 +1240,7 @@
h->obyte = 1;
h->opause = 200;
if (h->omsg[0] == 0x93)
-  h->opause = 2400; /* initial message delay 300ms (for 
BT) */
+  h->opause = 6000; /* initial message delay 300ms (for 
BT) */

h->obytep = 0;
h->obitp = 0;
h->osync = 80;

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


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


Re: [Asterisk-Users] Asterisk SMS configuration

2005-03-31 Thread Tony Hoyle
Tony Hoyle wrote:
response). Has anyone got this working in the UK?  Do I have to set a 
country specific setting?
OK I got it working... there's a timeout in app_sms.c that just isn't 
long enough for the BT implementation - the app gives up long before the 
message centre has had time to respond.

I got the fix from http://projects.codefidence.com/asterisk.html 
eventually (specifically http://projects.codefidence.com/src/sms-il.diff).

The important bit is the pause:
--- app_sms.c   21 Jan 2005 07:06:24 -  1.17
+++ app_sms.c   1 Apr 2005 00:15:29 -
@@ -1240,7 +1240,7 @@
h->obyte = 1;
h->opause = 200;
if (h->omsg[0] == 0x93)
-  h->opause = 2400; /* initial message delay 300ms (for BT) */
+  h->opause = 6000; /* initial message delay 300ms (for BT) */
h->obytep = 0;
h->obitp = 0;
h->osync = 80;
Tony
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk SMS configuration

2005-03-30 Thread Tony Hoyle
Wilson Pickett wrote:
Quoting the wiki at http://www.voip-info.org/wiki-Asterisk+cmd+Sms
appended to the end. The telco can define a default sub address (9 in
the UK) which is used when the extra digit is not appended to the end.
It says there's a default anyway.  Note smsq doesn't send one (I guess 
this is bug in smsq).  I rewrote the number to 17940099 anyway and it 
didn't make a difference.

However it doesn't explain the issue.  I send:
smsq 0 register
And it's supposed to text me back with a 'successful' message.
The outgoing works.  This isn't about extra digits or anything like that.
The message centre then calls me back, but asterisk can't receive the 
message.. it hangs up after the first response.  I listened to what is 
coming back and it is *not* trying to send voice.. it's actually a 
silent line that drops after about 5 seconds if it doesn't get the 
correct response (I'm guessing that asterisk isn't sending the correct 
response). Has anyone got this working in the UK?  Do I have to set a 
country specific setting?

Tony
btw. I asked T mobile and they do not support direct SMS to landlines - 
they in fact couldn't understand why I would ever want it.  The explains 
the mobile not working.  They need adding to the list of mobile 
companies that do not work.  (this renders the whole exercise academic 
of course since I can't actually use it.. it still annoys me it doesn't 
work).
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk SMS configuration

2005-03-29 Thread Wilson Pickett
> I'm dialling 17094009, as instructed in the BT documentation.  Where
> does the extra digit go?

Quoting the wiki at http://www.voip-info.org/wiki-Asterisk+cmd+Sms

"The specification for landline SMS allows for the possibility of more
than one device on a single landline. These can be configured with Sub
addresses which are a single digit. To send a message to a specific
device the message is sent to the landline number with an extra digit
appended to the end. The telco can define a default sub address (9 in
the UK) which is used when the extra digit is not appended to the end.
When the call comes in, part of the calling line ID is the sub
address, so that only one device on the line answers the call and
receives the message.

Sub addresses also work for outgoing messages. Part of the number
called by the device to send a message is its sub address. Sending
from the default sub address (9 in the UK) means the message is
delivered with the sender being the normal landline number. Sending
from any other sub address makes the sender the landline number with
an extra digit on the end.

Using asterisk, you can make use of the sub addresses for sending and
receiving messages. Using DDI (DID, i.e. multiple numbers on the line
on ISDN) you can also make use of many different numbers for SMS. "
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk SMS configuration

2005-03-29 Thread Tony Hoyle
Wilson Pickett wrote:
You are sending the extra digit to say which "mailbox" the message is
for, right? In this country, if you do not send that digit, it will
try to vocalize the message during the calls.
I'm dialling 17094009, as instructed in the BT documentation.  Where 
does the extra digit go?

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


Re: [Asterisk-Users] Asterisk SMS configuration

2005-03-29 Thread Wilson Pickett
> Incoming however just isn't working.  I've got a nice list of numbers
> from which SMS messages come:


You are sending the extra digit to say which "mailbox" the message is
for, right? In this country, if you do not send that digit, it will
try to vocalize the message during the calls.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Asterisk SMS configuration

2005-03-29 Thread Tony Hoyle
Hi,
I've been trying to setup SMS on asterisk - would be useful to have for 
things like server outages, email from important customers, etc.

I can send SMS with no issues, although I have to send it over the Zap
line.. none of the VOIP providers will route the call.  It arrives on my
mobile phone a couple of minutes later (usually.. had to wait half an
hour for one).
Incoming however just isn't working.  I've got a nice list of numbers
from which SMS messages come:
080057875290 and 0845602111 - BT message centre I think
01612745990 - Mentioned in BT docs but never had one from there yet
07953966066 - T-Mobile phones SMS from here - I presume there are other
ones for Orange, etc. but I don't have one of those phones to check.
My incoming sms block is just:
[sms_in]
exten => s,1,SMS(sms,a)
exten => s,2,NoOp
exten => s,3,Hangup
Outgoing is fine.. eg. smsq  reset:
-- Zap/1-1 answered Local/[EMAIL PROTECTED],2
   > Channel Local/[EMAIL PROTECTED],1 was answered.
   > Lauching SMS(0) on Local/[EMAIL PROTECTED],1
-- SMS RX 93 00 6D
-- SMS TX 91 0F 01 02 05 81 00 00 F0 00 F1 05 F2 F2 BC 4C 07 FE
-- SMS TX 92 01 FF 6E
-- SMS RX 95 09 01 00 50 30 62 10 40 42 00 ED
-- SMS TX 94 00 6C
-- SMS TX 92 01 FF 6E
-- SMS RX 95 09 01 00 50 30 62 10 40 42 00 ED
-- SMS TX 94 00 6C
-- Hungup 'Zap/1-1'
Mar 26 01:04:26 NOTICE[15806]: pbx_spool.c:244 attempt_thread: Call
completed to Local/17094009
Then the 0 service tries to text me back with an OK message:
-- Starting simple switch on 'Zap/1-1'
-- Executing Goto("Zap/1-1", "sms_in|s|1") in new stack
-- Goto (sms_in,s,1)
-- Executing SMS("Zap/1-1", "sms|a") in new stack
-- SMS TX 93 00 6D
-- Hungup 'Zap/1-1'
It continues doing this every few minutes until it eventually gives up
about half an hour later.
What seems to be happening is the SMS application is bailing out after
the first line of the output.  I've enabled debugging and verbose
logging and there's nothing printed anywhere from the SMS app.
Has anyone seen anything like this?
Tony
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Asterisk sms voicemail notification

2004-12-04 Thread mohammad



    
 
Hi Patric;
 
 
 
I interested in your email on "Mon Oct 2004" with 
the subject  " Howto get voicemail $VM_ 
vars into externnotify script?".
 
Have you been able to set up such an application. If yes, plz 
help me to find out about that.
 
 
 
Regards
mohammad
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users