[asterisk-users] How to escape characters in Dialplan

Dominik d0m1n1k at geekmail.de
Tue Jan 19 14:25:02 CST 2010


Hm, 
(svn 187362) Permit zero-length text messages in SIP

Maybe a zero-length text also works to clear the display of Thomson 2030:
But with SendText it doesn't:
    -- Executing [224 at intern:1] Answer("SIP/4711-00000016", "") in new stack
    -- Executing [224 at intern:2] SendText("SIP/4711-00000016", "") in new stack
    -- Executing [224 at intern:3] Hangup("SIP/4711-00000016", "") in new stack

A message doesn't disappear from display

But when I use sipsak, it does:

    -- Executing [224 at intern:1] Answer("SIP/4711-00000017", "") in new stack
    -- Executing [224 at intern:2] System("SIP/4711-00000017", "sipsak -M -B "" -
s "sip:4711 at st2030"") in new stack
    -- Executing [224 at intern:3] Hangup("SIP/4711-00000017", "") in new stack

So obviously there is a problem with sending an empty string with SendText() 
(see above)? ( SendText(Hello World) works fine to display a "Hello Word"-
message!)





Am Dienstag 19 Januar 2010 schrieb Tilghman Lesher:
> On Tuesday 19 January 2010 13:03:19 Olivier wrote:
> > I don't think my previous answer was very clear.
> > Please, apologize for that.
> >
> > Some time ago, I also asked for the same feature as yours :" to be able
> > to send empty strings to IP phone Thomson ST2030".
> > Tilghman Lesher from Digium was kind enough to code a patch for 1.4 (svn
> > 187362).
> >
> > As unfortunately, I'm also using 1.6, I could test its patch nor I didn't
> > dare to ask a port for 1.6.
> > This doesn't help now for 1.6 but I thought it might help to be aware of
> > that patch.
> 
> That patch was applied to all branches.  However, it's not relevant to the
> OP's needs.
> 





More information about the asterisk-users mailing list