[asterisk-users] Called number changed on SNOM 821

Antony Stone Antony.Stone at asterisk.open.source.it
Tue Dec 28 14:21:29 CST 2021


On Tuesday 28 December 2021 at 20:39:37, Luca Bertoncello wrote:

> After about 6 seconds I get from the Telekom:
> 
> Via: SIP/2.0/UDP
> 87.191.224.158:5060;received=87.191.224.158;rport=5060;branch=z9hG4bKPj43be
> 873a-cf55-4348-8867-5c2bb97bd76a
> To: <sip:01773218409 at tel.t-online.de>;
> tag=h7g4Esbg_p65544t1640719676m169304c9321s1_3514393582-932943693
> From:
> <sip:03529529874 at tel.t-online.de>;tag=4781eb96-b155-421e-8206-593d44c9f7c4
> Call-ID: 478ba582-946c-46ac-984d-6f1835e3391b
> CSeq: 15716 INVITE
> Contact: <sip:sgc_c at 217.0.27.161;transport=udp>
> Record-Route: <sip:217.0.27.161;transport=udp;lr>
> P-Early-Media: sendrecv, gated
> Require: 100rel
> RSeq: 2
> Content-Type: application/sdp
> Content-Length: 281
> Allow: REGISTER, REFER, NOTIFY, SUBSCRIBE, PUBLISH, MESSAGE, UPDATE,
> PRACK, INFO, INVITE, ACK, OPTIONS, CANCEL, BYE

So, no PAID header there, and no mention of "Sekretariat" either.

> Then I see Asterisk sends this to the phone:
> 
> Via: SIP/2.0/UDP
> 192.168.60.53:3072;branch=z9hG4bK-igym6msxn88p;received=192.168.60.53;rport
> =3072
> From: "Sekretariat" <sip:74 at 192.168.60.1>;tag=ts2ye4krhs
> To: <sip:01773218409 at 192.168.60.1;user=phone>;tag=as32fe51ba
> Call-ID: 313634303731393637343630373636-ex7145moy1mt
> CSeq: 2 INVITE
> Server: Asterisk PBX 16.2.1~dfsg-1+deb10u2
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
> INFO, PUBLISH, MESSAGE
> Supported: replaces
> Contact: <sip:01773218409 at 192.168.60.1:5060>
> P-Asserted-Identity: "03529529874" <sip:03529529874 at 192.168.60.1>
> Content-Length: 0
> 
> So, it seems Asterisk receives from Deutsche Telekom _one_ "Ringing" and
> sends the phone _two_ "Ringing", the second one with the
> P-Asserted-Identity...

Indeed.

> Maybe help it to identify the problem?

I would look at whatever part of the dial plan is responsible for inserting 
"Sekretariat", and also check whether you have "sendrpid=yes" in sip.conf.

However, at least you've got as far as ruling out Telekom as being the source 
of the problem, which I think is good.


Antony.

-- 
I bought a book about anti-gravity.  The reviews say you can't put it down.

                                                   Please reply to the list;
                                                         please *don't* CC me.



More information about the asterisk-users mailing list