3CX Phone and Asterisk

Forum for the 3CX SIP phone client (Sip phone) User to User - Answers are provided by the community. 3CX does NOT provide technical support via this forum.

Moderators: kevin, 3CX staff

3CX Phone and Asterisk

Postby freestart » Mon Mar 22, 2010 5:28 pm

Hi,

I recently installed the 3CX softphone as we were having problems with X-Lite today. The agents we have actually prefer it to X-Lite. It works great with the one acception that it seems to keep ringing even on calls with invalid numbers. I can see in the logs the playback of the 'all circuits are busy' recording but 3CX just keeps ringing indefinitely. I have played about with the supress early media with no effect.

Thanks,

Mark
freestart
New User
 
Posts: 3
Joined: Mon Mar 22, 2010 5:20 pm

Re: 3CX Phone and Asterisk

Postby leejor » Mon Mar 22, 2010 5:56 pm

There is an option to "suppress early audio", I think that's how it's phrased. This seems to stop the ringback tone that by default, begins after you've dialled a number.
leejor
3CX Valued Professional
3CX Valued Professional
 
Posts: 4268
Joined: Tue Jan 22, 2008 7:54 pm
Location: WEsT Coast of Canada

Re: 3CX Phone and Asterisk

Postby Vali_3CX » Tue Mar 23, 2010 8:35 am

Hi, Mark

- When you call an invalid number, the display shows "ringing"?
- If you click the hang-up (cancel call) button, line become on-hook and ringing sound stops?
- Which 3CXPhone version do you have? I'm asking because on recent versions you can enable phone's SIP logging. Therefore, we can check if phone receive the 404 (not found) signal. To do this
- exit the phone.
- with a text editor, open "C:\Documents and Settings\Mark\Local Settings\Application Data\3CX VoIP Phone\3CXVoipPhone.ini"
- under [General] section, search for SipTraceLog parameter and set it to 1
- save the file
- start the phone and call an invalid number and let it ring for a while.
- drop the call and exit the phone.
- send the "C:\Documents and Settings\Mark\Local Settings\Application Data\3CX VoIP Phone\Logs\PhoneSIP.log" to me by PM.

Regards
vali

P.S Usually, 3CXphone requires SIP logging only for debugging purposes, so my advice is to set SipTraceLog back to 0 after this.
3CXPhone software developer
Vali_3CX
3CX Support
3CX Support
 
Posts: 901
Joined: Fri Dec 12, 2008 4:11 pm
Location: Nicosia, Cyprus

Re: 3CX Phone and Asterisk

Postby freestart » Tue Mar 23, 2010 10:31 am

Hi Vali,

Thanks for the quick and detailed response (a lot better than I got from Counterpath yesterday).

- When you call an invalid number, the display shows "ringing"?
As soon as dial button pressed it starts playing ringing tones (before PRI even established). This is true for both valid and invalid numbers. I have tried supress early media on and off no difference to that.

Valid number connects. Invalid number continues to ring even though a call trace on the extension in Asterisk shows it playing message 'All Circuits Are Busy' (standard invalid number message)...

- Which 3CXPhone
Latest one downloaded yesterday.

- Enabled SIPTraceLog but doesn't seem to generate anything in the log folder. Might be because I am using Server 2008R2 (essentially Windows7). I changed the configuration in the following path as correct for this version of windows;

C:\Users\mark.gerrard\AppData\Local\3CX VoIP Phone

I can see the log folder but nothing generated in it on valid or invalid call. I have run 3CX as Administrator in case of permission issues...

Mark
freestart
New User
 
Posts: 3
Joined: Mon Mar 22, 2010 5:20 pm

Re: 3CX Phone and Asterisk

Postby Vali_3CX » Tue Mar 23, 2010 10:58 am

Hi, Mark

First of all, it's a very simple way to see if the ringing sound you hear is the one provided by 3CXPhone or is the "early media" provided by PBX:

- having 3CXPhone in "on-hook" state (or not running), go to the C:\Program Files\3CXPhone\Sounds and rename Alerting.wav as, let's say _Alerting.wav, then make the call. If you will not hear any ringing sound, that means the sound is this one; if you will still hear the sound, it means is the "early-media" one. I suspect it's 3CXphone's sound, however. If is early media-sound, then we will have to check why its changing has no effect. (Don't forget to rename the _Alerting.wav back)

Now, about missing sip logfile, it's weird - I don't think is related to OS or privileges, otherwise no other files - configuration, call history, phonebook - would be saved :roll: I will have to check this. The only requirement is 3CXPhone application to be restarted to read that parameter. However, meantime, if you're familiar with the Wireshark, a capture of such call will be very useful, so if you can provide one, please send it to my be PM.

Regards
vali
3CXPhone software developer
Vali_3CX
3CX Support
3CX Support
 
Posts: 901
Joined: Fri Dec 12, 2008 4:11 pm
Location: Nicosia, Cyprus

Re: 3CX Phone and Asterisk

Postby freestart » Thu Apr 08, 2010 12:47 pm

Hi Vali,

Thanks for your response. Sorry it has taken me a while to reply. I haven't had chance to do the Wireshark yet but it seems to have semi-resolved itself now which is weird. It was 3CX ringing as I tested by renaming the file like you suggested. It is playing invalid number / busy tones now but once the 3CX file renamed it has the ringing sound playing at the same time as the invalid number message from Asterisk. Do you know how I could fix this?

Thanks,

Mark
freestart
New User
 
Posts: 3
Joined: Mon Mar 22, 2010 5:20 pm

Re: 3CX Phone and Asterisk

Postby Vali_3CX » Wed Apr 28, 2010 8:54 am

freestart wrote:Enabled SIPTraceLog but doesn't seem to generate anything in the log folder. Might be because I am using Server 2008R2 (essentially Windows7). I changed the configuration in the following path as correct for this version of windows

Hi, Mark
By luck, this behavior happened to me also on a "ordinary" testing XP machine. After digging for reason, I found something unexpected (for me):
- I was logged in as user Vali; therefore I expected that everything related to the 3CXPhone to be located in
C:\Documents and Settings\Vali\Local Settings\Application Data\3CX VoIP Phone\
Surprisingly, this doesn't happened. Instead, everything were in
C:\Documents and Settings\Administrator\Local Settings\Application Data\3CX VoIP Phone\
Including configuration file and logs.
The reason of this behavior: account Vali has been created as an alias of Administrator, not as an account having administrative rights.
Hope I explained OK.
So, please check if your case is not about something like this.
Regards
vali
3CXPhone software developer
Vali_3CX
3CX Support
3CX Support
 
Posts: 901
Joined: Fri Dec 12, 2008 4:11 pm
Location: Nicosia, Cyprus


Return to 3CX VoIP Phone (Community-led, no tech support)


Who is online

Users browsing this forum: No registered users and 1 guest

Announcements: