[Asterisk-Users] SMS in Spain (it seems Protocol 2)

Sergio García Murillo Sergio.Garcia at ydilo.com
Thu Mar 30 09:32:49 MST 2006


When I was in Telefonica I+D I developed an software for windows that allows sending sms throw an ISDN line. It was more than 3 years ago and I don't recall to many details but we had to implement ETSI ES 201 912 and 
make an V28 modem emulation over ISDN. 


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Carles Pina i Estany
Sent: jueves, 30 de marzo de 2006 18:10
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] SMS in Spain (it seems Protocol 2)


Hello,

On Mar/30/2006, Fran wrote:
> I guess Protocol 1 is UBS1. I think it should be.

ok, me too...

> No, i have never tested Asterisk sending messages.
> We have tested some fixed devices (UBS1, UBS2 Domo type)

I have only checked Domo phone, but I don't know which protocol it is using.
Julian, from Asterisk-es (and he is here too) sent me some time ago this
link:
http://www.rtx.dk/Files/Filer/tekniske%20artikler/SMStransmissionwithinthePSTN.pdf

Maybe it is not updated, in topic about Protocol 1 and 2...

> The UBS1 SMS Service is 900716800

Ok, I am using this one.

> What error do u have? Timeouts? etc?

Well, I am doing this file:
Channel: Zap/1/900716800
MaxRetries: 1
RetryTime: 60
WaitTime: 30
Context: smsdial
Priority: 1
Callerid: hola <phone_of_FXO_card>
Extension: phone_of_recipient

In extensions.conf I have this information:
[smsdial]
exten => _X.,1,SMS(${CALLERIDNUM},,${EXTEN},${CALLERIDNAME})
exten => _X.,2,SMS(${CALLERIDNUM})
exten => _X.,3,Hangup 

(it is included from general section, etc.)

When I copy .call file to /var/spool/asterisk/outgoing, in Asterisk
console appears:
----------------
*CLI>     -- Attempting call on Zap/1/900716800 for phone_of_recipient at smsdial:1 (Retry 1)
       > Channel Zap/1-1 was answered.
    -- Executing SMS("Zap/1-1", "FXO_phone||phone_of_recipient|hola") in new stack
    -- Executing SMS("Zap/1-1", "FXO_phone") in new stack
Mar 30 17:55:39 WARNING[11371]: chan_sip.c:9601 handle_response_register: Got 200 OK on REGISTER that isn't a register
  == Spawn extension (smsdial, recipient_phone, 2) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'
Mar 30 17:56:27 NOTICE[11380]: pbx_spool.c:280 attempt_thread: Call completed to Zap/1/900716800
----------------

If I change 900716800 phone to France SMSC phone (0033809101000), then 
it appears:

----------------
*CLI>     -- Attempting call on Zap/1/0033809101000 for recipient_phone at smsdial:1 (Retry 1)
       > Channel Zap/1-1 was answered.
    -- Executing SMS("Zap/1-1", "from_phone||to_phone|hola") in new stack
    -- Executing SMS("Zap/1-1", "from_phone") in new stack
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
    -- SMS TX 92 01 FF 6E
  == Spawn extension (smsdial, 600512220, 2) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'
Mar 30 17:59:08 NOTICE[11403]: pbx_spool.c:280 attempt_thread: Call completed to Zap/1/0033809101000
----------------

I rode that it should appear TX and RX lines (of course). SMS is not sent,
but maybe France SMSC is checking something (like I am not customer of there
:-)  )

I don't have big knowledge about Asterisk. Maybe it is other stupid thing,
and not protocols issues... 

-- 
Carles Pina i Estany		GPG id: 0x8CBDAE64
	http://pinux.info	Manresa - Barcelona
_______________________________________________
--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
--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended solely 
for the use of the individual or entity to whom they are addressed. No confidentiality 
or privilege is waived or lost by any wrong transmission. 
If you have received this message in error, please immediately destroy it and kindly 
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any 
part of this message if you are not the intended recipient. Opinions, conclusions and 
other information in this message that do not relate to the official business of 
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed by it. 
--------------------------------------------------------------------------------------



More information about the asterisk-users mailing list