[asterisk-dev] Asterisk start handle a call after 3 seconds

Steven S. Critchfield critch at basesys.com
Wed Jan 23 10:12:03 CST 2008

----- asterisk at nicox.org wrote:
> That means that the carrier where i terminate the calls use it to 
> determine the complete number.
> it means:
> Somebody Calls from a fixed phone the number 0123456789
> I get the number on my system where the customer have dialed only the
> 012
> I can do the LCR with this information, so i dial out to the carrier
> xy 
> with the digits 012.
> After this 3 digits, every digit which the customer dial i have to
> send to 
> the carrier for reaching the correct number.
> But, Asterisk has to do the lcr with the first 3 digits, and do not
> have 
> to wait.

So you receive a call to your asterisk install, you answer the call. 

At this point the user is dialing, if the call is on a zaptel channel, you are receiving these numbers via inband DTMF. Even if by another channel, it is still digits coming to you for something other than call setup.

You make a routing descision based on the first 3 digits. You then make a call setup to your carrier without having the entire number.

On an analog line to your carrier, I could see this as functional. Dial made the connection, and dumped it's stored digits and bridged the call. On a E1, PRI or VoIP connection, wouldn't you need all the numbers for the setup message? 
Steven Critchfield critch at basesys.com

More information about the asterisk-dev mailing list