Re: Re[2]: voipcall_match_tariff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And what would you like to have in voipcalltermtariff?
Did you setup termination tariffs/accounts too?

Another thing is that you should not get NULL in place
of calledstationip (assuming the call is not rejected).

----- Original Message ----- From: "Roman V. Luschik" <romal@xxxxxxxxxx>
Sent: Wednesday, December 29, 2004 1:39 PM



ZM> No, that's exactly how it is supposed to work. Terminating
ZM> account/tariff is matched based on dialed number and/or terminating IP,
ZM> not on the originating party h323id.


For example :
i have incoming call to my gateway whith CallingPartyNum=70951111111
and CalledPartyNum=78125555555.
in voipuser tables i have following record
23875;"8";"70951111111";"2";"FALSE";"TRUE";"1";"^$";"''";"";"qqq";"qqq";"TRUE"

i have the following record in voipcall table:

"315";"2";"70951111111";"0000014E";"9C45EA35 588E11D9 937C99AA
9D030214";"10.10.10.10";"''";"127.0.0.1";"70951111111";"127.0.0.1";"78125555555";"2004-12-29 11:07:59+03";"2004-12-29 11:08:02+03";"2004-12-29 11:08:36+03";"10";"34";"0.0397";"0.0700";"USD";"test";"1";"1";"0";"2004-12-29 08:09:50+03";"0";"2004-12-29 08:09:50+03";"2004-12-29 08:10:26.494159+03";"0";"7812"


and nothing in voipcalltermtarif

How the call will get in the table voipcalltermtarif?
SELECT INTO termuser * FROM match_terminating_user('78125555555', false, NULL);


--
Best regards,
Roman                            mailto:romal@xxxxxxxxxx



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/


_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux