[asterisk-users] Parsing incoming extension till first @
Rob Hillis
rob at hillis.dyndns.org
Tue Apr 22 07:02:53 CDT 2008
Using _. is going to result in warnings. A much better practice is to
use _X.
Ali Jawad wrote:
> Thx again patrick it worked, I used
>
> [google-in]
> exten => _.,1,Set(dst=${CUT(EXTEN,@,1)})
> exten => _.,1,Dial(SIP/${dst}@pstn.gw)
>
> while it should have been
>
> [google-in]
> exten => _.,1,Set(dst=${CUT(EXTEN,@,1)})
> exten => _.,2,Dial(SIP/${dst}@pstn.gw)
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> !DSPAM:480e5326213018190740810!
>
>
>
More information about the asterisk-users
mailing list