Linphone Chat Ip address instead of My Host (Freeswitch Server)

95 views
Skip to first unread message

Ram

unread,
Jul 16, 2019, 2:52:25 AM7/16/19
to freeswitch-ru
Hello,

We are new to freeswitch and we are facing a strange peculiar issue and request your support to solve this.

We are using linphone mobile app and using freeswitch server in the backend. Facing a duplicate chatroom issue from the app side.  When we send a message - We are sending it with hostname which isnt an issue- But when we are receiving it- We are getting with ip address which is actually creating the duplicate chatrooms. Please help us in resolving it and let us know on what changes to be done.

Message Sent Data:
 message sent to [UDP://krify.telradprodigy.com:5060], size: [484] bytes
2019-07-16 10:40:51.944423-0700 linphone[340:25064] [Message] MESSAGE sip:sang...@krify.telradprodigy.comSIP/2.0
2019-07-16 10:40:51.944508-0700 linphone[340:25064] [Message] Via: SIP/2.0/UDP 10.1.10.153:56273;branch=z9hG4bK.IACqlJJX8;rport
2019-07-16 10:40:51.944591-0700 linphone[340:25064] [Message] From: <sip:ud...@krify.telradprodigy.com>;tag=FA4Zn1w2C
2019-07-16 10:40:51.946528-0700 linphone[340:25064] [Message] To: sip:sang...@krify.telradprodigy.com
2019-07-16 10:40:51.946670-0700 linphone[340:25064] [Message] CSeq: 20 MESSAGE
2019-07-16 10:40:51.946757-0700 linphone[340:25064] [Message] Call-ID: rJg54Dfm4H
2019-07-16 10:40:51.946839-0700 linphone[340:25064] [Message] Max-Forwards: 70
2019-07-16 10:40:51.946919-0700 linphone[340:25064] [Message] Supported: replaces, outbound, gruu
2019-07-16 10:40:51.946999-0700 linphone[340:25064] [Message] Date: Tue, 16 Jul 2019 17:40:51 GMT
2019-07-16 10:40:51.947078-0700 linphone[340:25064] [Message] Content-Type: text/plain
2019-07-16 10:40:51.947157-0700 linphone[340:25064] [Message] Content-Length: 2
2019-07-16 10:40:51.947237-0700 linphone[340:25064] [Message] User-Agent: Telrad.Talk_iPhone.6_iOS10.3.3/4.0.2-181-g89710ec7e (belle-sip/1.6.3)
2019-07-16 10:40:51.948105-0700 linphone[340:25064] [Message] Hi


Message Receiving Data:

received [590] new bytes from [UDP://krify.telradprodigy.com:5060]:
2019-07-16 10:42:08.189254-0700 linphone[340:25064] [Message] MESSAGE sip:ud...@10.1.10.153:56273;transport=udp SIP/2.0
2019-07-16 10:42:08.189341-0700 linphone[340:25064] [Message] Via: SIP/2.0/UDP 35.203.66.57;rport;branch=z9hG4bKSF3KXe480v1Zr
2019-07-16 10:42:08.189423-0700 linphone[340:25064] [Message] Max-Forwards: 70
2019-07-16 10:42:08.189504-0700 linphone[340:25064] [Message] From: <sip:sang...@10.1.10.150>;tag=FpDh030iM
2019-07-16 10:42:08.189586-0700 linphone[340:25064] [Message] To: "" <sip:ud...@10.1.10.153:56273;transport=udp>
2019-07-16 10:42:08.189667-0700 linphone[340:25064] [Message] Call-ID: 5b197450-bb88-4a98-9e99-e17bd146efbe
2019-07-16 10:42:08.195946-0700 linphone[340:25064] [Message] CSeq: 7071930 MESSAGE
2019-07-16 10:42:08.196064-0700 linphone[340:25064] [Message] User-Agent: FreeSWITCH
2019-07-16 10:42:08.196147-0700 linphone[340:25064] [Message] Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE

Your early help is appreciated 

ros tel

unread,
Jul 16, 2019, 2:59:13 AM7/16/19
to freeswitch-ru
Look at mod_sms
With it, you can replace the message headers with the ones you need.

вторник, 16 июля 2019 г., 11:52:25 UTC+5 пользователь Ram написал:
Hello,

We are new to freeswitch and we are facing a strange peculiar issue and request your support to solve this.

We are using linphone mobile app and using freeswitch server in the backend. Facing a duplicate chatroom issue from the app side.  When we send a message - We are sending it with hostname which isnt an issue- But when we are receiving it- We are getting with ip address which is actually creating the duplicate chatrooms. Please help us in resolving it and let us know on what changes to be done.

Message Sent Data:
 message sent to [UDP://krify.telradprodigy.com:5060], size: [484] bytes
2019-07-16 10:40:51.944423-0700 linphone[340:25064] [Message] MESSAGE sip:sangeeta5@krify.telradprodigy.comSIP/2.0

2019-07-16 10:40:51.944508-0700 linphone[340:25064] [Message] Via: SIP/2.0/UDP 10.1.10.153:56273;branch=z9hG4bK.IACqlJJX8;rport
2019-07-16 10:40:51.944591-0700 linphone[340:25064] [Message] From: <sip:ud...@krify.telradprodigy.com>;tag=FA4Zn1w2C
2019-07-16 10:40:51.946528-0700 linphone[340:25064] [Message] To: sip:sangeeta5@krify.telradprodigy.com

2019-07-16 10:40:51.946670-0700 linphone[340:25064] [Message] CSeq: 20 MESSAGE
2019-07-16 10:40:51.946757-0700 linphone[340:25064] [Message] Call-ID: rJg54Dfm4H
2019-07-16 10:40:51.946839-0700 linphone[340:25064] [Message] Max-Forwards: 70
2019-07-16 10:40:51.946919-0700 linphone[340:25064] [Message] Supported: replaces, outbound, gruu
2019-07-16 10:40:51.946999-0700 linphone[340:25064] [Message] Date: Tue, 16 Jul 2019 17:40:51 GMT
2019-07-16 10:40:51.947078-0700 linphone[340:25064] [Message] Content-Type: text/plain
2019-07-16 10:40:51.947157-0700 linphone[340:25064] [Message] Content-Length: 2
2019-07-16 10:40:51.947237-0700 linphone[340:25064] [Message] User-Agent: Telrad.Talk_iPhone.6_iOS10.3.3/4.0.2-181-g89710ec7e (belle-sip/1.6.3)
2019-07-16 10:40:51.948105-0700 linphone[340:25064] [Message] Hi

Ram

unread,
Jul 16, 2019, 5:10:03 AM7/16/19
to freeswitch-ru
Thank you for the Reply ros tel.

can you please help us in where can we find those headers and how to access those. We tried it without much of any luck




On Tuesday, July 16, 2019 at 12:22:25 PM UTC+5:30, Ram wrote:
Hello,

We are new to freeswitch and we are facing a strange peculiar issue and request your support to solve this.

We are using linphone mobile app and using freeswitch server in the backend. Facing a duplicate chatroom issue from the app side.  When we send a message - We are sending it with hostname which isnt an issue- But when we are receiving it- We are getting with ip address which is actually creating the duplicate chatrooms. Please help us in resolving it and let us know on what changes to be done.

Message Sent Data:
 message sent to [UDP://krify.telradprodigy.com:5060], size: [484] bytes
2019-07-16 10:40:51.944423-0700 linphone[340:25064] [Message] MESSAGE sip:sangeeta5@krify.telradprodigy.comSIP/2.0

2019-07-16 10:40:51.944508-0700 linphone[340:25064] [Message] Via: SIP/2.0/UDP 10.1.10.153:56273;branch=z9hG4bK.IACqlJJX8;rport
2019-07-16 10:40:51.944591-0700 linphone[340:25064] [Message] From: <sip:ud...@krify.telradprodigy.com>;tag=FA4Zn1w2C
2019-07-16 10:40:51.946528-0700 linphone[340:25064] [Message] To: sip:sangeeta5@krify.telradprodigy.com

2019-07-16 10:40:51.946670-0700 linphone[340:25064] [Message] CSeq: 20 MESSAGE
2019-07-16 10:40:51.946757-0700 linphone[340:25064] [Message] Call-ID: rJg54Dfm4H
2019-07-16 10:40:51.946839-0700 linphone[340:25064] [Message] Max-Forwards: 70
2019-07-16 10:40:51.946919-0700 linphone[340:25064] [Message] Supported: replaces, outbound, gruu
2019-07-16 10:40:51.946999-0700 linphone[340:25064] [Message] Date: Tue, 16 Jul 2019 17:40:51 GMT
2019-07-16 10:40:51.947078-0700 linphone[340:25064] [Message] Content-Type: text/plain
2019-07-16 10:40:51.947157-0700 linphone[340:25064] [Message] Content-Length: 2
2019-07-16 10:40:51.947237-0700 linphone[340:25064] [Message] User-Agent: Telrad.Talk_iPhone.6_iOS10.3.3/4.0.2-181-g89710ec7e (belle-sip/1.6.3)
2019-07-16 10:40:51.948105-0700 linphone[340:25064] [Message] Hi
Reply all
Reply to author
Forward
0 new messages