django-twilio icon indicating copy to clipboard operation
django-twilio copied to clipboard

TWILIO_DEFAULT_CALLERID missing from documentation

Open phalt opened this issue 10 years ago • 4 comments

The TWILIO_DEFAULT_CALLERID setting is not mentioned in the settings documentation.

phalt avatar Nov 15 '14 13:11 phalt

It's mentioned in the docs here but it doesn't seem to be used by the app anywhere.

ryankask avatar Jan 24 '15 09:01 ryankask

But is it the account sid or what?

sergiobrr avatar Apr 25 '18 13:04 sergiobrr

Correct, it appears to have zero usage in the framework currently.

It is supposed to be the default number (e.g. "5555555555") that is shown/used for calling the call or text in progress.

So if Person A is calling person B, then person B will get a voice call from this default caller ID (it won't look like Person A is calling, even though they are). So if you look up that call log on twilio, you'll have 2 call legs. The first leg person A calling into your system, and this number calling person B (that's my understanding. but either way, that's the idea). You can also check the twilio call logs to verify. But that's the concept at least.

But, it's not used :) We could/should look into that if we think it's useful still.

This setting, if we use it, will be a number that you have already purchased from twilio. It is a twilio phone number.

jheld avatar Apr 26 '18 20:04 jheld

I've had some more time to think about this. This is probably usage on the application-level.

If I build an application and I assign this setting, then I can use it as settings.TWILIO_DEFAULT_CALLERID whenever I do r.dial(to_num=the_to_num, caller_id=settings.TWILIO_DEFAULT_CALLERID). It does lose some if its power this way given that we have to specify it "by hand", but at least it won't be hard-coded to a number.

That's my take at least.

jheld avatar Apr 29 '18 01:04 jheld