Hi Darryn
ICUK have provided an example of the SIP INVITE they expect to receive for outbound calls.
Could you please compare this with the INVITE that LiveKit generates and let me know if there are any differences that would explain the 403 Forbidden responses we’re seeing?
In particular, could you confirm whether LiveKit supports generating the following correctly:
-
Request-URI:
can’t give you this because you’re not accepting links;user=phone
-
From:
can’t give you this because you’re not accepting links
-
To:
can’t give you this because you’re not accepting links
-
Authorization realm:
can’t give you this because you’re not accepting links
-
Authorization URI:
sip:cloudwireless.intervoip.co.uk
-
P-Asserted-Identity
-
user=phone parameter
ICUK have also advised that their preferred configuration is:
Host / registration address:
80.209.159.50
Outbound proxy:
Register using outbound proxy:
Enabled (if supported)
Below is the example INVITE provided by ICUK.
ICUK [Alan]
15:06
One other thing. It might help if you give LiveKit this example outbound call SIP packet. This is what we’re expecting for an outbound call:
INVITE sip:{{DIALLED_NUMBER}}@{{ACCOUNT_NAME}}.{{REALM}};user=phone SIP/2.0
Via: SIP/2.0/UDP {{LOCAL_IP}}:5060;branch=z9hG4bK-5ac94c1c905f6783aed8c7d6ab9e0426;rport
From: “{{PRESENTATION_NUMBER}}” sip:{{USERNAME}}@{{ACCOUNT_NAME}}.{{REALM}};tag=688897630
To: sip:{{DIALLED_NUMBER}}@{{ACCOUNT_NAME}}.{{REALM}}
Call-ID: unique-string-identifier
CSeq: 9188 INVITE
Max-Forwards: 69
Contact: sip:{{USERNAME}}@{{PUBLIC_IP}}:5060;transport=udp
Allow-Events: refer
Supported: 100rel, replaces, norefersub
Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE
Accept: application/sdp
User-Agent: Your-PBX-Name
Authorization: Digest username=“{{USERNAME}}”,realm=“{{ACCOUNT_NAME}}.{{REALM}}”,nonce=“example-nonce”,uri=“sip:{{ACCOUNT_NAME}}.{{REALM}}”,response=“hashed-password”,algorithm=MD5
P-Asserted-Identity: “{{NETWORK_NUMBER}}” sip:{{NETWORK_NUMBER}}@{{ACCOUNT_NAME}}.{{REALM}}
Content-Type: application/sdp
Content-Length: 238
Could you let me know whether LiveKit can generate an INVITE matching this format, or whether there are any limitations that would prevent it?
I don’t seem to be able to paste everything in here because it’s blocking the links so If you can provide me with a way of communicating with you without the links getting blocked, I can give you everything as it should be, like the URI, the From, the To, and the Authorisation realm.
Many thanks, Kevin