Skip to content

Commit

Permalink
Add new provider Active Network Evoip (#370)
Browse files Browse the repository at this point in the history
* Update 50_asterisk.providers.sql
* Update 50_asterisk.rest_pjsip_providers.sql
* Update 50_asterisk.rest_pjsip_trunks_custom_flags.sql
* Update 50_asterisk.rest_pjsip_trunks_defaults.sql

NethServer/dev#7290
  • Loading branch information
viktec authored Jan 29, 2025
1 parent 8457a6f commit ec6dae3
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
USE `asterisk`;
INSERT INTO `providers` (`provider`,`description`,`dettpeer`,`dettuser`,`registration`) VALUES
("activenetwork","Active Network","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=sip.activenetwork.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=sip.activenetwork.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=sip.activenetwork.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("activenetworkevoip","Active Network evoip","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=evoip.activenetwork.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=evoip.activenetwork.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nuseragent=Asterisk_Eut\nusername=USERNAME\nfromdomain=evoip.activenetwork.it","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("cheapnet","Cheapnet","disallow=all\nallow=CODECS\ndtmfmode=rfc2833\nfromdomain=sip.cheapnet.it\nhost=sip.cheapnet.it\nqualify=yes\nsecret=PASSWORD\ntype=friend\nnat=yes\nusername=USERNAME\ncanreinvite=no\ncontext=from-pstn\nsendrpid=no\ninsecure=port,invite","allow=CODECS\ncontext=from-pstn\nsecret=PASSWORD\ntype=user\ndtmfmode=rfc2833","USERNAME:[email protected]/NUMERO"),
("clouditalia","Clouditalia","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=voip.eutelia.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=voip.eutelia.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"),
("messagenet","MessageNet","disallow=all\nallow=CODECS\nbindaddr=0.0.0.0\ncanreinvite=yes\ndefaultexpirey=330\ndtmfmode=rfc2833\nfromuser=USERNAME\nhost=sip.messagenet.it\ninsecure=very\nnat=yes\nport=5060\nqualify=yes\nrealm=sip.messagenet.it\nsecret=PASSWORD\nsrvlookup=yes\ntype=friend\nusername=USERNAME","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 @@ -28,4 +28,5 @@ INSERT INTO `rest_pjsip_providers` (`id`,`provider`,`description`) VALUES
(23,"xstream","XStream"),
(24,"digitalia","Digitalia ICT"),
(25,"voiptel2","VoipTel 2"),
(26,"terrecablate","Terrecablate");
(26,"terrecablate","Terrecablate"),
(27,"activenetworkevoip","Active Network evoip");
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ INSERT INTO `rest_pjsip_trunks_custom_flags` (`provider_id`,`keyword`,`value`) V
(24,"disable_topos_header",0),
(25,"disable_topos_header",0),
(26,"disable_topos_header",0),
(27,"disable_topos_header",0),
(1,"disable_srtp_header",1),
(2,"disable_srtp_header",1),
(3,"disable_srtp_header",0),
Expand All @@ -54,4 +55,5 @@ INSERT INTO `rest_pjsip_trunks_custom_flags` (`provider_id`,`keyword`,`value`) V
(23,"disable_srtp_header",1),
(24,"disable_srtp_header",1),
(25,"disable_srtp_header",1),
(26,"disable_srtp_header",1);
(26,"disable_srtp_header",1),
(27,"disable_srtp_header",1);
Original file line number Diff line number Diff line change
Expand Up @@ -1320,4 +1320,56 @@ INSERT INTO `rest_pjsip_trunks_defaults` (`provider_id`,`keyword`,`data`) VALUES
(26,"t38_udptl_nat","no"),
(26,"transport","0.0.0.0-udp"),
(26,"trust_rpid","no"),
(26,"userconfig","");
(26,"userconfig",""),
(27,"aor_contact",""),
(27,"aors",""),
(27,"auth_rejection_permanent","off"),
(27,"authentication","outbound"),
(27,"client_uri",""),
(27,"codecs","ulaw,alaw"),
(27,"context","from-pstn-toheader"),
(27,"dialopts",""),
(27,"dialoutopts_cb","sys"),
(27,"direct_media","no"),
(27,"disabletrunk","off"),
(27,"dtmfmode","auto"),
(27,"expiration","300"),
(27,"failtrunk_enable","0"),
(27,"fatal_retry_interval","0"),
(27,"fax_detect","no"),
(27,"forbidden_retry_interval","10"),
(27,"force_rport","yes"),
(27,"from_domain","evoip.activenetwork.it"),
(27,"hcid","on"),
(27,"identify_by","default"),
(27,"inband_progress","no"),
(27,"language",""),
(27,"match",""),
(27,"max_retries","10000"),
(27,"maxchans",""),
(27,"media_address",""),
(27,"media_encryption","no"),
(27,"message_context",""),
(27,"npanxx",""),
(27,"outbound_proxy","sip:127.0.0.1:5060"),
(27,"peerdetails",""),
(27,"qualify_frequency","60"),
(27,"register",""),
(27,"registration","send"),
(27,"retry_interval","60"),
(27,"rewrite_contact","yes"),
(27,"rtp_symmetric","no"),
(27,"sendrpid","no"),
(27,"server_uri",""),
(27,"sip_server","evoip.activenetwork.it"),
(27,"sip_server_port","5060"),
(27,"support_path","no"),
(27,"sv_usercontext",""),
(27,"t38_udptl","no"),
(27,"t38_udptl_ec","none"),
(27,"t38_udptl_maxdatagram",""),
(27,"t38_udptl_nat","no"),
(27,"transport","0.0.0.0-udp"),
(27,"trust_rpid","no"),
(27,"userconfig","");

0 comments on commit ec6dae3

Please sign in to comment.