drachtio / drachtio-server

A SIP call processing server that can be controlled via nodejs applications
https://drachtio.org
MIT License
233 stars 90 forks source link

SIP Display Name ignored #324

Closed avoylenko closed 7 months ago

avoylenko commented 7 months ago

Hello,

It seems the drachtio server ignores the SIP display name in the from header.

2023-12-06 18:19:45.313055 recv 1178 bytes from udp/[10.0.150.157]:5070 at 18:19:45.312948:
INVITE sip:1000@aws.jambonz.demo.novait.com.ua SIP/2.0
Via: SIP/2.0/UDP 10.0.150.157:5070;rport;branch=z9hG4bKepKHU0H6jp7XD
Max-Forwards: 70
From: "Jambonz" <sip:6666@10.0.150.157:5070>;tag=F5KavpvyUyy6g
To: <sip:1000@aws.jambonz.demo.novait.com.ua>
Call-ID: dfbcef94-0f06-123d-fc8b-06d9a3589499
CSeq: 76389600 INVITE
Contact: "JBZ" <sip:6666@10.0.150.157:5070>
Content-Type: application/sdp
Content-Length: 497
X-Jambonz-Routing: user
X-Jambonz-FS-UUID: undefined
X-Call-Sid: a5bc6b0e-65ae-41bf-af46-8209a8dc3daf
X-Account-Sid: 9351f46a-678c-43f5-b8a6-d4eb58d131af
X-Trace-ID: 3c0c79ad19811925a164913106a2c77c
X-Application-Sid: 4379744c-f6c9-45a0-ab77-0ceceec35b26
2023-12-06 18:19:45.313315 RequestHandler::startRequest: sending http GET: http://127.0.0.1:4000/?method=INVITE&domain=aws.jambonz.demo.novait.com.ua&protocol=udp&source_address=10.0.150.157&fromUser=6666&toUser=1000&uriUser=1000&contentType=application%2fsdp&uri=sip%3a1000%40aws.jambonz.demo.novait.com.ua
2023-12-06 18:19:45.314423 http 200 response received from server in 0.00106 secs: {"action":"route","data":{"tag":"sbc-outbound"}}
2023-12-06 18:19:45.320739 send 1524 bytes to wss/[91.197.168.161]:49507 at 18:19:45.320582:
INVITE sip:rlldkrd7@nig18asecsda.invalid;transport=ws SIP/2.0
Via: SIP/2.0/WSS 44.215.244.213:8443;branch=z9hG4bKUaDyj0jDKam5N
Max-Forwards: 70
From: <sip:6666@91.197.168.161:49507>;tag=mpj98QjKXBj9K
To: <sip:rlldkrd7@nig18asecsda.invalid>;transport=ws
Call-ID: dfbe1f0a-0f06-123d-37bc-06d9a3589499
CSeq: 76389600 INVITE
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, NOTIFY, UPDATE, PRACK
Content-Type: application/sdp
Content-Length: 862
X-Account-Sid: 9351f46a-678c-43f5-b8a6-d4eb58d131af
X-Call-Sid: a5bc6b0e-65ae-41bf-af46-8209a8dc3daf
X-Application-Sid: 4379744c-f6c9-45a0-ab77-0ceceec35b26
Contact: <sip:6666@44.215.244.213:8443;transport=wss>
davehorton commented 7 months ago

actually this is an issue with a specific app -- sbc-outbound in the jambonz org. Closing this, feel free to open an issue there