Quantcast
Channel: Dialogic PowerMedia HMP GlobalCall and R4 API - Recent Threads
Viewing all articles
Browse latest Browse all 1151

SIP Device names

$
0
0

Apologies if this is a newbie question but:

int     mode = SR_POLLMODE;
if (sr_setparm (SRL_DEVICE, SR_MODEID, &mode) != -1)
{
    // Enable the event handler
    if (sr_enbhdlr (EV_ANYDEV, EV_ANYEVT, (long (*) (void *)) evt_hdlr) != -1)
    {
        LINEDEV ldev;
        if (gc_OpenEx  (":P_SIP:N_iptB1T1:M_ipmB1C1", EV_SYNC, NULL]) != GC_SUCCESS)
        {
            GC_INFO info;
            gc_ErrorInfo (&info);
            // info. gcValue = -x8e;
            // info.gcMsg = "Invalid Device Name"
        }
    }
}

I have tried various permutations and combinations of the name, including dispensing with the IP Media device, using ":P_IP" instead of "P_SIP" etc. The names I have tried to use have been lifted from Page 476 ("8.3.18 gc_OpenEx( ) Variances for IP") of /www.dialogic.com/~/media/manuals/docs/globalcall_for_ip_hmp_v8.pdf

"Invalid device name" is not very helpful without some indication of what is invalid about it. Is there a mechanism by which I can discover what is wrong with the name, and what device name formats and / or content would be valid?


Viewing all articles
Browse latest Browse all 1151

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>