[Asterisk-Users] queue name too long when sending sms over 32 chars

Stefan Reuter asterisk at stefan.de
Fri Aug 13 12:36:06 MST 2004


hi,

On Fri, 2004-08-13 at 10:32, daschi at gmx.net wrote:
> Aug 13 12:11:00 ERROR[1225231280]: Queue name too long

thats 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,Hangup

change this to

[smsdial]
exten = _X.,1,SMS(default,,${EXTEN},${CALLERIDNAME})
exten = _X.,2,SMS(default)
exten = _X.,3,Hangup

regards,
stefan




More information about the asterisk-users mailing list