Project

General

Profile

Softphone Does Not Receive Initial Incoming Call, and You have been disconnected

Added by Andrew B over 9 years ago

I downloaded and installed Goautodial 3.3

When I login as an agent the softphone does not receive any incoming call and within a few seconds it says "You have been disconnected".

I followed the Getting Started guide, all went well until the final step where it did not call the softphone.

The softphone is registered, this is confirmed by asterisk CLI. I opened the firewall for testing, it did not help.

Then I noticed the /etc/asterisk/meetme.conf file had the following:
~~~~~~~~~~~~~~~~
[rooms]
conf => 8600
conf => 8601,1234

#include meetme-vicidial.conf
~~~~~~~~~~~~~~~~
I added "conf => 8607" since I login as agent007... (I reloaded asterisk) that didn't help, so I took it back out.

The only thing interesting in the asterisk log file is:

[Sep 9 01:16:05] NOTICE2619 channel.c: Unable to request channel SIP/8001

I ran the update_server_ip command. I have alaw, ulaw, gsm and more in softphone. I am using jitsi.

I notice that the vicidial_conferences table shows:

conf_exten server_ip extension leave_3way leave_3way_datetime

8600051 999.999.999.999 SIP/8001 0 NULL

8600052 999.999.999.999 0 NULL

8600053 999.999.999.999 0 NULL

(IP address redacted of course). Note the extension, SIP/8001. Since I don't know what this table is supposed to look like, I don't know if that's normal?

From the phones table:

Full Texts extension dialplan_number voicemail_id phone_ip computer_ip server_ip login pass status active
Edit Delete 8001 8001 8001 192.168.1.2 999.999.999.999 8001 goautodial ACTIVE Y
Edit Delete 8002 8002 8002 999.999.999.999 8002 goautodial ACTIVE Y
Edit Delete 8003 8003 8003 999.999.999.999 8003 goautodial ACTIVE Y
Edit Delete 8004 8004 8004 999.999.999.999 8004 goautodial ACTIVE Y
Edit Delete 8005 8005 8005 999.999.999.999 8005 goautodial ACTIVE Y
Edit Delete 8006 8006 8006 999.999.999.999 8006 goautodial ACTIVE Y
Edit Delete 8007 8007 8007 999.999.999.999 8007 goautodial ACTIVE Y

The server IP is correct, but I don't know where that computer IP of 192.168.1.2 comes from or if it matters. I don't know if any of this is relevant to my problem.

Please advise.

Thank you


Replies (6)

RE: Softphone Does Not Receive Initial Incoming Call, and You have been disconnected - Added by Andrew B over 9 years ago

Since I've not gotten any response here, I decided to do a little experimenting. I cleared out the extraneous data in the two tables mentioned above, and now it put the proper IP address in the 8001 row of the phones table. While that's encouraging, it didn't resolve the issue. Plus it brings up the question of why it's putting my info in that row, when I'm logging in as agent007, NOT agent001.

In event, I'm now getting some additional details in the asterisk log file:

[Sep 9 19:50:00] NOTICE17281 chan_sip.c: Failed to authenticate device 200<sip:200@serverIPredacted>;tag=0ff90fe6
[Sep 9 19:50:01] VERBOSE29356 manager.c: [Sep 9 19:50:01] Manager 'sendcron' logged on from 127.0.0.1 (lots of these, I deleted since they don't add any value to this discussion).

[Sep 9 19:50:44] VERBOSE[29461] pbx.c: [Sep 9 19:50:44] -- Executing [55558600051@default:1] MeetMeAdmin("Local/55558600051@default-00000005;2", "8600051,K") in new stack
[Sep 9 19:50:44] WARNING[29461] app_meetme.c: Conference number '8600051' not found!
[Sep 9 19:50:44] VERBOSE[29461] pbx.c: [Sep 9 19:50:44] -- Executing [55558600051@default:2] Hangup("Local/55558600051@default-00000005;2", "") in new stack
[Sep 9 19:50:44] VERBOSE[29461] pbx.c: [Sep 9 19:50:44] Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-00000005;2'
[Sep 9 19:50:44] VERBOSE29461 pbx.c: [Sep 9 19:50:44] -- Executing [h@default:1] AGI in new stack
[Sep 9 19:50:44] VERBOSE29461 res_agi.c: [Sep 9 19:50:44] -- <Local/55558600051@default-00000005;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0

Hopefully this is enough to generate some ideas from someone. I did notice that in another thread that someone had the identical problem, and he said there were lines missing from one of the .conf files (extensions.conf I think it was?). Unfortunately, he failed to provide sufficient information to enable fixing the problem. Maybe someone else knows what those missing lines are?

RE: Softphone Does Not Receive Initial Incoming Call, and You have been disconnected - Added by Demian Biscocho over 9 years ago

Looks like your IP address was set to: 999.999.999.999. Before doing the install make sure that your server can get a proper public IP address via DHCP. Follow the Getting Started Guide closely and you'll be OK.

RE: Softphone Does Not Receive Initial Incoming Call, and You have been disconnected - Added by Andrew B over 9 years ago

Thank you for your response, but that was redacted as previously stated.

RE: Softphone Does Not Receive Initial Incoming Call, and You have been disconnected - Added by striker 247 over 9 years ago

1. did you update your ip properly in database by running /usr/share/astguiclient/ADMIN_update_server_ip.pl command.
2. did u manually assiging ip to the phones which u r creating or its displaying in dropdown for selection.

try this.
go to phones , conferences, vicidial conference, and servers page. and see waht ip is shwoing in server_ip field.

br
striker
www.striker24x7.blogspot.com

RE: Softphone Does Not Receive Initial Incoming Call, and You have been disconnected - Added by Andrew B over 9 years ago

Thank you for taking the time to help.

1. Yes, I ran /usr/share/astguiclient/ADMIN_update_server_ip.pl
2. I don't really understand what you're asking, but the following is from system_settings->phones (with X added)

EXTEN      PROTOCOL      SERVER      DIAL PLAN      STATUS      NAME      VMAIL      GROUP         
8001 SIP xx9.xx5.xx2.1x4 8001 ACTIVE 8001 0 0 ALL USER GROUPS
8002 SIP xx9.xx5.xx2.1x4 8002 ACTIVE 8002 0 0 ALL USER GROUPS
8003 SIP xx9.xx5.xx2.1x4 8003 ACTIVE 8003 0 0 ALL USER GROUPS
8004 SIP xx9.xx5.xx2.1x4 8004 ACTIVE 8004 0 0 ALL USER GROUPS
8005 SIP xx9.xx5.xx2.1x4 8005 ACTIVE 8005 0 0 ALL USER GROUPS
8006 SIP xx9.xx5.xx2.1x4 8006 ACTIVE 8006 0 0 ALL USER GROUPS
8007 SIP xx9.xx5.xx2.1x4 8007 ACTIVE 8007 0 0 ALL USER GROUPS
.
.
.
8020 ...

In mySQL, I have checked the following tables: phones, conferences, vicidial conference, and servers. All have the correct server IP.

However, now upon retesting... it does in fact ring the softphone and put me in the conference. I made no additional changes to anything, other than restarting apache - and I think I may have restarted mysqld the other day as well but I don't remember for sure. It's possible I missed doing that for the original install, I can't be certain.

In any case, thank you!

    (1-6/6)
    Go to top