[FIXED] Dial Application not installed?

Hi all,

I thought I had an Asterisk installation up and running on a cloud server until today. The problem seems to be that the Dial() Application is missing entirely from the installation. I am working with a SIP-only setup and can connect to Asterisk with XLite by dialing an extension (and hearing “Hello World” or whatever) just fine (NAT isn’t an issue, apparently), but wanted to connect two SIP softphones together using Dial(). Both instances of XLite can dial in to listen to the Hello World and tt-weasels message.

Questions:

  1. The obvious one is why wasn’t Dial() installed to begin with?
  2. Is there a way to install just the Dial application? I spent the morning googling through the various knowledge bases but didn’t come up with anything promising.
  3. If (2) is not possible, should I just wipe and reinstall?
  4. Am I totally missing the essence of what’s going on here (or did I miss something obvious)?

Thanks in advance, let me know if I forgot something important.

Asterisk Warning:

WARNING[3454]: pbx.c:3680 pbx_extension_helper: No application 'Dial' for extension (phones, 502, 1) == Spawn extension (phones, 502, 1) exited non-zero on 'SIP/1000-00000009'

From the CLI (core show version)

Asterisk 1.6.2.6 built by root @ aesDB on a x86_64 running Linux on 2010-03-30 17:04:30 UTC

(core show applications, snipped for relevance)

...
        ClearHash: 
            ConfBridge: 
            Congestion: 
         ContinueWhile: 
       ControlPlayback: 
              DateTime: 
                 DBdel: 
             DBdeltree: 
               DeadAGI: Executes AGI on a hungup channel
               Dictate: 
             Directory: 
                  DISA: 
              DumpChan: 
                  EAGI: Executes an EAGI compliant application
                  Echo: 
              EndWhile: 
                  Exec: 
                ExecIf: 
...

extensions.conf

[code][globals]

[general]

[default]
exten => s,1,Verbose(1,Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()

[incoming_calls]

[internal]
exten => 500,1,Verbose(1,Echo test application)
exten => 500,n,Playback(tt-weasels)
exten => 500,n,Hangup()

exten => 501,1,Answer()
exten => 501,n,Playback(hello-world)
exten => 501,n,Hangup()

exten => 502,1,Dial(SIP/1001,10)
exten => 502,n,Playback(vm-nobodyavail)
exten => 502,n,Hangup()

[phones]
include => internal
[/code]

sip.conf

[code][general]

[1000]
type=friend
nat=yes
username=1000
context=phones
host=dynamic
secret=***

[1001]
type=friend
nat=yes
username=1001
context=phones
host=dynamic
secret=***
[/code]

Any ideas on this at all?

Dear,

The module /usr/lib/asterisk/modules/app_dial.so exists and was loaded correctly?

Good luck! :wink:

Sigh; now I feel stupid. I had forgotten that I had put a “noload” line in modules.conf for “dial” for some [stupid] reason a while back.

Thanks for jogging my memory; seems to be working now.

[quote=“lcvleo”]Dear,

The module /usr/lib/asterisk/modules/app_dial.so exists and was loaded correctly?

Good luck! :wink:[/quote]

LOL
No problem, relax.

I suggest you to edit this post’s title and put a [FIXED] at the end.

[]'s :wink:

Please give me solution.Error shows

warning[1096]: pbx.c:1720 pbx_extension_helper:no application ‘dial’ for extension