Hi Jan, Thank you for the information, but I still can not figure out how can routing policy or rewriting rule coverts a callee number into a caller's registration, can you give me more hint? thank you. Regrads, David ----- Original Message ----- From: "Jan Willamowius" <jan@xxxxxxxxxxxxxx> To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> Sent: Sunday, May 30, 2010 12:25 PM Subject: Re: Is there anyone use GnuGK for Uniden UIP300 > Hi David, > > check out chapter 6 in the manual: > 6.1 is about the routing policies and 6.2 through 6.6 are about > rewriting. > > http://www.gnugk.org/gnugk-manual-6.html > > Regrads, > Jan > > > David Lin \(An-Hua Lin\) wrote: >> Hi Jan, >> >> I don't know how to set up 'explicit' policy to convert the connection >> string in Called-Party-Number field "*101*101*" to register an >> extension, >> the format of that connection string is "*Extension-Number*Password*", >> can >> you provide me some instruction? >> >> Thank you very much >> >> David >> >> ----- Original Message ----- >> From: "Jan Willamowius" <jan@xxxxxxxxxxxxxx> >> To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> >> Sent: Sunday, May 30, 2010 1:49 AM >> Subject: Re: Is there anyone use GnuGK for Uniden >> UIP300 >> >> >> > Hi David, >> > >> > it looks like you don't have the 'explicit' policy configured in GnuGk. >> > It would be able to route the call based on the destination IP in the >> > Setup. Or you could use one of the rewriting methods to convert >> > "*101*101*" to a number your other policies can route. >> > >> > Regards, >> > Jan >> > >> > >> > David Lin \(An-Hua Lin\) wrote: >> >> Hi, >> >> >> >> I try to register Uniden UIP300 to GnuGK, however, the result always >> >> is >> >> "connection failed", I used ethereal to capture packets between GnuGK >> >> and >> >> UIP300, and I found once I picked up the phone, the UIP sent out >> >> "H.225.0 >> >> CS: Setup" packet and the registration connection string was in the >> >> Called-Party-Number field, then GnuGK sent back "H.225.0 >> >> CS:releasecomplete", there is no any registration packets prior this >> >> talk. >> >> >> >> Below is the trace log of GnuGK, you can find the connection string >> >> "*101*101*" there, is there anyone can help me to make UIP300 connect >> >> to >> >> GnuGK correctly? >> >> >> >> thank you in advance. >> >> >> >> David >> >> >> >> 2010/05/29 17:14:52.386 5 ProxyChannel.cxx(683) Q931s Reading from >> >> 10.20.1.99:61403 >> >> 2010/05/29 17:14:52.386 3 ProxyChannel.cxx(1023) Q931s Received: Setup >> >> CRV=30516 from 10.20.1.99:61403 >> >> 2010/05/29 17:14:52.386 4 ProxyChannel.cxx(966) Q931 Received: { >> >> q931pdu = { >> >> protocolDiscriminator = 8 >> >> callReference = 30516 >> >> from = originator >> >> messageType = Setup >> >> IE: Bearer-Capability = { >> >> 88 90 a5 ... >> >> } >> >> IE: Display = { >> >> 44 61 76 69 64 David >> >> } >> >> IE: Calling-Party-Number = { >> >> a1 31 30 31 .101 >> >> } >> >> IE: Called-Party-Number = { >> >> a1 2a 31 30 31 2a 31 30 31 2a .*101*101* >> >> } >> >> IE: User-User = { >> >> 60 b8 06 00 08 91 4a 00 03 01 40 04 00 44 00 61 >> >> `.....J...@..D.a >> >> 00 76 00 69 00 64 22 c0 b5 00 47 47 07 55 49 50 >> >> .v.i.d"...GG.UIP >> >> 33 30 30 41 52 05 61 72 31 2e 30 38 00 01 04 00 >> >> 300AR.ar1.08.... >> >> 14 34 14 34 10 0a 14 01 b3 06 b8 00 02 b2 1e 96 >> >> .4.4............ >> >> 05 3a 7d 8a 56 34 34 34 34 ef 00 00 00 7d 0d 80 >> >> .:}.V4444....}.. >> >> 07 00 0a 14 01 63 59 0e 11 00 02 b2 1e 96 05 39 >> >> .....cY........9 >> >> a4 88 56 34 34 34 34 ef 00 00 01 00 01 00 01 00 >> >> ..V4444......... >> >> 01 00 08 80 01 00 00 05 04 53 45 54 55 50 >> >> .........SETUP >> >> } >> >> IE: 0xa1 (161) = { >> >> >> >> } >> >> } >> >> h225pdu = { >> >> h323_uu_pdu = { >> >> h323_message_body = setup { >> >> protocolIdentifier = 0.0.8.2250.0.3 >> >> sourceAddress = 1 entries { >> >> [0]=h323_ID 5 characters { >> >> 0044 0061 0076 0069 0064 David >> >> } >> >> } >> >> sourceInfo = { >> >> vendor = { >> >> vendor = { >> >> t35CountryCode = 181 >> >> t35Extension = 0 >> >> manufacturerCode = 18247 >> >> } >> >> productId = 8 octets { >> >> 55 49 50 33 30 30 41 52 >> >> UIP300AR >> >> } >> >> versionId = 6 octets { >> >> 61 72 31 2e 30 38 >> >> ar1.08 >> >> } >> >> } >> >> terminal = { >> >> } >> >> mc = false >> >> undefinedNode = false >> >> } >> >> destinationAddress = 1 entries { >> >> [0]=dialedDigits "*101*101*" >> >> } >> >> destCallSignalAddress = ipAddress { >> >> ip = 4 octets { >> >> 0a 14 01 b3 .... >> >> } >> >> port = 1720 >> >> } >> >> activeMC = false >> >> conferenceID = 16 octets { >> >> 02 b2 1e 96 05 3a 7d 8a 56 34 34 34 34 ef 00 00 >> >> .....:}.V4444... >> >> } >> >> conferenceGoal = create <<null>> >> >> callType = pointToPoint <<null>> >> >> sourceCallSignalAddress = ipAddress { >> >> ip = 4 octets { >> >> 0a 14 01 63 ...c >> >> } >> >> port = 22798 >> >> } >> >> callIdentifier = { >> >> guid = 16 octets { >> >> 02 b2 1e 96 05 39 a4 88 56 34 34 34 34 ef 00 00 >> >> .....9..V4444... >> >> } >> >> } >> >> mediaWaitForConnect = false >> >> canOverlapSend = false >> >> multipleCalls = false >> >> maintainConnection = false >> >> } >> >> h245Tunneling = false >> >> } >> >> user_data = { >> >> protocol_discriminator = 5 >> >> user_information = 5 octets { >> >> 53 45 54 55 50 SETUP >> >> } >> >> } >> >> } >> >> } >> >> 2010/05/29 17:14:52.386 4 ProxyChannel.cxx(1876) Q931s GWRewrite >> >> source >> >> for >> >> 10.20.1.99:61403: setup H323 ID or E164 >> >> 2010/05/29 17:14:52.402 2 singleton.cxx(25) Create instance: >> >> PreliminaryCallTable(9) >> >> 2010/05/29 17:14:52.402 5 Routing.cxx(197) ROUTING Checking >> >> policy >> >> Internal for request Setup CRV=30516 >> >> 2010/05/29 17:14:52.402 5 Routing.cxx(197) ROUTING Checking >> >> policy >> >> ENUM >> >> for request Setup CRV=30516 >> >> 2010/05/29 17:14:52.402 5 Routing.cxx(197) ROUTING Checking >> >> policy >> >> SRV >> >> for request Setup CRV=30516 >> >> 2010/05/29 17:14:52.402 5 Routing.cxx(197) ROUTING Checking >> >> policy >> >> DNS >> >> for request Setup CRV=30516 >> >> 2010/05/29 17:14:52.402 3 ProxyChannel.cxx(2217) Q931s No destination >> >> for >> >> unregistered call 02 b2 1e 96 05 39 a4 88 56 34 34 34 34 ef 00 00 from >> >> 10.20.1.99:61403 >> >> 2010/05/29 17:14:52.402 4 ProxyChannel.cxx(2266) Q931s Unregistered >> >> party >> >> is >> >> not NATed >> >> 2010/05/29 17:14:52.402 2 RasTbl.cxx(3109) >> >> CallTable::Insert(CALL) >> >> Call No. 1, total sessions : 1 >> >> 2010/05/29 17:14:52.402 2 gkacct.cxx(1047) GKACCT Successfully >> >> logged >> >> event 1 for call no. 1 >> >> 2010/05/29 17:14:52.402 6 RasTbl.cxx(3458) GK Removing callptr: >> >> 02 >> >> b2 >> >> 1e 96 05 39 a4 88 56 34 34 34 34 ef 00 00 >> >> 2010/05/29 17:14:52.402 2 RasTbl.cxx(3515) CDR ignore not >> >> connected >> >> call >> >> 2010/05/29 17:14:52.402 2 gkacct.cxx(1047) GKACCT Successfully >> >> logged >> >> event 2 for call no. 1 >> >> 2010/05/29 17:14:52.402 4 ProxyChannel.cxx(966) Q931 Send to >> >> 10.20.1.99:61403 { >> >> q931pdu = { >> >> protocolDiscriminator = 8 >> >> callReference = 63284 >> >> from = destination >> >> messageType = ReleaseComplete >> >> IE: Cause - Subscriber absent = { >> >> 80 94 .. >> >> } >> >> IE: User-User = { >> >> 25 80 06 00 08 91 4a 00 02 01 11 00 02 b2 1e 96 >> >> %.....J......... >> >> 05 39 a4 88 56 34 34 34 34 ef 00 00 02 80 01 00 >> >> .9..V4444....... >> >> } >> >> } >> >> h225pdu = { >> >> h323_uu_pdu = { >> >> h323_message_body = releaseComplete { >> >> protocolIdentifier = 0.0.8.2250.0.2 >> >> callIdentifier = { >> >> guid = 16 octets { >> >> 02 b2 1e 96 05 39 a4 88 56 34 34 34 34 ef 00 00 >> >> .....9..V4444... >> >> } >> >> } >> >> } >> >> h245Tunneling = false >> >> } >> >> } >> >> } >> >> 2010/05/29 17:14:52.402 6 yasocket.cxx(678) 10.20.1.99:61403 49 >> >> bytes >> >> sent >> >> 2010/05/29 17:14:52.402 3 yasocket.cxx(577) Q931s Delete socket >> >> 10.20.1.99:61403 > > > -- > Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ > > ------------------------------------------------------------------------------ > > _______________________________________________________ > > Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: > http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users > Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users > Homepage: http://www.gnugk.org/ ------------------------------------------------------------------------------ _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/