Matt Schulte wrote:
I am connecting Asterisk to Asterisk to PSTN (Either by SIP or PRI) and am having some issues dealing with busy signals. I have the HANGUPCAUSE dial result macro in place to generate my hangup causes. I get a hangupcause on my "gateway" machine with a code of 34, here's the code:
... -snip- exten => hangupcause+34,1,Busy
It does in fact pass this on to the "IAD" asterisk machine as it saw the following:
-- IAX2/x.x.x.x:4569/1 is busy -- Hungup 'IAX2/x.x.x.x:4569/1' == Everyone is busy/congested at this time -- Executing Macro("Zap/2-1", "dial-result") in new stack -- Executing NoOp("Zap/2-1", "HANGUPCAUSE is 0") in new stack
The last line doesn't make sense to me, if it knows it's a busy signal why on earth would it use code 0? (code 0 is "NOTDEFINED") Is there another way to handle these calls?
This is in my extensions.conf, as an example:
exten => _.,1,Dial(IAX2/xxxx:[EMAIL PROTECTED]/${EXTEN}) exten => _.,2,Macro(dial-result)
On priority 2 I want to avoid using "Busy", makes sense?
begin:vcard fn:Eric Wileing n:Wileing;Eric email;internet:[EMAIL PROTECTED] tel;work:504-899-1387 x2120 x-mozilla-html:FALSE version:2.1 end:vcard
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
