Hi,
I have installed libpri-1.4.9, asterisk-1.4.18, zaptel-1.4.12.1, wanpipe-3.3.16. I have done straight forward installation with defaults. For all spans I have give the context value “default” i.e when call comes it will go to default context and then I will handle the call. The problem is that when I dial 2020 (shortcode given by the telco, backend number is 03001149011) , the cli shows the message " – Going to extension s|1 because of Complete received
– Accepting call from ‘3024006083’ to ‘s’ on channel 0/13, span 4 "
it should display like
– Accepting call from ‘3024006083’ to ‘03001149011’ on channel 0/13, span 4
it means asterisk is not detecting the dialled number there fore the default extension ‘S’ is called.
Can anybody tell me what is the problem? and how to fix it.
Dirty temporary sollution.
Put in default context extension like:
exten => _X.,
and see what happens.
This is dirty solution and is better to be used only and alone for very limited tests.
I think you are going off on a false track. It seems to me that the network is sending end of number with no digits, and Asterisk is handling that appropriately.
yes david. I agree with you. I have searched for the cli message “Going to extension s|1 because of Complete received” in source file chan_zap.c and found that this asterisk displays this message when it does not recieve any digit. chan_zap.c contains the following comments:
/* Some PRI circuits are set up to send no digits. Handle them as ‘s’. /
/ Set DNID on all incoming calls – even immediate /
/ No number yet, but received “sending complete”? */
It means asterisk set the DNID on all calls but as it is not recieving any digit so it is not setting this variable. The problem seems to be at the telco end. I will talk to telco and will get back here with outcome.