<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br></div> I setup PBX with A400P 4 x FXo board. There are one analog line plugged into port 1.<br><br></div> Internal extension cane make calls to PSTN without any issue.<br>
<br></div> When I make inbound call, caller get busy tone &quot;user busy&#39; message right away.<br><br></div> Asterisk log shows following log and internal extension (200) rings for that call and hangup (log below).<br>
<br></div>  I tested the system with some other service provider and it worked fine for IB and OB calls.<br><br></div>   i would like to get your feedback to resolve the issue and will appreciate your feedback.<br><br></div>
Thanks<br></div>Selva<br><div><div><div><div><br><br>[PBX1.localdomain dahdi]# lsdahdi<br>### Span  1: WCTDM/4 &quot;Wildcard TDM400P REV E/F Board 5&quot; (MASTER)<br>  1 FXO        FXSKS       (In use) (SWEC: MG2)<br>  2 FXO        FXSKS       (In use) (SWEC: MG2)  RED<br>
  3 FXO        FXSKS       (In use) (SWEC: MG2)  RED<br>  4 FXO        FXSKS       (In use) (SWEC: MG2)  RED<br><br><br>PBX1*CLI&gt; dahdi show regdump 1<br>Direct registers:<br>  0. 00    1. 00    2. 03    3. 00    4. e9    5. 08    6. 00    7. 00<br>
  8. 00    9. 00   10. 00   11. 35   12. 40   13. 58   14. 00   15. 00<br> 16. 01   17. 02   18. 00   19. 02   20. 00   21. 00   22. 96   23. 2d<br> 24. 19   25. 08   26. c0   27. 05   28. 00   29. 34   30. 00   31. a3<br>
 32. 07   33. 28   34. 18   35. 00   36. 18   37. 00   38. 10   39. 10<br> 40. 10   41. 10   42. 00   43. 00   44. 00   45. 00   46. 00   47. 00<br> 48. 00   49. 00   50. 00   51. 00   52. 00   53. 00   54. 00   55. 00<br>
 56. 0f   57. 00   58. 00   59. 00<br><br>TIP: 52.0000 Volts<br>RING: 52.0000 Volts<br>VBAT: 52.0000 Volts<br><br>PBX1*CLI&gt; dahdi show regdump 2<br>Direct registers:<br>  0. 00    1. 00    2. 03    3. 00    4. 29    5. 08    6. 00    7. 00<br>
  8. 00    9. 00   10. 00   11. 35   12. 40   13. 58   14. 00   15. 00<br> 16. 01   17. 00   18. 00   19. 02   20. 00   21. 00   22. 96   23. 2d<br> 24. 19   25. 08   26. c0   27. 07   28. 00   29. 01   30. 00   31. a3<br>
 32. 07   33. 28   34. 10   35. 00   36. 10   37. 00   38. 10   39. 10<br> 40. 10   41. 10   42. 00   43. 00   44. 00   45. 00   46. 00   47. 00<br> 48. 00   49. 00   50. 00   51. 00   52. 00   53. 00   54. 00   55. 00<br>
 56. 0f   57. 00   58. 00   59. 00<br><br>TIP:  1.0000 Volts<br>RING:  1.0000 Volts<br>VBAT:  1.0000 Volts<br><br><br><br>-----------------------------------------------------------------------------------------------------------------------------------------------------<br>
<br><br> -- Starting simple switch on &#39;DAHDI/1-1&#39;<br>    -- Executing [s@from-pstn:1] Set(&quot;DAHDI/1-1&quot;, &quot;__FROM_DID=s&quot;) in new stack<br>    -- Executing [s@from-pstn:2] Gosub(&quot;DAHDI/1-1&quot;, &quot;app-blacklist-check,s,1&quot;) i                                                                                                                     n new stack<br>
    -- Executing [s@app-blacklist-check:1] GotoIf(&quot;DAHDI/1-1&quot;, &quot;0?blacklisted&quot;)                                                                                                                      in new stack<br>
    -- Executing [s@app-blacklist-check:2] Return(&quot;DAHDI/1-1&quot;, &quot;&quot;) in new stack<br>    -- Executing [s@from-pstn:3] ExecIf(&quot;DAHDI/1-1&quot;, &quot;1 ?Set(CALLERID(name)=)&quot;)                                                                                                                      in new stack<br>
    -- Executing [s@from-pstn:4] Set(&quot;DAHDI/1-1&quot;, &quot;__CALLINGPRES_SV=allowed_not_                                                                                                                     screened&quot;) in new stack<br>
    -- Executing [s@from-pstn:5] Set(&quot;DAHDI/1-1&quot;, &quot;CALLERPRES()=allowed_not_scre                                                                                                                     ened&quot;) in new stack<br>
    -- Executing [s@from-pstn:6] Goto(&quot;DAHDI/1-1&quot;, &quot;from-did-direct,200,1&quot;) in n                                                                                                                     ew stack<br>
    -- Goto (from-did-direct,200,1)<br>    -- Executing [200@from-did-direct:1] Macro(&quot;DAHDI/1-1&quot;, &quot;exten-vm,200,200&quot;)                                                                                                                      in new stack<br>
    -- Executing [s@macro-exten-vm:1] Macro(&quot;DAHDI/1-1&quot;, &quot;user-callerid&quot;) in new                                                                                                                      stack<br>
    -- Executing [s@macro-user-callerid:1] Set(&quot;DAHDI/1-1&quot;, &quot;AMPUSER=&quot;) in new s                                                                                                                     tack<br>
    -- Executing [s@macro-user-callerid:2] GotoIf(&quot;DAHDI/1-1&quot;, &quot;0?report&quot;) in ne                                                                                                                     w stack<br>
    -- Executing [s@macro-user-callerid:3] ExecIf(&quot;DAHDI/1-1&quot;, &quot;1?Set(REALCALLER                                                                                                                     IDNUM=)&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:4] Set(&quot;DAHDI/1-1&quot;, &quot;AMPUSER=&quot;) in new s                                                                                                                     tack<br>
    -- Executing [s@macro-user-callerid:5] Set(&quot;DAHDI/1-1&quot;, &quot;AMPUSERCIDNAME=&quot;) i                                                                                                                     n new stack<br>
    -- Executing [s@macro-user-callerid:6] GotoIf(&quot;DAHDI/1-1&quot;, &quot;1?report&quot;) in ne                                                                                                                     w stack<br>
    -- Goto (macro-user-callerid,s,10)<br>    -- Executing [s@macro-user-callerid:10] GotoIf(&quot;DAHDI/1-1&quot;, &quot;0?continue&quot;) in                                                                                                                      new stack<br>
    -- Executing [s@macro-user-callerid:11] Set(&quot;DAHDI/1-1&quot;, &quot;__TTL=64&quot;) in new                                                                                                                      stack<br>
    -- Executing [s@macro-user-callerid:12] GotoIf(&quot;DAHDI/1-1&quot;, &quot;1?continue&quot;) in                                                                                                                      new stack<br>
    -- Goto (macro-user-callerid,s,19)<br>    -- Executing [s@macro-user-callerid:19] NoOp(&quot;DAHDI/1-1&quot;, &quot;Using CallerID &quot;&quot;                                                                                                                      &lt;&gt;&quot;) in new stack<br>
    -- Executing [s@macro-exten-vm:2] Set(&quot;DAHDI/1-1&quot;, &quot;RingGroupMethod=none&quot;) i                                                                                                                     n new stack<br>
    -- Executing [s@macro-exten-vm:3] Set(&quot;DAHDI/1-1&quot;, &quot;VMBOX=200&quot;) in new stack<br>    -- Executing [s@macro-exten-vm:4] Set(&quot;DAHDI/1-1&quot;, &quot;EXTTOCALL=200&quot;) in new s                                                                                                                     tack<br>
    -- Executing [s@macro-exten-vm:5] Set(&quot;DAHDI/1-1&quot;, &quot;CFUEXT=&quot;) in new stack<br>    -- Executing [s@macro-exten-vm:6] Set(&quot;DAHDI/1-1&quot;, &quot;CFBEXT=&quot;) in new stack<br>    -- Executing [s@macro-exten-vm:7] Set(&quot;DAHDI/1-1&quot;, &quot;RT=15&quot;) in new stack<br>
    -- Executing [s@macro-exten-vm:8] Macro(&quot;DAHDI/1-1&quot;, &quot;record-enable,200,IN&quot;)                                                                                                                      in new stack<br>
    -- Executing [s@macro-record-enable:1] GotoIf(&quot;DAHDI/1-1&quot;, &quot;1?check&quot;) in new                                                                                                                      stack<br>
    -- Goto (macro-record-enable,s,4)<br>    -- Executing [s@macro-record-enable:4] AGI(&quot;DAHDI/1-1&quot;, &quot;recordingcheck,2013                                                                                                                     0103-002934,1357190966.4&quot;) in new stack<br>
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br> recordingcheck,20130103-002934,1357190966.4: Inbound recording not enabled<br>    -- &lt;DAHDI/1-1&gt;AGI Script recordingcheck completed, returning 0<br>
    -- Executing [s@macro-record-enable:5] MacroExit(&quot;DAHDI/1-1&quot;, &quot;&quot;) in new sta                                                                                                                     ck<br>
    -- Executing [s@macro-exten-vm:9] Macro(&quot;DAHDI/1-1&quot;, &quot;dial,15,tr,200&quot;) in ne                                                                                                                     w stack<br>
    -- Executing [s@macro-dial:1] GotoIf(&quot;DAHDI/1-1&quot;, &quot;1?dial&quot;) in new stack<br>    -- Goto (macro-dial,s,3)<br>    -- Executing [s@macro-dial:3] AGI(&quot;DAHDI/1-1&quot;, &quot;dialparties.agi&quot;) in new sta                                                                                                                     ck<br>
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi<br> dialparties.agi: Starting New Dialparties.agi<br> dialparties.agi: Caller ID name is &#39;unknown&#39; number is &#39;unknown&#39;<br>       &gt; dialparties.agi: USE_CONFIRMATION:  &#39;FALSE&#39;<br>
       &gt; dialparties.agi: RINGGROUP_INDEX:   &#39;&#39;<br> dialparties.agi: Methodology of ring is  &#39;none&#39;<br>    -- dialparties.agi: Added extension 200 to extension map<br>       &gt; dialparties.agi: Extension 200 has call screening off<br>
    -- dialparties.agi: Extension 200 cf is disabled<br>    -- dialparties.agi: Extension 200 do not disturb is disabled<br>       &gt; dialparties.agi: extnum 200 has:  cw: 1; hascfb: 0 [] hascfu: 0 []<br> dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)<br>
    -- dialparties.agi: DbDel CALLTRACE/200 - Caller ID is not defined<br>    -- dialparties.agi: Filtered ARG3: 200<br>    -- &lt;DAHDI/1-1&gt;AGI Script dialparties.agi completed, returning 0<br>    -- Executing [s@macro-dial:7] Dial(&quot;DAHDI/1-1&quot;, &quot;SIP/200,15,tr&quot;) in new stac                                                                                                                     k<br>
  == Using SIP RTP TOS bits 184<br>  == Using SIP RTP CoS mark 5<br>  == Using SIP VRTP TOS bits 136<br>  == Using SIP VRTP CoS mark 6<br>    -- Called 200<br>&lt;&lt; [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [SIP/200-00000002]<br>
    -- SIP/200-00000002 is ringing<br>&lt;&lt; [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [SIP/200-00000002]<br>    -- SIP/200-00000002 is ringing<br>&lt;&lt; [ HANGUP (NULL) ] [DAHDI/1-1]<br>  == Spawn extension (macro-dial, s, 7) exited non-zero on &#39;DAHDI/1-1&#39; in macro                                                                                                                      &#39;dial&#39;<br>
  == Spawn extension (macro-exten-vm, s, 9) exited non-zero on &#39;DAHDI/1-1&#39; in ma                                                                                                                     cro &#39;exten-vm&#39;<br>
  == Spawn extension (from-did-direct, 200, 1) exited non-zero on &#39;DAHDI/1-1&#39;<br>    -- Hungup &#39;DAHDI/1-1&#39;<br><br><br></div></div></div></div></div>