×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Dec 2007
    Location
    Thailand
    Posts
    4

    VoIP - OMA provisioning Setting, CODEC Problem

    Hi,
    I'm develop VoIP Setting via SMS. I still have problem with CODEC setting.

    If I send the setting without CODEC it work fine . Mobile phone can get SMS and install (Tested by N80 & E90) but I can't call out because their not found any CODEC .

    If I send with CODEC the phone did't got any SMS maybe the mobile phone not accept sms.

    <characteristic type="APPLICATION">
    <parm name="APPID" value="w9013"/>
    <parm name="PROVIDER-ID" value="Test VoIP"/>
    <parm name="NAME" value="Test VoIP"/>
    <!-- G711 u-law with default values -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="4"/>
    <parm name="PRIORITYINDEX" value="1"/>
    </characteristic>
    .
    .
    .
    </characteristic>

    Converted to wbxml (only CODEC)

    C6 50 03 434F444543 00 01 // Begin CODEC
    87 05 03 4D4544494153554254595045 00 06 03 34 00 01 // MEDIASUBTYPE
    87 05 03 5052494F52495459494E444558 00 06 03 31 00 01 // PRIORITYINDEX
    01 // End of CODEC

    I already have Client_Provisioning_Registration_v1_8 document. But there is no information about wbxml tokens for VOIP provisioning.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Posts
    115

    Re: VoIP - OMA provisioning Setting, CODEC Problem

    Hi,

    Here's an example of a working set of codec definitions:

    <!-- iLBC -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="1"/>
    <parm name="PRIORITYINDEX" value="0"/>
    </characteristic>
    <!-- G.729 -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="10"/>
    <parm name="PRIORITYINDEX" value="1"/>
    </characteristic>
    <!-- PCMU -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="4"/>
    <parm name="PRIORITYINDEX" value="2"/>
    </characteristic>
    <!-- PCMA -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="3"/>
    <parm name="PRIORITYINDEX" value="3"/>
    </characteristic>
    <!-- AMR NB -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="0"/>
    <parm name="PRIORITYINDEX" value="4"/>
    </characteristic>

    Try setting all of the codec priorities to see if it helps.

    Br,
    Petro

  3. #3
    Registered User
    Join Date
    Dec 2007
    Location
    Thailand
    Posts
    4

    Re: VoIP - OMA provisioning Setting, CODEC Problem

    Thank you for your help. I try to put all of a working set of codec definitions. But their are not working, mobile phone not accept sms.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Posts
    115

    Re: VoIP - OMA provisioning Setting, CODEC Problem

    Could you please attach the wbxml and xml to this thread? I can try to check if there's something wrong with them.

    Br,
    Petro

  5. #5
    Registered User
    Join Date
    Dec 2007
    Location
    Thailand
    Posts
    4

    Cool Re: VoIP - OMA provisioning Setting, CODEC Problem

    Hi,
    Here is XML. So, I cutout the SIP settings section because I want to check only VoIP setting. If I doesn't use CODEC this XML was work. (Incase I'm added SIP setting without CODEC in XML their work too)

    <?xml version="1.0"?>
    <!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN"
    "http://www.wapforum.org/DTD/prov.dtd">
    <wap-provisioningdoc version="1.1">
    <!-- Nokia VoIP release 2.0 settings, w9013 -->
    <characteristic type="APPLICATION">
    <parm name="APPID" value="w9013"/>
    <parm name="PROVIDER-ID" value="Test Provider"/>
    <parm name="NAME" value="Test Name"/>

    <!-- iBLC -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="1"/>
    <parm name="PRIORITYINDEX" value="0"/>
    </characteristic>

    <!-- G.729 -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="10"/>
    <parm name="PRIORITYINDEX" value="1"/>
    </characteristic>

    <!-- PCMU -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="4"/>
    <parm name="PRIORITYINDEX" value="2"/>
    </characteristic>

    <!-- PCMA -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="3"/>
    <parm name="PRIORITYINDEX" value="3"/>
    </characteristic>

    <!-- AMR NB -->
    <characteristic type="CODEC">
    <parm name="MEDIASUBTYPE" value="0"/>
    <parm name="PRIORITYINDEX" value="4"/>
    </characteristic>

    </characteristic>
    </wap-provisioningdoc>

    Here is wbxml
    03
    0B
    6A
    00
    C5 45 03 31 2E 31 00 01 // WAP-PROVISIONINGDOC version=1.1
    C6 00 01 55 01 // APPLICATION
    87 36 06 03 7739303133 00 01 // APPID -> w9013
    87 38 06 03 546573742050726f7669646572 00 01 // PROVIDER-ID -> Test Provider
    87 07 06 03 54657374204e616d65 00 01 // NAME -> Test Name

    C6 50 03 434f444543 00 01 // CODEC - iBLC
    87 05 03 4d4544494153554254595045 00 06 03 31 00 01 // MEDIASUBTYPE
    87 05 03 5052494f52495459494e444558 00 06 03 30 00 01 // PRIORITYINDEX
    01

    C6 50 03 434f444543 00 01 // CODEC - G.729
    87 05 03 4d4544494153554254595045 00 06 03 3130 00 01
    87 05 03 5052494f52495459494e444558 00 06 03 31 00 01
    01

    C6 50 03 434f444543 00 01 // CODEC - PCMU
    87 05 03 4d4544494153554254595045 00 06 03 34 00 01
    87 05 03 5052494f52495459494e444558 00 06 03 32 00 01
    01

    C6 50 03 434f444543 00 01 // CODEC - PCMA
    87 05 03 4d4544494153554254595045 00 06 03 33 00 01
    87 05 03 5052494f52495459494e444558 00 06 03 33 00 01
    01

    C6 50 03 434f444543 00 01 // CODEC - AMR NB
    87 05 03 4d4544494153554254595045 00 06 03 30 00 01
    87 05 03 5052494f52495459494e444558 00 06 03 34 00 01
    01
    01 // End of characteristic - APPLICATION
    01 // End of wap-provisioningdoc
    Best Regards,

    Sorry if i not good in English.

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Posts
    115

    Re: VoIP - OMA provisioning Setting, CODEC Problem

    Sorry about the delay,

    Could you try sending the attached wbxml to the device? I created the file with my converter. Let's see if it makes any difference.

    Br,
    Petro
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    Dec 2007
    Location
    Thailand
    Posts
    4

    Smile Re: VoIP - OMA provisioning Setting, CODEC Problem

    Thank you very very much for solving. Now it worked.

    I added CODEC, MEDIASUBTYPE and PRIORITYINDEX into the string table
    03
    0B
    6A
    21 // String table length
    434F444543 // CODEC
    00
    4D4544494153554254595045 // MEDIASUBTYPE
    00
    5052494F52495459494E444558 // PRIORITYINDEX
    00
    C5 45 03 31 2E 31 00 01 // version=1.1
    And then i used index of string in the String table instead

    Old code -> doesn't work
    C6 50 03 434F444543 00 01 // CODEC
    87 05 03 4D4544494153554254595045 00 06 03 30 00 01 // MEDIASUBTYPE
    87 05 03 5052494F52495459494E444558 00 06 03 30 00 01 // PRIORITYINDEX
    01
    New code -> work
    C6 50 83 00 01 // CODEC
    87 05 83 06 06 03 30 00 01 // MEDIASUBTYPE
    87 05 83 13 06 03 30 00 01 // PRIORITYINDEX
    01
    Best Regard,
    -Aniwat-

  8. #8
    Nokia Developer Moderator
    Join Date
    May 2007
    Posts
    468

    Re: VoIP - OMA provisioning Setting, CODEC Problem

    Petro,
    you're the man

    Cheers,
    Jack

  9. #9
    Registered User
    Join Date
    Mar 2004
    Posts
    35

    Re: VoIP - OMA provisioning Setting, CODEC Problem

    Good point !

    I still ask me how to patch kannel to solve that problem (because I have exactly the same problem !). Using kannel you don't have to make the translation into wbxml (nor cutting into pieces, one per sms) then I don't know how to insert a string table into the wbxml hexadecimal code.

    there is maybe another way which would be to add those 3 tags into the wbxml conversion table used by kannel, but I don't have the hexadecimal (nokia) values for those tags.

    Any idea ?

  10. #10
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,104
    Petro, my configuration contained G.726 CODECs which work with Nokia Series 40. On a S60 with VoIP Release 2 (Nokia E90) in the SIP VoIP Settings, interesting names are shown for those. Shouldn’t it just ignore those? Anyway, in a S60 with VoIP Release 3 (Nokia N85), the whole list of codecs is empty. I had to remove G.726 from my (WB)XML to make it work again. Is that intended or was it just coincidence? I did not check whether it is really G.726 related or something else like too many CODECs.

  11. #11
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,104
    The type of AMR-WB (Adaptive Multi-Rate Wideband) codec in Nokia’s release 3.1 is 11.
    Code:
    <characteristic type="CODEC">
    	<parm name="MEDIASUBTYPE" value="11" />
    	…
    </characteristic>

Similar Threads

  1. Handling custom OMA provisioning messages
    By stenlik in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2007-12-17, 15:40
  2. Replies: 0
    Last Post: 2007-09-11, 13:36
  3. Multipart OMA Provisioning SMS
    By wiver in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2006-12-19, 15:14
  4. OMA bootstrap setting for nokia 6220 and 6600
    By vmoreno1972 in forum OMA DM/DS/CP
    Replies: 23
    Last Post: 2003-12-09, 14:29
  5. setting list problem
    By ddhungry in forum Symbian C++
    Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

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