onizukaek
onizukaek

Reputation: 1233

Error code 120013 when trying to create transport

pj_status_t returns me a 120013 error when I'm trying to set UDP transport with the pjsua_transport_create function

What does that mean?

Thanks

Upvotes: 2

Views: 2006

Answers (2)

syntakks
syntakks

Reputation: 121

Android: Add these permissions to your AndroidManifest.xml as a direct child of the manifest.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.sipapp" >

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme" >
    <activity android:name=".MainActivity" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

Upvotes: 0

Pedru
Pedru

Reputation: 1450

googled it, the only result says something like

Permission Denied (120013)

Looks like you don't have permission to do something, maybe you are using a non-standard port?

Upvotes: 2

Related Questions