PJSIP Trunk Realtime

Hi friend
want make Pjsip trunks sip for realtime, make a json
the status pjsip show registrations said Rejected , someone have idee

{
    "id": "558526",
    "auth": {
        "auth_type": "userpass",
        "username": "558526",
        "password": "pass_word"
    },
    "aor": {
        "contact": "sip:host_trunk:5050"
    },
    "endpoint": {
        "transport": "transport-udp",
        "context": "from-inbound",
        "dtmf_mode": "rfc4733",
        "disallow": "all",
        "allow": "ulaw,alaw,gsm",
        "rtp_symmetric": "yes",
        "force_rport": "yes",
        "rewrite_contact": "yes",
        "direct_media": "no",
        "send_rpid": "yes",
        "from_user": "558526",
        "from_domain": "host_trunk",
        "outbound_auth": "558526",
        "auth": "558526",
        "aors": "558526"
    },
    "endpoint_registration": {
        "transport": "transport-udp",
        "outbound_auth": "558526",
        "server_uri": "sip:host_trunk:5050",
        "client_uri": "sip:558526@host_trunk:5050",
        "line": "yes",
        "contact_user": "558526",
        "retry_interval": 60,
        "forbiden_retry_interval": 60,
        "expiration": 3600
    },
    "endpoint_id_ips": {
        "match": "host_trunk"
    }
}

Thanks for All

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.