<div dir="ltr">Hi List,<br><br>I have a DID number which is routed to my production server. Problem is that when I dial that DID number from my production number then it's gives DIALSTATUS to CONGESTION if I don't pick the calls. As per the asterisk it should reply NO ANSWER.<br>
<br><b>extensions.conf </b>:-<br><br><br><span style="color:rgb(102,0,0)">exten => 08723310476,1,Dial(SIP/2218)</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,NoOp(**${DIALSTATUS}**)</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='CHANUNAVAIL']?NoOp(Channel unavailable. On SIP, peer may not be registered.))</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='BUSY']?noop(Busy signal. The dial command reached its number but the number is busy.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='ANSWER']?noop(Call is answered. A successful dial. The caller reached the callee.))</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='NOANSWER']?noop(No answer. The dial command reached its number, the number rang for too long, then the dial timed out.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='CANCEL']?noop(Call is cancelled. The dial command reached its number but the caller hung up before the callee picked up.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='CONGESTION']?noop(Congestion. This status is usually a sign that the dialled number is not recognised.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='DONTCALL']?noop(Privacy mode, callee rejected the call))</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='TORTURE']?noop(Privacy mode, callee chose to send caller to torture menu))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='INVALIDARGS']?noop(Error parsing Dial command arguments))</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,wait(9)</span><br>
<br><span style="color:rgb(102,0,0)">exten => 1212,1,Answer()</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,Dial(SIP/08723310476@voipon)</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,NoOp(**${DIALSTATUS}**)</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='CHANUNAVAIL']?NoOp(Channel unavailable. On SIP, peer may not be registered.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='BUSY']?noop(Busy signal. The dial command reached its number but the number is busy.))</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='ANSWER']?noop(Call is answered. A successful dial. The caller reached the callee.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='NOANSWER']?noop(No answer. The dial command reached its number, the number rang for too long, then the dial timed out.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='CANCEL']?noop(Call is cancelled. The dial command reached its number but the caller hung up before the callee picked up.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='CONGESTION']?noop(Congestion. This status is usually a sign that the dialled number is not recognised.))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='DONTCALL']?noop(Privacy mode, callee rejected the call))</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='TORTURE']?noop(Privacy mode, callee chose to send caller to torture menu))</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,ExecIf($['${DIALSTATUS}'='INVALIDARGS']?noop(Error parsing Dial command arguments))</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,Hangup()</span><br style="color:rgb(102,0,0)">
<br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)">exten => h,1,NoOp()</span><br style="color:rgb(102,0,0)"><span style="color:rgb(102,0,0)"> same => n,NoOp(********${HANGUPCAUSE}*********)</span><br style="color:rgb(102,0,0)">
<span style="color:rgb(102,0,0)"> same => n,NoOP(bye Virendra)</span><br><br clear="all"><br><b>asterisk cli:-</b><br><br><span style="color:rgb(51,51,255)"> -- Executing [1212@default:1] Answer("SIP/2209-00000854", "") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:2] Dial("SIP/2209-00000854", "SIP/08723310476@voipon") in new stack</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> == Using SIP RTP CoS mark 5</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Called 08723310476@voipon</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> == Using SIP RTP CoS mark 5</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:1] Dial("SIP/77.240.54.13:5063-00000856", "SIP/2218") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> == Using SIP RTP CoS mark 5</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Called 2218</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- SIP/2218-00000857 is ringing</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- SIP/voipon-00000855 is making progress passing it to SIP/2209-00000854</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Got SIP response 480 "Temporarily Unavailable" back from 10.10.11.203</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- SIP/2218-00000857 is circuit-busy</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> == Everyone is busy/congested at this time (1:0/1/0)</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:2] NoOp("SIP/77.240.54.13:5063-00000856", "**CONGESTION**") in new stack</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:3] ExecIf("SIP/77.240.54.13:5063-00000856", "0?NoOp(Channel unavailable. On SIP, peer may not be registered.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:4] ExecIf("SIP/77.240.54.13:5063-00000856", "0?noop(Busy signal. The dial command reached its number but the number is busy.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:5] ExecIf("SIP/77.240.54.13:5063-00000856", "0?noop(Call is answered. A successful dial. The caller reached the callee.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:6] ExecIf("SIP/77.240.54.13:5063-00000856", "0?noop(No answer. The dial command reached its number, the number rang for too long, then the dial timed out.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:7] ExecIf("SIP/77.240.54.13:5063-00000856", "0?noop(Call is cancelled. The dial command reached its number but the caller hung up before the callee picked up.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:8] ExecIf("SIP/77.240.54.13:5063-00000856", "1?noop(Congestion. This status is usually a sign that the dialled number is not recognised.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:9] ExecIf("SIP/77.240.54.13:5063-00000856", "0?noop(Privacy mode, callee rejected the call)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:10] ExecIf("SIP/77.240.54.13:5063-00000856", "0?noop(Privacy mode, callee chose to send caller to torture menu)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:11] ExecIf("SIP/77.240.54.13:5063-00000856", "0?noop(Error parsing Dial command arguments)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [08723310476@default:12] Wait("SIP/77.240.54.13:5063-00000856", "9") in new stack</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Auto fallthrough, channel 'SIP/77.240.54.13:5063-00000856' status is 'CONGESTION'</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [h@default:1] NoOp("SIP/77.240.54.13:5063-00000856", "") in new stack</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Executing [h@default:2] NoOp("SIP/77.240.54.13:5063-00000856", "********19*********") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [h@default:3] NoOp("SIP/77.240.54.13:5063-00000856", "bye Virendra") in new stack</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- SIP/voipon-00000855 is circuit-busy</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> == Everyone is busy/congested at this time (1:0/1/0)</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Executing [1212@default:3] NoOp("SIP/2209-00000854", "**CONGESTION**") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:4] ExecIf("SIP/2209-00000854", "0?NoOp(Channel unavailable. On SIP, peer may not be registered.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:5] ExecIf("SIP/2209-00000854", "0?noop(Busy signal. The dial command reached its number but the number is busy.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:6] ExecIf("SIP/2209-00000854", "0?noop(Call is answered. A successful dial. The caller reached the callee.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:7] ExecIf("SIP/2209-00000854", "0?noop(No answer. The dial command reached its number, the number rang for too long, then the dial timed out.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:8] ExecIf("SIP/2209-00000854", "0?noop(Call is cancelled. The dial command reached its number but the caller hung up before the callee picked up.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:9] ExecIf("SIP/2209-00000854", "1?noop(Congestion. This status is usually a sign that the dialled number is not recognised.)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:10] ExecIf("SIP/2209-00000854", "0?noop(Privacy mode, callee rejected the call)") in new stack</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Executing [1212@default:11] ExecIf("SIP/2209-00000854", "0?noop(Privacy mode, callee chose to send caller to torture menu)") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [1212@default:12] ExecIf("SIP/2209-00000854", "0?noop(Error parsing Dial command arguments)") in new stack</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Executing [1212@default:13] Hangup("SIP/2209-00000854", "") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> == Spawn extension (default, 1212, 13) exited non-zero on 'SIP/2209-00000854'</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Executing [h@default:1] NoOp("SIP/2209-00000854", "") in new stack</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)"> -- Executing [h@default:2] NoOp("SIP/2209-00000854", "********1*********") in new stack</span><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)"> -- Executing [h@default:3] NoOp("SIP/2209-00000854", "bye Virendra") in new stack</span><br style="color:rgb(51,51,255)">
<br><br>Even I hangup the call or answer the call and don't pick the call I always get the same responce at asterisk.<br><br> <br>-- <br><div dir="ltr"><br>Thanks and regards<br><br> Virendra Bhati<br>+91-8885268942<br>
Software Engineer<br></div><br>
</div>