Re: Route request, calling party number missing

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

 



Hi,

quick update for the list:
We checked this out off-list and it turned out that for the
RouteRequest GnuGk was only looking at the H.225 sourceAddress. Most
sane gateways fill it the correct calling party information, but
apparently not all.

There is a patch in the CVS now that GnuGk also looks at the Q.931 part
for the RouteRequest as it does for the accounting modules to display
the caller information.

The same also applied to SQL routing.

Regards,
Jan

-- 
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail  : jan@xxxxxxxxxxxxxx
Website: http://www.gnugk.org
Support: http://www.willamowius.com/gnugk-support.html

Per Carlén wrote:
> Hi,
> My application requires calling party number as well as called party
> number in RouteRequests.
> It seems like the code behind the RouteRequests doesn't cope with
> "Extension indicator: information continues through the next octet" in
> Q931. (See Wireshark capture below). The CDR-part, however, handles it
> correctly.
> 
> The calls are coming from a Cisco-router.
> 
> Some logs...
> 
> GnuGK Statusport:
> Gatekeeper(GNU) Version(3.1.0)
> Ext(pthreads=1,radius=1,mysql=1,pgsql=0,firebird=0,odbc=0,sqlite=1,large_fdset=0,crypto/ssl=1,h46018=1,h46023=1,ldap=0,ssh=0,ipv6=1,h235media=0)
> H323Plus(1.24.0) PTLib(2.10.1) Build(Jan 17 2012, 09:18:29) Sys(Linux
> i686 2.6.18-274.17.1.el5)
> Startup: Tue, 17 Jan 2012 11:42:49 +01:00   Running: 0 days 00:00:03
> ;
> RouteRequest|10.47.98.18:18900|unregistered|15|9411001231234||cc-fc-48-e9-40-2e-11-e1-80-6d-dc-00-ac-f5-be-58|10.47.98.20|;
> CALL|Start|cc-fc-48-e9-40-2e-11-e1-80-6d-dc-00-ac-f5-be-58|9424601659999|9411001231234|;
> CALL|Stop|cc-fc-48-e9-40-2e-11-e1-80-6d-dc-00-ac-f5-be-58|9424601659999|9411001231234|0|;
> 
> 
> GnuGK Log:
>   q931pdu = {
>     protocolDiscriminator = 8
>     callReference = 15
>     from = originator
>     messageType = Setup
>     IE: Bearer-Capability = {
>       80 90 a3                                           ...
>     }
>     IE: Calling-Party-Number = {
>       00 80 39 34 32 34 36 30  31 36 35 39 39 39 39      ..9424601659999
>     }
>     IE: Called-Party-Number = {
>       80 39 34 31 31 30 30 31  32 33 31 32 33 34         .9411001231234
> 
> 
> Wireshark:
> 
> Q.931
>     Protocol discriminator: Q.931
>     Call reference value length: 2
>     Call reference flag: Message sent from originating side
>     Call reference value: 000f
>     Message type: SETUP (0x05)
>     Bearer capability
>         Information element: Bearer capability
>         Length: 3
>         1... .... = Extension indicator: last octet
>         .00. .... = Coding standard: ITU-T standardized coding (0x00)
>         ...0 0000 = Information transfer capability: Speech (0x00)
>         1... .... = Extension indicator: last octet
>         .00. .... = Transfer mode: Circuit mode (0x00)
>         ...1 0000 = Information transfer rate: 64 kbit/s (0x10)
>         1... .... = Extension indicator: last octet
>         .01. .... = Layer identification: Layer 1 identifier (0x01)
>         ...0 0011 = User information layer 1 protocol: Recommendation
> G.711 A-law (0x03)
>     Calling party number: '9424601659999'
>         Information element: Calling party number
>         Length: 15
>         .... 0000 = Numbering plan: Unknown (0x00)
>         .000 .... = Number type: Unknown (0x00)
>         0... .... = Extension indicator: information continues through
> the next octet
>         .... ..00 = Screening indicator: User-provided, not screened (0x00)
>         .00. .... = Presentation indicator: Presentation allowed (0x00)
>         1... .... = Extension indicator: last octet
>         Calling party number digits: 9424601659999
>     Called party number: '9411001231234'
>         Information element: Called party number
>         Length: 14
>         .... 0000 = Numbering plan: Unknown (0x00)
>         .000 .... = Number type: Unknown (0x00)
>         1... .... = Extension indicator: last octet
>         Called party number digits: 9411001231234
> 
> Any ideas?
> 
> Regards
> Per Carlén

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/



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

  Powered by Linux