Delay incoming call ringing

Please give me a suggestion that when the incoming call ring is coming then it should come with some delay(approx 8 to 10 sec).please give me suggestion so that I can implement in this way that it can work in this way.

Possibly

will be useful.

I want to implement when the incoming call ring is coming then it should come with some delay(approx 8 to 10 sec).please suggest.

Inbond Route, Advanced Tab, Pause before Answer.

1 Like

any other solution and this is not working.
please help me.

We’ll need logs to help any more. Telling us “Nope, guess again.” isn’t going to cut it.

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug

[2020-02-28 00:38:15] VERBOSE[28849][C-00007b96] pbx.c: Spawn extension (followme-sub, 918602408924, 27) exited non-zero on 'PJSIP/anonymous-00007d43'
[2020-02-28 00:38:36] VERBOSE[24238] res_pjsip/pjsip_options.c: Contact 918602408924/sips:[email protected]:51025;transport=ws;rtcweb-breaker=no is now Reachable.  RTT: 251.519 msec
[2020-02-28 00:39:07] VERBOSE[19495] res_pjsip/pjsip_options.c: Contact 918602408924/sip:[email protected]:34065;transport=TLS;ob has been deleted
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@from-sip-external:1] AGI("PJSIP/anonymous-00007d46", "/var/lib/asterisk/agi-bin/cdr.php") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] res_agi.c: <PJSIP/anonymous-00007d46>AGI Tx >> agi_dnid: 918602408924
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] res_agi.c: <PJSIP/anonymous-00007d46>AGI Tx >> agi_extension: 918602408924
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] res_agi.c: <PJSIP/anonymous-00007d46>AGI Rx << ----> Query   :: SELECT user_id FROM carbon_user_detail WHERE sip_user_name='918602408924'----> Receiver Number  :: 918602408924----> Result  :: Resource id #9---> userId :: 549---> deviceToken :: ---> deviceType :: Android---> deviceToken :: f0Cs7N7YimA:APA91bHfI7BIl-NKDGds7Kc2PisEtThoVEGWd8K36sFPQ3Y0tBb4_HZwAmrsn6fGw54HyzGWdPgw27Hf-uH-7POmEbq7kl4YFeW-axyma2aHQbho6ed6cLhiRmx9bRc0nwlhvlgBnWPM---> deviceType :: Android---> deviceToken :: X46PFx8Ydp3VDtMplGEUF3cL8SCKKFoVROnV24sq7W3u7lfkqY8a3J9F2aeh---> deviceType :: Web----> Message Token Query   :: SELECT device_token FROM internal_msg_push WHERE mobile_no='918602408924'----> Result  :: Resource id #11---> Message deviceToken :: X46PFx8Ydp3VDtMplGEUF3cL8SCKKFoVROnV24sq7W3u7lfkqY8a3J9F2aehConnected to APNS
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@from-sip-external:2] Set("PJSIP/anonymous-00007d46", "DID=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@from-sip-external:3] Goto("PJSIP/anonymous-00007d46", "s,1") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@from-sip-external:4] Goto("PJSIP/anonymous-00007d46", "from-trunk,918602408924,1") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx_builtins.c: Goto (from-trunk,918602408924,1)
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@from-trunk:1] GotoIf("PJSIP/anonymous-00007d46", "0?ext-local,918602408924,1:followme-check,918602408924,1") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx_builtins.c: Goto (followme-check,918602408924,1)
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-check:1] Gosub("PJSIP/anonymous-00007d46", "followme-sub,918602408924,1()") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:1] Macro("PJSIP/anonymous-00007d46", "user-callerid,") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:2] Set("PJSIP/anonymous-00007d46", "DIAL_OPTIONS=TtrI") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:3] Set("PJSIP/anonymous-00007d46", "CONNECTEDLINE(num,i)=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:4] Gosub("PJSIP/anonymous-00007d46", "sub-presencestate-display,s,1(918602408924)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:5] Set("PJSIP/anonymous-00007d46", "CONNECTEDLINE(name)=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:6] Set("PJSIP/anonymous-00007d46", "FM_DIALSTATUS=NOT_INUSE") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:7] Set("PJSIP/anonymous-00007d46", "__EXTTOCALL=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:8] Set("PJSIP/anonymous-00007d46", "__PICKUPMARK=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:9] Macro("PJSIP/anonymous-00007d46", "blkvm-setifempty,") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:10] GotoIf("PJSIP/anonymous-00007d46", "1?skipov") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx_builtins.c: Goto (followme-sub,918602408924,13)
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:13] Set("PJSIP/anonymous-00007d46", "RRNODEST=") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:14] Set("PJSIP/anonymous-00007d46", "__NODEST=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:15] GosubIf("PJSIP/anonymous-00007d46", "0?sub-fmsetcid,s,1()") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:16] GotoIf("PJSIP/anonymous-00007d46", "1?skipprepend") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx_builtins.c: Goto (followme-sub,918602408924,18)
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:18] Set("PJSIP/anonymous-00007d46", "RecordMethod=Group") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:19] Gosub("PJSIP/anonymous-00007d46", "sub-record-check,s,1(exten,918602408924,)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [exten@sub-record-check:1] NoOp("PJSIP/anonymous-00007d46", "Exten Recording Check between +918770237717 and 918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [exten@sub-record-check:16] Gosub("PJSIP/anonymous-00007d46", "recordcheck,1(dontcare,internal,918602408924)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:20] GotoIf("PJSIP/anonymous-00007d46", "1?skipdring") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx_builtins.c: Goto (followme-sub,918602408924,23)
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:23] Set("PJSIP/anonymous-00007d46", "STRATEGY=firstavailable") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:24] Set("PJSIP/anonymous-00007d46", "__RVOL=") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:25] GotoIf("PJSIP/anonymous-00007d46", "0?skipsimple") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:26] GotoIf("PJSIP/anonymous-00007d46", "0 ?skipsimple") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [918602408924@followme-sub:27] Macro("PJSIP/anonymous-00007d46", "simple-dial,918602408924,25") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@macro-simple-dial:1] Set("PJSIP/anonymous-00007d46", "__EXTTOCALL=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@macro-simple-dial:6] Macro("PJSIP/anonymous-00007d46", "dial-one,25,TtrI,918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@macro-dial-one:1] Set("PJSIP/anonymous-00007d46", "DEXTEN=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@macro-dial-one:3] ExecIf("PJSIP/anonymous-00007d46", "0?Set(__EXTTOCALL=918602408924)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [dstring@macro-dial-one:2] Set("PJSIP/anonymous-00007d46", "DEVICES=918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [dstring@macro-dial-one:7] Set("PJSIP/anonymous-00007d46", "THISDIAL=PJSIP/918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [zap2dahdi@macro-dial-one:5] Set("PJSIP/anonymous-00007d46", "THISPART2=PJSIP/918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [zap2dahdi@macro-dial-one:6] ExecIf("PJSIP/anonymous-00007d46", "0?Set(THISPART2=DAHDIIP/918602408924)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [zap2dahdi@macro-dial-one:7] Set("PJSIP/anonymous-00007d46", "NEWDIAL=PJSIP/918602408924&") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [zap2dahdi@macro-dial-one:10] Set("PJSIP/anonymous-00007d46", "THISDIAL=PJSIP/918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [dstring@macro-dial-one:10] NoOp("PJSIP/anonymous-00007d46", "Debug: Found PJSIP Destination PJSIP/918602408924") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [dstring@macro-dial-one:13] Set("PJSIP/anonymous-00007d46", "THISDIAL=PJSIP/918602408924/sips:[email protected]:51025;transport=ws;rtcweb-breaker=no") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [dstring@macro-dial-one:16] Set("PJSIP/anonymous-00007d46", "DSTRING=PJSIP/918602408924/sips:[email protected]:51025;transport=ws;rtcweb-breaker=no&") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [dstring@macro-dial-one:20] Set("PJSIP/anonymous-00007d46", "DSTRING=PJSIP/918602408924/sips:[email protected]:51025;transport=ws;rtcweb-breaker=no") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [ctset@macro-dial-one:1] Set("PJSIP/anonymous-00007d46", "DB(CALLTRACE/918602408924)=+918770237717") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@macro-dial-one:55] Dial("PJSIP/anonymous-00007d46", "PJSIP/918602408924/sips:[email protected]:51025;transport=ws;rtcweb-breaker=no,25,TtrIM(auto-blkvm)b(func-apply-sipheaders^s^1)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] app_stack.c: PJSIP/918602408924-00007d47 Internal Gosub(func-apply-sipheaders,s,1) start
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/918602408924-00007d47", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/918602408924-00007d47", "Applying SIP Headers to channel") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/918602408924-00007d47", "SIPHEADERKEYS=") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@func-apply-sipheaders:4] ExecIf("PJSIP/918602408924-00007d47", "0?Set(Rheader=1)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@func-apply-sipheaders:5] While("PJSIP/918602408924-00007d47", "0") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/918602408924-00007d47", "0?SIPRemoveHeader(Alert-Info:)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@func-apply-sipheaders:11] ExecIf("PJSIP/918602408924-00007d47", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] pbx.c: Executing [s@func-apply-sipheaders:12] Return("PJSIP/918602408924-00007d47", "") in new stack
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] app_stack.c: Spawn extension (from-internal, 918602408924, 1) exited non-zero on 'PJSIP/918602408924-00007d47'
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] app_stack.c: PJSIP/918602408924-00007d47 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2020-02-28 00:40:26] VERBOSE[29406][C-00007b97] app_dial.c: Called PJSIP/918602408924/sips:[email protected]:51025;transport=ws;rtcweb-breaker=no
[2020-02-28 00:40:27] VERBOSE[29406][C-00007b97] app_dial.c: PJSIP/918602408924-00007d47 is ringing
[2020-02-28 00:40:27] VERBOSE[29406][C-00007b97] app_dial.c: PJSIP/918602408924-00007d47 is ringing

check log.
i need this functionality where the incoming call ring is coming that should come with the 8 to 10 sec delay.

I believe that the Inbound Route is not being executed because you have an extension number that is the same as the complete number being dialed. Delete extension 918602408924 and create it again with a short number, for example extension 124. Then, create an Inbound Route with DID 918602408924 and Set Destination -> Extensions -> 124. You should then be able to add the delay as @lgaetz said.

sorry but this is not working.can you give another solution.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.