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 [00212675410...@pstn:1] Set("IAX2/#000105-12477",
"calleeNumber=011212675410113") in new stack
-- Executing [00212675410...@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 [00212675410...@pstn:3] Dial("IAX2/#000105-12477",
"IAX2/mylo...@pstn/011212675410113||S(348)") in new stack
-- Setting call duration limit to 348 seconds.
-- Called mylo...@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 [...@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/mylo...@pstn/${calleeNumber},,S(${SECONDS-REMAINING}))
exten => h,1,DeadAGI(agi://localhost/ManageCalls.agi?when=after)
Thanks in advance for your help
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users