daschi@gmx.net
2004-Aug-13 03:32 UTC
[Asterisk-Users] queue name too long when sending sms over 32 chars
Hi everyone, I think asterisk is really great, but since I started sending sms using * I've some troubles with it! I setup everything as it is described at voip-info.org (http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20Sms) and it really works: I can send SMS - as long as they are shorter than 32 characters. btw I'm living in Germany and therefore I send my SMS via T-Com (they use the same protocol BT uses). Does anyone know what's going wrong? Bye, Daniel the relavant part of my extensions: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; send sms [smsdial] connect to 0193010 exten = _X.,1,SMS(${CALLERIDNUM},,${EXTEN},${CALLERIDNAME}) exten = _X.,2,SMS(${CALLERIDNUM}) exten = _X.,3,Hangup an example outgoing file (I generate them using a bash script): action: originate callerid: test test test test Extension: 017DESTINATIONNUMBER Channel: CAPI/myISDNMSN:0193010 Context: smsdial priority: 1 The error that occurs (grep'ed from log/full): Aug 12 20:28:47 ERROR[1225231280]: Queue name too long Aug 13 12:10:43 ERROR[1225231280]: Queue name too long Aug 13 12:10:52 ERROR[1225231280]: Queue name too long Aug 13 12:11:00 ERROR[1225231280]: Queue name too long -- NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler! GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
Stefan Reuter
2004-Aug-13 12:36 UTC
[Asterisk-Users] queue name too long when sending sms over 32 chars
hi, On Fri, 2004-08-13 at 10:32, daschi@gmx.net wrote:> Aug 13 12:11:00 ERROR[1225231280]: Queue name too longthats actually just the cause ;) dont use the calleridnum (thats actually the sms text you are about to send!) as a queue name, better use a fixed string like 'default'> [smsdial] > connect to 0193010 > exten = _X.,1,SMS(${CALLERIDNUM},,${EXTEN},${CALLERIDNAME}) > exten = _X.,2,SMS(${CALLERIDNUM}) > exten = _X.,3,Hangupchange this to [smsdial] exten = _X.,1,SMS(default,,${EXTEN},${CALLERIDNAME}) exten = _X.,2,SMS(default) exten = _X.,3,Hangup regards, stefan