Skip to content

Commit

Permalink
Add Kissgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
fouille committed Sep 9, 2024
1 parent 07431d3 commit c936edb
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 0 deletions.
36 changes: 36 additions & 0 deletions plugins/sip/kissgroupv1/endpoint/body.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"label": "{{ label }}",
"name": "kissgroup_trunk_{{ tenant_uuid }}_{{ suffix }}",
"transport": {"uuid": "{{ transport_uuid }}"},
"templates": [{"uuid": "{{ global_sip_template_uuid }}"}, {"uuid":"{{ registration_trunk_sip_template_uuid }}"}],
"endpoint_section_options": [
["set_var", "PJSIP_HEADER(add,KV_INSEE)={{ client_insee }}"],
["identify_by", "header,username,auth_username"],
["contact_user", "{{ username }}"],
["from_domain", "{{ server }}"],
["allow", "!all,alaw"],
["send_pai", "yes"]
],
"identify_section_options": [
["match_header", "Contact: /<sip:{{ username }}@.*>/"],
["match", "{{ server }}"]
],
"registration_section_options": [
["expiration", "60"],
["line", "yes"],
["client_uri", "sip:{{ username }}@{{ server }}:5060"],
["server_uri", "sip:{{ server }}:5060"],
["contact_user", "{{ username }}"]
],
"registration_outbound_auth_section_options": [
["username", "{{ username }}"],
["password", "{{ password }}"]
],
"outbound_auth_section_options": [
["username", "{{ username }}"],
["password", "{{ password }}"]
],
"aor_section_options": [
["contact", "sip:{{ username }}@{{ server }}:5060"]
]
}
55 changes: 55 additions & 0 deletions plugins/sip/kissgroupv1/endpoint/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"variables": [
{
"name": "label",
"label": [
{"language": "fr_CA", "value": "Étiquette"},
{"language": "fr_FR", "value": "Étiquette"},
{"language": "en_US", "value": "Label"}
],
"required": true,
"default": "Kissgroup"
},
{
"name": "username",
"label": [
{"language": "fr_CA", "value": "Nom d'utilisateur"},
{"language": "fr_FR", "value": "Nom d'utilisateur"},
{"language": "en_US", "value": "Username"}
],
"required": true
},
{
"name": "password",
"label": [
{"language": "fr_CA", "value": "Mot de passe"},
{"language": "fr_FR", "value": "Mot de passe"},
{"language": "en_US", "value": "Password"}
],
"required": true
},
{
"name": "server",
"label": [
{"language": "fr_CA", "value": "Proxy SIP"},
{"language": "fr_FR", "value": "Proxy SIP"},
{"language": "en_US", "value": "Proxy SIP"}
],
"required": true,
"default": "C5-PAR1-1.kissvoice.kissgroup.io",
"choices":[
"C5-PAR1-1.kissvoice.kissgroup.io",
"C5-PAR3-1.kissvoice.kissgroup.io"
]
},
{
"name": "client_insee",
"label": [
{"language": "fr_CA", "value": "Code INSEE"},
{"language": "fr_FR", "value": "Code INSEE"},
{"language": "en_US", "value": "Local code"}
],
"required": true
}
]
}
64 changes: 64 additions & 0 deletions plugins/sip/kissgroupv1/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions plugins/sip/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@
"logo": "https://raw.githubusercontent.com/wazo-communication/portal-plugins/master/plugins/sip/keyyov1/logo.svg",
"mainColor": "#F2F2F2"
},
{
"name": "Kissgroup",
"version": "0.1",
"slug": "kissgroupv1",
"url": "https://www.kissgroup.io",
"country": "FR",
"url_doc": "https://support.kissgroup.io/support/solutions",
"logo": "https://raw.githubusercontent.com/wazo-communication/portal-plugins/master/plugins/sip/kissgroupv1/logo.svg",
"mainColor": "#F2F2F2"
},
{
"name": "Linkt",
"version": "0.1",
Expand Down

0 comments on commit c936edb

Please sign in to comment.