Find Jobs
Hire Freelancers

Asterisk GotoIf statement

€30-250 EUR

In Progress
Posted over 11 years ago

€30-250 EUR

Paid on delivery
Really simple gotoif statement required within existinig working context. Currently have the following context which works fine: [2020-check-existing-Customer2222] exten => s,1,MYSQL(Connect CONNID localhost a2bdbuser a2bdbpassw a2billing14) exten => s,n,MYSQL(Query RESULTID ${CONNID} SELECT id_cc_card, imsi FROM cc_callerid WHERE cid LIKE '${MV-CALLERIDNUM}' AND activated LIKE 't') exten => s,n,MYSQL(Fetch vdp_tmp ${RESULTID} A2B-ACCIDNUMBER) exten => s,n,GotoIf($["${MYSQL_STATUS}" = "-1"]?lbl_2020-check-existing-Customer2222_1:) exten => s,n,GotoIf($["${vdp_tmp}" = "0"]?lbl_2020-check-existing-Customer2222_1:) exten => s,n(lbl_2020-check-existing-Customer2222_0),MYSQL(Clear ${RESULTID}) exten => s,n,MYSQL(Query RESULTID ${CONNID} SELECT username, useralias, uipass,credit,creditlimit FROM cc_card WHERE id = '${A2B-ACCIDNUMBER}') exten => s,n,MYSQL(Fetch vdp_tmp ${RESULTID} A2B-ACCNUMBER A2B-CARDALIAS A2B-PASSWORD A2B-BALANCE A2B-CREDITLIMIT) exten => s,n,MYSQL(Clear ${RESULTID}) exten => s,n,MYSQL(Disconnect ${CONNID}) exten => s,n,NoOp(${A2B-ACCIDNUMBER}) exten => s,n,GotoIf($["${A2B-ACCIDNUMBER}" > "0"]?:lbl_2020-check-existing-Customer2222_2) exten => s,n,Goto(from-internal,6014,1) exten => s,n(lbl_2020-check-existing-Customer2222_2),Goto(from-internal,6015,1) exten => s,n(lbl_2020-check-existing-Customer2222_1),Set(A2B-ACCIDNUMBER=0) exten => s,n,Goto(lbl_2020-check-existing-Customer2222_0) I need an additional option added right after we have verified we have an active card - for when imsi = 2222 then need to go to context [ripdial-set-cli], otherwise carry on.
Project ID: 4064037

About the project

5 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
hi. can do that now.
€30 EUR in 0 day
4.9 (64 reviews)
7.4
7.4
5 freelancers are bidding on average €34 EUR for this job
User Avatar
Hi, I can do it for you. I can do it right now. Thanks vivek
€50 EUR in 0 day
4.8 (25 reviews)
5.7
5.7
User Avatar
I am experienced asterisk developer. I design dialplans, AGI scripts. Lets finish this.
€30 EUR in 1 day
5.0 (4 reviews)
3.8
3.8
User Avatar
HI, please see my PM
€30 EUR in 1 day
4.9 (5 reviews)
3.4
3.4
User Avatar
Hi, I can do it.
€30 EUR in 0 day
5.0 (3 reviews)
2.9
2.9

About the client

Flag of SPAIN
Denia, Spain
4.9
8
Member since Feb 12, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.