I tried ... still same errors:<br>
<br>
---&lt;Cut Here&gt;---<br>
May 23 10:56:35 WARNING[31660]: pbx_spool.c:347 scan_service: Unable to
open /var/spool/asterisk/outgoing/smsq.mttx.0.1179906994-32569.1:
Permission denied, deleting<br>
May 23 10:56:35 WARNING[31660]: pbx_spool.c:389 scan_thread: Failed to
scan service
&#39;/var/spool/asterisk/outgoing/smsq.mttx.0.1179906994-32569.1&#39;<br>
May 23 10:57:31 WARNING[31660]: pbx_spool.c:347 scan_service: Unable to
open /var/spool/asterisk/outgoing/smsq.mttx.0.1179907051-32570.1:
Permission denied, deleting<br>
May 23 10:57:31 WARNING[31660]: pbx_spool.c:389 scan_thread: Failed to
scan service
&#39;/var/spool/asterisk/outgoing/smsq.mttx.0.1179907051-32570.1&#39;<br>
---&lt;And Here&gt;---<br><br>
<br><div><span class="gmail_quote">On 5/22/07, <b class="gmail_sendername">Anselm Martin Hoffmeister</b> &lt;<a href="mailto:anselm@hoffmeister-online.de">anselm@hoffmeister-online.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am Dienstag, den 22.05.2007, 17:35 +0300 schrieb Jonson Player:<br>&gt; Thank you for reply. Can you send me some working configs? I&#39;m still<br>&gt; confusing about this sms option.<br><br>Just to get you started, try this:
<br><br>Find out which user asterisk runs as. Get a shell for that user.<br>Run (all in one line)<br><br>smsq --mt --oa=321 --mttx-callerid=01930101 --mttx-channel=SIP/abcde<br>&quot;message text goes here&quot;<br><br>where &quot;321&quot; will displayed as sender id on the handset, and &quot;01930101&quot;
<br>will have to replaced by the mobile center known to your phone, plus &quot;1&quot;<br>at the end - the German T-Com seems to use 0193010, and this setting<br>works for me. Further, SIP/abcde must be the channel that a SMS-capable
<br>handset is available on: If you have some ATA with a DECT handset<br>connected, or similar, use the channel name exactly as you would in the<br>Dial() command.<br><br>First thing to find out is if this works. Be sure to have asterisk in
<br>extra-verbose running a console to see what happens.<br><br>If the mobile handset rings (instead of getting the SMS) either the<br>01930101 number has not been set correctly or it probably is not<br>compatible with Asterisk SMS.
<br><br>Once you get this far, you would need the other way round. When your<br>mobile phone tries to _send_ a text message, it will go to 01930100 (sms<br>center number plus &quot;0&quot;). You will have to care for that in your
<br>extensions.conf, like this<br><br>exten =&gt; 01930100,1,Wait(2)<br>exten =&gt; 01930100,2,Answer()<br>exten =&gt; 01930100,3,Wait(2)<br>exten =&gt; 01930100,4,SMS(01930100,as)<br>exten =&gt; 01930100,5,Wait(2)<br>exten =&gt; 01930100,6,Hangup()
<br><br>In my experience those Wait(2) improve reliability over internet<br>connections, they probably are superfluous if you have reliable<br>low-latency LAN. For me, they made the difference between 10/100 and<br>95/100 successfuly sent messages.
<br><br>You will have to write your own scriptwork to play with the files that<br>will be created from those commands. Their structure is simple, you will<br>find out.<br><br>Sending EMS (for ringtones and bitmaps) is a bit more complex, you will
<br>need the UDH flag for that. I think I documented that once on this ML<br>but am not sure. However, it is possible with some Siemens Gigaset<br>devices, and pictures or monophonic ringtones.<br><br>BR<br>Anselm<br><br>
_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>