Skip to content

Commit

Permalink
Add new providers VoipTel 2 and Terrecablate
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-marchionni committed Jan 23, 2025
1 parent 0818f2f commit d848588
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 3 deletions.
2 changes: 2 additions & 0 deletions mariadb/docker-entrypoint-initdb.d/50_asterisk.providers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ INSERT INTO `providers` (`provider`,`description`,`dettpeer`,`dettuser`,`registr
("opensolution_voip","Opensolution Voip","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nfromdomain=voip.opensolution.it\nhost=voip.opensolution.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=voip.opensolution.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("sixcomm","Six Comm Group - Fibering S.p.A.","username=USERNAME\ntype=friend\nsecret=PASSWORD\nqualify=yes\ninsecure=port,invite\nhost=voip.sixcomm.net\ndtmfmode=rfc2833\nallow=CODECS","type=USERNAME\nsecret=PASSWORD\ninsecure=port,invite\ncontext=from-trunk\ndtmfmode=rfc2833\nallow=CODECS","[email protected]:PASSWORD:[email protected]/USERNAME"),
("talkho","Talkho","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=sip.talkho.com\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=sip.talkho.com\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=sip.talkho.com","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("terrecablate","Terrecablate","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=sbc.tcrs.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=sbc.tcrs.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=sbc.tcrs.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("timenet","Timenet","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=sbc.voipvox.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=sbc.voipvox.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=sbc.voipvox.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("twt","TWT","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=NUMERO\nhost=res.sip.twt.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=res.sip.twt.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=res.sip.twt.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("vivavox","VivaVox","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=voip.vivavox.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=voip.vivavox.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=voip.vivavox.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("voipeasy","VoipEasy","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=sip.voipeasy.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=sip.voipeasy.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\ndomain=sip.voipeasy.it\nfromdomain=sip.voipeasy.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("voiptel","VoipTel","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=voip.voiptelitalia.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=voip.voiptelitalia.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=voip.voiptelitalia.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("voiptel2","VoipTel 2","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=voip2.voiptelitalia.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=voip2.voiptelitalia.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=voip2.voiptelitalia.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("voipvoice-sip","VoipVoice (sip.voipvoice.it)","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=sip.voipvoicetel.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=sip.voipvoicetel.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=sip.voipvoicetel.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("voipvoice-trunk","VoipVoice (trunk.voipvoice.it)","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=trunk.voipvoice.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=trunk.voipvoice.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=trunk.voipvoice.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("voipvoice-user","VoipVoice (user.voipvoice.it)","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=user.voipvoice.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=user.voipvoice.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=user.voipvoice.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ INSERT INTO `rest_pjsip_providers` (`id`,`provider`,`description`) VALUES
(21,"wicity","WiCity"),
(22,"wic","WiC"),
(23,"xstream","XStream"),
(24,"digitalia","Digitalia ICT");
(24,"digitalia","Digitalia ICT"),
(25,"voiptel2","VoipTel 2"),
(26,"terrecablate","Terrecablate");
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ INSERT INTO `rest_pjsip_trunks_custom_flags` (`provider_id`,`keyword`,`value`) V
(22,"disable_topos_header",0),
(23,"disable_topos_header",0),
(24,"disable_topos_header",0),
(25,"disable_topos_header",0),
(26,"disable_topos_header",0),
(1,"disable_srtp_header",1),
(2,"disable_srtp_header",1),
(3,"disable_srtp_header",0),
Expand All @@ -50,4 +52,6 @@ INSERT INTO `rest_pjsip_trunks_custom_flags` (`provider_id`,`keyword`,`value`) V
(21,"disable_srtp_header",1),
(22,"disable_srtp_header",1),
(23,"disable_srtp_header",1),
(24,"disable_srtp_header",1);
(24,"disable_srtp_header",1),
(25,"disable_srtp_header",1),
(26,"disable_srtp_header",1);
Original file line number Diff line number Diff line change
Expand Up @@ -1218,4 +1218,107 @@ INSERT INTO `rest_pjsip_trunks_defaults` (`provider_id`,`keyword`,`data`) VALUES
(24,"t38_udptl_nat","no"),
(24,"transport","0.0.0.0-udp"),
(24,"trust_rpid","no"),
(24,"userconfig","");
(24,"userconfig",""),
(25,"aor_contact",""),
(25,"aors",""),
(25,"auth_rejection_permanent","off"),
(25,"authentication","outbound"),
(25,"client_uri",""),
(25,"codecs","g729,ulaw,alaw"),
(25,"context","from-pstn"),
(25,"dialopts",""),
(25,"dialoutopts_cb","sys"),
(25,"direct_media","no"),
(25,"disabletrunk","off"),
(25,"dtmfmode","auto"),
(25,"expiration","300"),
(25,"failtrunk_enable","0"),
(25,"fatal_retry_interval","0"),
(25,"fax_detect","no"),
(25,"forbidden_retry_interval","10"),
(25,"force_rport","yes"),
(25,"from_domain","voip2.voiptelitalia.it"),
(25,"hcid","on"),
(25,"identify_by","default"),
(25,"inband_progress","no"),
(25,"language",""),
(25,"match",""),
(25,"max_retries","10000"),
(25,"maxchans",""),
(25,"media_address",""),
(25,"media_encryption","no"),
(25,"message_context",""),
(25,"npanxx",""),
(25,"outbound_proxy","sip:127.0.0.1:5060"),
(25,"peerdetails",""),
(25,"qualify_frequency","60"),
(25,"register",""),
(25,"registration","send"),
(25,"retry_interval","60"),
(25,"rewrite_contact","yes"),
(25,"rtp_symmetric","no"),
(25,"sendrpid","no"),
(25,"server_uri",""),
(25,"sip_server","voip2.voiptelitalia.it"),
(25,"sip_server_port","5060"),
(25,"support_path","no"),
(25,"sv_usercontext",""),
(25,"t38_udptl","no"),
(25,"t38_udptl_ec","none"),
(25,"t38_udptl_maxdatagram",""),
(25,"t38_udptl_nat","no"),
(25,"transport","0.0.0.0-udp"),
(25,"trust_rpid","no"),
(25,"userconfig",""),
(26,"aor_contact",""),
(26,"aors",""),
(26,"auth_rejection_permanent","off"),
(26,"authentication","outbound"),
(26,"client_uri",""),
(26,"codecs","g729,ulaw,alaw"),
(26,"context","from-pstn"),
(26,"dialopts",""),
(26,"dialoutopts_cb","sys"),
(26,"direct_media","no"),
(26,"disabletrunk","off"),
(26,"dtmfmode","auto"),
(26,"expiration","300"),
(26,"failtrunk_enable","0"),
(26,"fatal_retry_interval","0"),
(26,"fax_detect","no"),
(26,"forbidden_retry_interval","10"),
(26,"force_rport","yes"),
(26,"from_domain","sbc.tcrs.it"),
(26,"hcid","on"),
(26,"identify_by","default"),
(26,"inband_progress","no"),
(26,"language",""),
(26,"match",""),
(26,"max_retries","10000"),
(26,"maxchans",""),
(26,"media_address",""),
(26,"media_encryption","no"),
(26,"message_context",""),
(26,"npanxx",""),
(26,"outbound_proxy","sip:127.0.0.1:5060"),
(26,"peerdetails",""),
(26,"qualify_frequency","60"),
(26,"register",""),
(26,"registration","send"),
(26,"retry_interval","60"),
(26,"rewrite_contact","yes"),
(26,"rtp_symmetric","no"),
(26,"sendrpid","no"),
(26,"server_uri",""),
(26,"sip_server","sbc.tcrs.it"),
(26,"sip_server_port","5060"),
(26,"support_path","no"),
(26,"sv_usercontext",""),
(26,"t38_udptl","no"),
(26,"t38_udptl_ec","none"),
(26,"t38_udptl_maxdatagram",""),
(26,"t38_udptl_nat","no"),
(26,"transport","0.0.0.0-udp"),
(26,"trust_rpid","no"),
(26,"userconfig","");

0 comments on commit d848588

Please sign in to comment.