<div dir="ltr"><div>Hello Michel,</div>
<div> </div>
<div> Please start TCPDUMP of your phone for port 5060 only, and reboot it. After it is up do a few operations on the watched phones (i.e. extensions 8000, 8001) like oroginating and receiving calls, and send me the resultant dump.</div>
<div> </div>
<div> Regards, __Yehavi:<br><br></div>
<div class="gmail_quote">2011/4/23 Michel Py <span dir="ltr"><<a href="mailto:michel@arneill-py.sacramento.ca.us">michel@arneill-py.sacramento.ca.us</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Christian and Yehavi,<br><br>Thanks for the time looking into this!<br>
<div class="im"><br><br>> Christian Benke wrote:<br>> Just a wild guess - are you actually loading the file with the<br>> attendant-settings? Usually phone1.cfg or $MAC-phone1.cfg -<br>> there should be an entry in the basic $MAC.cfg for this file.<br>
<br></div>Thanks for suggesting this; it did not solve my problem, but it made me<br>change / clean my test setting for the better. Here is my new test<br>procedure:<br><br>- On the phone, I regularly do erase local config, factory settings, and<br>
format file system. Just to be sure.<br><br>- I completely cleaned the /tftpboot directory, except for 2 files:<br>0004f2xxxxxx-phone.cfg<br>0004f2xxxxxx-license.cfg<br><br>- Extracted the files from the Polycom zip into /tftpboot, tried that<br>
both with 3.1.7 and 3.1.0 rev C. I can positively confirm that even<br>after a format file system, the phone will successfully load both the<br>3.x SIP version of the moment AND the 0004f2xxxxxx-phone.cfg.<br><br>- I don't bother to have a 0004f2xxxxxx.cfg file anymore. I don't need<br>
it as long as I keep the 0000000000000.cfg file into /tftproot. It finds<br>the phone1_31x.cfg and the sip_31x.cfg files just fine.<br><br>- About the reading of the 0004f2xxxxxx-phone.cfg: I am absolutely<br>positive that it reads it for 2 reasons:<br>
<br>1. I can see it in tcpdump port 69 -v<br>2. Changes made to 0004f2xxxxxx-phone.cfg will show up on the phone<br>after reboot.<br><br>I pasted the current version of the file below.<br>It reads the file, parses it, and some parts work and some don't.<br>
<br>What does work:<br>- The reg.1.stuff. The line shows up, registers, can make calls, etc.<br>- The SNTP timezone stuff. Changes to the gmtOffset value will show up<br>at next phone reboot.<br>- The presence feature. Changing it to "1" will indeed enable the<br>
feature, and if I add buddy entries in the directory (from the phone<br>itself) they actually work, with their known limitations. If enabled,<br>the "MyStat" and "Buddies" softkey do appear on the main screen, and do<br>
go out if deactivated.<br>- The corporate directory feature. I have not actually tested it, but<br>the feature does show in the menus when activated and not when<br>deactivated.<br><br>What does not work:<br>- The attendant thing (duh).<br>
- Trying to disable the "MyStat" and "Buddies" softkeys when presence is<br>enabled.<br><br>In short:<br>- The phone DOES read the 0004f2xxxxxx-phone.cfg file.<br>- When it parses it, some functions work and some don't.<br>
<br>- In my tests, it does not matter in which file you put things. Let's<br>say the TZ commands or the feature commands: they work regardless if I<br>put them in 0004f2xxxxxx-phone.cfg or in {phone1_31x.cfg|sip_31x.cfg}. I<br>
know, I'm not supposed to modify these but I did try, and it does work<br>as expected. Same applies to the attendant commands: regardless of which<br>file you put them in, they don't work.<br><br>- In case it was not clear: I can make the "buddies" thing work any way<br>
I want, and I can't make the "attendant" way work at all, regardless of<br>what I do. I have tried about 25 different variants, no go.<br><br>What bugs the ##^%@# out of me is this: Whether it actually works or<br>
does anything at all, just the following 2 lines should display<br>something on the phone's screen:<br>
<div class="im"> attendant.resourceList.1.address="8000"<br></div> attendant.resourceList.1.label="Name1"<br><br>So the LED may not change, the button may not work, but it should show.<br>It does not. So my problem is not that the phone does or does not<br>
register with the server, which may or may not work... It's that the<br>phone fails to parse the config file for these items.<br><br>Feedback more than welcome!<br><br>Thanks,<br>Michel.<br><br><br><?xml version="1.0" encoding="utf-8" standalone="yes"?><br>
<userinfo><br> <reg<br> reg.1.displayName="Test 2499"<br> reg.1.address="2499"<br> reg.1.type="private"<br> reg.1.auth.userId="2499"<br> reg.1.auth.password="xxxxxxx"<br>
reg.1.server.1.register="1"<br> reg.1.server.1.address="192.168.17.1"<br> reg.1.server.1.port="5060"<br> /><br></userinfo><br>
<div class="im"><br><attendant<br> attendant.reg="1"<br> attendant.ringType="1"<br> attendant.behaviors.display.spontaneousCallAppearances.normal="1"<br> attendant.behaviors.display.spontaneousCallAppearances.automata="1"<br>
attendant.behaviors.display.remoteCallerID.normal="1"<br> attendant.behaviors.display.remoteCallerID.automata="1"<br> attendant.resourceList.1.address="8000"<br></div> attendant.resourceList.1.label="Name1"<br>
attendant.resourceList.2.address="8001"<br> attendant.resourceList.2.label="Name2"<br>/><br><br><softkey softkey.feature.mystatus="0" softkey.feature.buddies="0" /><br><SNTP tcpIpApp.sntp.gmtOffset="-25200" /><br>
<feature<br> <a href="http://feature.1.name/" target="_blank">feature.1.name</a>="presence" feature.1.enabled="0"<br> feature <a href="http://feature.19.name/" target="_blank">feature.19.name</a>="corporate-directory" feature.19.enabled="0"<br>
/><br>
<div>
<div></div>
<div class="h5"><br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div></div>