Can make call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello
As you can see from log, pjsua can't find audio device..if you sound device is 
not present set null sound device or set right ID for sound device.

> Dear Sir,
>
> How can i fix it?
>
> Code:
> =====
>          pj_str_t uri = pj_str(argv[1]);
>          status = pjsua_call_make_call(acc_id, &uri, 0, NULL, NULL, NULL);
>          if (status != PJ_SUCCESS) error_exit("Error making call", status);
>
> When i make a call
> ==================
> [sun at example mysip]$ ./myapp sip:5000 at ipaddress
>
> I get error:
> ==========
> --end msg--
>  22:49:44.192    pjsua_acc.c  Registration sent
>  22:49:44.192  pjsua_media.c  Error retrieving default audio device
> parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
> [status=420006]
>  22:49:44.192            APP  Error making call: Unable to find default
> audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
>  22:49:44.202   pjsua_core.c  Shutting down...
>  22:49:44.202   pjsua_pres.c  Shutting down presence..
>  22:49:44.202  pjsua_media.c  Shutting down media..
>  22:49:44.667       pa_dev.c  PortAudio sound library shutting down..
>  22:49:44.667      sip_reg.c  Unable to send request, regc has another
> transaction pending
>  22:49:44.667    pjsua_acc.c  Unable to create/send REGISTER: Object is
> busy (PJSIP_EBUSY) [status=171001]
>
>
> Thank you
> Regards




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux