[asterisk-users] Asterisk hangs up for some calls

Adil Zaaraoui adilzeaaraoui at yahoo.fr
Tue Jun 15 13:29:18 CDT 2010


Dear list;

I'm trying for forward some calls to an others asterisk using IAX2 protocol.
But My asterisk can forward some calls and for others it hangs up automaticaly.
Before my asterisk was working perfectly, i do not know what is happening!!
When i try directly zoiper with my provider's asterisk it works perfectly.

Here is the output from the cli when i made a call that asterisk hangs up:

 Verbosity is at least 3
    -- Accepting AUTHENTICATED call from 192.168.1.5:
       > requested format = unknown,
       > requested prefs = (ulaw|slin|alaw),
       > actual format = ulaw,
       > host prefs = (gsm|ulaw|alaw),
       > priority = mine
    -- Executing [00212675410113 at pstn:1] Set("IAX2/#000105-12477", "calleeNumber=011212675410113") in new stack
    -- Executing [00212675410113 at pstn:2] AGI("IAX2/#000105-12477", "agi://localhost/ManageCalls.agi?when=before&calleeNumber=011212675410113") in new stack
    -- AGI Script agi://localhost/ManageCalls.agi?when=before&calleeNumber=011212675410113 completed, returning 0
    -- Executing [00212675410113 at pstn:3] Dial("IAX2/#000105-12477", "IAX2/myLogin at pstn/011212675410113||S(348)") in new stack
    -- Setting call duration limit to 348 seconds.
    -- Called myLogin at pstn/011212675410113
    -- Call accepted by 8.17.37.23 (format ulaw)
    -- Format for call is ulaw
    -- Hungup 'IAX2/pstn-533'
    -- No one is available to answer at this time (1:0/0/0)
  == Auto fallthrough, channel 'IAX2/#000105-12477' status is 'NOANSWER'
    -- Executing [h at pstn:1] DeadAGI("IAX2/#000105-12477", "agi://localhost/ManageCalls.agi?when=after") in new stack
    -- AGI Script agi://localhost/ManageCalls.agi?when=after completed, returning 0
    -- Hungup 'IAX2/#000105-12477'

here is my config:

[pstn]
exten=>_00X.,1,Set(calleeNumber=011${EXTEN:2})
exten=>_00X.,n,AGI(agi://localhost/ManageCalls.agi?when=before&calleeNumber=${calleeNumber})
exten =>_00X.,n,Dial(IAX2/myLogin at pstn/${calleeNumber},,S(${SECONDS-REMAINING}))
exten => h,1,DeadAGI(agi://localhost/ManageCalls.agi?when=after)


Thanks in advance for your help


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100615/19528bca/attachment.htm 


More information about the asterisk-users mailing list