Menu

FAQ

Anonymous

Summary

  • Summary
  • Before starting
  • The other party can hear me but I can not hear them
  • Audio not received/sent
  • Call stops after 30 seconds
  • There is no contact list
  • When integrated to android, I don't want some number to be handled by SIP
  • Is there a way to close the application?
  • On 3G I don't always receive calls
  • I receive calls twice / Registration is done on the sip server twice
  • I can't end calls
  • Audio routing troubleshooting
  • When screen goes off sound quality is bad
  • In gingerbread with dialer integration I can't place GSM call anymore
  • I did a mistake when I set up the voice mail number, how can I modify it?
  • I try to use ZRTP + SRTP, but ZRTP doesn't work
  • Cryptography notice

For non listed question, do not hesitate to join and ask on the users group :

http://groups.google.com/group/csipsimple-users (csipsimple-users@googlegroups.com).


Before starting

If you don't know what is SIP and what this program does : WhatIsSIP


The other party can hear me but I can not hear them

  • It's probably a NAT problem. Some networks are NATed network. It means that there is some network equipment between you and the rest of the world that "hide" your IP address to the rest and the world. It results that your SIP client will not announce properly your IP to sip server and other party. So when a call is placed and media stream is established, the remote party doesn't know where to send its stream and you can't hear him.

To solve this problem, you must activate STUN :

Go on setting Settings > Network - Tick "Use Stun" and fill a stun server on the field bellow.

CSipSimple has a default a stun server if you activate STUN option ! (but as soon as you do not activate the STUN setting it is not used), if you want to use another STUN server than the default one, you can see http://www.voip-info.org/wiki/view/STUN Public Stun server section to know what server you could use freely.

You can also try to use ICE in addition to STUN if STUN alone doesn't solve the problem : Settings > Network - Tick "Use ICE"

  • Another possible root cause is a problem with Bluetooth feature. Since the app tries to automatically switch to Bluetooth, but that not all devices ROM gives the correct feedback about actual Bluetooth pairing, it may route audio to some virtual device and so you can't talk in the virtual micro :).

In this case, try to disable Bluetooth option of your phone (even if nothing is paired).

  • If it doesn't help, there is maybe a problem with your device (on some device, manufacturers does strange things with the android audio stack). So report the problem on the issue section.
  • It can also be something with codec negotiation. So it can be interesting to try to disable all codecs but PCMU (aka G711u aka uLaw). To do so, go in settings > media > codecs. And long press each other codecs until you get the popup to tell that you want to disable it.

Audio not received/sent

If you have problem with no audio on one of the side you can start to eliminate some use case before reporting a problem.

  • While in call, you can press the last menu item on the bottom bar that shows a popup with audio activity.

If it's the remote that doesn't ear you, focus on the micro activity :

  1. If you see no activity on the micro bar it's probably a problem with the audio layer of the device. You can try to see the instructions here on Audio troubleshooting. If you report an issue, give your device model and the settings your tried in "audio troubleshooting section".
  2. If you see activity on the micro bar but the remote doesn't here you, the problem is more likely with network. In this case check the STUN settings on the remote side. It's more likely a problem on remote side in this case. (Note : remote side here can be the actual remote sip client or the sip server in the middle if it's a media gateway).

If it's the app that doesn't produce sound, focus on the speaker activity :

  1. If there is activity but you ear nothing, it's probably a problem with the audio layer. Try the Audio troubleshooting instructions and try to change the way the app renders sound (earpiece, speaker, bluetooth, headset). If you report an issue, give your device model, settings you tried in "audio troubleshooting section" and the audio device (earpiece, speaker, bluetooth, headset).
  2. If there is no activity here, it's probably because the app doesn't announce a suitable way to reach it in network negotiation. Please have a look to the instructions about about STUN. It might also be something with codec negotiation. You can try to disable all codecs but one you know to be supported by remote side (Note : remote side here can be the actual remote sip client or the sip server in the middle if it's a media gateway).

Call stops after 30 seconds

This is probably a configuration problem. You should ask your sip provider for settings they expect (particularly whether they expect to be the sip proxy or have a different sip proxy address).

If the call cuts automatically after 30seconds it's because the app never received the confirmation of the fact the call is established. In such situation sip protocol indicates that the call is not valid anymore.


There is no contact list

Just try to make a call using the standard android phone dialer, or clicking a contact in the official contact application ;).... And you'll see that a contact list is not needed at all in the SIP application !!! There is also a quick text search dialer if you switch to text dialing mode, that will search on android contacts.


When integrated to android, I don't want some number to be handled by SIP

I want to automatically add prefix/rewrite some numbers

There is a powerful rewriting/filter/auto-answer tool in CSipSimple (see the UsingFilters wiki page). To access this tool, go on the account on which you want to apply things. Press menu button and choose "Filters". You are now in the tool. Using this tool you can :

  • Rewrite numbers : for example add prefix, suffix, completely replace the number by another one, or apply a custom regexp - if you don't know what a regexp is, don't use it ;).
  • Don't call some numbers : if you don't want some number to be managed by this account, for example call to other mobiles phone etc, you can add an exclude rule. Then when you'll dial from native dialer/contact app if the phone number match this rule, this sip account will not be proposed in the list of choices you have and if there is no SIP account that can handle this number, it will automatically use Mobile without asking you anything
  • Force call some numbers using this account : same thing that the last point, but here it will not exclude, but force the call to use this account and will not ask you for anything.
  • Auto answer : if you want to automatically answer to some phone number, you can add a rule here. It's useful if you are using some call callback feature from your provider.

Is there a way to close the application?

Yes, but you have to configure CSipSimple according to the fact you want to be able to close it !

Let me explain : CSipSimple can run under several setting configuration :

  • "Always available" when you want to be able to receive calls
  • "Only for outgoing calls" when you only want to use sip for outgoing calls (CSipSimple starts when you dial from native dialer or when you launch the application).

When you set "Always available", close option make no sense : indeed, the application will automatically restart when network will change of state... and you'll say me "Hey there's a bug... the app constantly restart itself". By using this profile you tell the software that you want to receive your calls, and it will do it's best to be running when you can receive calls.

However, if you choose "Only for outgoing"... Close option will appear in the menu of CSipSimple dialer! Since here, it make sense to use this option, since the app will never restart itself.


On 3G I don't always receive calls

  • Your carrier network probably cut the UDP connection so that you can't receive calls anymore. To keep your connection alive you have to setup CSipSimple to be more aggressive.

To do so, transform your account into an Expert account (Edit account, press menu, "Choose wizard" and choose Expert). Edit again the account, there is now more settings to set. Try this :

  • Re-Register (register timeout) : 184
  • Keep Alive : 100
  • According your device, you may also try to activate CPU lock.

Switch to ExpertSettingMode and in User interface settings activate "Use partial wake lock".


I receive calls twice / Registration is done on the sip server twice

You SIP server probably don't support fully the RFC and the registration method used by CSipSimple by default is not suitable for your server. Fortunately, there is a way to configure your account to avoid that :

To do so, transform your account into an Expert account (Edit account, press menu, "Choose wizard" and choose Expert). Edit again the account, there is now more settings to set. Try this :

  • Contact rewrite method : legacy
  • (or if it doesn't work try to disable "Allow contact rewrite")

If your server actually doesn't support the latest RFC you may have to wait for about 15 min for the current registration to timeout.

In order to improve CSipSimple, if you are experimenting this issue and that this workaround help, you can inform us about that and tell us what is your SIP provider so that we could add a wizard with this enabled by default.

You can also notify your SIP provider that they are not fully RFC compliant (their server doesn't respect the normalization : and precising them that they do not respect RFC 3261 about contact rewrite method)


I can't end calls

It's possible that your SIP server doesn't support actually TCP (in terms of SIP RFC compliance). Fortunately, there is a way to configure your account to force the use of UDP only :

To do so, transform your account into an Expert account (Edit account, press menu, "Choose wizard" and choose Expert). Edit again the account, there is now more settings to set. Try this :

  • Transport : choose UDP is the list of transport.

In order to improve CSipSimple, if you are experimenting this issue and that this workaround help, you can inform us about that and tell us what is your SIP provider so that we could add a wizard with this enabled by default.


Audio routing troubleshooting

If you are experimenting audio automatically routed through rear speaker instead of earpiece or other problem with audio driver on your phone, it's probably cause manufacturer implement a strange way its audio driver and android official API for routing audio.

Fortunately, there is some common behavior that can be managed by activating some "hacks" in CSipSimple.

To do so :

  1. Install a dev version (HowToInstallDevVersion wiki page).
  2. Switch to ExpertSettingMode (wiki page) global setting section.
  3. Try to play with these settings (available in Media settings > ... (bottom of the list):
    • Use Mode API (try to use this one first and without activating others)
    • Use Routing API.
    • Use tone hack.
    • Use WebRTC implementation
    • Change the micro source (if related to the way micro records - big echo for example)
    • Change Audio Mode for SIP calls

Try each of these settings independently and then in combination.

If one or a combination of that modes helps... well good news for you, you have CSipSimple running correctly on your phone ;). You can then share with me which setting helps so that I can automatically turn on one of the correct hack by default for your device.

To do so, I need the exact device info (the infos announced by android to the application about the device). An easy way to collect these info is to send me logs using my embedded tool : see HowToCollectLogs.

If it doesn't work you can install other apps on the market such as "Device Info" and tell me what are the "Device" and "Product" values.

It's possible that none of these settings helps (for example it's currently a known issue on samsung moment). In this case we have to cross finger for your manufacturer or a custom ROM maker to fix that in the ROM directly. Maybe another hack could be found for your device too, but it requires devs skills and a phone to test on. If you are in this case, you can contact us so that we can give you what to test on source code to troubleshoot the problem.


When screen goes off sound quality is bad

That's cause of the fact your device has special policy when screen goes off. There are a few well known reasons for it:

  • Could be cause of the PSP behavior of the wifi card (see http://code.google.com/p/android/issues/detail?id=9781)
  • Could be due to the fact you have setCPU that change CPU speed when screen goes off.
  • Sometimes "Wi-Fi optimization" in the advanced settings for your Wi-Fi connection can cause packet loss and latency. Try disabling the setting and see if your connection improves.

Fortunately, there is an existing workaround in CSipSimple to prevent screen going off and so keeping up the good call quality. To activate this workaround if not automatically detected by CSipSimple (there is an autodetection done for the PSP behavior).

  1. Switch to ExpertSettingMode (wiki page) global setting section.
  2. In User interface section scroll to "Keep awake while in call" option and activate it

In gingerbread with dialer integration I can't place GSM call anymore

Actually you can, you just don't know how :).

The first prompt you get is there cause both CSipSimple and the stock SIP application can intercept the outgoing call to treat it.

If you choose "Dialer", you actually choose the stock SIP application !! If you choose CSipSimple, you choose the standard process of telephony intent.

So just choose CSipSimple ! You'll see, next you'll have the CSipSimple chooser which allow to choose Mobile call.

If you don't want to be bothered anymore with the stock chooser that propose you between the stock 2.3 SIP application and CSipSimple, in the first popup (which CSipSimple don't and CAN'T manage), there is checkbox to remember your choice.

Activate it and choose CSipSimple. Then you'll not be bothered anymore with this chooser and benefit all powerful features of CSipSimple in terms of Filters and Rewriting rules.

In future release this will not be relevant anymore. You can try nightly builds if you are hurry to get something working well on gingerbread (there is also cool features for gingerbread included in latests nightlies)


I did a mistake when I set up the voice mail number, how can I modify it?

  • First of all, if you have to set up manually the voice mail number of your sip provider it means that the corresponding wizard for this sip provider has not yet the voice mail number automatically configured, so you should ask for that.
  • If this is a non mainstream users provider or if you want to workaround quickly there is an easy solution :
    1. Go in accounts list
    2. Long press on the concerned account
    3. Choose wizard > Expert
    4. Click on the account row
    5. Scroll down to "Voice mail number", change it, and save
    6. Optionally you can revert to the previous wizard by reproducing point 1 to 3.

I try to use ZRTP + SRTP, but ZRTP doesn't work

That's a known limitation. Due to the fact ZRTP is considered as a plugin for pjsip that already manages SRTP it's own way, you should never try to enable SRTP and ZRTP at the same time.

In fact if you do so, pjsip will ignore ZRTP and use SRTP as media adapter.

It's recommanded to use ZRTP that includes features of SRTP if the remote side is known to also support ZRTP. If your remote side is a sip server that only use SRTP and announce it with SIP mechanism, you'll hove to choose SRTP however.


Cryptography notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See <http://www.wassenaar.org/> for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this CSipSimple distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.


Related

Wiki: ExpertSettingMode
Wiki: HowToCollectLogs
Wiki: HowToInstallDevVersion
Wiki: MainSideBar
Wiki: UsingFilters
Wiki: WhatIsSIP

Discussion

<< < 1 2 3 4 5 > >> (Page 3 of 5)
  • Anonymous

    Anonymous - 2011-06-20

    Originally posted by: Chirag.B...@gmail.com

    When I try dialing a number it keeps telling me to add it to the contacts and even when I do it doesn't allow me to make the all not sure if its a tablet issue....

     
  • Anonymous

    Anonymous - 2011-06-22

    Originally posted by: starrych...@oliveyou.net

    If you have a problem with the speakerphone not turning on, but it used to work, go to Expert mode > Media > Use WebRTC Implementation. It still doesn't fix echo over speakerphone, but with mute on it is somewhat useful. D2G.

     
  • Anonymous

    Anonymous - 2011-06-29

    Originally posted by: michaelt...@gmail.com

    I installed on my Samsung Charge and cannot make calls. I am using whistlephone service and it shows REGISTERED. I CAN receive calls and the sound quality is great over 3G. When I try to make a call I hear ringing but I never hear the WhistlePhone? ad or does the phone I am calling ever ring. I am using Verizon in the USA. I have tried changing many of the settings but nothing helps. Can you shed some light as to what I need to do to make calls too.

     
  • Anonymous

    Anonymous - 2011-06-30

    Originally posted by: michaelt...@gmail.com

    Update, inbound calls do not always come through.

     
  • Anonymous

    Anonymous - 2011-07-01

    Originally posted by: iiordanov@gmail.com

    Hi guys,

    I've written a guide on how to combine a SIP client like CSipSimple with Google Voice and Sipgate or IPKall to make free calls to USA and Canada over WiFi? or data without using your voice carrier at all here:

    http://iiordanov.blogspot.com/2009/07/sipdroid-gv-guava.html

    This works from anywhere in the world as long as you have or can create a Google Voice. Also, if you only want to get a US number and receive calls for free, you can follow my other two guides to get a Sipgate or IPKall number:

    http://iiordanov.blogspot.com/2011/06/how-to-get-free-sipgate-account-with-us.html

    or

    http://iiordanov.blogspot.com/2011/06/how-to-get-free-ipkall-us-number-did.html

    Cheers!

     
  • Anonymous

    Anonymous - 2011-10-24

    Originally posted by: zachi...@gmail.com

    Hi guys!

    I´am using csipsimple and no problems most everithing fine.But when I try to make the registration with a Betamax in Portugal with Meo network using a thomson router I can´t but with Mydivert I can. This problem is only with Betamax clone and Meo network.Can You help me please.

     
  • Anonymous

    Anonymous - 2011-10-25

    Originally posted by: xiaoming...@gmail.com

    Hi r3gis, Thanks for the free app. I've got a T-mobile G2x, installed the CSipSimple and am able to receive and make calls through SipSorcery?+Google Voice+IPComms DID over both WiFi? and t-mobile's data.

    There is one problem: when I bridge CSipSimple and a Linksys VoIP adapter directly (through SipSorcery?), everything is fine when CSipSimple is on WiFi?, but not fine on t-mobile data. No matter which side initiates the call, ringing is fine, CSipSimple can hear Linksys box but Linksys can not hear CSipSimple.

     
  • Anonymous

    Anonymous - 2011-11-13

    Originally posted by: mot...@gmail.com

    i have enable Native client integration on CSIP. However, when I call a phone I don't see CSIP in the list (I do see the Regular Dialer and Viber). I'm using it on Samsung S2 with android 2.3.5, any suggestions?

     
  • Anonymous

    Anonymous - 2011-11-13

    Originally posted by: r3gis...@gmail.com

    Choose "regular dialer" it will show up the csipsimple dialer integration !!!

    CSipSimple integrates a different way than skype and viber that does something not really user friendly. The way done by csipsimple allow you to use filtering/rewriting rules and does not always show, but only when necessary. There is already a plugin for skype so that csipsimple integration popup show the skype choose. We should add one for viber to if they also integrate this crappy way.

    On the first popup, choose "dialer" and check "remember my choice". It will always go through csipsimple integration which also allow you to create filtering rules so that the popup is only shown when you actually want to show it. And not always like it's done by other apps.

     
  • Anonymous

    Anonymous - 2011-11-13

    Originally posted by: mot...@gmail.com

    Thank you very much, it worked

     
  • Anonymous

    Anonymous - 2011-11-21

    Originally posted by: simon6...@gmail.com

    i have a NAT problem when i use CsipSimple? under normal router i get the ip address is 192.168.1.101 but i always see the registered info in the proxy is router's WAN IP just like this sip:1925XXXXXXX@112.205.213.81:36897 not sip:1925XXXXXXX@192.168.101.:36897 so i always got one way voice , where i can set this issue ?

     
  • Anonymous

    Anonymous - 2011-11-21

    Originally posted by: r3gis...@gmail.com

    @simon : try the point "I receive calls twice / Registration is done on the sip server twice". With disable the feature.

     
  • Anonymous

    Anonymous - 2011-11-22

    Originally posted by: da...@demarkgroup.com

    how do i send messages from the dialer

     
  • Anonymous

    Anonymous - 2011-12-03

    Originally posted by: patricle...@gmail.com

    Hi I have been using csipsimple for a while now and I have found good sound settings. I am now very satisfied with this application. I am now trying to install a handsfree system in my car. I have installed a mic to use along with my car speakers. My problem is accoustic echo. The other person is hearing his own voice. Since I am not very familiar with echo cancelation, I was hoping to get informations on any settings I could try to make the accoustic echo dissapear. Thank you for this great application. The best I tried yet...

     
  • Anonymous

    Anonymous - 2011-12-05

    Originally posted by: tessneid...@gmail.com

    Hi, I am trying to get my BT earpiece to work with CSip and my Samsung Galaxy tab, and I see there is a sound fix provided for Galaxys under "expert" settings, however, this does not work for me. I did get momentary/intermittent sound through the earpiece by playing with the "Audio mode for SIP calls" setting. Do you have any further recommendations for Galaxy owners? Thanks for helping and thanks too for your great app!

     
  • Anonymous

    Anonymous - 2011-12-08

    Originally posted by: patricle...@gmail.com

    Hi. How can we find out the kind of upgrade that have been made from one nightly builds to the other?

     
  • Anonymous

    Anonymous - 2011-12-11

    Originally posted by: prashy...@gmail.com

    I have setup the CSipSimple on Galaxy SL for using with Nymgo, and it's working perfectly now after some of the configurations such as UDP/Galaxy S Hack etc. Here is the link to it.

    http://technology-shettyprasad.blogspot.com/2011/12/configuring-csipsimple-sip-client-on.html

    and BTW, this FAQ is also very useful in sorting out many issues.

     
  • Anonymous

    Anonymous - 2011-12-28

    Originally posted by: deetf...@gmail.com

    I have a problem when using WiFi? at home. When I'm on a 3G network CSipSimple works properly. When I am connecting through my router on WiFi? the party I call cannot hear audio, but I can hear them. So I set the UDP Port in CSipSimple to 5060 and also forwarded that port in my router to my Phone's IP which is assigned through DHCP. But that did not change anything. Obviously the problem lay somewhere with the configuration I have in my router, but short of the Port fowarding, I'm not sure what to try next?

     
  • Anonymous

    Anonymous - 2012-01-16

    Originally posted by: g...@uax.org.uk

    I have one ringtone for the 'mobile' number and then another for all the SIP accounts.

    Is there any way to have a different ring tone for different SIP accounts? Then I can hear from a distance if it is a more important number that is calling !

     
  • Anonymous

    Anonymous - 2012-01-16

    Originally posted by: stephwes...@gmail.com

    I am trying to register my magic jacks info on my csipsimple application and I have all my info filled in but am getting "error while registering Bad Gateway" ..

     
  • Anonymous

    Anonymous - 2012-01-26

    Originally posted by: jjte...@gmail.com

    Csipsimple doesnt work whith my headset bluetooth... well, It works but i cant hear anything. How to resolve it? Thanks

     
  • Anonymous

    Anonymous - 2012-02-24

    Originally posted by: ger...@holzhueter.com

    I'm using CSipSimple on my "HTC Desire HD" (Android 2.3.5) and also on my "Asus Transformer Prime" (Android 4.0.x) Allways when I missed a call, a sounds starts, which I can't stop. I have to shutdown the mobile or the table. I couldn't find any other way to stop playing the alarm! Can anybody tell me why or how I can solve this problem?

    Thank you in advance Gerrit

     
  • Anonymous

    Anonymous - 2012-03-07

    Originally posted by: dex...@gmail.com

    Bluetooth issue: Atrix(stock rom) + Jawbone ICON, no sound. when the bluetooth radio is on, even if no earset is paired or on speaker mode, sound cannot be heard whatsoever. For this case, Sipdroid works just fine.

    on r1306(latest) and r1297?

     
  • Anonymous

    Anonymous - 2012-04-09

    Originally posted by: countryc...@gmail.com

    Samsung Galaxy Mini with CSIPSIMPLE. Will not answer call. Any Ideas ?

     
  • Anonymous

    Anonymous - 2012-05-03

    Originally posted by: symonman...@gmail.com

    I am having trouble with volume on LG p990. Using Engin Voip Australia codec G729.

     
<< < 1 2 3 4 5 > >> (Page 3 of 5)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.