Hi George,
I have checked the tcpdump for last call. The Cisco router is stopping
the fast start setup, as there was no fast start element in CALL
PROCEEDING message. Usually the Call Proceeding message was ignored.
ooh323 sends fast start response in Alerting and Setup message only.
I have enabled the fast start response in Call Proceeding message. That
should fix the early audio problem. To apply this change, You can
replace attached file with asterisk-ooh323c/ooh323c/src/ooq931.c file.
Rename ooq931.zip.txt to ooq931.zip, than unzip it.
Let me know it works for you.
Regards,
Avin Patel
Objective Systems, Inc.
George Melika wrote:
Avin,
Here's a tcpdump of the h323 traffic with the GW. Let me know if you need
anything else.
George
----- Original Message ----
From: Avin Patel <[EMAIL PROTECTED]>
To: George Melika <[EMAIL PROTECTED]>
Cc: ooh323c-devel@lists.sourceforge.net
Sent: Friday, March 23, 2007 4:00:37 PM
Subject: Re: [ooh323c-devel] ooh323: Faking Ring Problem
Hi George,
Me: Using an IAX2 phone
GW1: Asterisk 1.4 w/ OOH323 and SIP
GW2: CISCO router with H323 and SIP
Is this configuration you are testing?
IAX2 --- IAX channel ----> (IAX[GW1 asterisk]ooh323) ----H.323 channel
---> (H.323[ GW2 Cisco ]) ----> PSTN
Calls are originating from GW1 and routed through GW2 to the PSTN and I am
listening on my IAX2 phone. When I use SIP between GW1 and GW2 I get the
proper ringtone as generated by the PSTN. When I switch to OOH323 I get a
locally generated (North American) ringtone, and they are generated locally
before the destination is actually ringing.
You can add one more change at ooq931.c file:
if(pq931Msg->messageType == Q931SetupMsg){
/*Add progress indicator IE */
if(pq931Msg->messageType == Q931SetupMsg ||
pq931Msg->messageType == Q931AlertingMsg ||
pq931Msg->messageType == Q931CallProceedingMsg) {
msgbuf[i++] = Q931ProgressIndicatorIE;
msgbuf[i++] = 2; //Length is 2 octet
msgbuf[i++] = 0x80; //PI=8
msgbuf[i++] = 0x88;
}
If you still face the problem, Can you provide us captured messages
between GW1 and GW2 using tcpdump ?
Regards,
Avin Patel
Objective Systems, Inc.
PK d6ߣeP ±Î ooq931.cì}ûW9Òèïü
{ÂØ`Ì#É{qß!ÀÙýæËáw:±Ýw;Àá¿U¥g·ú¡6yìøäawK¥R©Tª*J«KlµÃéí,¸¼Y]gÛÏ×áìâ]|öqðÕg§·Qì£ëNM¨
{WAÄ¢p_÷g>ïÃùlDW¾ÇæÏ±þ
Seæ³ÏFÁÀD><öظË.|`æTÀgpÀ×p2ºeÁõpæõ'Pó:¯X|峨#á´' 6
L^ßÄüjZºô'þ¬?Qð¨Ô,cªî3èj8»Ð¡DC~Y¼}tüîá{6
FÐ,ëòº>`;Bþ5ð¯y' t5jØäh^KvvrðZ±«8¾Þظ¾¾n×£Û¨9ÇH³
Ù·«x<ö&·læ{AÏ9¢¥HAÑÜÃfÆ¡
_ýYDÇó#;îþòz5ø0&ÅØ>ägcié3-á/ÿçÙVój9ñ,õ¡éÔÃ~4±
®ú?ϧ3èÒ`¡?K×hÃFéW϶Y϶¿È*çOmÓþE0
[EMAIL PROTECTED];ï\~
>´aÙÞéáÖÑÛÿÛÝgdz0á¾ï°_%_6دl³^5Øööþý9»[ºzCÃðGÉ}XµÆ[Fï÷ã>[À·ÃRý(ê_úÀ|ÑejüÉe|ÕàÈ´{[õ R-!¼á0òã»iÉ'[EMAIL
PROTECTED]' 7Ä71_hBÛø¨µ¥¼FÝI Bo^¬ï~To±
Ì#¿?æálÌç¾?òÇ0¨ o Rð²ï{Ã^ÔV=î¾ø0ãÃEWáÊ2úÌ|¥
Ñâ¼sÞ;::ýptÒã¨PóS1ûA4ã`ÒYØ#Q~Þ=ëìµ;ûo߿ݮ-üJO½ÿ,7
×[²ë{²Ã¶ëØ>@wèÏ|[EMAIL PROTECTED]'wFÇ
N$8ÀÆÜþÄVØæÍ÷Ã:{󽪳ßxWAW3ûêcâ]Ýh|8Çû~I¨hýÕf;¾)¨Q˪SÇwI¶!,¤B°
üj!]>T^,i´Ç|ºô`êKxÃÉ¢Oo4QôIø#ü¡ÿÕÖñûãß`
S/ýºq«ÉûÁú8ý`yÈ1?¡ÕÚõ.A5ñôáu+ø!&éZÙjàSu1Åÿh8
½áX¿ °¢<æ¸èÚ^Öìá ÖÖÜ;x(Íu+X
ÙH¨´àzÍ$$H¢-1sjêv¨Óâ#¥
Mõá1ÇICMõ`Èvù3üÛíhȪ'§SôG0A"Õ,¸>8¹ºQ8öaÁ
çNzÜþ`qjyá`CħÎ`ÔÆ¾#û,¦ù$iHsíx]ñAóB¹ò¡
¢]ôIãN#v¼P¶^"Ñ`B¬Ø¦á]CQÔ£eQ?ðHù3Q¯Éz¢§ÈÝÑ|Ü¿fQ5ó<X1çc«§!u9wp)áG¤5P#Eû5âØïO"¬bÐÁ¯}ë!ðêQaÑ£-$)[EMAIL
PROTECTED]>ºîßFJ(Ï' _`¡a0ñRðhÔã+>·äLü/ÀI¶L¼?ıoÞì°W-ëñoö¼Jñ$©(ë֩äkpÂcáàrÎü4²
õuãѵ®îÇ 3ÇÄ%ÿØ÷«äÙè [EMAIL PROTECTED]>[EMAIL PROTECTED])T
ñÿÏ5Ûu¶.þú.×ßÖ¨Ízˤkí
V+dçääYm¹3
³×ý1bëIsð®=
ù4ªÓ2G`ìP¸ZË_Ãü~!ììÑDÎßíu:ûÙôÄ.¦×ÄïV²¬\ùzÉyAL|¤Ø1Þ*J7ø´&ÕdìûDª?9~uæ4 fbnùM4ð/y|²Á1S_x
?Óf*è
KiÚ)¯µ®«±nÍB¡ÖʰGífg³ÅnÞhá×Ú5vzh¡ÆÎf=ñÐÖféóôL2ÈÏ7TÓqÁ4
AÜà{Z
Î`SMG}GòòÂI¢S""öU¥åºî?ø·Ó¾ç:/û
0ç8KýJx.À¬áäÄø°{û½ïryÍ¥r
§x6~wÚTèÜ {*&éjÔì¥[áv`½£ý£×ïQà U
4q´þ¥ÚFBt?
FôCªZ0ÀXk5AksCBÀm ízéÁL´-ý(ë>îýt~xöñmçäkù³|[EMAIL
PROTECTED]"k©ÉׯJ«c©=¯|/®ûlð½
&ï=î\ÈcÜ-a·JuëáÔ÷ùÓ÷þÙï' ·ÌÑó]YJÛl¨¡ü5"o´òzà$SXü«?û=Ø
l
w
\®î²A¾Ônx ®BÈ#ÞäNõ½é¼-ÊRPÞu W:`Ë>îüúRZÍ}¥²wÚq9 l¦=0LmDDòCØ·Þûþ³3h8Gz>[ú&TTúLY·Ïàá5~»Âá¦uNqåîP×å°G´å}å,ö±b_4:£Kè6ÙÃ['ggÝVB$»z§öVr0aä ù-j6'[EMAIL
PROTECTED]" £ïñ
[EMAIL PROTECTED],`o!ø¬àùÚ¸È6
7ø+sêFÕ(À꯻¤ÛÀ||©kÐâ~1P5wöÇ~
gpLQyôª|¢ë W5]HcÊý»yv9ÑW<Æ^«nà^
.9 ÁeStp×_Ë §VQØø¾WÔ(é:[EMAIL PROTECTED])¸Û|[EMAIL
PROTECTED]@ë"²¸S`i,*à
ºP
Ëïú²çÀÉ2àN`?¾·ÃñtäÇ~ÔTQà§`5Í£Îäy0+DØ,è5/_Ñ!àÅöùÓýi!Qy|?ìÏG±Y$¢þ§ó]ÐL!c4(%Ѻ)Èâ/Ãøû¤øÊqNåöÔôH¹r'é>0ñ½#Âè=ÄR¤+þn§T⬫Â
lF.ì:jÈPÈi"
wU8^Â¥÷§Á%pv([EMAIL PROTECTED]:w%¥ï¹7á{U[8ñy´
WÚQÖ½¾a\¶ñÅÉæÍÓÍíevæHÙ~
OÈcS¤ÆrÁAÒÁü¼µ¹ Q0ÕSíòMÜæM¼&ûF¿Î¤yÍhXiÕ5³
ÌU±$^U|ÈkiÑÕD%;åÎjþ²§«-³×lY,×ÓÍ«bÁj0È?1aç*ºkSÛ¥5¢²u²`ÕÿèÖTT;7¦i¶õþÉô#uý $¤ÛùùiðIm&Óp¼æîõ±T·ªÒ'aÿ$ÔÎô2oPr
[EMAIL PROTECTED]
[EMAIL PROTECTED]|XÌñQ3¾C«2±8|!ÞYúÕ-J
á_ GÒTu¹'ú?Éq³M¯ÔgIxä$ÜúùÒî²-k3«¿ðXáä)ب¼Óiº½Â"[EMAIL
PROTECTED]/<
/¤m|¢È*wak;Â`·ÛüÒâ¾ç^OU«£{Kþ~Oaë±ßNMV£qUy99×Çødmæ
HÐù8[:`¶¯Àý¼-U,L¸p2.é¥Õtñ?õ:HÑ
[EMAIL PROTECTED]'&ç` 1`¶h¤FpãîRpx `å´ä±fÕÖwð?Òwx^äy¨\|²p7
ÿ}EW-"¸ðAÂáPaú½|ñâÙPÄÁ¸?j²ã6#ÿbU¶ýýKX¯dìXLG3À!:Âx0t|ø9½¸Eeç0À)Á×áä;
ó
!ÀRQ0å¯?ñÃyDôÀHAÙ/v
uéÀÃ(Ä· ¿Ì)ÔMÑÃ3$4KfÍ%ðb°÷Ùi÷°ämM¨Z
uùQ?EÉçúÕ¯GÕ)ä¬'Cݧ¨¼à¥ê¦ý¾¨Õ¤vYÇýÚ¦ìfXMaU¯QÅúSP\ëIl×Ä7
îc?¡@
¾PGIÆ!hÌ[/0^2â}AÄ7%#|ßÔ^Ðk_PÓ¡æå%üu' Võ9¾Ô qéÕ
»;ØÀ˺Ý1õh°ó=¼M0·aûB'»,ú5§\?nåɮӾÌjàôBâ'¸êås£
<7*a
/ý#zÓù¿»Ï¶¥BpúÓ^çc¯û±#b8{PêætÔVôKÞ
Sõ»¾Pét)ÐößdAÐõ
Ôþ`qÞÐ
©jÇpAñú·
È´âp,X¶cToÆ_Ï# §¶6ù¥^ÏáýêÖ&"n!
&§æúîå<ðÀ] Ý"ë/[Ö[±Ýo¿¿Ëy½Uüz^_å½~F¯å½~N¯·ó^¿(®ý^ò^O¯×¿Sv
#Ãä·=¶^Âÿ2<*³~õkê,L½VSã´»[«ë¯`1\}U¯¯àêË¥:høÝÌÏ×Á¨uþ*QñDÈGµ}}âUQK«ÅBYÍëÖ;¹Ïe7<V
ëc?ðÛ÷Ûâ~µ/§ñlG)LØZªàÛ££|$Ù$ì»øÌñ dN$GÎCI]_<[EMAIL
PROTECTED]'åjýÉÉÑ ª!_o0U;«³¹
áïvÜûi¡l]T(EôgîâmâBâÓ8:´ÿu;'oIæØ4©r´ ¬FúwÎQbã#ÆðU;
M
½Ù¬É¡$ hXtVE
Z0>ÃùHRC¯åEDµa
û
÷=Â?õÙ÷>n£Ç¼+<ÜWð(Y¢¸ÆÉ\ļÂó±óBÈðÑÕdž4ö7úë6¥Aâ½}D[EeÆ0SÖpBÒÀïÀ
U³ÃsSS*kÇhgD`1jðÎÈðè¨Ía¹RG½ÎkÆüÿ;;Øgo;¬{¬Ý9ÜÇcÅG'ûvôN2zïC§{Âö»§íîÇîá^ïèJ³c(tzÜi7×ÓÒk¦·«®è\3â3ʦT
oÔé1:tÄ
Q0ÁC!Ì!î\F¬`¡Ñ+\µ`ådG-&ü¤mòclN
À(êDP³»B ÓcUs(Ê_ªÃ§à\Ê¢EDxªÐÁú1ÛÁú1é`$®ªH<o`q
9VHúd¢¶óuY[!wRNay»ùwDÕôhV^ßaÈx]$¨à4^òL¹ªq®£lOÊø\ø\îh³B"Å|RðSÖw#PÛ¬ÖQsÁ>Ù(©W ½Nta ùI³Ù/×l,$õ+&ÃyD»JjGJ:SPl5ÈÌh0OÈbn}<Þk÷DÊkçëÌ´«d%M»|Ðãè(áE®±DHZKÙÎÝvüGÃQZàc#£Dmejü'èÆn"RBÒù_q1¸âEaV
êÀc @
yl»þn7ÈÊÁòÒ'<ÿ$uWD/e5 FñV}þLÍU¹1»b=÷|®È&[EMAIL
PROTECTED]<ÊC"ÜÚXvMç4Íåî.'ÆÒmärÅì$pj+h'3WÝþ P>·
$®R "°¬(Rp"²~²dÅf(z³¤,SýT8^øTÑ
+\Q#f1RµUÔ,ÓÊ|/Á[ÛÅÅí
ÈÝÝWU«$;[0¿Ï&_ [EMAIL PROTECTED]/2¹"°·Õ JJåÕD9Ø|[EMAIL PROTECTED]
ÏÇLf¨yÍ [EMAIL PROTECTED]
+Ó>¹¶»Éªê¼A~í
Åâñ´æ¢å nLÁëõÉúÛ%qiqò¤b xrª%TTOe#§KÎèñ.-
p ÌmÅ×<+ÉÌCq"oÜdæS%OÃlûÆMÈnGpPö¹AV:\Ñ8q
'q¤QÚFÁÚçÙÔ
¿Cw°;(XÜ
¢¨ñDvöq kA£°27s5H§õÙ(¶VÕ;¤¦9ßæÏ!9½tÎ&² .XÍ4°Jt£XÖrJdµx'iÎIøi}£:
Ú·ûÅ¥^ç^ÃV8aàòFÎ2×£hËåÆi¢\ béãîΫ¼¯Ä
[EMAIL
PROTECTED](8>¼zsê°tÕ1niÁK?d\Ûʤ¯ËµaÓo%¸S<ÌiBݽKÌPq Ç ÍYhÓ6]Åe§ëTÐéêjvKB»²È¯£¤´ïÚ÷ªÒÙ÷*Ù÷îCeß[ȾWÆ9U
EZù%É!/YJÓ¨X9!9¸JÔãU$Éì7åÉlô.¡YQNE4hÁH§/¯0¨ê:}íèÐç6Ï¥}Z®a'"ï5mñ4ÈÓy,·Ïté6û<"ÜEæÉ-¹oó9½o3ÍØ¸ù
7x«>ÍÚ¾ù¼¶Fû.#7ãàÅ+½¡j+yÁ$éïÊSûì=ßÄÎT"'d"ô¢Ã@)[EMAIL
PROTECTED]"Ѩ¿<ÂceÖáz+ÞD¢z.É¡A=¹ãr Òë°ÑxF¾³ÜÔ
ÿÞ;9Í÷gç5;'f]ÛS4|Ùx
=ºUû9îÕ¶ügcC¥ôÖ¶Ö#)Thdâ$Q¥xéM¿Äâ°µÕ/Ò¢¥\áéÀ%H-11 ïéÓbY#h)3Ïà4¾¯ãëäµND#þ(läôÔ¯t»ÏSí¾L¶zû½lV´6ºkWJí ÕäÅw¬?×ñå®5_©b§¢
,w,{Éx!ôn
ãìÝi;cûâG#ïÞ"[Fmâ|×lÿvr4 à0ð%³ë1(£·É°¹ÍAkøÁ8éÃ$I={<GðFT;ê
Y´{g>eÕæo;'ØküÏ<J;GØrð±²Õp4Åü([EMAIL
PROTECTED]>þ2 ¦i7}wºh·6Mâg§bJ|
¯G1Þr²HEñMG¯ÓHÍä
uVMòãØÞ1È/Æ"JiþI2Dq¾Ë!ÀgÛpKäç#AKYHï*©+8'mn«:¨"pýù$$¹)/TÞ{
Â<8øRò ?ù¤cs øPÐ(§
>§p"h×§H(漫
«~j0ÐGk-ÆÒÞ¥½ªB¢qRuw;+9Ð,Aòý;>t÷sNIÆ JQ¤î±ÞZ°ºQ1ó½Yz`´j"BGÖ6âºCs´´¾ûíB«'èØ¦6¤TAÞ u
XÚzÓÞ»½÷*ãpÔ¿t&´¤ÓÞioï¤Wg++îoOuíè -¬Ýä&8Hâ9#ç_i¸pYk«yÒGgT
z¼KÚ¬E^`g\Òq¬õvz wÀ°£fª¤ }Z*Æ©ªP¾
åjüÓó½Ë«[Qô|º¾!K´ÄQ_
[EMAIL PROTECTED]<öø~ßÞvA¼©ä]ÆZ\Y¨eë«õ©aÅ&[EMAIL
PROTECTED]<ÉËS!HþàX7qwµb<%ÿôα;ûÎùd.É4ÂfÜù¸êçásÌ%iî¾;þïbÖ54.E
0Uð°$2ÙOBCäèû³lΩ`Â[Àñ>÷óóÆ·¯üÁ&ÆÑVýsä2¯=}©þ®Kñ¾hG×ùMxAùpéhx^[¦½/y<I#-O='É
|ªq7#¡Ã¦?ÿ7Î>ÆòSò¹ÔððIÊJöã
±Ã)JPVx&;`çÎ%ÌA«Ñ¬Ìîÿ©°¶æØ¼
YFLiYOEåã¨Ìøxj8 ÏÆ~Fs`Ébïl9{^ÒÀyFçWEÍ{ÒØkös,n&L5ŦÑ`ËEãº,dGâ0E¨¶ÃpJ('[EMAIL
PROTECTED]"^æÍÂÑæK³-Ú#c!FÈÐéfàºexÊòbÄo-\ÝHs<ÊS^±#*Añh]XßÈv÷!fE^²bé>ö$®'¹`Dî,Tp/%
-j¬üº¿Äþ,/~Z©®ÇÚ±%»M·m5×HöL6ÓU´R-³å\
yAóTÁÝ)ºæÞAðJâª(üaÃÜWC,§°g{ù,[EMAIL
PROTECTED]>ïµ1C]³ØÐs~Ýe¨¿Býg"RÕVÀܱ éÑè ´
Á§tV¥Å. ´
4ÿJkïVAQZ{¨´:+ªÚÑ4úJtÕóre5Só´U欮þVWÿ"êj©öÜ{q¾¬¢6-KYYUmTóM {,½ñ±
àÂ^¿¿rôDtEk+ʯÔÕ»êѨk_*"uXϤÀªºõL}&i%"[EMAIL
PROTECTED]
ÝrMÚe_
{¤"eZò¬¸2T^Ma³~t?Ãp!ÁXG%Sã±\¨ð²:èì/[EMAIL PROTECTED]
¦õo/[{A8ãÁ!i>x"Ï]ɦAÞiïÉxQ/ý ¤ë% üé"ð_iM XºPÏéB"[EMAIL
PROTECTED](oUCS:+ØÃ
ÜÙRÀ0&§ªo*>| °µ"ÜÛÛ!ÃWî·?4n20ýc\C¸Ï´L4ä|§à|~µçêFæD8ù)Û
¦¯fUÁ
ÝãìÈÔÖÕr£/³_XüD²¾K½vj)PôÑüºîS KÄ
WÛÀÜñ4â£á»º*d¯àÚeËV{ïø¼÷È:¸w¶ß=ªÿs¹Ëáòëe¼ñ?\Ø9.î¬]|:\d]ôÉ-{¼5£$IVÞ/ËzJªöóÌ\ ;§|¦ØSæÆô!gfÑÔN
榬¼øä|¦ÝDÖì$ÖPTðæci>«À#§5dr14b
9ÃbzÖÅgä3×)=nÅÖ'[EMAIL PROTECTED]
Ó(±ÖñDÜ2·c<éótI
%Ô§dͯ9.t^åzæ ¿.
aLâ¡È
°ÄªËKÃVÆeÜlGÐHPò¶.ºWßÐ>èì\FõÎÄ;x÷8éì,J·þXï$[O3#3QAûóg6]º¶FÅtÐ9ºbmm× 9WÊxübÕºÑ~%[1Ò=×Ra8Ϩâ*¤v3í4J«-¢©å³zòpÎ"X2}V2
¨Toç·pÓß,r8êÏ©ÅçT:+}
sã%L4pSS)ñl» >£¡Yè'¸³gïâºG9dz+^¢N%./Ê`ö¹&ø
¾ÈÏ=+w\Jmcu(#̬òÖ¨Ïú±>þr§ÅRÿÇdá'juèô1úÄ÷:'=ÈÝ`í£ÃÃN»Vz ¤fYÛüà}öJ H\[e×6
HÞY$Ai)?ûPX6>NÎÝó¸Óa)u¨âxPÌîzu,
ÏÙÇÈR纬Gú(X¤i)¦ÿתvIqN0
&IØ40ï¸'O[Öñ!h£}æwhjÈMË]¥Å¾M÷V4Uä°gʾ¿
z'QGÖæP¾· }vºlÇI)&§xX
Wi·OÝ-áWKpÉ:Ð
H$³e&cÕIT¤:¿kÿÂy{ÏWzÒàÏñÄ>