RE: Gnugk proxy and bearer capability

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

 



As far as I know, there is no way to change it from the configuration file. I would look at ProxyChannel.cxx. Look for the function ProxySocket::Result CallSignalSocket::ReceiveData(). In here look for this section of the code.


if (m_lastQ931->HasIE(Q931::DisplayIE)) 
{
                PString display = GkConfig()->GetString(RoutedSec, "ScreenDisplayIE", "");
                if (!display)
		    {
                        m_lastQ931->SetDisplayName(display);
                        changed = true;
                }
}
if (m_lastQ931->HasIE(Q931::CallingPartyNumberIE))
{
                PString newnumber = GkConfig()->GetString(RoutedSec, "ScreenCallingPartyNumberIE", "");
                if (!newnumber) {
                        unsigned plan, type;
                        PString oldnumber;
                        m_lastQ931->GetCallingPartyNumber(oldnumber, &plan, &type);
                        m_lastQ931->SetCallingPartyNumber(newnumber, plan, type);
                        changed = true;
                }
}

//Right After here you can add your new bearer capability to your q931 messages that need change, overriding the incoming one.
.
.
.

You will need to look at the openh323 api and see what functionality you need to use in order to make this happen.

Regards,

Freddy

-----Original Message-----
From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
Navratil Pavel
Sent: Wednesday, September 08, 2004 11:35 AM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject:  Gnugk proxy and bearer capability


I posted similar question few days ago without any answer - so I try to
be more specific.

I am using gnugk (version 2.0.8) as full H323 proxy (OS FreeBSD 5.2.1).
I need to change bearer capability in some call form 0x88 (unrestricted
digital) to 0x80 (speech) - I am not able to setup it on H323 client. Is
there any way to make it on the gnugk proxy? Even by modifying source
code and recompile. 
Please can somebody point me to any info about this problem. 

Thank you

Pavel Navratil
Czech Republic


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=ick

_______________________________________________________

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&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