No Internet Calling Account

58 views
Skip to first unread message

Zeeniya Shah

unread,
May 17, 2013, 2:44:26 PM5/17/13
to csipsim...@googlegroups.com

I have made Sip Client, its making and receiving calls. Now, i want it to make calls using intent.

Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("sip:[number]@[domain]"));
startActivity(callIntent);

But whenever i try to make call through intent my device say "No Internet calling account: There are no Internet calling accounts on this phone. Add one now? "

When i press Add it takes me to Internet calling(Sip) Accounts where i can see account of my own app. But it is not using that account for calls.

Maybe because its not primary account. How can make this account primary? Or any other way of resolving this issue.

Thanks in advance. . .

Régis Montoya

unread,
May 17, 2013, 4:27:35 PM5/17/13
to csipsim...@googlegroups.com
Is CSipSimple installed on the phone? If so, when you launch the intent you should use "csip:[number]@[domain]". The default "sip:" protocol is handled by both csipsimple and the stock sip app. (While csip is only by csipsimple).
The behavior you describe is one of the stock sip app. So either you have not csipsimple installed, either when you launched this intent the first time you had a popup asking which app to use for this action and you did select "Always" and pick the stock SIP dialer of the platform.
--
You received this message because you are subscribed to the Google Groups "CSipSimple Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to csipsimple-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Zeeniya Shah

unread,
May 18, 2013, 4:36:18 AM5/18/13
to csipsim...@googlegroups.com
I was looking that how Csipsimple has implemented that feature that whenever call to sip address is made through phone dialer is asks to complete action using Csipsimple.
I can't found it in the code. Can you please figure it out where it is? 

Régis Montoya

unread,
May 18, 2013, 6:06:59 AM5/18/13
to CSipSimple dev group

Mmmmh I'm not sure to understand your question.
Can you elaborate what you are trying to do?
When you tell you are trying to create a sip client is that building on the top of CSipSimple api? Or on the top of stock Google sip api? On the top of something else (if so what and will it be opensourced?)

Reply all
Reply to author
Forward
0 new messages