1) you should update again there were a few issues. 2) you can set the variable sip_callee_id_name and sip_callee_id number on the inbound leg before you answer to control what it says. On Fri, Oct 16, 2009 at 6:31 AM, Helmut Kuper <helmut.kuper@ewetel.de>wrote:
-----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@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@85.16.246.6 <sip%3A4918@85.16.246.6>
;tag=ccc4B2F9SD2rm To: <sip:2850@85.16.245.213:1040;line=367hfn9i>;tag=zbrirvg9ow Call-ID: 97a0e683-34e6-122d-8db2-00144fe6e330 CSeq: 121727215 INFO Contact: <sip:mod_sofia@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@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@85.16.246.6 <sip%3A4918@85.16.246.6>
;tag=ccc4B2F9SD2rm To: <sip:2850@85.16.245.213:1040;line=367hfn9i>;tag=zbrirvg9ow Call-ID: 97a0e683-34e6-122d-8db2-00144fe6e330 CSeq: 121727216 INFO Contact: <sip:mod_sofia@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@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@85.16.246.6 <sip%3A890327@85.16.246.6> ;user=phone>;tag=9QZamXtmUyXvm To: "Helmut Kuper" <sip:2850@85.16.246.6 <sip%3A2850@85.16.246.6>
;tag=5lf2e0q1on Call-ID: 3c2a2539a966-0m3i9s85my46 CSeq: 121727707 INFO Contact: <sip:890327@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-----
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400