[Asterisk-Users] disa hangs up on me

Michael George george at mutualdata.com
Fri Oct 29 04:27:52 MST 2004


I have confirmed that DISA is the culprit.  If I remove DISA from the s exten,
ti works as I would expect -- I can dial internal extensions after getting in
via iax.

DISA is an important part of the office dialplan, though, as it allows us to
call in from outside and get an internal line to dial out.

I turned on debugging and if I have a passcode present and I enter it followed
by the # key, I can see "app_disa.c:268 disa_exec: DISA on chan
IAX2/squeaker at 216.157.203.105:4569/2 password is good" and " app_disa.c:276
disa_exec: Successful DISA log-in on chan
IAX2/squeaker at 216.157.203.105:4569/2" messages, so I know I'm getting logged
in.

However, as soon as I hit another digit, I get:
-------------------
Oct 29 07:21:45 DEBUG[131080]: chan_iax2.c:5489 socket_read: Immediately
destroying 2, having received hangup

== Spawn extension (internal, s, 2) exited non-zero on 'IAX2/squeaker at 216.157.203.105:4569/2'

Oct 29 07:21:45 DEBUG[262160]: chan_iax2.c:2403 iax2_hangup: We're hanging up IAX2/squeaker at 216.157.203.105:4569/2 now...

Oct 29 07:21:45 DEBUG[262160]: chan_iax2.c:2412 iax2_hangup: Really destroying IAX2/squeaker at 216.157.203.105:4569/2 now...

-- Hungup 'IAX2/squeaker at 216.157.203.105:4569/2'

-------------------


The digit I entered was 7.  If I take DISA out of the loop I get no dialtone,
but entering 773 will play sample sounds, as I would expect.

Has the operation of DISA() changed, or maybe something else in * since the
older CVS version I have that might be causing this?

Thanks!

On Thu, Oct 28, 2004 at 10:25:27PM -0400, Michael George wrote:
> I'm having a problem with DISA().  On my home system, I have the local
> extensions starting in [internal].  The s extension in [internal] has a NoOp()
> for debugging on s,1 and DISA(no-password,internal) at s,2.  This allows me to
> return to internal,s,1 and get a dialtone again.  Like after leaving voice
> mail or something.
> 
> I have the same thing set up in the office, but that one doesn't work right.
> I've only been able to test it with my Grandstream so far and dialing in via
> IAX from home (so I can dial an extension from home and get plopped into
> [internal] at work).
> 
> The DISA() call works just fine, I get the dialtone and all, but as soon as I
> send a button press, it hangs up on me.  It doesn't go to the invalid
> extension or anything, I just get 
> 
> -- Executing DISA("IAX2/squeaker at 216.157.203.105:4569/1", "no-password| internal") in new stack
> == Spawn extension (internal, s, 2) exited non-zero on 'IAX2/squeaker at 216.157.203.105:4569/1'
> -- Hungup 'IAX2/squeaker at 216.157.203.105:4569/1'
> 
> from the IAX connection and something similar on SIP.
> 
> The main difference between the two is that the home (working) system is
> running CVS-HEAD-09/21/04 and the work system (not working) is running
> CVS-v1-0-10/28/04 (the latest, I beleive).
> 
> Is there something changed in DISA that it won't work for me to loop back to
> my internal context and give a dialtone?
> 
> Thanks!
> 
> -- 
> -M
> 
> There are 10 kinds of people in this world:
> 	Those who can count in binary and those who cannot.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> ---
> [This E-mail scanned for viruses by Declude Virus]
> 

-- 
-M

There are 10 kinds of people in this world:
	Those who can count in binary and those who cannot.



More information about the asterisk-users mailing list