Και για τον φίλο doggano που παίζει σε ξερό asterisk και όποιον άλλο είναι σε παρόμοια φάση, αυτά παράγει το freepbx
μετά το +30210 σύμπληρωσα στην φόρμα το όνομα του πεδίου για να ξέρουμε που βάζει τι το freepbx. Συμπληρώνεται αντίστοιχα με τα Print screen του netblues.root@freepbx:/etc/asterisk# grep +30210 *
grep: keys: Is a directory
pjsip.aor.conf:contact=sip:+30210username@sipserver-ims.cosmote.gr:5060
pjsip.auth.conf:username=+30210authusername@ims.cosmote.gr
pjsip.endpoint.conf:contact_user=+30210contactuser
pjsip.registration.conf:contact_user=+30210contactuser
pjsip.registration.conf:client_uri=sip:+30210username@sipserver-ims.cosmote.gr:5060
root@freepbx:/etc/asterisk# cat pjsip.aor.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate. ;
;--------------------------------------------------------------------------------;
#include pjsip.aor_custom.conf
[Test-cosmote]
type=aor
qualify_frequency=60
contact=sip:+30210username@sipserver-ims.cosmote.gr:5060
root@freepbx:/etc/asterisk# cat pjsip.auth.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate. ;
;--------------------------------------------------------------------------------;
#include pjsip.auth_custom.conf
[Test-cosmote]
type=auth
auth_type=userpass
password=thepassword
username=+30210authusername@ims.cosmote.gr
root@freepbx:/etc/asterisk# cat pjsip.endpoint.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate. ;
;--------------------------------------------------------------------------------;
#include pjsip.endpoint_custom.conf
[Test-cosmote]
type=endpoint
transport=0.0.0.0-udp
context=from-pstn
disallow=all
allow=ulaw,alaw,gsm,g726,g722,h264,mpeg4,h261,h263,h265,h263p,vp9,vp8
aors=Test-cosmote
send_connected_line=false
language=en
outbound_auth=Test-cosmote
from_domain=ims.cosmote.gr
contact_user=+30210contactuser
user_eq_phone=no
t38_udptl=no
t38_udptl_ec=none
fax_detect=no
trust_id_inbound=no
t38_udptl_nat=no
identify_by=auth_username
direct_media=no
rtp_symmetric=yes
dtmf_mode=auto
root@freepbx:/etc/asterisk# cat pjsip.registration.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate. ;
;--------------------------------------------------------------------------------;
#include pjsip.registration_custom.conf
[Test-cosmote]
type=registration
transport=0.0.0.0-udp
outbound_auth=Test-cosmote
retry_interval=60
fatal_retry_interval=30
forbidden_retry_interval=30
max_retries=10000
expiration=3600
auth_rejection_permanent=no
line=yes
endpoint=Test-cosmote
contact_user=+30210contactuser
server_uri=sip:sipserver-ims.cosmote.gr:5060
client_uri=sip:+30210username@sipserver-ims.cosmote.gr:5060
Εμφάνιση 16-30 από 163
Θέμα: OTE VoIP PJSIP Trunk
-
30-04-21, 14:17 Re: OTE VoIP PJSIP Trunk #16
-
30-04-21, 14:24 Απάντηση: OTE VoIP PJSIP Trunk #17
Ωραια. φτιαχε ομως και το allow, ειναι μονο alaw και g722 οχι ολα αυτα. Πιθανοτατα παιζει και ετσι, αλλα ποτε δεν ξερεις τι μπορει να γινει..
-
03-05-21, 01:01 Απάντηση: OTE VoIP PJSIP Trunk #18
To σπάσατε ρε θηρία;
Ανυπομονώ να το δοκιμάσω!
-
03-05-21, 01:35 Απάντηση: OTE VoIP PJSIP Trunk #19
κερδίζουμε κάτι με το pjsip?
RB3011 & RB LHGG & ZTE MC8020 | ucm6202 | fritzbox 7390 | HP microserver gen8 | Raspberry pi 2 tvserver | ....και αρκετά ακόμη...
-
03-05-21, 15:19 Απάντηση: OTE VoIP PJSIP Trunk #20
-
03-05-21, 19:58 Απάντηση: OTE VoIP PJSIP Trunk #21RB3011 & RB LHGG & ZTE MC8020 | ucm6202 | fritzbox 7390 | HP microserver gen8 | Raspberry pi 2 tvserver | ....και αρκετά ακόμη...
-
03-05-21, 21:02 Απάντηση: OTE VoIP PJSIP Trunk #22
Ε για τετοιες περιπτωσεις ειναι χρησιμο. Ο δογκανος στο διπλανο thread εχει τρεις οτε πχ. Πλεον μπορει με ενα asterisk install και pjsip να τα εχει ολα σε ενα
-
06-05-21, 23:10 Απάντηση: Re: OTE VoIP PJSIP Trunk #23
@astbox:
Επιτέλους βρέθηκα σε test setup με μία διαθέσιμη γραμμή OTE, για να τεστάρω το pjsip. Δεν μου παίζει με το μήνυμα
Κώδικας:res_pjsip_outbound_registration.c:796 schedule_retry: No response received from 'sip:sipserver-ims.cosmote.gr:5060' on registration attempt to 'sip:+302310000000@sipserver-ims.cosmote.gr:5060', retrying in '60'
Κάνοντας λίγο troubleshooting βλέπω ότι έχει ήδη πρόβλημα στο DNS επίπεδο και δεν βρίσκει IP να μιλήσει:
23:02:38.654851 IP 192.168.1.100.12036 > 192.168.1.1.53: 49649+ [1au] A? sipserver-ims.cosmote.gr. (53)
E..Q....@. ....d..../..5.=...............sipserver-ims.cosmote.gr.......)........
23:02:38.655917 IP 192.168.1.1.53 > 192.168.1.100.12036: 49649 NXDomain 0/0/0 (42)
E..Fn.@.@.H........d.5/..2...............sipserver-ims.cosmote.gr.....
Άλλη ερώτηση είναι η εξής: Δεν έπρεπε το config σου να έχει και ένα type = identify section;
-
06-05-21, 23:43 Re: OTE VoIP PJSIP Trunk #24
Βρει για να καταλάβεις που μπαίνει τι όχι για να το κάνεις απλά κόπει παστε!
Για παράδειγμα το sipserver-ims.otenet.gr τυπώθηκε στο config στις μεταβλητές που βλέπεις επειδή στο freepbx συμπλήρωσα το πεδίο sip server.
Δεν είναι για να μείνει εκεί.
---Edit---
Μου ξέφυγε
#include pjsip.identify_custom.conf
[Test-cosmote]
type=identify
endpoint=Test-cosmote
match=sipserver-ims.cosmote.grΤελευταία επεξεργασία από το μέλος astbox : 06-05-21 στις 23:57.
-
07-05-21, 00:12 Απάντηση: Re: OTE VoIP PJSIP Trunk #25
-
07-05-21, 01:27 Απάντηση: OTE VoIP PJSIP Trunk #26
Όχι βρε παιδιά, τι βαρεμάρα, αγνή ασχετοσύνη ήταν.
Λοιπόν, να δώσω κι εγώ κάτι πίσω στην κοινότητα (έστω στοιχειώδες μια και απλώς είναι σε ένα σημείο έτοιμο όλο το pjsip.conf), ως ευγνωμοσύνη για την πολύτιμη βοήθειά σας.
Το γράφω και με κόκκινα για να φαίνεται σε όποιον στο μέλλον πέσει εδώ: ΕΤΟΙΜΟ pjsip.conf για ΟΤΕ, ΕΛΑ ΠΑΡΕ-ΠΑΡΕ!
Κώδικας:[OTE123456] type = aor qualify_frequency = 60 contact = sip:+302310123456@ims.otenet.gr [OTE123456] type = auth auth_type = userpass password = XXXXXXXX username = +302310123456@ims.otenet.gr [OTE123456] type = endpoint transport = simpletrans context = from-OTE disallow = all allow = alaw,g722 aors = OTE123456 send_connected_line = false language = en outbound_auth = OTE123456 from_domain = ims.otenet.gr contact_user = +302310123456 user_eq_phone = no t38_udptl = no t38_udptl_ec = none fax_detect = no trust_id_inbound = no t38_udptl_nat = no identify_by = auth_username direct_media = no rtp_symmetric = yes dtmf_mode = auto [OTE123456] type = identify endpoint = OTE123456 match = ims.otenet.gr srv_lookups = true [OTE123456] type = registration transport = simpletrans outbound_auth = OTE123456 retry_interval = 60 fatal_retry_interval = 30 forbidden_retry_interval = 30 max_retries = 10000 expiration = 3600 auth_rejection_permanent = no line = yes endpoint = OTE123456 contact_user = +302310123456 server_uri = sip:ims.otenet.gr client_uri = sip:+302310123456@ims.otenet.gr
-
07-05-21, 10:06 Re: OTE VoIP PJSIP Trunk #27
Δεν χρειάζεται να το ψάξεις, θα σε κόψει ΟΤΕ έτσι κι αλλιώς.
Επίσης στο sip δεν υπάρχει αυτή η έννοια (κανάλια). Έχει ξεμείνει από το isdn σαν ορολογία.
Στο chan_sip αυτό που μπορούσες να κάνεις είναι να ορίσεις ένα hard limit στο πόσες ταυτόχρονες κλήσεις επιτρέπεις να έχει ένα endpoint.
Λογικά θα έχει το ίδιο και το chan_pjsip αλλά να σου πω ότι σε ότι sip trunk έχω φτιάξει ποτέ δεν βάζω όριο, αφήνω να με κόψει ο πάροχος.
Επίσης ότι config υπάρχει έξω στου ντουνιά ειδικά για ξερό asterisk επίσης ποτέ δεν το ορίζουν (νταξ επειδή τα περισσότερα είναι κοπι παστε) οπότε απλά λέω μην σκας.
-
07-05-21, 12:32 Απάντηση: OTE VoIP PJSIP Trunk #28
Ο οτε σε κοβει στην εξερχομενη... για τη vodafone μην ορκιζεσαι.
-
08-05-21, 00:44 Απάντηση: OTE VoIP PJSIP Trunk #29
καλησπέρα σας
θα ήθελα την βοηθεια σας
Εχω το εξής πρόβλημα
issabel(LXC) 2 sip trunks ,Οταν κάνουν register μετά απο λίγο περνω το παρακάτω μυνημα.
Ειναι ΟΤΕ VDSL 100 με 2 γραμμες.
[2021-05-07 21:27:57] NOTICE[2603]: chan_sip.c:15918 sip_reg_timeout: -- Registration for '+302101111111@ims.otenet.gr' timed out, trying again (Attempt #36)
[2021-05-07 21:27:57] NOTICE[2603]: chan_sip.c:15918 sip_reg_timeout: -- Registration for '+302102222222@ims.otenet.gr' timed out, trying again (Attempt #36)
[2021-05-07 21:28:01] WARNING[2603]: chan_sip.c:24488 handle_response_register: Forbidden - wrong password on authentication for REGISTER for '+302101111111' to 'ims.otenet.gr'
[2021-05-07 21:28:01] WARNING[2603]: chan_sip.c:24488 handle_response_register: Forbidden - wrong password on authentication for REGISTER for '+302102222222' to 'ims.otenet.gr
Ειναι η τριτη φορα που γινεται αυτο.
Αναγκαστικα ΟΤΕ για να αλλαξει password.
sip trunk configs
Trunk1
username=+302101111111
type=peer
secret=xxxxxxxxx
qualify=yes
insecure=invite
host=ims.otenet.gr
fromuser=+302101111111
fromdomain=ims.otenet.gr
disallow=all
allow=alaw
context=from-trunk
Register string
+302101111111xxxxxxxx:+302101111111@ims.otenet.gr@ims.otenet.gr:5060/+302101111111
Trunk2
username=+302102222222
type=peer
secret=yyyyyyyyy
qualify=yes
insecure=invite
host=ims.otenet.gr
fromuser=+302102222222
fromdomain=ims.otenet.gr
disallow=all
allow=alaw
context=from-trunk
Register string
+302102222222:yyyyyyyyy:+302102222222@ims.otenet.gr@ims.otenet.gr:5060/+302102222222
-
08-05-21, 06:53 Απάντηση: OTE VoIP PJSIP Trunk #30
Αν αφησεις μονο μια γραμμη παιζει κανονικα?
Αυτο δεν ειναι καν pjsip config
Πως συνδεεται με τις δυο γραμμες ο asterisk.?
Στα fora του Issabel κατι λενε θεμε pjsip και διαφορες αλλες ισπανικες κραυγες.
Σιγουρα δεν υπηρχε μεχρι τα τελη του 20
Χωρίς pjsip χρειάζεσαι πολλαπλές εγκαταστάσεις asterisk./issabel
Αλήθεια τωρα, πως σας έρχεται και χρησιμοποιείτε αυτο το πράγμα??Τελευταία επεξεργασία από το μέλος netblues : 08-05-21 στις 07:08.
Παρόμοια Θέματα
-
OTE voip σε Fritz router
Από K1m0n στο φόρουμ AVM ADSL modems και routersΜηνύματα: 2364Τελευταίο Μήνυμα: 06-03-22, 22:29 -
OTE pri30 Και sip trunking
Από Marios30 στο φόρουμ Voice over IP (VoIP) SoftwareΜηνύματα: 62Τελευταίο Μήνυμα: 12-09-18, 09:57 -
Freepbx 3 Ote VoIp Λογαριασμοί
Από vangelisb στο φόρουμ Voice over IP (VoIP) SoftwareΜηνύματα: 6Τελευταίο Μήνυμα: 18-03-18, 18:10 -
OTE sip Trunk Caller id
Από Marios30 στο φόρουμ Voice over IP (VoIP) SoftwareΜηνύματα: 15Τελευταίο Μήνυμα: 08-02-18, 23:13 -
Πότε δινει VoIP o OTE?
Από Shadowjump στο φόρουμ COSMOTE VDSLΜηνύματα: 2Τελευταίο Μήνυμα: 15-11-17, 16:37
Bookmarks