<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt;color:#000000;"><div>Dear list;<br><br>I'm trying for forward some calls to an others asterisk using IAX2 protocol.<br>But My asterisk can forward some calls and for others it hangs up automaticaly.<br>Before my asterisk was working perfectly, i do not know what is happening!!<br>When i try directly zoiper with my provider's asterisk it works perfectly.<br><br>Here is the output from the cli when i made a call that asterisk hangs up:<br><br> Verbosity is at least 3<br> -- Accepting AUTHENTICATED call from 192.168.1.5:<br> > requested format = unknown,<br> > requested prefs = (ulaw|slin|alaw),<br> > actual format = ulaw,<br>
> host prefs = (gsm|ulaw|alaw),<br> > priority = mine<br> -- Executing [00212675410113@pstn:1] Set("IAX2/#000105-12477", "calleeNumber=011212675410113") in new stack<br> -- Executing [00212675410113@pstn:2] AGI("IAX2/#000105-12477", "agi://localhost/ManageCalls.agi?when=before&calleeNumber=011212675410113") in new stack<br> -- AGI Script agi://localhost/ManageCalls.agi?when=before&calleeNumber=011212675410113 completed, returning 0<br> -- Executing [00212675410113@pstn:3] Dial("IAX2/#000105-12477", "IAX2/myLogin@pstn/011212675410113||S(348)") in new stack<br> -- Setting call duration limit to 348 seconds.<br> -- Called myLogin@pstn/011212675410113<br> -- Call accepted by 8.17.37.23 (format ulaw)<br> -- Format for call is ulaw<br> -- Hungup
'IAX2/pstn-533'<br> -- No one is available to answer at this time (1:0/0/0)<br> == Auto fallthrough, channel 'IAX2/#000105-12477' status is 'NOANSWER'<br> -- Executing [h@pstn:1] DeadAGI("IAX2/#000105-12477", "agi://localhost/ManageCalls.agi?when=after") in new stack<br> -- AGI Script agi://localhost/ManageCalls.agi?when=after completed, returning 0<br> -- Hungup 'IAX2/#000105-12477'<br><br>here is my config:<br><br>[pstn]<br>exten=>_00X.,1,Set(calleeNumber=011${EXTEN:2})<br>exten=>_00X.,n,AGI(agi://localhost/ManageCalls.agi?when=before&calleeNumber=${calleeNumber})<br>exten =>_00X.,n,Dial(IAX2/myLogin@pstn/${calleeNumber},,S(${SECONDS-REMAINING}))<br>exten => h,1,DeadAGI(agi://localhost/ManageCalls.agi?when=after)<br><br><br>Thanks in advance for your help<br><br></div>
</div><br>
</body></html>