Announcement

Collapse
No announcement yet.

About Dialogic HMP test program

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Peter Lameijn
    replied
    It refers to source code and documents related to sourcecode: there is no sourcecode in this file... (only parameter settings)
    That's their default header they print on everything. (probably also on their Christmas cards... )

    Leave a comment:


  • Stuart McLachlan
    replied
    Originally posted by Peter Lameijn View Post
    # Copyright (C) 1990-2007 Dialogic Corporation. All Rights Reserved.
    # The source code contained or described herein and all documents related
    # to the source code
    ("Material") are owned by Dialogic Corporation or its
    # suppliers or licensors. Title to the Material remains with Dialogic Corporation
    # or its suppliers and licensors. The Material contains trade secrets and
    # proprietary and confidential information of Dialogic or its suppliers and
    # licensors. The Material is protected by worldwide copyright and trade secret
    # laws and treaty provisions. No part of the Material may be used, copied,
    # reproduced, modified, published, uploaded, posted, transmitted, distributed,
    # or disclosed in any way without Dialogic's prior express written permission.
    #
    .
    Oh dear, now you're in for trouble!

    (Unless you had written permission of course )

    Leave a comment:


  • David Clarke
    replied
    Thanks Peter! I will let you know how this plays out.

    Leave a comment:


  • Peter Lameijn
    replied
    That looks exactly like my file. They are right: it *should* be relatively simple:
    I have one guy with little knowledge of it who installed the 2 win2012 systems without much problems.

    There is one compiled 'C' example with the HMP install that works: gc_basic_call_model.exe
    Not very user friendly, but it calls out and takes calls.
    You only have to uncomment the right lines in the cfg file (I already did that) and adjust the IP address.

    gc_basic_call_model.cfg file:
    Code:
    ##########@@@SOFT@@@WARE@@@COPY@@@RIGHT@@@###################################
    # DIALOGIC CONFIDENTIAL
    #
    # Copyright (C) 1990-2007 Dialogic Corporation. All Rights Reserved.
    # The source code contained or described herein and all documents related
    # to the source code ("Material") are owned by Dialogic Corporation or its
    # suppliers or licensors. Title to the Material remains with Dialogic Corporation
    # or its suppliers and licensors. The Material contains trade secrets and
    # proprietary and confidential information of Dialogic or its suppliers and
    # licensors. The Material is protected by worldwide copyright and trade secret
    # laws and treaty provisions. No part of the Material may be used, copied,
    # reproduced, modified, published, uploaded, posted, transmitted, distributed,
    # or disclosed in any way without Dialogic's prior express written permission.
    #
    # No license under any patent, copyright, trade secret or other intellectual
    # property right is granted to or conferred upon you by disclosure or delivery
    # of the Materials, either expressly, by implication, inducement, estoppel or
    # otherwise. Any license under such intellectual property rights must be
    # express and approved by Dialogic in writing.
    #
    ###################################@@@SOFT@@@WARE@@@COPY@@@RIGHT@@@##########
    #
    #########################################
    # gc_basic_call_model.cfg #
    # DEFAULT CONFIGURATION FILE #
    #########################################
    #
    #
    ##############################################################################################
    #NetworkDev ProtName Direction VoiceDevice(If any) Phone # Inter-Call
    # Delay(sec)
    # CAUTIONS: NONE is case sensitive
    # Follow the case sensitivity as provided in the sample fields
    # All fields must be used, including the phone # for the inbound direction
    ##############################################################################################
    
    ##############################################################################################
    # For PDK protocols
    # Board #1
    #
    #dtiB1T1 pdk_ar_r2_io In dxxxB1C1 1234567 0
    #
    # Board #2
    #dtiB2T1 pdk_ar_r2_io Out dxxxB9C1 1234567 0
    ##############################################################################################
    
    ##############################################################################################
    # For ICAPI Protocols
    # Board #1
    #dtiB1T1 ar_r2_i In dxxxB1C1 1234567 0
    #
    # Board #2
    #dtiB2T1 ar_r2_o Out dxxxB9C1 1234567 0
    ##############################################################################################
    
    ##############################################################################################
    # For ISDN Protocols
    # Board #1
    #dtiB1T1 ISDN In NONE 1234567 0
    #
    # Board #2
    #dtiB2T1 ISDN Out NONE 1234567 0
    ##############################################################################################
    
    ##############################################################################################
    # For SS7 protocols
    # Board #1
    #dtiB1T1 SS7 In NONE 1234567 0
    #
    # Board #2
    #dtiB2T1 SS7 Out NONE 1234567 0
    ##############################################################################################
    
    ##############################################################################################
    # For PDK Analog protocols
    # Board #1
    #NONE pdk_na_an_io In dxxxB1C1 102 2
    #
    # Board #2
    #NONE pdk_na_an_io Out dxxxB1C2 101 2
    ##############################################################################################
    
    ##############################################################################################
    # For DM3 Analog protocols
    # Board #1
    #
    #dtiB1T1 analog In dxxxB1C1 102 10
    #
    # Board #2
    #dtiB1T4 analog Out dxxxB1C4 101 10
    ##############################################################################################
    
    #########################################################################################################
    # For H.323 protocol
    # Board #1
    # CAUTION: Entries are case sensitive. Inter-Call TX CODEC RX CODEC
    # Delay (See NOTE below) (See NOTE below)
    #ipt dev: Prot: Dir: ipm dev: Dest Address: (secs) Type: Rate: VAD: Type: Rate: VAD:
    #-------- ----- ---- --------- ---------------- ---------- --------- ----- ---- --------- ----- ----
    #Loopback (where loopback IP address is 127.0.0.1):
    #iptB1T1 H323 In ipmB1C1 TA:127.0.0.1 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    #iptB1T2 H323 Out ipmB1C2 TA:127.0.0.1 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    #
    #Non-loopback call to/from another H.323 endpoint, NetMeeting, Messenger, etc.:
    #NOTE: Change dest. address from X.X.X.X to specify IP address of remote endpoint:
    #iptB1T1 H323 In ipmB1C1 TA:X.X.X.X 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    #iptB1T2 H323 Out ipmB1C2 TA:X.X.X.X 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    ##########################################################################################################
    
    ##########################################################################################################
    # For SIP protocol
    # Board #1
    # CAUTION: Entries are case sensitive. Inter-Call TX CODEC RX CODEC SIP SDP
    # Delay (See NOTE below) (See NOTE below) Address Address
    #ipt dev: Prot: Dir: ipm dev: Dest Address: (secs) Type: Rate: VAD: Type: Rate: VAD: type type
    #-------- ----- ---- --------- ------------------- ---------- --------- ----- ---- --------- ----- ---- ------- -------
    #Loopback (where loopback IP address is 127.0.0.1):
    #iptB1T1 SIP In ipmB1C1 SIP:[email protected] 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    #iptB1T2 SIP Out ipmB1C2 SIP:[email protected] 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    #
    # For IPv6 SIP Call control - See release notes/update for supported releases
    iptB1T1 SIP In ipmB1C1 SIP:[email protected] 10 G.711Alaw 20 N/A G.711Alaw 20 N/A IPv4 IPv4
    iptB1T2 SIP Out ipmB1C2 SIP:[email protected] 60 G.711Alaw 20 N/A G.711Alaw 20 N/A IPv4 IPv4
    # The local IPv6 loopback address is 0::1
    #iptB1T1 SIP In ipmB1C1 SIP:userA@0::1 0 G.711Alaw 20 N/A G.711Alaw 20 N/A IPv6 IPv6
    #iptB1T2 SIP Out ipmB1C2 SIP:userB@0::1 0 G.711Alaw 20 N/A G.711Alaw 20 N/A IPv6 IPv6
    #iptB1T1 SIP In ipmB1C1 SIP:userA@0::1 0 G.711Alaw 20 N/A G.711Alaw 20 N/A IPv6 Prefer_IPv6
    #iptB1T2 SIP Out ipmB1C2 SIP:userB@0::1 0 G.711Alaw 20 N/A G.711Alaw 20 N/A IPv6 Prefer_IPv6
    #
    #Non-loopback call to/from another H.323 endpoint, NetMeeting, Messenger, etc.:
    #NOTE: Change dest. address from X.X.X.X to specify IP address of remote endpoint:
    #iptB1T1 SIP In ipmB1C1 SIP:[email protected] 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    #iptB1T2 SIP Out ipmB1C2 SIP:[email protected] 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    #########################################################################################################
    
    #########################################################################################################
    # NOTE: For specifying TX and RX codecs in H.323 and SIP:
    #
    # Refer to release information for your system release software for coder support for your
    # specific VoIP product(s), e.g. IPTXXXC, IPXXX, HMP, etc.
    # Possible values for specifying TX and RX codecs in H.323 and SIP :
    # Type: Description: Applicable Rates: VAD:
    # --------- ---------------------------------------------- -------------------- -------
    # G.711Alaw G.711 A-law 64k (CCITT A-law PCM 8 kHz, 8 bit) 5,10,20,30 (ms) N/A
    # G.711ulaw G.711 A-law 64k (CCITT u-law PCM 8 kHz, 8 bit) 5,10,20,30 (ms) N/A
    # G.723_5.3k G.723.1 @ 5.3 kbit/s (30 ms frame size) 1,2,3 (frames/pkt) ON,OFF
    # G.723_6.3k G.723.1 @ 6.3 kbit/s (30 ms frame size) 1,2,3 (frames/pkt) ON,OFF
    # G.726_16k G.726 @ 16 kbit/s (30 ms frame size) 1,2,3,4 (frames/pkt) ON,OFF
    # G.726_24k G.726 @ 24 kbit/s (30 ms frame size) 1,2,3,4 (frames/pkt) ON,OFF
    # G.726_32k G.726 @ 32 kbit/s (30 ms frame size) 1,2,3,4 (frames/pkt) ON,OFF
    # G.726_40k G.726 @ 40 kbit/s (30 ms frame size) 1,2,3,4 (frames/pkt) ON,OFF
    # G.729 G.729 8 kbit/s (30 ms frame size) 1,2,3,4 (frames/pkt) OFF
    # G.729A G.729 Annex A 8 kbit/s (30 ms frame size) 1,2,3,4 (frames/pkt) OFF
    # G.729B G.729 Annex B 8 kbit/s (30 ms frame size) 1,2,3,4 (frames/pkt) ON
    # G.729AB G.729 Annex A with Annex B 8 kbit/s 1,2,3,4 (frames/pkt) ON
    # GSM_FULL GSM 06.10 Full-rate (20 ms frame size) 1,2,3 (frames/pkt) ON,OFF
    # T.38UDP T.38 fax protocol over UDP N/A (ignored) N/A
    DONT_CARE All product supported coders N/A (ignored) N/A
    #################################################################################################
    # Multiple codecs can be specified for a given line device up to a maximum of 10 codecs per
    # device for the purposes of this demo. For example:
    #
    #iptB1T1 H323 In ipmB1C1 TA:127.0.0.1 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    # T.38UDP 0 N/A T.38UDP 0 N/A
    #iptB1T2 H323 Out ipmB1C2 TA:127.0.0.1 0 G.711Alaw 20 N/A G.711Alaw 20 N/A
    # T.38UDP 0 N/A T.38UDP 0 N/A
    #################################################################################################
    There are two uncommented lines; you'll have to put in your own IP addresses there:
    The line containing 'IN' now holds 192.168.2.9, should be your ip: 192.168.1.193
    The line containing 'OUT' holds 192.168.2.7, should be the ip address of the phone you want to call.

    Leave a comment:


  • David Clarke
    replied
    Interesting! Considering they say it wont run on 2012 and 7. I know it is something simple, trick is to find it. Did you have to do anything with DLL's? Like adjust path, or move some into the program directory? Then of course there is Windows Firewall but I have that off.

    I always seem to go through stuff like this for the first few days of any new project. I may put in a call to Dialogic tech support - I was looking for an HMP test program - didn't see on.

    I am assuming that HMP is a serivce and you communicate with it using the Dialogic DLL's - From what you have said and my Dialogic guy has said I should just install the programs, do the license file thing and it should work.

    Does your license file look like this:

    Click image for larger version

Name:	Snap23169.jpg
Views:	232
Size:	125.0 KB
ID:	796431

    Leave a comment:


  • Peter Lameijn
    replied
    We have HMP running at Windows 2012 server and Windows 7 at the moment here...
    I have a Win10 pro here, I could try it...
    Do you use 32 or 64 bit Windows?

    As of January 2020, support for all 32 bit system is dropped, only 64 bit supported.
    What release of HMP do you have? If it's 395 or lower, 32 bit is supported. If 520 or higher, 32 bit is not supported.
    User programs can still be 32 bit, but the HMP engine itself is only 64 bit from release 520 and up

    Leave a comment:


  • David Clarke
    replied
    Peter - what OS are you using? I am using Windows 10 Pro. There is a note about needing 10 Enterprise?

    Leave a comment:


  • Peter Lameijn
    replied
    I use the IPv4 address (in this case 192.168.1.193)
    Have you looked with License Manager if the license is activated?

    Leave a comment:


  • David Clarke
    replied
    What does your HMP config look like for default IP?
    I put it on 192.168.1.193 but that didn't help.


    Mine looks like this:

    Click image for larger version  Name:	Snap23168.jpg Views:	0 Size:	81.8 KB ID:	796362

    Leave a comment:


  • Peter Lameijn
    replied
    Winapi3 are Jose includes. It probably is caused by the IN_ADDR structure. It should look like this:

    Code:
    Union in_addr
      s_un_b As s_un_b_struc
      s_un_w As s_un_w_struc 
      s_addr As Dword
    End Union
    It's strange that HMP gives problems. I installed it on 10+ computers (Win7, Win10, Win2012 server)
    What you can try is changing the default IP on 'Device'. They use the IPv6 address by default, set it to the IPv4 address.

    Leave a comment:


  • David Clarke
    replied
    Back to trying to get it to run... Must be something in my HMP. I just downloaded a fresh license file but that didn't help. I will dig around some more and let you know.

    Leave a comment:


  • David Clarke
    replied
    That must be it. winapi3 includes are they the ones that come with PB?

    Leave a comment:


  • Peter Lameijn
    replied
    It compiles fine here. Probably a win32api error, I have that often.
    (declares in various versions of the pb and jose includes slightly differ and give strange results and don't compile without errors..
    I'm using winapi3 includes

    Leave a comment:


  • David Clarke
    replied
    Are you using Jose includes?

    Leave a comment:


  • David Clarke
    replied
    I'm getting this error when I try to use the debugger. I was going to step through the code and see if the NCM_Getsystemstate(lRet) shows running.

    However I got this error:

    Click image for larger version

Name:	Snap23167.jpg
Views:	234
Size:	192.9 KB
ID:	796355

    Leave a comment:


  • Peter Lameijn
    replied
    With License Manager you can see which license is loaded. Default is a 1 channel license, and the evaluation license is 2 channels
    Both will do for the demo program.

    For the rest follow the instructions:

    - Open the Configuration manager.
    - Stop system (with button with red square)
    - Click Device -> Restore defaults
    - Click Device -> Configure device
    - Choose the correct license file
    - Start system again

    Local IP address is the IP Address if the machine running HMP and demo program

    Leave a comment:


  • David Clarke
    replied
    That didn't fix it. Where are you getting the "local ip address?" Is that the address of the machine the HMP is running on?

    Leave a comment:


  • David Clarke
    replied
    "If the correct license is loaded" I need to look into that!

    Leave a comment:


  • Peter Lameijn
    replied
    If the correct license is loaded you should only have to press the green arrow button to start the service (takes some 15...30 seconds)
    If you want it automatically on pc start then checkmark Settings -> System/Device autostart -> Start system

    Leave a comment:


  • David Clarke
    replied
    Hi
    Any pointers on how the HMP should be set up? When I run your test program it cant find an HMP.

    I did D40 dialogic stuff many years ago. I have an ip phone on my network, but I dont think I have dialogic configured right.

    Thanks!

    Click image for larger version

Name:	Snap23166.jpg
Views:	259
Size:	46.7 KB
ID:	796345





    Leave a comment:

Working...
X
😀
🥰
🤢
😎
😡
👍
👎