Routine for Rewrite after CallRec has been created

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

 



Hi all,

I am developing a routing routine that is based on the data in CallRec class, 
and I can't see how to rewrite the called number so that my gk responsable 
for the gateways can realize wich is the destination of the call, related to 
gateways connected to the PSTN.

What I need is to do something like Rewrite method on configuration file, but 
after the creation of the CallRec class.

Resume of the algorithm:
get data from CallRec
  study wich is the nearest gw
    insert in the m_destInfo (called number) the prefix of the gateway

can someone help me ?

-- 
Rafael Costa dos Santos
--------------------------------------------------
rafael@xxxxxxxxxxxxxxxxx
--------------------------------------------------
ThinkFreak - www.thinkfreak.com.br
Soluções e Consultoria em VoIP e Linux
Rio de Janeiro / RJ / Brazil


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk
_______________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Homepage: http://www.gnugk.org/


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

  Powered by Linux