×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    How to change destination port in SIP client?

    Hi all,

    First of all, thanks to any help that you can give me. Now my problem, I am developing a VoIP client for S60 3rd Edition FP2 and I need to change the destination port in the SIP stack. I would change the predetermined port 5060 to 4060 for example.
    I found some classes like CSIPHostPort but I think that are not compatible with Symbian 3rd Edition, because I have imported all SIP libraries to my project and show me the undefined identifier error.

    Can anyone give me any idea or solution?

    Thanks again

  2. #2
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Re: How to change destination port in SIP client?

    Hi again!

    Anyone have any idea about this?

    Thanks!

  3. #3
    Regular Contributor
    Join Date
    Aug 2007
    Posts
    74

    Re: How to change destination port in SIP client?

    Hi,

    You can use the CUri8 class instead.

  4. #4
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Re: How to change destination port in SIP client?

    I did it! but without CUri8. Ok I post it if someone needs it

    CSIPAddress* proxyAddr = CSIPAddress:: DecodeL(_L8("sip:SIP@host:hostport"));

    CleanupStack::PushL(proxyAddr);

    CSIPRouteHeader* proxy = CSIPRouteHeader::NewL(proxyAddr);

    CleanupStack::Pop(proxyAddr);
    CleanupStack::PushL(proxy);

    iRegistration = CSIPRegistrationBinding::NewL(iConnect, aor,contact,refresh,proxy,NULL,NULL);

Similar Threads

  1. problem with PRACK with SIP port != 5060
    By rtakkinen in forum VoIP
    Replies: 2
    Last Post: 2008-10-16, 14:03
  2. SIP Client Port
    By gammav in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-07-08, 16:02
  3. Replies: 3
    Last Post: 2008-05-19, 14:48
  4. Open Source SIP Client for S60 Platform
    By arpitm in forum VoIP
    Replies: 5
    Last Post: 2007-10-19, 07:33
  5. Problem with SIP Resolver Ecom Plugin
    By ecio83 in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2007-07-30, 09:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×