[Freeswitch-users] HA setup completed but nothing in the database.

Grygoriy Dobrovolskyy megahohol at gmail.com
Mon Jun 18 22:21:38 MSD 2012


Hello list, i've completed HA setup with two FS boxes, connected them to
the ODBC(mysql) and replicated sip_recovery table between servers, the
problem i face is simple, i have nothing in there when i have calls.

External profile has this option set:
  <param name="track-calls" value="true"/>
  <param name="odbc-dsn" value="fsw-cnf:fs-usr:2>sdfjeslkjfd4<gH(^s"/>


switch.conf also the required options:
    <param name="core-db-dsn" value="fsw-cnf:fs-usr:sdfjeslkjfd4<gH(^s"/>



FS connects fine and have no problems with that, calls, channels are in the
database, so i am thinking that FS do not "track calls" because of my
dialplan which is the following:


    <condition field="${sip_to_user}" expression="(1234567789).*$"
break="never">
      <param name="track-calls" value="true"/>
      <action inline="true" application="eval" data="URI=${sip_to_user}"/>
      <action application="set" data="domain_name=$${domain}"/>
      <action application="bridge"
data="{absolute_codec_string=PCMA}sofia/internal/1234569787 at 83.164.189.13"/>
    </condition>

So what i do is simple, match the call, and bridge to external URI. I even
added <param name="track-calls" value="true"/> to test just before bridge.

Dear all please help me to figure this out, how to make FS track this calls
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120618/7ce218df/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list