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 [EMAIL PROTECTED]: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 [EMAIL PROTECTED]: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
