thanks Michal, waiting for cvs to update to test. Best regards, Aivis mailto:aivis@xxxxxxxxxxxxxxxx ZM> I corrected this error recently, but it seems that I forgot ZM> to commit the patch;) The correct behaviour will be to use ZM> an endpoint signaling address (if it is registered with the gk) ZM> or a peer soocket IP:port. ZM> ----- Original Message ----- ZM> From: "Aivis Olsteins" <aivis@xxxxxxxxxxxxxxxx> ZM> Sent: Sunday, January 30, 2005 3:27 PM >> just testing latest 2.2.2 from CVS and found a case where gnugk was >> unable to setup framed-ip-address (possibly to due bug in originating >> device), however 2.0.8 seemed to be ok. >> >> trace below shows that obviously "sourceCallSignalAddress" entry does >> not exist in call setup message. The question is how 2.0.x handled >> this? Did it just use IP address which sent Call Setup? >> >> please see trace below: >> >> 2005/01/29 15:59:02.781 5 ProxyChannel.cxx(472) Q931s Reading >> from XX.XX.XX.XX:8845 >> 2005/01/29 15:59:02.781 3 ProxyChannel.cxx(708) Q931s Received: >> Setup CRV=26892 from XX.XX.XX.XX:8845 >> 2005/01/29 15:59:02.783 4 ProxyChannel.cxx(655) Q931 Received: >> { >> q931pdu = { >> protocolDiscriminator = 8 >> callReference = 26892 >> from = originator >> messageType = Setup >> IE: Bearer-Capability = { >> 80 90 a5 ... >> } >> IE: Display = { >> 56 6f 69 70 53 77 69 74 63 68 20 32 2e 30 00 VoipSwitch 2.0. >> } >> IE: Called-Party-Number = { >> 81 37 30 37 38 38 30 31 37 36 30 38 39 32 31 .70788 >> } >> IE: User-User = { >> 20 b8 06 00 08 91 4a 00 04 01 40 01 00 42 00 44 .....J...@..B.D >> 28 c0 b5 00 07 d3 0b 56 6f 69 70 53 77 69 74 63 (......VoipSwitc >> 68 00 00 06 31 2e 30 2e 31 00 00 00 01 06 80 a3 h...1.0.1....... >> ab b3 4a 93 bc 54 00 3f d0 9c 68 06 b8 00 6d 28 ..J..T.?..h...m( >> 91 cd 72 d5 11 d9 89 8c 08 00 20 f7 d2 da 00 59 ..r....... ....Y >> 1d 80 11 00 18 8c 24 87 71 43 11 d9 92 e2 e7 23 ......$.qC.....# >> 80 7c ad ca 33 02 13 00 00 00 0d 40 05 80 0b 0d .|..3......@.... >> 00 01 00 d9 ce ca 7e 17 f3 00 1d 40 00 01 06 04 ......~....@.... >> 00 4d 40 05 80 12 15 00 01 00 d9 ce ca 7e 17 f2 .M@..........~.. >> 00 d9 ce ca 7e 17 f3 00 01 00 01 00 01 00 01 00 ....~........... >> 02 80 01 00 .... >> } >> } >> h225pdu = { >> h323_uu_pdu = { >> h323_message_body = setup { >> protocolIdentifier = 0.0.8.2250.0.4 >> sourceAddress = 1 entries { >> [0]=h323_ID 2 characters { >> 0044 0042 DB >> } >> } >> sourceInfo = { >> vendor = { >> vendor = { >> t35CountryCode = 181 >> t35Extension = 0 >> manufacturerCode = 2003 >> } >> productId = 12 octets { >> 56 6f 69 70 53 77 69 74 63 68 00 00 >> VoipSwitch.. >> } >> versionId = 7 octets { >> 31 2e 30 2e 31 00 00 1.0.1.. >> } >> } >> gateway = { >> } >> mc = FALSE >> undefinedNode = FALSE >> } >> destinationAddress = 1 entries { >> [0]=dialedDigits "70788" >> } >> destCallSignalAddress = ipAddress { >> ip = 4 octets { >> 3f d0 9c 68 ?..h >> } >> port = 1720 >> } >> activeMC = FALSE >> conferenceID = 16 octets { >> 6d 28 91 cd 72 d5 11 d9 89 8c 08 00 20 f7 d2 da m(..r....... >> ... >> } >> conferenceGoal = create <<null>> >> callType = pointToPoint <<null>> >> callIdentifier = { >> guid = 16 octets { >> 18 8c 24 87 71 43 11 d9 92 e2 e7 23 80 7c ad ca >> ..$.qC.....#.|.. >> } >> } >> fastStart = 2 entries { >> [0]= 19 octets { >> 00 00 00 0d 40 05 80 0b 0d 00 01 00 d9 ce ca 7e >> ....@..........~ >> 17 f3 00 ... >> } >> [1]= 29 octets { >> 40 00 01 06 04 00 4d 40 05 80 12 15 00 01 00 d9 >> @.....M@........ >> ce ca 7e 17 f2 00 d9 ce ca 7e 17 f3 00 >> ..~......~... >> } >> } >> mediaWaitForConnect = FALSE >> canOverlapSend = FALSE >> multipleCalls = FALSE >> maintainConnection = FALSE >> } >> h245Tunneling = FALSE >> } >> } >> } >> 2005/01/29 15:59:02.783 4 ProxyChannel.cxx(1304) GWRewrite >> source: setup H323 ID or >> E164 >> 2005/01/29 15:59:02.783 2 Toolkit.cxx(289) >> RewritePString: 70788 to 44188 >> 2005/01/29 15:59:02.783 2 Toolkit.cxx(289) >> RewritePString: 70788 to 44188 >> 2005/01/29 15:59:02.783 2 radauth.cxx(837) RADAUTH >> RadAliasAuth Setup auth failed: co >> uld not setup Framed-IP-Address >> 2005/01/29 15:59:02.784 3 gkauth.cxx(1070) GKAUTH >> RadAliasAuth Setup check failed >> 2005/01/29 15:59:02.784 4 ProxyChannel.cxx(1427) Q931 Dropping >> call from XX.XX.XX.XX >> :8845 due to Setup authentication failure >> >> Best regards, >> Aivis mailto:aivis@xxxxxxxxxxxxxxxx ZM> ------------------------------------------------------- ZM> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting ZM> Tool for open source databases. Create drag-&-drop reports. Save time ZM> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. ZM> Download a FREE copy at http://www.intelliview.com/go/osdn_nl ZM> _______________________________________________________ ZM> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx ZM> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 ZM> Homepage: http://www.gnugk.org/ ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/