Suoritettu

asterisk/ callback

need a callback script to do the following; 1. caller calls in 2. heard ringing tone for 2 sec 3. asterisk capture the ANI 4. hangup the call 5. wait for 5 sec 6. do other thing this is what i have currently exten => s,1,NoCdr() exten => s,2,ringing exten => s,3,wait(3) exten => s,4,SetCallerID(${CALLERIDNUM}) exten => s,5,Hangup() exten => h,1,Dial(IAX2/alphaiax/3237${CALLERIDNUM},3) the call never actually got hangup physcially and the line still stay on -- Executing Goto("Zap/14-1", "shuan|s|1") in new stack -- Goto (shuan,s,1) -- Executing NoCDR("Zap/14-1", "") in new stack Mar 16 13:31:06 NOTICE[3650]: cdr.c:443 ast_cdr_free: CDR on channel 'Zap/14-1' not posted Mar 16 13:31:06 NOTICE[3650]: cdr.c:445 ast_cdr_free: CDR on channel 'Zap/14-1' lacks end -- Executing Ringing("Zap/14-1", "") in new stack -- Accepting call from '0xxxxxxxx' to 'xxxx' on channel 0/14, span 1 -- Executing Wait("Zap/14-1", "3") in new stack -- Executing SetCallerID("Zap/14-1", "0xxxxxx") in new stack -- Executing Hangup("Zap/14-1", "") in new stack == Spawn extension (shuan, s, 5) exited non-zero on 'Zap/14-1' -- Executing Dial("Zap/14-1", "IAX2/alphaiax/323xxxxxxx|30") in new stack -- Called alphaiax/323xxxxxxxxxx -- Call accepted by [url removed, login to view] (format ulaw) -- Format for call is ulaw -- IAX2/alphaiax-3 is making progress passing it to Zap/14-1 -- IAX2/alphaiax-3 answered Zap/14-1 -- Hungup 'IAX2/alphaiax-3' == Spawn extension (shuan, h, 1) exited non-zero on 'Zap/14-1' -- Hungup 'Zap/14-1' what i need is really hangup the call first, wait for 2 sec and then do the dial command without hanging onto the line thanks

Taidot: tekniikka, Linux, MySQL, PHP, Projektinhallinta, Tietojärjestelmäarkkitehtuuri, Ohjelmistojen testaus

Tietoa asiakkaasta:
( 18 arvostelua ) Georgetown, Malaysia

Projektin tunnus: #3928877

Myönnetty käyttäjälle:

asteriskguruvw

See private message.

$42.5 USD 1 päivässä
(149 Arvostelua)
6.2

5 freelanceria on tarjonnut keskimäärin $80 tähän työhön

jnmo

See private message.

$42.5 USD 1 päivässä
(64 arvostelua)
5.9
tahiralmas

See private message.

$102 USD 1 päivässä
(11 arvostelua)
4.8
blueskye

See private message.

$127.5 USD 1 päivässä
(3 arvostelua)
3.9
zmahomedy

See private message.

$85 USD 1 päivässä
(0 arvostelua)
0.0