Executing Dial("Local/8600051@default-1867,2"

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Executing Dial("Local/8600051@default-1867,2"

Postby ckwall » Tue Nov 21, 2006 2:02 pm

I am trying to figure out why this is trying to dial @default-1867. my context is default. so it does not find the context so it fails as invalid.

Here is the output from when i dial out from the webclient.
http://pastebin.ca/254316

What have I done wrong, and how can I get past it?
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby ramindia » Tue Nov 21, 2006 2:35 pm

Hi

i had the same problem

check this

http://www.eflo.net/VICIDIALforum/viewtopic.php?t=1090


ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby ckwall » Tue Nov 21, 2006 3:34 pm

I guess I am missing something even more then... I am not getting any audio except for the invalid recording... no success message or anything like that.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby mflorell » Tue Nov 21, 2006 3:49 pm

You do not have anything in your extensions.conf dialplan that matches 917275551212.

You need to add something like 91NXXNXXXXXX
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ckwall » Tue Nov 21, 2006 4:04 pm

This is what I had entered to handle that telephone number:


Code: Select all
; dial a long distance outbound number
exten => _91NXXNXXXXXX,1,Dial(IAX2/REC_SERVER_Local_External_Dialer:spherous456@10.0.1.189/${EXTEN:2})
exten => _91NXXNXXXXXX,2,Hangup
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby mflorell » Tue Nov 21, 2006 4:16 pm

is that in the default context?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ckwall » Tue Nov 21, 2006 4:24 pm

Here is my extensions.conf
http://pastebin.ca/254411
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby mflorell » Tue Nov 21, 2006 4:36 pm

When you do an "extensions reload" do you get any errors?

Can you set that Dial trunk account to a Global variable at the top of extensions.conf?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ckwall » Tue Nov 21, 2006 4:43 pm

Here is the output of extensions reload
http://pastebin.ca/254443
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby ckwall » Tue Nov 21, 2006 4:50 pm

I am trying to figure out how to do the trunk line in global for IAX2. I dont quite understand that part
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby ckwall » Tue Nov 21, 2006 4:58 pm

sorry... figured out the Trunkline... all good with that now.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby ckwall » Tue Nov 21, 2006 5:13 pm

that does not seem to make any difference.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby mflorell » Tue Nov 21, 2006 11:40 pm

Is there any reason you do not have any call_log entries in your extensions.conf?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ckwall » Wed Nov 22, 2006 10:56 am

i just copied the example from the scratch install instructions.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby mflorell » Wed Nov 22, 2006 11:36 am

Take a look at the docs/conf_examples/extensions.conf.sample

It looks like you did not follow the SCRATCH_INSTALL all the way through.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ckwall » Wed Nov 22, 2006 11:56 am

ok, thanks... looking at that example. It is much different than the one I was reading. Thank You. I will post my results.
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby ckwall » Wed Nov 22, 2006 12:29 pm

Ok, I am making progress...
I have added a list with my cell number as the number to be dialed. I start the campaign, my phone rings once, then hangs up. Here is the CLI> Output:

Code: Select all
slk-dialer-01*CLI>
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
Nov 22 10:25:33 WARNING[20731]: cdr.c:550 ast_cdr_disposition: Cause not handled
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing MeetMe("Local/8600051@default-e073,2", "8600051") in new stack
    -- Executing AGI("Local/8600051@default-e073,1", "call_log.agi|91801828XXXX") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
  == Parsing '/etc/asterisk/meetme.conf': Found
    -- Playing 'conf-invalid' (language 'en')
    -- AGI Script call_log.agi completed, returning 0
    -- Executing Dial("Local/8600051@default-e073,1", "IAX2/REC_SERVER_Local_Progrexion_Outbound:spherous456@10.0.1.184/1801828XXXX||tTo") in new stack
    -- Called REC_SERVER_Local_Progrexion_Outbound:spherous456@10.0.1.184/1801828XXXX
    -- Call accepted by 10.0.1.184 (format gsm)
    -- Format for call is gsm
    -- IAX2/10.0.1.184:4569-1 is proceeding passing it to Local/8600051@default-e073,1
Nov 22 10:25:36 WARNING[20739]: file.c:1041 ast_waitstream: Unexpected control subclass '15'
  == Manager 'sendcron' logged off from 127.0.0.1
    -- IAX2/10.0.1.184:4569-1 is making progress passing it to Local/8600051@default-e073,1
Nov 22 10:25:38 WARNING[20739]: file.c:1041 ast_waitstream: Unexpected control subclass '14'
  == Manager 'sendcron' logged off from 127.0.0.1
  == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-e073,2'
    -- Executing DeadAGI("Local/8600051@default-e073,2", "call_log.agi|h") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
    -- AGI Script call_log.agi completed, returning 0
    -- Executing DeadAGI("Local/8600051@default-e073,2", "VD_hangup.agi|PRI-----NODEBUG-----0---------------") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
    -- AGI Script VD_hangup.agi completed, returning 0
    -- Hungup 'IAX2/10.0.1.184:4569-1'
  == Spawn extension (default, 91801828XXXX, 2) exited non-zero on 'Local/8600051@default-e073,1'
    -- Executing DeadAGI("Local/8600051@default-e073,1", "call_log.agi|h") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
    -- AGI Script call_log.agi completed, returning 0
    -- Executing DeadAGI("Local/8600051@default-e073,1", "VD_hangup.agi|PRI-----NODEBUG-----0-----CANCEL----------") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
    -- AGI Script VD_hangup.agi completed, returning 0
slk-dialer-01*CLI>
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby ckwall » Wed Nov 22, 2006 2:50 pm

reading other posts for more help... here are some of the things I am finding:
I must have screwed something up, should these have records:

Database changed
mysql> SELECT * from live_channels;
Empty set (0.00 sec)

mysql> SELECT * from live_sip_channels;
Empty set (0.01 sec)

mysql>
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby ckwall » Wed Nov 22, 2006 2:51 pm

also:

[root@slk-dialer-01 astguiclient]# /bin/ps -o "%p %a" --no-headers -A
1 init [5]
2 [ksoftirqd/0]
3 [events/0]
4 [khelper]
5 [kacpid]
32 [kblockd/0]
50 [pdflush]
51 [pdflush]
53 [aio/0]
33 [khubd]
52 [kswapd0]
199 [kseriod]
306 [ata/0]
308 [scsi_eh_0]
309 [scsi_eh_1]
326 [kmirrord]
334 [kjournald]
1508 udevd
2018 [kauditd]
2066 [kjournald]
2668 syslogd -m 0
2672 klogd -x
2694 portmap
2714 rpc.statd
2742 rpc.idmapd
2827 /usr/sbin/acpid
2840 cupsd
2881 /usr/sbin/sshd
2896 xinetd -stayalive -pidfile /var/run/xinetd.pid
2916 sendmail: accepting connections
2924 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
2935 gpm -m /dev/input/mice -t imps2
2945 crond
2968 xfs -droppriv -daemon
2987 /usr/sbin/atd
3006 dbus-daemon-1 --system
3017 rhnsd --interval 240
3027 cups-config-daemon
3038 hald
3047 /bin/sh /usr/sbin/safe_asterisk
3072 /sbin/mingetty tty1
3148 /sbin/mingetty tty2
3182 /sbin/mingetty tty3
3218 /sbin/mingetty tty4
3257 /sbin/mingetty tty5
3299 /sbin/mingetty tty6
3307 /usr/sbin/asterisk -vvvg -c
3337 /usr/bin/gdm-binary -nodaemon
3415 /usr/bin/gdm-binary -nodaemon
3428 /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
3978 /usr/bin/gdmgreeter
4260 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen.pl
4261 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen.pl
4267 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl
4268 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl
4271 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl
4272 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl
4275 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug
4276 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug
4279 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl
4280 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl
4283 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update.pl
4284 /usr/bin/perl /usr/share/astguiclient/AST_update.pl
5077 sshd: kirk [priv]
5089 sshd: kirk@pts/8
5091 -bash
5118 /bin/bash
5440 /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid
5470 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --socket=/var/l
5501 /usr/sbin/httpd
5504 /usr/sbin/httpd
5505 /usr/sbin/httpd
5506 /usr/sbin/httpd
5507 /usr/sbin/httpd
5508 /usr/sbin/httpd
5509 /usr/sbin/httpd
5510 /usr/sbin/httpd
5511 /usr/sbin/httpd
6764 sshd: kirk [priv]
6771 sshd: kirk@pts/7
6772 -bash
6799 /bin/bash
18237 sshd: chris [priv]
18240 sshd: chris@pts/9
18241 -bash
18268 su -
18269 -bash
18425 sshd: chris [priv]
18431 sshd: chris@pts/10
18432 -bash
18459 su -
18460 -bash
28521 nano /etc/asterisk/iax.conf
30427 crond
30428 /usr/bin/perl /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
30458 /bin/ps -o %p %a --no-headers -A
ckwall
 
Posts: 105
Joined: Tue Nov 21, 2006 1:03 pm

Postby mflorell » Wed Nov 22, 2006 11:19 pm

Please post some output for the transfer AGI script that is in the /var/log/astguiclient/agiout.2006-XX-XX log file.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 106 guests