..

Get channel count and opening channel

..

Developer Group

Developer Group
Connect with thousands of other developers to brainstorm ideas, share best practices and tips - or just chat about the latest emerging technologies making noise in the field. And of course, get the most up-to-date service and support news from Dialogic.
Dialogic PowerMedia HMP GlobalCall and R4 API

Get channel count and opening channel

  • I'm trying to get started with HMP (previously used Diva boards) with little success.

    gc_Start() and gc_Stop() work fine, but gc_OpenEx() and gc_Close() return 'Invalid device name'

    How do I determine devicename on virtual IP boards. According to docs it should be something like " iptB1T1 " but no success.

    How do I retrieve board and channelinfo?

    Can't I see names and channelcount  in configuration manager?

    Peter

  • The number of devices available would be dependent on number of IP ports in your HMP license in this case. Thus you would then set that for number maxcalls/sip calls in the IP_VIRTBOARD structure set prior to calling gc_start in that case.

    It would then result in enumerating the number of GC line devices you can open in that regard.

    For example:

    ":N_iptB1T1:P_SIP:M_ipmB1C1"

    Regards,

    Jeff

  • Thanks,

    I'm used to the Audiocodes board. They just have a function to get the total channels available, hoped that could be done here too...

    For now, I can't use Gc_Makecall() without getting error ' IPERR_NO_DTMF_CAPABILITY '...

    Tried everything for days now without success, any ideas?

    Regards,

    Peter.

  • Hi Peter,

    Ok, in this case you might be able to call dev_getLicFeatureData as noted here in the release update notes:

    1.113 Retrieving FlexLM-based Licensed Feature Data

    www.dialogic.com/.../release_update.pdf

    Thus you can take the value for IPCC and pass that in the IP_VIRTBOARD param for max calls / sip calls such that you can match the port available in the license running on the system. Thus when gc_start is called it will enumerate the amount of IPT devices necessary for that specific virtboard.

    Not really sure about the makecall failure, I suspect you may need to correctly specify the DTMF support type as mentioned in GC IP TUG:

    4.24 Sending and Receiving DTMF

    www.dialogic.com/.../globalcall_for_ip_hmp_v12.pdf

    Regards,

    Jeff