>?? >Ringback is provided by your PSTN provider until answer by asterisk. >You have no control until you answer >Then you go to IVR, VM or ??
OP said T1/E1, so (usually) there's no ringing delay until Asterisk picks up like in a POTS line. Answering a T1/PRI line is transparent to the caller and then you can fake any ringtone you want. So: 1. Create your ringtone, call it MyCustomRingtone.mp3 & copy it to /var/lib/asterisk/mohmp3 2. Edit /etc/asterisk/musiconhold.conf: [classes] default => MyCustomRingtone:/var/lib/asterisk/mohmp3 3. Modify extensions.conf as follows: [my-inbound-context] exten => s,1,Wait(1) 'Wait 1 so PRI has time to send Caller ID name fully exten => s,2,Answer() exten => s,3,Dial(SIP/blabla,40,m) <--the 'm' parameter plays music on hold whilst dialling. In a perfect world, the 'MyCustomRingtone.mp3' file will play, faking a ringtone to the caller _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
