[Asterisk-Users] Optipoint 400 Standard Sip
Steffen Koepf
taxman-ml at opaya.de
Wed Jul 7 09:38:10 MST 2004
Hello,
> I tried nearly everything, up and downgraded firmware, but nothing worked.
> I phoned with a siemens engineer, and he told me, that this version is not
> 100% sip confirm.
> But there will be a workaround.
if you mean the not-registering problem (and it works when the secret
in sip.conf is commented out), try the patch below.
The patch worked with asterisk-0.7.2, and several Optipoint 400 SIP
(2.3.12) work well with asterisk here.
Credits go out to Wilhelm Wimmreuter who posted a patch for this
problem at 30 May 2003 at this ML. Parts of his patch found their
way in the asterisk source tree, the patch included here is what's
remaining to get this nice but expensive siemens phones working.
cu,
Steffen
diff -Naur asterisk-cvs-20031029/channels/chan_sip.c asterisk-cvs-20031029-new/channels/chan_sip.c
--- asterisk-cvs-20031029/channels/chan_sip.c 2003-10-25 19:41:02.000000000 +0200
+++ asterisk-cvs-20031029-new/channels/chan_sip.c 2003-10-29 21:35:00.000000000 +0100
@@ -2219,7 +2219,10 @@
snprintf(contact, sizeof(contact), "%s;expires=%d", p->our_contact, p->expiry);
snprintf(tmp, sizeof(tmp), "%d", p->expiry);
add_header(resp, "Expires", tmp);
- add_header(resp, "Contact", contact);
+ /*ww lwc change header to copy
+ add_header(resp, "Contact", contact);
+ */
+ copy_header(resp, req, "Contact");
} else {
add_header(resp, "Contact", p->our_contact);
}
More information about the asterisk-users
mailing list