TOPLINK-XPRESS SIP-Trunk

Moin,

ich habe folgende Probleme mit einem SIP-Trunk von Toplink-xpress:

  1. Ich kann die PBX ueber alle Rufnummern erreichen, jedoch wird als DID immer nur meinen Nutzernamen
  2. Ich bekomme den Trunk nicht dazu, eine CID mit zu uebertragen.

Hat da jemand erfahreungen, bzw. kann mir helfen?

config des SIP-Trunk:
OUTGOING
trunk name:
toplink_outbound
PEER Details:
type=peer
username=“username”
secret=“password”
insecure=port,invite
host=sip(dot)toplink-xpress(dot)de
fromuser=“usernaem”
fromdomain=sip(dot)toplink-xpress(dot)de

INCOMING
Benutzer Context:
leer
USER Details:
leer
Register String:
“username”:“Password”@toplink_outbound/“username”

Mfg
Bjoern Funk

Kannst du uns die SIP Invite eines eingehenden Anrufs zeigen?
Von der Asterisk Kommandozeile sip set debug on, dann siehst du den SIP traffic.

Funktioniert die Registrierung wirklich nur mit “username”:“Password”@toplink_outbound/“username”?
Warum brauchst du da den username zweimal, also am Ende des Registrierungsstrings nochmal, das habe ich noch nie gesehen.
Hat dir dein Anbieter das so vorgegeben?

Die Configurationseinstellungen habe ich von der Website des anbieters uebernmmen.

www_toplink-xpress_de/wie-kann-ich-meinen-ip-anschluss-an-einer-asterisk-basierten-anlage-einrichten/

Der gewuenschte invite:
–> schnipp <—

— SIP read from UDP:213.218.12.195:5060 —>
INVITE sip:“username”(at)192.168.16.21:5160 SIP/2.0
Via: SIP/2.0/UDP 213.218.12.195:5060;branch=z9hG4bKac1809551536
Max-Forwards: 54
From: <sip:+49"Nr. des anrufers"(at)sip_toplink-xpress_de;user=phone;id=TelNGN>;tag=1c1112885223
To: <sip:+49"angerufene Nummer"(at)sip_toplink-xpress_de>
Call-ID: 20811872542410201916184(at)213.218.12.195
CSeq: 1 INVITE
Contact: <sip:+49"Nr. des anrufers"(at)213.218.12.195:5060>
Supported: 100rel,timer,replaces,histinfo,sdp-anat
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, REFER, NOTIFY, SUBSCRIBE, UPDATE
P-Preferred-Identity: <sip:+49"Nr. des anrurufers"(at)sip_toplink-xpress_de>
User-Agent: TELES-SBC
P-Asserted-Identity: <sip:+49"Nr. des anrurufers"(at)sip_toplink-xpress_de;user=phone>
P-Charging-Vector: 95.116.210.208
Content-Type: application/sdp
Content-Length: 372
P-Ie-Display:
P-Early-Media: sendrecv

v=0
o=- 1314464655 1807445536 IN IP4 213.218.12.40
s=TELES-SBC
c=IN IP4 213.218.12.40
t=0 0
m=audio 19250 RTP/AVP 8 0 18 2 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=silenceSupp:off - - - -
a=ptime:20
a=rtcp:19251 IN IP4 213.218.12.40
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:2 G726-32/8000

–> schnapp <—

Please excuse my writing in English.

In PEER details, add
context=from-pstn-toheader
sendrpid=pai

If you still have trouble with the incoming DID, post the Asterisk log (including SIP trace) for a failing call.

If you still have trouble with outgoing caller ID, post the outgoing INVITE for a failing call.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.