[asterisk-users] cutting hash in dial app
Yuan LIU
yliu11 at hotmail.com
Fri Mar 30 04:04:14 MST 2007
>From: René Enskat <ren at tmwr.de>
>Date: Mon, 26 Mar 2007 20:29:16 +0200
>
>hello,
>
>isit possible to cut off the hash behind a dial string?
>coz we have a provider who gives us an error 600 "Declined" if ther is a
>hash in dial command.
>for example:
>Dial("SIP/x.x.x.x-b7d2d870", "SIP/xxxxxxx at x.x.x.
><mailto:SIP/xxxxxxx at x.x.x.8> x")
>and i have to cut out: -b7d2d870
>
>regards rene
Cutting out part of a string is very easy to do - CLI> show function CUT.
But the dial command you cited looks really strange. Don't look like
correct syntax at all. So maybe you need to fix that first. CLI> show
application dial
Yuan Liu
More information about the asterisk-users
mailing list