καλησπερα στην ομαδα.Ζητω και εγω την βοηθεια σας σε ενα προβλημα που δεν μπορω να λυσω οσο και να προσπαθησα.
εχουμε το εξης σεναριο
fritzbox με pstn γραμμη συνδεδεμενη πανω του και με δημιουργημενο εσωτερικο 602 στην ip 192.168.1.106
Ipbx 2027d με ip 192.168.1.112 συνδεεται με PJsip trunk στο εσωτερικο 602 (συνδεση σε port 5060 ενω η ρυθμιση στο Ipbx ακουει στην 5061)
η γραμμη φαινεται να γινεται registered κανονικα οπως φαινεται στο asterisk info
Endpoint: fritzbox Not in use 0 of inf
OutAuth: fritzbox/620
Aor: fritzbox 0
Contact: fritzbox/sip:620@192.168.1.106:5060 c416294fb9 Avail 28.632
Transport: 0.0.0.0-udp udp 3 96 0.0.0.0:5061
Identify: fritzbox/fritzbox
Match: 192.168.1.106/32
απο το εσωτερικο εχω κανονικα εξερχομενη
αλλα καμια εισερχομενη
παραθετω ρυθμισεις trunk inbound και outbound roules
TRUNK
name=fritzbox
outbound caller id=620 η 21067χχχχ (και τα δυο λειτουργησαν με το ιδιο αποτελεσμα)
cid=force trunk
maximun channels-1
pjsip settings
username=620
pass=620 (Κωδικος αναφορας)
Authentication=outbound
registration-send
sip server=192.168.1.106
server port=5060
Context=from-trunk
transport=0.0.0.0-udp
Advanced
DTMF Mode=inband
Permanent Auth Rejection=no
From-domain=192.168.1.106
from user=620
Inbound routes
DID number =602 (εχει δοκιμαστει και το δεκαψηφιο αλλα και το κενο,any αλλα χωρις αποτελεσμα)
CID number=any
destination= extension 1001
outbound routes
route cid=<210671xxxx>.(πληρες 10ψηφιο0
Override Extension =yes
dial pattent=2XXXXXXXXX , 69XXXXXXXX , 80[01]XXXXXXX , 1[0169][0269]
Οποαδητοτε γνωμη συμβουλη δοκιμη δεκτη
Εμφάνιση 1-15 από 15
-
31-05-23, 17:17 fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #1
-
31-05-23, 17:51 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #2
Κατά την διάρκεια μιας εισερχόμενης κλήσης το asterisk cli τι εμφανίζει;
-
31-05-23, 17:54 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #3
-
31-05-23, 18:10 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #4
DID fritzbox έχεις δοκιμάσει στο inbound route;
-
31-05-23, 18:16 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #5
-
31-05-23, 18:25 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #6
Ως root μέσου putty έχοντας το asterisk cli ανοιχτό (asterisk -rvvvvvvvvvvvvvvvv) κάνε copy το log.
- - - Updated - - -
Με DID κενό
-
31-05-23, 18:29 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #7
<--- Received SIP request (1075 bytes) from UDP:192.168.1.106:5060 --->
INVITE sip:s@192.168.1.112:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK92FADEA00EE7F1EE
From: <sip:6984632510@fritz.fonwlan.box>;tag=A85E829BD081E72B
To: <sip:s@192.168.1.112:5061>
Call-ID: 3CBC12E9E711123F@192.168.1.106
CSeq: 85 INVITE
Contact: <sip:F97059E45B483EF058AA115541F29@192.168.1.106>
Max-Forwards: 70
Expires: 120
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,ME SSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 358
v=0
o=user 12896621 12896621 IN IP4 192.168.1.106
s=call
c=IN IP4 192.168.1.106
t=0 0
m=audio 7082 RTP/AVP 8 0 102 100 99 97 18 101
a=sendrecv
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7083
<--- Transmitting SIP response (329 bytes) to UDP:192.168.1.106:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.106:5060;rport=5060;received=192.168.1.106;branch=z9h G4bK92FADEA00EE7F1EE
Call-ID: 3CBC12E9E711123F@192.168.1.106
From: <sip:6984632510@fritz.fonwlan.box>;tag=A85E829BD081E72B
To: <sip:s@192.168.1.112>
CSeq: 85 INVITE
Server: IncrediblePBX-16.0.39(19.0)
Content-Length: 0
<--- Received SIP request (469 bytes) from UDP:192.168.1.106:5060 --->
CANCEL sip:s@192.168.1.112:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK92FADEA00EE7F1EE
From: <sip:6984632510@fritz.fonwlan.box>;tag=A85E829BD081E72B
To: <sip:s@192.168.1.112:5061>
Call-ID: 3CBC12E9E711123F@192.168.1.106
CSeq: 85 CANCEL
Reason: Q.850; cause=16
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Content-Length: 0
<--- Transmitting SIP response (366 bytes) to UDP:192.168.1.106:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.106:5060;rport=5060;received=192.168.1.106;branch=z9h G4bK92FADEA00EE7F1EE
Call-ID: 3CBC12E9E711123F@192.168.1.106
From: <sip:6984632510@fritz.fonwlan.box>;tag=A85E829BD081E72B
To: <sip:s@192.168.1.112>;tag=92f68590-87c0-4f49-839e-5c92d4e986c1
CSeq: 85 CANCEL
Server: IncrediblePBX-16.0.39(19.0)
Content-Length: 0
<--- Transmitting SIP response (406 bytes) to UDP:192.168.1.106:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.1.106:5060;rport=5060;received=192.168.1.106;branch=z9h G4bK92FADEA00EE7F1EE
Call-ID: 3CBC12E9E711123F@192.168.1.106
From: <sip:6984632510@fritz.fonwlan.box>;tag=A85E829BD081E72B
To: <sip:s@192.168.1.112>;tag=92f68590-87c0-4f49-839e-5c92d4e986c1
CSeq: 85 INVITE
Server: IncrediblePBX-16.0.39(19.0)
Reason: Q.850;cause=16
Content-Length: 0
-- Executing [s@from-trunk:1] Set("PJSIP/fritzbox-0000001c", "__DIRECTION=IN BOUND") in new stack
-- Executing [h@from-trunk:1] Macro("PJSIP/fritzbox-0000001c", "hangupcall," ) in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/fritzbox-0000001c", "1?the end") in new stack
<--- Received SIP request (385 bytes) from UDP:192.168.1.106:5060 --->
ACK sip:s@192.168.1.112:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK92FADEA00EE7F1EE
From: <sip:6984632510@fritz.fonwlan.box>;tag=A85E829BD081E72B
To: <sip:s@192.168.1.112>;tag=92f68590-87c0-4f49-839e-5c92d4e986c1
Call-ID: 3CBC12E9E711123F@192.168.1.106
CSeq: 85 ACK
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Content-Length: 0
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/fritzbox-0000001c", "0?Set (CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/fritzbox-0000001c", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/fritzbox -0000001c' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'PJSIP/fritzbox-00000 01c'
<--- Transmitting SIP request (429 bytes) to UDP:192.168.1.106:5060 --->
OPTIONS sip:620@192.168.1.106:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.112:5061;rport;branch=z9hG4bKPj072ab2e2-8887-4127-93d 5-c289224d8322
From: <sip:620@192.168.1.106>;tag=5a5684f9-8663-4359-8375-a857bb3294bf
To: <sip:620@192.168.1.106>
Contact: <sip:620@192.168.1.112:5061>
Call-ID: 54fde31a-1728-4181-a522-430e76c50a04
CSeq: 56885 OPTIONS
Max-Forwards: 70
User-Agent: IncrediblePBX-16.0.39(19.0)
Content-Length: 0
<--- Received SIP response (540 bytes) from UDP:192.168.1.106:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.112:5061;rport=5061;branch=z9hG4bKPj072ab2e2-8887-412 7-93d5-c289224d8322
From: <sip:620@192.168.1.106>;tag=5a5684f9-8663-4359-8375-a857bb3294bf
To: <sip:620@192.168.1.106>;tag=5B33D62CD651A8D0
Call-ID: 54fde31a-1728-4181-a522-430e76c50a04
CSeq: 56885 OPTIONS
Contact: <sip:F97059E45B483EF058AA115541F29@192.168.1.106>
WWW-Authenticate: Digest realm="fritz.box", nonce="FEC7D06A1730108E"
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Content-Length: 0
<--- Transmitting SIP request (591 bytes) to UDP:192.168.1.106:5060 --->
OPTIONS sip:620@192.168.1.106:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.112:5061;rport;branch=z9hG4bKPjcded2e04-7a93-43f5-b08 6-5fdac99305b3
From: <sip:620@192.168.1.106>;tag=5a5684f9-8663-4359-8375-a857bb3294bf
To: <sip:620@192.168.1.106>
Contact: <sip:620@192.168.1.112:5061>
Call-ID: 54fde31a-1728-4181-a522-430e76c50a04
CSeq: 56886 OPTIONS
Max-Forwards: 70
User-Agent: IncrediblePBX-16.0.39(19.0)
Authorization: Digest username="620", realm="fritz.box", nonce="FEC7D06A1730108E ", uri="sip:620@192.168.1.106:5060", response="147889bb1035f674e300dec373556e87"
Content-Length: 0
<--- Received SIP response (1086 bytes) from UDP:192.168.1.106:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.112:5061;rport=5061;branch=z9hG4bKPjcded2e04-7a93-43f 5-b086-5fdac99305b3
From: <sip:620@192.168.1.106>;tag=5a5684f9-8663-4359-8375-a857bb3294bf
To: <sip:620@192.168.1.106>;tag=72D16992756B6943
Call-ID: 54fde31a-1728-4181-a522-430e76c50a04
CSeq: 56886 OPTIONS
Contact: <sip:F97059E45B483EF058AA115541F29@192.168.1.106>
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,ME SSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 356
v=0
o=user 7498367 7498367 IN IP4 192.168.1.106
s=call
c=IN IP4 192.168.1.106
t=0 0
m=audio 7078 RTP/AVP 8 0 102 100 99 97 18 101
a=sendrecv
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7079
<--- Transmitting SIP request (433 bytes) to UDP:192.168.1.120:6062 --->
OPTIONS sip:1001@192.168.1.120:6062 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.112:5061;rport;branch=z9hG4bKPjd24b3563-3d44-4892-811 8-21ff6e80638d
From: <sip:1001@192.168.1.112>;tag=da2e8977-14c4-431c-a2a8-805a1334ba72
To: <sip:1001@192.168.1.120>
Contact: <sip:1001@192.168.1.112:5061>
Call-ID: a3f3f014-1cbf-45e3-9347-01d1be7212e1
CSeq: 64231 OPTIONS
Max-Forwards: 70
User-Agent: IncrediblePBX-16.0.39(19.0)
Content-Length: 0
<--- Received SIP response (492 bytes) from UDP:192.168.1.120:6062 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.112:5061;rport=5061;branch=z9hG4bKPjd24b3563-3d44-489 2-8118-21ff6e80638d
From: <sip:1001@192.168.1.112>;tag=da2e8977-14c4-431c-a2a8-805a1334ba72
To: <sip:1001@192.168.1.120>;tag=1309135096
Call-ID: a3f3f014-1cbf-45e3-9347-01d1be7212e1
CSeq: 64231 OPTIONS
Supported: replaces, path, timer, eventlist
User-Agent: Grandstream DP752 1.0.15.15
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
Content-Length: 0
noreply*CLI>
-
31-05-23, 18:55 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #8
Τι codecs έχεις στο pjsip trunk;
Δεν βλέπω g711u / a στις κεφαλίδες.
DID θα είναι το 620, και λογικά είναι θέμα codecs στην εισερχόμενη κλήση.
-
31-05-23, 19:10 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #9
g722 και και ulaw δεν εχει επιλογη στον trunk για g711u.Αν ηταν θεμα codec δεν θα υπηρχε προβλημα και στις εξερχομενες ?
Τελευταία επεξεργασία από το μέλος djthomasd : 31-05-23 στις 19:20.
-
31-05-23, 19:23 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #10
Σωστά στις ρυθμίσεις του pjsip trunk αναφέρεται σαν ulaw. Βγάλε το 722 και ξαναδοκίμασε.
- - - Updated - - -
Βάλε και το codec alaw.
-
31-05-23, 19:24 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #11
εαν διαβαζω σωστα τα logs φαινεται να μην δρομολογει σωστα το fritz με κατι που το κεντρο μπορει να αναγνωρισει
-- Executing [s@from-trunk:1] NoOp("PJSIP/fritzbox-0000001f", "No DID or CID Match") in new stack
-- Executing [s@from-trunk:2] Answer("PJSIP/fritzbox-0000001f", "") in new stack
> 0x7f0b88027340 -- Strict RTP learning after remote address set to: 192.168.1.106:7078
<--- Transmitting SIP response (771 bytes) to UDP:192.168.1.106:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.106:5060;rport=5060;received=192.168.1.106;branch=z9hG4bK7E2E3DE1F6C87705
Call-ID: 6E04521D0216EFB5@192.168.1.106
From: <sip:6984632510@fritz.fonwlan.box>;tag=3698740E696940EE
To: <sip:s@192.168.1.112>;tag=02317d24-b78b-4ff0-bf5b-d33bcb850089
CSeq: 91 INVITE
Server: IncrediblePBX-16.0.39(19.0)
Contact: <sip:192.168.1.112:5061>
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Content-Type: application/sdp
Content-Length: 177
v=0
o=- 6798545 6798547 IN IP4 192.168.1.112
s=Asterisk
c=IN IP4 192.168.1.112
t=0 0
m=audio 19542 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:20
a=maxptime:150
a=sendrecv
<--- Received SIP request (461 bytes) from UDP:192.168.1.106:5060 --->
ACK sip:192.168.1.112:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bKA2014F88B2FEC1EA
From: <sip:6984632510@fritz.fonwlan.box>;tag=3698740E696940EE
To: <sip:s@192.168.1.112>;tag=02317d24-b78b-4ff0-bf5b-d33bcb850089
Call-ID: 6E04521D0216EFB5@192.168.1.106
CSeq: 91 ACK
Contact: <sip:F97059E45B483EF058AA115541F29@192.168.1.106>
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Content-Length: 0
<--- Received SIP request (687 bytes) from UDP:192.168.1.106:5060 --->
BYE sip:192.168.1.112:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK41B4E640EB92F110
From: <sip:6984632510@fritz.fonwlan.box>;tag=3698740E696940EE
To: <sip:s@192.168.1.112>;tag=02317d24-b78b-4ff0-bf5b-d33bcb850089
Call-ID: 6E04521D0216EFB5@192.168.1.106
CSeq: 92 BYE
X-RTP-Stat: CS=1019998558;PS=0;ES=1;OS=0;SP=0/0;SO=0;QS=-;PR=0;ER=1;OR=0;CR=0;SR=0;QR=-;PL=0,0;BL=0;LS=0;RB=0/0;SB=0/0;EN=PCMU;DE=;JI=0,0;DL=0,0,0;IP=192.168.1.106:7078,192.168.1.112:19542
Reason: Q.850; cause=16
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Content-Length: 0
<--- Transmitting SIP response (363 bytes) to UDP:192.168.1.106:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.106:5060;rport=5060;received=192.168.1.106;branch=z9hG4bK41B4E640EB92F110
Call-ID: 6E04521D0216EFB5@192.168.1.106
From: <sip:6984632510@fritz.fonwlan.box>;tag=3698740E696940EE
To: <sip:s@192.168.1.112>;tag=02317d24-b78b-4ff0-bf5b-d33bcb850089
CSeq: 92 BYE
Server: IncrediblePBX-16.0.39(19.0)
Content-Length: 0
== Spawn extension (from-trunk, s, 2) exited non-zero on 'PJSIP/fritzbox-0000001f'
-- Executing [h@from-trunk:1] Macro("PJSIP/fritzbox-0000001f", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/fritzbox-0000001f", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/fritzbox-0000001f", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/fritzbox-0000001f", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/fritzbox-0000001f' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'PJSIP/fritzbox-0000001f'
noreply*CLI> Spawn extension (from-trunk, s, 2) exited non-zero on 'PJSIP/fritzbox-0000001f'
noreply*CLI> -- Executing [h@from-trunk:1] Macro("PJSIP/fritzbox-0000001f", "hangupcall,") in new stack
noreply*CLI> -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/fritzbox-0000001f", "1Τελευταία επεξεργασία από το μέλος djthomasd : 31-05-23 στις 19:34.
-
31-05-23, 19:59 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #12
Δοκίμασε στο trunk να αλλάξεις την ρύθμιση Match Inbound Authentication
στην καρτέλα advanced σε username.
-
31-05-23, 21:04 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #13
καμια αλλαγη παρατηρω στα logs οτι κανει αμεσα hangup
<--- Received SIP request (1080 bytes) from UDP:192.168.1.106:5060 --->
INVITE sip:620@192.168.1.112:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK5C0C862C90B95ECC
From: <sip:6984632510@fritz.fonwlan.box>;tag=7B6D50398952D31A
To: <sip:620@192.168.1.112:5061>
Call-ID: DF3A466B1B68CE51@192.168.1.106
CSeq: 141 INVITE
Contact: <sip:F97059E45B483EF058AA115541F29@192.168.1.106>
Max-Forwards: 70
Expires: 120
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 358
v=0
o=user 15992587 15992587 IN IP4 192.168.1.106
s=call
c=IN IP4 192.168.1.106
t=0 0
m=audio 7086 RTP/AVP 8 0 102 100 99 97 18 101
a=sendrecv
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7087
<--- Transmitting SIP response (332 bytes) to UDP:192.168.1.106:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.106:5060;rport=5060;received=192.168.1.106;branch=z9hG4bK5C0C862C90B95ECC
Call-ID: DF3A466B1B68CE51@192.168.1.106
From: <sip:6984632510@fritz.fonwlan.box>;tag=7B6D50398952D31A
To: <sip:620@192.168.1.112>
CSeq: 141 INVITE
Server: IncrediblePBX-16.0.39(19.0)
Content-Length: 0
-- Executing [620@from-trunk:1] Set("PJSIP/fritzbox-0000003a", "__FROM_DID=620") in new stack
-- Executing [620@from-trunk:2] NoOp("PJSIP/fritzbox-0000003a", "Received an unknown call with DID set to 620") in new stack
-- Executing [620@from-trunk:3] Goto("PJSIP/fritzbox-0000003a", "s,a2") in new stack
-- Goto (from-trunk,s,2)
-- Executing [s@from-trunk:2] Answer("PJSIP/fritzbox-0000003a", "") in new stack
> 0x562d652f5810 -- Strict RTP learning after remote address set to: 192.168.1.106:7086
<--- Transmitting SIP response (776 bytes) to UDP:192.168.1.106:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.106:5060;rport=5060;received=192.168.1.106;branch=z9hG4bK5C0C862C90B95ECC
Call-ID: DF3A466B1B68CE51@192.168.1.106
From: <sip:6984632510@fritz.fonwlan.box>;tag=7B6D50398952D31A
To: <sip:620@192.168.1.112>;tag=1fa0e78b-2d80-4a8d-adce-dc67e75130ff
CSeq: 141 INVITE
Server: IncrediblePBX-16.0.39(19.0)
Contact: <sip:192.168.1.112:5061>
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Content-Type: application/sdp
Content-Length: 179
v=0
o=- 15992587 15992589 IN IP4 192.168.1.112
s=Asterisk
c=IN IP4 192.168.1.112
t=0 0
m=audio 12236 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:20
a=maxptime:150
a=sendrecv
<--- Received SIP request (464 bytes) from UDP:192.168.1.106:5060 --->
ACK sip:192.168.1.112:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bKE66579E55FDAC7F5
From: <sip:6984632510@fritz.fonwlan.box>;tag=7B6D50398952D31A
To: <sip:620@192.168.1.112>;tag=1fa0e78b-2d80-4a8d-adce-dc67e75130ff
Call-ID: DF3A466B1B68CE51@192.168.1.106
CSeq: 141 ACK
Contact: <sip:F97059E45B483EF058AA115541F29@192.168.1.106>
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Content-Length: 0
<--- Received SIP request (690 bytes) from UDP:192.168.1.106:5060 --->
BYE sip:192.168.1.112:5061 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK98B6E43BB9B80FD3
From: <sip:6984632510@fritz.fonwlan.box>;tag=7B6D50398952D31A
To: <sip:620@192.168.1.112>;tag=1fa0e78b-2d80-4a8d-adce-dc67e75130ff
Call-ID: DF3A466B1B68CE51@192.168.1.106
CSeq: 142 BYE
X-RTP-Stat: CS=1025860427;PS=0;ES=0;OS=0;SP=0/0;SO=0;QS=-;PR=0;ER=1;OR=0;CR=0;SR=0;QR=-;PL=0,0;BL=0;LS=0;RB=0/0;SB=0/0;EN=PCMU;DE=;JI=0,0;DL=0,0,0;IP=192.168.1.106:7086,192.168.1.112:12236
Reason: Q.850; cause=16
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 Annex A 58.04.85 (Feb 9 2014)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Content-Length: 0
<--- Transmitting SIP response (366 bytes) to UDP:192.168.1.106:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.106:5060;rport=5060;received=192.168.1.106;branch=z9hG4bK98B6E43BB9B80FD3
Call-ID: DF3A466B1B68CE51@192.168.1.106
From: <sip:6984632510@fritz.fonwlan.box>;tag=7B6D50398952D31A
To: <sip:620@192.168.1.112>;tag=1fa0e78b-2d80-4a8d-adce-dc67e75130ff
CSeq: 142 BYE
Server: IncrediblePBX-16.0.39(19.0)
Content-Length: 0
== Spawn extension (from-trunk, s, 2) exited non-zero on 'PJSIP/fritzbox-0000003a'
-- Executing [h@from-trunk:1] Macro("PJSIP/fritzbox-0000003a", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/fritzbox-0000003a", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/fritzbox-0000003a", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/fritzbox-0000003a", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/fritzbox-0000003a' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'PJSIP/fritzbox-0000003a'
noreply*CLI>
-
31-05-23, 22:03 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #14
DID = 620
Το fritz έχει ρυθμιστή να μην στέλνει σαν codec το g711u, g711a (PCMU, PCMA). Έτσι μη βρίσκοντας αντίστοιχο codec με τον asterisk τερματίζει την κλήση.
-
31-05-23, 22:17 Απάντηση: fritzbox sip trunk και IPBX Εξερχομενες αλλα οχι εισερχομενες #15
Bookmarks