pjsip and iOS5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It seems NAT service must be there in the network where you are trying to establish a voip sip connection. Without IP address resolution the application
will not work. After bringing two iOS devices under a NAT enabled network I am be able to connect using two sip accounts. Also there is a lot of noise/disturbance in the call and actual voice is too low and one needs a lot of concentration to understand it. Do I need to make any particular selection in the list of Codecs or any other thing to change?

Thanks



On 27-Jul-2012, at 7:08 PM, Chakrit Wichian wrote:

I got that as well. It is fine. PJSIP will still works even if there's no STUN server.

Make sure you have all the files up-to-date with what I just pushed a few mails back, not just that GSE file.

- chakrit
http://chakrit.net


On Friday, July 27, 2012 at 7:53 PM, Parvez Qureshi wrote:

sorry for an incomplete info on the issue. May be it is due to this

NAT type detection failed: Invalid STUN server or server not configured (PJNATH_ESTUNINSERVER)

The above statement is also being consoled. Is it due to stun server not found or external ip address
resolution getting failed.

Thanks




On 27-Jul-2012, at 5:37 PM, Chakrit Wichian wrote:

Just replacing the file will not work. The changes I've pushed are more than just that file.

Why don't you just do a proper git checkout?

- chakrit
http://chakrit.net<http://chakrit.net/>


On Friday, July 27, 2012 at 7:02 PM, Parvez Qureshi wrote:

After replacing GSEConfigurationViewController from github and using your hard coded account information
on simulator it gives invalid account info status when tapping on connect button.
Also make call button remains disabled. Seems connect-->register process still remains
incomplete

Thanks



On 27-Jul-2012, at 4:25 PM, Chakrit Wichian wrote:

Regarding test accounts, you can just use what I hard-coded in there. Just check the GSEConfigurationViewController.m file.

About setting up 2 accounts, I have _thought_ about it and I have the checks and code in place (Theoretically you should be able to setup multiple GSAccount instances and connect them all at once.) but I havn't really put any time in testing that which is why GSUserAgent only expose one GSAccount right now.

Plus, I am not sure about the "server" part tho. I build it from the ground up intending it to be for client-side code.

About getonsip, you might want to check the spam folder. They mail servers are very low-rated IIRC.

- chakrit
http://chakrit.net<http://chakrit.net/>


On Friday, July 27, 2012 at 5:48 PM, Parvez Qureshi wrote:

it seems that the sample project with pjsip i.e. ipjsua sets up a local sip server with two accounts created. Correct me if i am wrong.

Can't we do similar things with your library?

Thanks

On 27-Jul-2012, at 1:28 PM, Chakrit Wichian wrote:

Just pushed some changes to GitHub with the fix.

I have to configure it like this for it to work:
https://github.com/chakrit/gossip/blob/master/GossipExample/GSEConfigurationViewController.m#L47

    account = [GSAccountConfiguration defaultConfiguration];
    account.address = @"chakrit at sip2sip.info<mailto:chakrit at sip2sip.info>";
    account.username = @"chakrit";
    account.password = @"tyixr52w9k";
    account.domain = @"sip2sip.info<http://sip2sip.info/>";
    account.authRealm = @"sip2sip.info<http://sip2sip.info/>";
    account.proxyServer = @"proxy.sipthor.net<http://proxy.sipthor.net/>";
    [accounts addObject:account];

Hope this helps.

- chakrit
http://chakrit.net<http://chakrit.net/>


On Friday, July 27, 2012 at 2:29 PM, Parvez Qureshi wrote:

Still getting the same crash even after making changes as described in your reply.
I also tried registering on getonsip.com<http://getonsip.com/> but so far do not receive any instruction email that signifies registration completion.


On 27-Jul-2012, at 12:52 PM, Chakrit Wichian wrote:

accConfig.publish_enabled = PJ_TRUE;

_______________________________________________
Visit our blog: http://blog.pjsip.org<http://blog.pjsip.org/>

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org<http://blog.pjsip.org/>

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org<http://blog.pjsip.org/>

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org<http://blog.pjsip.org/>

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org<http://blog.pjsip.org/>

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org<http://blog.pjsip.org/>

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org<http://blog.pjsip.org/>

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120730/a11354ad/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux