Koozali.org: home of the SME Server

Trunk Unavailable

Offline Teviot

  • *
  • 610
  • +0/-0
Trunk Unavailable
« on: May 08, 2013, 09:11:27 AM »
Hi All

Have an interesting problem.  I have a SPA3103 which is used as an extension and a trunk.  All indecatoin both at the PBX and on the front panel tell me that it is online and ready to go.  However when I dial a number that is routed to the trunk, I get the following

Code: [Select]
  == Using SIP RTP CoS mark 5
    -- Executing [125111@internal:1] AGI("SIP/401-00000002", "sarkhpe,OutCos,125111,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sarkhpe
    -- <SIP/401-00000002>AGI Script sarkhpe completed, returning 0
    -- Executing [125111@401opencos:1] AGI("SIP/401-00000002", "sarkhpe,OutCluster,125111,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Set) Options: (CDR(accountcode)=default)
    -- <SIP/401-00000002>AGI Script sarkhpe completed, returning 0
    -- Executing [125111@qrxvtmny:1] AGI("SIP/401-00000002", "sarkhpe,OutRoute,TELSTRA Service,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Set) Options: (__filename=1367996857-125111-401.wav)
    -- AGI Script Executing Application: (MixMonitor) Options: (/var/spool/asterisk/monitor/1367996857-125111-401.wav,,/bin/sh /opt/sark/scripts/selmix mixmon /var/spool/asterisk/monitor/1367996857-125111-401.wav)
  == Begin MixMonitor Recording SIP/401-00000002
    -- AGI Script Executing Application: (Set) Options: (TIMEOUT(absolute)=14400)
Channel will hangup at 2013-05-08 21:07:37.482 EST.
    -- AGI Script Executing Application: (Dial) Options: (SIP/125111@peer8600,,Tr)
  == Using SIP RTP CoS mark 5
    -- Called SIP/125111@peer8600
    -- Got SIP response 503 "Service Unavailable" back from 192.168.0.6:5061
    -- SIP/peer8600-00000003 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- AGI Script Executing Application: (Playback) Options: (beep)
    -- <SIP/401-00000002> Playing 'beep.gsm' (language 'en-gb')
    -- AGI Script Executing Application: (Playtones) Options: (congestion)
    -- AGI Script Executing Application: (Congestion) Options: ()
    -- <SIP/401-00000002>AGI Script sarkhpe completed, returning 4
  == Spawn extension (qrxvtmny, 125111, 1) exited non-zero on 'SIP/401-00000002'
    -- Executing [h@qrxvtmny:1] Hangup("SIP/401-00000002", "") in new stack
  == Spawn extension (qrxvtmny, h, 1) exited non-zero on 'SIP/401-00000002'
  == MixMonitor close filestream
  == Executing [/bin/sh /opt/sark/scripts/selmix mixmon /var/spool/asterisk/monitor/1367996857-125111-401.wav]
  == End MixMonitor Recording SIP/401-00000002

Any Idea's?

Thanks
Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Trunk Unavailable
« Reply #1 on: May 12, 2013, 09:34:54 PM »
The SPA is sending back
Code: [Select]
Got SIP response 503 "Service Unavailable" back from 192.168.0.6:5061Either it doesn't think the PSTN is there or maybe it doesn't recognise the dialstring you are sending it.   Either way, it's  sulking.

Best

S