Hi all, I would like to call from SIP client to Asterisk then GnuGk, then Cisco 5300 to PSTN phone. Is this possible? I need simple config asterisk and gnugk.Can somebody help me? Ganbaa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040629/cfe09e1e/attachment.htm
administrator tootai
2004-Jun-30 01:43 UTC
[Asterisk-Users] SIP->Asterisk->GnuGK->Cisco 5300
Ganbaa a ?crit :> Hi all, > > I would like to call from SIP client to Asterisk then GnuGk, then > Cisco 5300 > to PSTN phone. Is this possible? I need simple config asterisk and > gnugk.Can > somebody help me?Yes. Setup your Cisco as EP in gnuGk, and use the h323 channel from * to redirect call to GnuGK. -- Daniel
Hi there I am trying to do something similar to this. My setup looks like this: Cisco 7970G IP phone > Cisco Call Manager 3.3.(4) using H323 > Asterisk IAX > Provider supporting IAX So a sample configuration on how to translate H323 to IAX is very welcome here too. Best regards Martin Kiefer ________________________________ From: asterisk-users-admin@lists.digium.com on behalf of Ganbaa Sent: Thu 7/1/2004 2:42 AM To: admin@tootai.net Cc: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] SIP->Asterisk->GnuGK->Cisco 5300 Hi Thank you for your response and advice. I did between h323 EP, gnugk and cisco as5300. Now I'm trying to test Asterisk as translator (SIP<->H323). So I need sample config for asterisk and gnugk. Could you give me advice? Ganbaa ----- Original Message ----- From: "administrator tootai" <admin@tootai.net> To: <asterisk-users@lists.digium.com> Sent: Wednesday, June 30, 2004 5:43 PM Subject: Re: [Asterisk-Users] SIP->Asterisk->GnuGK->Cisco 5300> Ganbaa a ?crit : > > > Hi all, > > > > I would like to call from SIP client to Asterisk then GnuGk, then > > Cisco 5300 > > to PSTN phone. Is this possible? I need simple config asterisk and > > gnugk.Can > > somebody help me? > > Yes. Setup your Cisco as EP in gnuGk, and use the h323 channel from *to> redirect call to GnuGK. > > -- > Daniel > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users<BLOCKED::http://lists.digium.com/mailman/listinfo/asterisk-users>> To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users<BLOCKED::http://lists.digium.com/mailman/listinfo/asterisk-users>> >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users <BLOCKED::http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <BLOCKED::http://lists.digium.com/mailman/listinfo/asterisk-users>
Anyone has sample configuration files for this setup ? Start calls from a Sip client... and terminate them on a Cisco Gateway... going thru Asterisk and GnuGK? I have SIP clients working ok through asterisk ... I also have H323 Clients working great through GnuGK-> Cisco Gateway What i've not been able to do is Terminate calls from SIP to the Cisco Gateway. Asterisk always get a security denial when trying to Register with GnuGK. Also... when i try to call from console i get a CallerNotRegistered error. I'd greatly appreciate anyone who can share Sample configuration files for Asterisk and GnuGK. Regards, Carlos.
TO use * with a 5300 using SIP, just make a dial-peer and send the calls using dial(####@CiscoIP) should work, I'm using it go to and from. Actually its MUCH MORE Stable to use * in native SIP. The code for H323 it's not very updated. LTenorio -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Carlos Maynard Sent: Saturday, September 18, 2004 12:18 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] SIP->Asterisk->GnuGK->Cisco 5300 Anyone has sample configuration files for this setup ? Start calls from a Sip client... and terminate them on a Cisco Gateway... going thru Asterisk and GnuGK? I have SIP clients working ok through asterisk ... I also have H323 Clients working great through GnuGK-> Cisco Gateway What i've not been able to do is Terminate calls from SIP to the Cisco Gateway. Asterisk always get a security denial when trying to Register with GnuGK. Also... when i try to call from console i get a CallerNotRegistered error. I'd greatly appreciate anyone who can share Sample configuration files for Asterisk and GnuGK. Regards, Carlos. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Carlos Maynard
2004-Sep-18 02:31 UTC
[Asterisk-Users] Re: SIP->Asterisk->GnuGK->Cisco 5300
UPDATE. Changed the authentication scheme in GnuGK and now Asterisk can register succesfully.... BUT still can't place calls. I'm getting a "IE: Cause - No route to destination" error. I'm pasting bellow the H323 trace for the call originated from Asterisk... and below that... a H323 trace for a call from a Cisco ATA. The ATA can place the call to the same destination just perfect. I APOLOGIZE FOR THE HUGE POST. CALL FROM ASTERISK: 2004/09/18 01:20:01.294 2 RasSrv.cxx(2224) GK Read from 68.88.232.68:32779 2004/09/18 01:20:01.298 3 RasSrv.cxx(2237) GK admissionRequest { requestSeqNum = 38834 callType = pointToPoint <<null>> endpointIdentifier = 9 characters { 0034 0035 0032 0036 005f 0065 006e 0064 4526_end 0070 p } destinationInfo = 1 entries { [0]=dialedDigits "835218329287863" } destCallSignalAddress = ipAddress { ip = 4 octets { 42 76 ee c6 Bv.. } port = 1720 } srcInfo = 3 entries { [0]=dialedDigits "2000" [1]=h323_ID 8 characters { 0061 0073 0074 0065 0072 0069 0073 006b asterisk } [2]=dialedDigits "12812812281" } bandWidth = 100000 callReferenceValue = 16568 conferenceID = 16 octets { 20 4d 6f ea b0 07 d9 11 85 6d 00 a0 cc 5c d3 e4 Mo......m...\.. } activeMC = FALSE answerCall = FALSE canMapAlias = TRUE callIdentifier = { guid = 16 octets { b2 4c 6f ea b0 07 d9 11 85 6d 00 a0 cc 5c d3 e4 .Lo......m...\.. } } gatekeeperIdentifier = 12 characters { 0074 0065 006c 0063 006f 006e 0063 0065 telconce 0070 0074 0067 006b ptgk } willSupplyUUIEs = TRUE } 2004/09/18 01:20:01.300 1 RasSrv.cxx(1321) GK ARQ Received 2004/09/18 01:20:01.300 4 gkauth.cxx(319) GkAuth default check ok 2004/09/18 01:20:01.305 3 RasSrv.cxx(1585) GK ARQ will request bandwith of 100000 2004/09/18 01:20:01.307 2 RasTbl.cxx(1885) CallTable::Insert(CALL) Call No. 203, total sessions : 1 2004/09/18 01:20:01.308 2 RasSrv.cxx(1696) ACF|192.168.1.3:1720|4526_endp|16568|835218329287863:dialedDigits|2000:dialedDigits=asterisk:h323_ID=12812812281:dialedDigits|false; 2004/09/18 01:20:01.309 3 RasSrv.cxx(2164) GK Send to 68.88.232.68:32779 admissionConfirm { requestSeqNum = 38834 bandWidth = 100000 callModel = gatekeeperRouted <<null>> destCallSignalAddress = ipAddress { ip = 4 octets { 42 76 ee c6 Bv.. } port = 1721 } irrFrequency = 120 willRespondToIRR = FALSE uuiesRequested = { setup = FALSE callProceeding = FALSE connect = FALSE alerting = FALSE information = FALSE releaseComplete = FALSE facility = FALSE progress = FALSE empty = FALSE status = FALSE statusInquiry = FALSE setupAcknowledge = FALSE notify = FALSE } } 2004/09/18 01:20:01.309 5 RasSrv.cxx(2178) GK Sent Successful 2004/09/18 01:20:01.378 3 ProxyThread.cxx(503) ProxyL Connected from 68.88.232.68:33474 2004/09/18 01:20:01.379 5 ProxyThread.cxx(538) ProxyH(1) add a socket, total 2 2004/09/18 01:20:01.379 4 ProxyThread.cxx(659) ProxyH(1) 1 sockets selected from 2, total 1/2 2004/09/18 01:20:01.380 5 ProxyThread.cxx(354) Q931s Reading from 68.88.232.68:33470 2004/09/18 01:20:01.380 3 ProxyChannel.cxx(417) Q931s Received: ReleaseComplete CRV=16566 from 68.88.232.68:33470 2004/09/18 01:20:01.384 4 ProxyChannel.cxx(373) Q931 Received: { q931pdu = { protocolDiscriminator = 8 callReference = 16566 from = originator messageType = ReleaseComplete IE: Cause - No route to destination = { 80 83 .. } IE: User-User = { 25 80 06 00 08 91 4a 00 02 01 11 00 4c c2 7e 58 %.....J.....L.~X b0 07 d9 11 85 6d 00 a0 cc 5c d3 e4 02 80 01 00 .....m...\...... } } h225pdu = { h323_uu_pdu = { h323_message_body = releaseComplete { protocolIdentifier = 0.0.8.2250.0.2 callIdentifier = { guid = 16 octets { 4c c2 7e 58 b0 07 d9 11 85 6d 00 a0 cc 5c d3 e4 L.~X.....m...\.. } } } h245Tunneling = FALSE } } } CALL FROM ATA: 2004/09/18 01:37:38.102 2 RasSrv.cxx(2224) GK Read from 68.88.232.68:40232 2004/09/18 01:37:38.105 3 RasSrv.cxx(2237) GK admissionRequest { requestSeqNum = 3247 callType = pointToPoint <<null>> endpointIdentifier = 9 characters { 0034 0034 0038 0033 005f 0065 006e 0064 4483_end 0070 p } destinationInfo = 1 entries { [0]=dialedDigits "835212812928686" } srcInfo = 2 entries { [0]=dialedDigits "3001" [1]=h323_ID 10 characters { 0063 0061 0072 006c 006f 0073 005f 0061 carlos_a 0074 0061 ta } } srcCallSignalAddress = ipAddress { ip = 4 octets { c0 a8 01 04 .... } port = 1720 } bandWidth = 640 callReferenceValue = 17586 nonStandardData = { nonStandardIdentifier = h221NonStandard { t35CountryCode = 181 t35Extension = 0 manufacturerCode = 18 } data = 7 octets { 80 00 00 02 80 01 80 ....... } } conferenceID = 16 octets { 08 51 6e 1c 80 80 00 10 00 00 00 0e 38 b6 e3 81 .Qn.........8... } activeMC = FALSE answerCall = FALSE canMapAlias = TRUE callIdentifier = { guid = 16 octets { 08 51 6e 1c 14 ed 7e 17 08 01 00 0e 38 b6 e3 81 .Qn...~.....8... } } willSupplyUUIEs = FALSE } 2004/09/18 01:37:38.107 1 RasSrv.cxx(1321) GK ARQ Received 2004/09/18 01:37:38.107 4 gkauth.cxx(319) GkAuth default check ok 2004/09/18 01:37:38.108 2 RasTbl.cxx(552) Gateway 4487_endp match 8352 2004/09/18 01:37:38.108 4 RasTbl.cxx(904) Alias match for GW 67.107.77.143:1720 2004/09/18 01:37:38.109 3 RasSrv.cxx(1585) GK ARQ will request bandwith of 640 2004/09/18 01:37:38.111 2 RasTbl.cxx(1885) CallTable::Insert(CALL) Call No. 207, total sessions : 1 2004/09/18 01:37:38.112 2 RasSrv.cxx(1696) ACF|192.168.1.4:1720|4483_endp|17586|835212812928686:dialedDigits|3001:dialedDigits=carlos_ata:h323_ID|false; 2004/09/18 01:37:38.113 3 RasSrv.cxx(2164) GK Send to 68.88.232.68:40232 admissionConfirm { requestSeqNum = 3247 bandWidth = 640 callModel = gatekeeperRouted <<null>> destCallSignalAddress = ipAddress { ip = 4 octets { 42 76 ee c6 Bv.. } port = 1721 } irrFrequency = 120 willRespondToIRR = FALSE uuiesRequested = { setup = FALSE callProceeding = FALSE connect = FALSE alerting = FALSE information = FALSE releaseComplete = FALSE facility = FALSE progress = FALSE empty = FALSE status = FALSE statusInquiry = FALSE setupAcknowledge = FALSE notify = FALSE } } 2004/09/18 01:37:38.113 5 RasSrv.cxx(2178) GK Sent Successful 2004/09/18 01:37:38.197 3 ProxyThread.cxx(503) ProxyL Connected from 68.88.232.68:32767 2004/09/18 01:37:38.198 5 ProxyThread.cxx(538) ProxyH(1) add a socket, total 2 2004/09/18 01:37:38.295 4 ProxyChannel.cxx(2005) RTP Delete logical channel 32 2004/09/18 01:37:38.297 3 ProxyThread.cxx(79) Q931s Delete socket 68.88.232.68:3711 2004/09/18 01:37:38.312 4 ProxyThread.cxx(659) ProxyH(1) 1 sockets selected from 1, total 1/1 2004/09/18 01:37:38.312 5 ProxyThread.cxx(354) Q931s Reading from 68.88.232.68:32767 2004/09/18 01:37:38.313 3 ProxyChannel.cxx(417) Q931s Received: Setup CRV=17586 from 68.88.232.68:32767 2004/09/18 01:37:38.331 4 ProxyChannel.cxx(373) Q931 Received: { q931pdu = { protocolDiscriminator = 8 callReference = 17586 from = originator messageType = Setup IE: Bearer-Capability = { 80 90 a3 ... } IE: Display = { 33 30 30 31 3001 } IE: Calling-Party-Number = { 01 80 33 30 30 31 ..3001 } IE: Called-Party-Number = { 81 38 33 35 32 31 32 38 31 32 39 32 38 36 38 36 .835212812928686 } IE: User-User = { 20 b0 06 00 08 91 4a 00 02 01 01 80 63 34 20 c0 .....J.....c4 . b5 00 00 12 0c 43 69 73 63 6f 20 41 54 41 20 31 .....Cisco ATA 1 38 36 18 76 3a 30 78 30 34 30 30 30 32 31 30 20 86.v:0x04000210 66 3a 20 62 3a 30 33 30 37 30 39 61 00 01 07 00 f: b:030709a.... b6 85 45 b4 5c 5b 9b 90 08 51 6e 1c 80 80 00 10 ..E.\[...Qn..... 00 00 00 0e 38 b6 e3 81 00 5d 5d 80 07 00 c0 a8 ....8....]]..... 01 04 06 b8 11 00 08 51 6e 1c 14 ed 7e 17 08 01 .......Qn...~... 00 0e 38 b6 e3 81 80 8f 02 4d 80 0a 2a 86 48 86 ..8......M..*.H. f7 0c 0a 01 02 01 c0 41 4b e5 e9 10 9b e1 00 f7 .......AK....... d7 92 f6 bf d2 7e 5c 30 e9 95 05 73 01 01 12 00 .....~\0...s.... 63 00 61 00 72 00 6c 00 6f 00 73 00 5f 00 61 00 c.a.r.l.o.s._.a. 74 00 61 03 01 02 04 22 41 4b e5 ea 9b e1 00 f7 t.a...."AK...... d7 92 f6 bf d2 7e 5c 30 e9 95 05 73 00 00 00 01 .....~\0...s.... 63 61 72 6c 6f 73 5f 61 74 61 00 80 03 01 02 04 carlos_ata...... 03 01 02 04 22 41 4b e5 ea 9b e1 00 f7 d7 92 f6 ...."AK......... bf d2 7e 5c 30 e9 95 05 73 00 00 00 01 63 61 72 ..~\0...s....car 6c 6f 73 5f 61 74 61 81 37 0c 14 00 00 1d 0e 04 los_ata.7....... 01 01 80 0b 0d 00 01 00 c0 a8 01 04 3a 99 00 14 ............:... 00 00 1e 0e 00 01 01 80 0b 0d 00 01 00 c0 a8 01 ................ 04 3a 99 00 13 00 00 1f 0d 60 01 80 0b 0d 00 01 .:.......`...... 00 c0 a8 01 04 3a 99 00 13 00 00 20 0d 40 01 80 .....:..... .@.. 0b 0d 00 01 00 c0 a8 01 04 3a 99 00 13 00 00 21 .........:.....! 0c 20 13 80 0b 0d 00 01 00 c0 a8 01 04 3a 99 00 . ...........:.. 13 00 00 22 0c 60 13 80 0b 0d 00 01 00 c0 a8 01 ...".`.......... 04 3a 99 00 1f 40 00 81 06 04 01 00 4e 04 01 01 .:...@......N... 80 12 1d 00 01 00 c0 a8 01 04 3a 98 00 c0 a8 01 ..........:..... 04 3a 99 00 1f 40 00 82 06 04 01 00 4e 00 01 01 .:...@......N... 80 12 1d 00 01 00 c0 a8 01 04 3a 98 00 c0 a8 01 ..........:..... 04 3a 99 00 1e 40 00 83 06 04 01 00 4d 60 01 80 .:...@......M`.. 12 1d 00 01 00 c0 a8 01 04 3a 98 00 c0 a8 01 04 .........:...... 3a 99 00 1e 40 00 84 06 04 01 00 4d 40 01 80 12 :...@......M@... 1d 00 01 00 c0 a8 01 04 3a 98 00 c0 a8 01 04 3a ........:......: 99 00 1e 40 00 85 06 04 01 00 4c 20 13 80 12 1d ...@......L .... 00 01 00 c0 a8 01 04 3a 98 00 c0 a8 01 04 3a 99 .......:......:. 00 1e 40 00 86 06 04 01 00 4c 60 13 80 12 1d 00 ..@......L`..... 01 00 c0 a8 01 04 3a 98 00 c0 a8 01 04 3a 99 00 ......:......:.. 01 00 01 00 01 00 01 00 02 80 01 80 ............ } } h225pdu = { h323_uu_pdu = { h323_message_body = setup { protocolIdentifier = 0.0.8.2250.0.2 sourceAddress = 1 entries { [0]=dialedDigits "3001" } sourceInfo = { vendor = { vendor = { t35CountryCode = 181 t35Extension = 0 manufacturerCode = 18 } productId = 13 octets { 43 69 73 63 6f 20 41 54 41 20 31 38 36 Cisco ATA 186 } versionId = 25 octets { 76 3a 30 78 30 34 30 30 30 32 31 30 20 66 3a 20 v:0x04000210 f: 62 3a 30 33 30 37 30 39 61 b:030709a } } mc = FALSE undefinedNode = FALSE } destinationAddress = 1 entries { [0]=dialedDigits "835212812928686" } activeMC = FALSE conferenceID = 16 octets { 08 51 6e 1c 80 80 00 10 00 00 00 0e 38 b6 e3 81 .Qn.........8... } conferenceGoal = create <<null>> callType = pointToPoint <<null>> sourceCallSignalAddress = ipAddress { ip = 4 octets { c0 a8 01 04 .... } port = 1720 } callIdentifier = { guid = 16 octets { 08 51 6e 1c 14 ed 7e 17 08 01 00 0e 38 b6 e3 81 .Qn...~.....8... } } tokens = 2 entries { [0]={ tokenOID = 1.2.840.113548.10.1.2.1 timeStamp = 1095493098 challenge = 16 octets { 9b e1 00 f7 d7 92 f6 bf d2 7e 5c 30 e9 95 05 73 .........~\0...s } random = 1 generalID = 10 characters { 0063 0061 0072 006c 006f 0073 005f 0061 carlos_a 0074 0061 ta } nonStandard = { nonStandardIdentifier = 0.1.2.4 data = 34 octets { 41 4b e5 ea 9b e1 00 f7 d7 92 f6 bf d2 7e 5c 30 AK...........~\0 e9 95 05 73 00 00 00 01 63 61 72 6c 6f 73 5f 61 ...s....carlos_a 74 61 ta } } } [1]={ tokenOID = 0.1.2.4 nonStandard = { nonStandardIdentifier = 0.1.2.4 data = 34 octets { 41 4b e5 ea 9b e1 00 f7 d7 92 f6 bf d2 7e 5c 30 AK...........~\0 e9 95 05 73 00 00 00 01 63 61 72 6c 6f 73 5f 61 ...s....carlos_a 74 61 ta } } } } fastStart = 12 entries { [0]= 20 octets { 00 00 1d 0e 04 01 01 80 0b 0d 00 01 00 c0 a8 01 ................ 04 3a 99 00 .:.. } [1]= 20 octets { 00 00 1e 0e 00 01 01 80 0b 0d 00 01 00 c0 a8 01 ................ 04 3a 99 00 .:.. } [2]= 19 octets { 00 00 1f 0d 60 01 80 0b 0d 00 01 00 c0 a8 01 04 ....`........... 3a 99 00 :.. } [3]= 19 octets { 00 00 20 0d 40 01 80 0b 0d 00 01 00 c0 a8 01 04 .. .@........... 3a 99 00 :.. } [4]= 19 octets { 00 00 21 0c 20 13 80 0b 0d 00 01 00 c0 a8 01 04 ..!. ........... 3a 99 00 :.. } [5]= 19 octets { 00 00 22 0c 60 13 80 0b 0d 00 01 00 c0 a8 01 04 ..".`........... 3a 99 00 :.. } [6]= 31 octets { 40 00 81 06 04 01 00 4e 04 01 01 80 12 1d 00 01 @......N........ 00 c0 a8 01 04 3a 98 00 c0 a8 01 04 3a 99 00 .....:......:.. } [7]= 31 octets { 40 00 82 06 04 01 00 4e 00 01 01 80 12 1d 00 01 @......N........ 00 c0 a8 01 04 3a 98 00 c0 a8 01 04 3a 99 00 .....:......:.. } [8]= 30 octets { 40 00 83 06 04 01 00 4d 60 01 80 12 1d 00 01 00 @......M`....... c0 a8 01 04 3a 98 00 c0 a8 01 04 3a 99 00 ....:......:.. } [9]= 30 octets { 40 00 84 06 04 01 00 4d 40 01 80 12 1d 00 01 00 @......M@....... c0 a8 01 04 3a 98 00 c0 a8 01 04 3a 99 00 ....:......:.. } [10]= 30 octets { 40 00 85 06 04 01 00 4c 20 13 80 12 1d 00 01 00 @......L ....... c0 a8 01 04 3a 98 00 c0 a8 01 04 3a 99 00 ....:......:.. } [11]= 30 octets { 40 00 86 06 04 01 00 4c 60 13 80 12 1d 00 01 00 @......L`....... c0 a8 01 04 3a 98 00 c0 a8 01 04 3a 99 00 ....:......:.. } } mediaWaitForConnect = FALSE canOverlapSend = FALSE multipleCalls = FALSE maintainConnection = FALSE } h245Tunneling = TRUE } } }