[Problem] Externer Anruf klingelt nicht auf SIP-Client (beides NAT)

gunnicom

Neuer User
Mitglied seit
8 Jun 2016
Beiträge
20
Punkte für Reaktionen
0
Punkte
1
Asterisk 13.18.3
Ich versuche eine Nummer von einem SIP-Anbieter auf einem Softphone auf einem Handy klingeln zu lassen.
Leider kommen externe Anrufe nicht an, wenn das Smartphone (Linphone/Android als Softphone) über die externe IP registriert ist.
Da es funktioniert wenn der SIP-Client im lokalen Netz ist tippe ich auf irgendwas mit NAT/Firewall.

Funktioniert:
  • Von intern auf SIP-Client (extip) anrufen
  • Von intern auf SIP-Client (intip) anrufen
  • Von SIP-Client (extip) auf intern anrufen
  • Von SIP-Client (intip) auf intern anrufen
  • Von SIP-Provider (extip) auf SIP-Client (intip) anrufen
Funktioniert nicht:
  • Von SIP-Provider (extip) auf SIP-Client (extip) anrufen

Wenn das Smartphone über die extern IP registriert ist funktioniert es nicht:
Code:
VLD-ASTERISK1*CLI>
  == Setting global variable 'SIPDOMAIN' to '212.aaa.bbb.ccc'
    -- Executing [123456789@telcopack:1] Dial("PJSIP/telcopackpilz-00000007", "PJSIP/49998") in new stack
    -- Called PJSIP/49998
   ****Beim ANRUFER STILLE, HIER VERGEHT EINE ZEIT, GESCHÄRTZ 30 SEKUNDEN, DANN BESETZTZEICHEN DANN DIE FOLGENDE MELDUNG****
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [123456789@telcopack:2] NoOp("PJSIP/telcopackpilz-00000007", "123456789") in new stack
    -- Auto fallthrough, channel 'PJSIP/telcopackpilz-00000007' status is 'CHANUNAVAIL'
VLD-ASTERISK1*CLI>

Wenn das Telefon im lokalen WLAN registriert ist funktioniert es.
Code:
VLD-ASTERISK1*CLI>
  == Setting global variable 'SIPDOMAIN' to '212.aaa.bbb.ccc'
    -- Executing [123456789@telcopack:1] Dial("PJSIP/telcopackpilz-00000004", "PJSIP/49998") in new stack
    -- Called PJSIP/49998
    -- PJSIP/49998-00000005 is ringing

pjsip.conf
Code:
[defaulttrans]
type=transport
protocol=udp
bind=0.0.0.0
local_net=10.222.2.0/24   ; Nachgetragen vorher ohne ging es auch nicht
external_media_address=212.aaa.bbb.ccc ; Nachgetragen vorher ohne ging es auch nicht
external_signaling_address=212.aaa.bbb.ccc ; Nachgetragen vorher ohne ging es auch nicht

pjsip_wizard.conf
Code:
[telcopackpilz]
type = wizard
transport = defaulttrans
sends_auth = yes
sends_registrations = yes
remote_hosts = sip1.telcopack.ch
outbound_auth/username = 123456789
outbound_auth/password = abc123xyz123abc
endpoint/direct_media = no
endpoint/allow = ulaw,alaw
endpoint/context = telcopack
aor/qualify_frequency = 15
registration/expiration = 1800
registration/contact_user = 123456789

[user-template](!)
type = wizard
transport = defaulttrans
accepts_registrations = yes
accepts_auth = yes
endpoint/direct_media = no
endpoint/allow = ulaw,alaw
endpoint/context = asterisk_phones
aor/qualify_frequency = 15
aor/max_contacts = 3
aor/remove_existing = yes

[49998](user-template)
endpoint/callerid = Smartphone <49998>
inbound_auth/username = 49998
inbound_auth/password = Juppiduhhida

Mit dem PJSIP-Debug Log kann ich leider nicht soviel anfangen, aber wenn das hilft kann ich versuchen das hier anonymisiert zu posten. Oder vielleicht weiss ja so schon einer wo etwas falsch sein könnte?
 
Kostenlos!

Neueste Beiträge

Statistik des Forums

Themen
248,872
Beiträge
2,303,452
Mitglieder
378,532
Neuestes Mitglied
Nik320