HA setup completed but nothing in the database.
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@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 ?
2012/6/18 Grygoriy Dobrovolskyy <megahohol@gmail.com>
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@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 ?
Problem solved, a tiny typo :)
participants (1)
-
Grygoriy Dobrovolskyy