[Freeswitch-users] Qustion about INFO messages after Connect/Answer

Helmut Kuper helmut.kuper at ewetel.de
Fri Oct 16 04:31:48 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

after updating FS to trunk a few days ago I found that callee's display
is updated serveral times to caller's name after callee picked up. The
first two equal INFO messages looks like this:

INFO sip:2850 at 85.16.245.213:1040;line=367hfn9i SIP/2.0
Via: SIP/2.0/UDP 85.16.246.6;rport;branch=z9hG4bKU4803UHXaKD2r
Max-Forwards: 70
From: "Snom1 an PBX" <sip:4918 at 85.16.246.6>;tag=ccc4B2F9SD2rm
To: <sip:2850 at 85.16.245.213:1040;line=367hfn9i>;tag=zbrirvg9ow
Call-ID: 97a0e683-34e6-122d-8db2-00144fe6e330
CSeq: 121727215 INFO
Contact: <sip:mod_sofia at 85.16.246.6:5060>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15137M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, REGISTER,
REFER, UPDATE, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Type: message/sipfrag
Content-Length: 27

From:
To: "unknown" 2850


The third one is this:

INFO sip:2850 at 85.16.245.213:1040;line=367hfn9i SIP/2.0
Via: SIP/2.0/UDP 85.16.246.6;rport;branch=z9hG4bK0H7vc35evZvZj
Max-Forwards: 70
From: "Snom1 an PBX" <sip:4918 at 85.16.246.6>;tag=ccc4B2F9SD2rm
To: <sip:2850 at 85.16.245.213:1040;line=367hfn9i>;tag=zbrirvg9ow
Call-ID: 97a0e683-34e6-122d-8db2-00144fe6e330
CSeq: 121727216 INFO
Contact: <sip:mod_sofia at 85.16.246.6:5060>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15137M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, REGISTER,
REFER, UPDATE, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Type: message/sipfrag
Content-Length: 32

From:
To: "Snom1 an PBX" 4918


What calle sees is this:
1. Phone rings: caller's displayname
2. Callee picks up: switching from dislayname to unknown
3. Switching from unknown to displayname

After callee has picked up caller's display is also updated with
callee's name (this is a copy of callee's number rather than callee's
name) and number.

First Question:
Can this behaviour be disabled? Or can it be modified by dialplan, so
that there is no "unknown"?




Unfortunately when you do an outgoing call via openzap and callee picks
up the phone caller's display is updated with two equal INFO message
like this:

INFO sip:2850 at 85.16.245.213:1040;line=367hfn9i SIP/2.0
Via: SIP/2.0/UDP 85.16.246.6;rport;branch=z9hG4bK7jFa9Ztg39UUr
Max-Forwards: 70
From: <sip:890327 at 85.16.246.6;user=phone>;tag=9QZamXtmUyXvm
To: "Helmut Kuper" <sip:2850 at 85.16.246.6>;tag=5lf2e0q1on
Call-ID: 3c2a2539a966-0m3i9s85my46
CSeq: 121727707 INFO
Contact: <sip:890327 at 85.16.246.6:5060;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15137M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, REGISTER,
REFER, UPDATE, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Type: message/sipfrag
Content-Length: 36

From:
To: "1/a/890327" 1/a/890327


Second Question:
Can I change the name and number via dialplan, so that the correkt name
and number is viewed to caller?


regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFK2Fmk4tZeNddg3dwRApPUAKCQLBEi/l6mwf1c55r5mlnEqvLLowCgoP9t
VSQFKUCWpsxVm3evyfWQT/Y=
=FGsp
-----END PGP SIGNATURE-----




More information about the FreeSWITCH-users mailing list