Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_opal - call charged before H.225 connect


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
tculjaga at gmail.com
Guest





PostPosted: Tue Oct 06, 2009 12:46 pm    Post subject: [Freeswitch-users] mod_opal - call charged before H.225 conn Reply with quote

hello guys,


i was playing with mod_opal to see if i can make it working ... well it seems SIP-H323 interworking is not tuned at all.

I have a call from a registered sip user (1001) to PSTN via mod_opal


<include>
  <extension name="EMERGENCY">
    <condition field="destination_number" expression="^0(112|9[23456])$">
      <action application="set" data="effective_caller_id_number=1001282122"/>
      <action application="set" data="NCX_IP=10.4.4.254"/>
      <action application="set" data="call_timeout=30"/>
      <action application="set" data="hangup_after_bridge=true"/>

      <action application="bridge" data="opal/h323:0$1@${NCX_IP}"/>
    </condition>
  </extension>

  <extension name="SPECIAL_SERVICES">
    <condition field="destination_number" expression="^0(9[01789]\d{3,4})$">
      <action application="set" data="effective_caller_id_number=1001282122"/>
      <action application="set" data="NCX_IP=10.4.4.254"/>
      <action application="set" data="call_timeout=30"/>
      <action application="set" data="hangup_after_bridge=true"/>

      <action application="bridge" data="opal/h323:0$1@${NCX_IP}"/>
    </condition>
  </extension>

  <extension name="ENYTHING_ELSE">
    <condition field="destination_number" expression="^0([2-8]\d{6,7}|0[1-9]\d{7,8}|00[1-9]\d{8,16})$">
      <action application="set" data="effective_caller_id_number=1001282122"/>
      <action application="set" data="NCX_IP=10.4.4.254"/>
      <action application="set" data="call_timeout=30"/>
      <action application="set" data="hangup_after_bridge=true"/>

      <action application="bridge" data="opal/h323:0$1@${NCX_IP}"/>
    </condition>
  </extension>
</include>



One of the many issues i sow is that FS connects the call on SIP leg before it actually receives H.225 connect from H323 leg... as it is configured to send 200 OK on the 1st H.225 message containing a FastStart element/OLC.


Attached is the tcpdump i took on FS machine... just use this filter: "h225 or h245 or q931 or sip"
Also, you can check the attac CDR,,,, this is an unanswered call i placed to PSTN and FS billed it 23 seconds.



Can anyone tell where i can do correct SIP - H323 message mappings to avoid this?



T.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services