[asterisk-users] Parsing incoming extension till first @

Ali Jawad alijawad1 at gmail.com
Tue Apr 22 05:51:57 CDT 2008


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)



More information about the asterisk-users mailing list