Koozali.org: home of the SME Server

-708 and Callback function

Offline ldkeen

  • *
  • 403
  • +0/-0
-708 and Callback function
« on: January 21, 2009, 03:17:01 AM »
I'm not sure if I'm doing something wrong or not, but at some point during the last set of upgrades my Callback function stopped working. I've tried making an outgoing call using the pre-select for the callback trunk and it works fine, but when I dial into the callback number I get the "no one is available..." message but never get the callback. Here's the full debug output:
Code: [Select]
AGI Debugging Enabled
    -- Executing [61262237082@mainmenu:1] AGI("SIP/61262237082-b7c9d458", "selintra|Inbound|61262237082") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
AGI Tx >> agi_request: selintra
AGI Tx >> agi_channel: SIP/61262237082-b7c9d458
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1232503441.285
AGI Tx >> agi_callerid: 0425233155
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 61262237082
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: mainmenu
AGI Tx >> agi_extension: 61262237082
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << GET VARIABLE EXTLEN
AGI Tx >> 200 result=1 ()
AGI Rx << GET VARIABLE EXTLEN
AGI Tx >> 200 result=1 ()
AGI Rx << GET VARIABLE RINGDELAY
AGI Tx >> 200 result=1 (2)
AGI Rx << GET VARIABLE FAXDETECT
AGI Tx >> 200 result=1 (2)
AGI Rx << GET VARIABLE CALLRECORD2
AGI Tx >> 200 result=1 (One-Touch)
AGI Rx << GET VARIABLE LTERM
AGI Tx >> 200 result=1 (YES)
AGI Rx << SET VARIABLE MOH "S"
AGI Tx >> 200 result=1
AGI Rx << SET CALLERID 0425233155
AGI Tx >> 200 result=1
AGI Rx << EXEC Ringing
    -- AGI Script Executing Application: (Ringing) Options: ((null))
AGI Tx >> 200 result=0
AGI Rx << EXEC Wait 2
    -- AGI Script Executing Application: (Wait) Options: (2)
AGI Tx >> 200 result=0
AGI Rx << DATABASE GET "STAT" "OCSTAT"
AGI Tx >> 200 result=1 (AUTO)
AGI Rx << SET VARIABLE REMOTENUM "61262237082"
AGI Tx >> 200 result=1
AGI Rx << GET VARIABLE MTIME
AGI Tx >> 200 result=1 (ON)
AGI Rx << GET VARIABLE VOICEINSTR
AGI Tx >> 200 result=1 (YES)
AGI Rx << SET VARIABLE OPEN "YES"
AGI Tx >> 200 result=1
AGI Rx << DATABASE GET "STAT" "IVRSTAT"
AGI Tx >> 200 result=0
AGI Rx << GET VARIABLE SYSOP
AGI Tx >> 200 result=1 (5000)
AGI Rx << EXEC Congestion
    -- AGI Script Executing Application: (Congestion) Options: ((null))
AGI Tx >> 200 result=-1
  == Spawn extension (mainmenu, 61262237082, 1) exited non-zero on 'SIP/61262237082-b7c9d458'
    -- Executing [h@mainmenu:1] Hangup("SIP/61262237082-b7c9d458", "") in new stack
  == Spawn extension (mainmenu, h, 1) exited non-zero on 'SIP/61262237082-b7c9d458'
[Jan 21 13:04:14] NOTICE[5552]: pbx_spool.c:175 apply_outgoing: Channel should be in form Tech/Dest at line 1 of /var/spool/asterisk/outgoing/call200901201852.19
[Jan 21 13:04:14] WARNING[5552]: pbx_spool.c:245 apply_outgoing: At least one of app or extension must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/call200901201852.19
[Jan 21 13:04:14] WARNING[5552]: pbx_spool.c:413 scan_service: Invalid file contents in /var/spool/asterisk/outgoing/call200901201852.19, deleting
[Jan 21 13:04:14] WARNING[5552]: pbx_spool.c:461 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/call200901201852.19'
[Jan 21 13:04:14] NOTICE[5552]: pbx_spool.c:175 apply_outgoing: Channel should be in form Tech/Dest at line 1 of /var/spool/asterisk/outgoing/call200901201853.07
[Jan 21 13:04:14] WARNING[5552]: pbx_spool.c:245 apply_outgoing: At least one of app or extension must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/call200901201853.07
[Jan 21 13:04:14] WARNING[5552]: pbx_spool.c:413 scan_service: Invalid file contents in /var/spool/asterisk/outgoing/call200901201853.07, deleting
[Jan 21 13:04:14] WARNING[5552]: pbx_spool.c:461 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/call200901201853.07'
    -- Attempting call on SIP/0425233155@ for 0425233155@default-callback:1 (Retry 1)
[Jan 21 13:04:14] WARNING[7378]: chan_sip.c:2921 create_addr: No such host:
[Jan 21 13:04:14] NOTICE[7378]: channel.c:2863 __ast_request_and_dial: Unable to request channel SIP/0425233155@
[Jan 21 13:04:14] NOTICE[7378]: pbx_spool.c:341 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
[Jan 21 13:04:15] NOTICE[5552]: pbx_spool.c:175 apply_outgoing: Channel should be in form Tech/Dest at line 1 of /var/spool/asterisk/outgoing/call200901201852.19
[Jan 21 13:04:15] WARNING[5552]: pbx_spool.c:245 apply_outgoing: At least one of app or extension must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/call200901201852.19
[Jan 21 13:04:15] WARNING[5552]: pbx_spool.c:413 scan_service: Invalid file contents in /var/spool/asterisk/outgoing/call200901201852.19, deleting
[Jan 21 13:04:15] WARNING[5552]: pbx_spool.c:461 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/call200901201852.19'
[Jan 21 13:04:15] NOTICE[5552]: pbx_spool.c:175 apply_outgoing: Channel should be in form Tech/Dest at line 1 of /var/spool/asterisk/outgoing/call200901201853.07
[Jan 21 13:04:15] WARNING[5552]: pbx_spool.c:245 apply_outgoing: At least one of app or extension must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/call200901201853.07
[Jan 21 13:04:15] WARNING[5552]: pbx_spool.c:413 scan_service: Invalid file contents in /var/spool/asterisk/outgoing/call200901201853.07, deleting
[Jan 21 13:04:15] WARNING[5552]: pbx_spool.c:461 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/call200901201853.07'
Regards, Lloyd

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: -708 and Callback function
« Reply #1 on: January 24, 2009, 09:27:28 PM »
Fixed in -711

:)


S