Oh, for god's sake.

how stupid is I am feeling :)

My brain cell is feeling very ashamed.

Julian.

James FitzGibbon wrote:
> On 8/3/07, Julian Lyndon-Smith <[EMAIL PROTECTED]> wrote:
>> why if I call the Busy or Congestion extensions, the DIALSTATUS and
>> HANGUPCAUSE variables are not set ?
>>
>> If I call (say) extension 1234 all things are set ok.
> 
> 
> I think you've answered your own question there.  The only asterisk
> application that sets DIALSTATUS is Dial().  If you grep the source, you'll
> see that the value is retrieved by some other modules (chan_sip, chan_iax,
> etc.), but only Dial() sets the value of the variable.
> 
> I assume when you say "when I call the Busy extension" you mean something
> like a SIP user whose context is "outgoing" doing an INVITE to "
> [EMAIL PROTECTED]".  If so, you're bridging a SIP call leg to an asterisk
> application, so Dial() isn't invoked and DIALSTATUS isn't set.
> 
> It might work if you did an invite to an extension that used Dial() to call
> a Local channel (e.g. Local/[EMAIL PROTECTED]), but I'm not sure how 
> DIALSTATUS
> would interact with the /n option on the local channel.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to