[ASTPPCOM-270] Immediate Dialtone After Dial Created: 22/Nov/17  Updated: 01/Apr/21  Resolved: 01/Apr/21

Status: Done
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature
Reporter: slango-im Assignee: Samir Doshi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi!

Sometimes termination providers have long IDD (initial dial delay). And calling card customers can be confused by silence.

Can ASTPP provide an immediate dial tone (even if fake) for the user to hear immediately and trying to dial?



 Comments   
Comment by dedayoa [ 04/Dec/17 ]

What you're looking for is https://wiki.freeswitch.org/wiki/Variable_instant_ringback
You should add session:execute("set","instant_ringback=true");
just after L392 inside freeswitch/scripts/astpp/lib/astpp.callingcards.function.lua

I haven't tested this but it's (similar) worked for me on other projects.

Comment by slango-im [ 06/Dec/17 ]

Thank you, [~dedayoa] dedayoa!

Comment by dedayoa [ 07/Dec/17 ]

You're welcome @slango-im

Comment by slango-im [ 15/Dec/17 ]

[~dedayoa] , just wanted to follow up on this. I added this line of code to the "astpp.callingcards.function.lua" file the instant ringback did not work.

Were you able to make it work on another freeswitch?

Comment by slango-im [ 26/Dec/17 ]

Any updates on this - perhaps ASTPP does not support this?

We added session:execute("set","instant_ringback=true"); but it still does not work.

Comment by (Community) DN (Inactive) [ 03/Jan/18 ]

@slango-im If the delay is from DID provider side than call will take time to reach to ASTPP server and no change to dialplan will work if call is not reaching to ASTPP server.

Comment by Eduardo Felipe de Oliveira (Inactive) [ 23/Jan/18 ]

@slango-im
For outgoing calls ringing as soon as you select the gateway it is possible to make the following configuration:

In the Gateway DialPlan Variable:

bypass_media=false,instant_ringback=true,ringback=${us-ring}

Generated at Sat Feb 10 07:15:40 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.