[Serusers] Ser 0.9.0 and Cisco Voice Gateway

Ahmad Cheikh-Moussa acm at netuse.de
Thu Apr 21 09:51:35 CEST 2005


Hi Steve!

Now it works properly. Like you wrote the port command
was missed in the dial peer.

dial-peer voice 1 pots
 description Default-Dial-peer fuer ausgehende Anrufe
 preference 3
 service session
 max-conn 25
 destination-pattern 0T
 progress_ind alert enable 8
 direct-inward-dial
 port 0/0/1:15

Now I have activated the www_authorize section.

# Uncomment this if you want to use digest authentication
                        if (!www_authorize("netuse.de", "subscriber")) {
                         www_challenge("netuse.de", "1");
                                break;
                        };


On my cisco I see following when I enable the ccsip debugging:

Apr 21 09:24:52.933 MEST: //-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads: Msg enqueued for SPI with IP addr: 192.168.254.30:5060
Apr 21 09:24:52.933 MEST: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportProcessNWNewConnMsg: context=0x00000000
Apr 21 09:24:52.933 MEST: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received: 
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP  192.168.254.203:5060;branch=z9hG4bK2924EA
From: "0*" <sip:0*@192.168.254.30>;tag=E7AF75C-13AE
To: "0*" <sip:0*@192.168.254.30>;tag=b27e1a1d33761e85846fc98f5f3a7e58.2283
Call-ID: E1A23104-B0DA11D9-81B582BA-75F29624
CSeq: 42 REGISTER
WWW-Authenticate: Digest realm="netuse.de", nonce="426756705993d4a9785e2e828158f76faa5234d4", qop="auth"
Server: Sip EXpress router (0.9.0 (sparc64/solaris))
Content-Length: 0
Warning: 392 192.168.254.30:5060 "Noisy feedback tells:  pid=16087 req_src_ip=192.168.254.203 req_src_port=52773 in_uri=sip:192.168.254.30:5060 out_uri=sip:192.168.254.30:5060 via_cnt==1"


Apr 21 09:24:52.933 MEST: //-1/000000000000/SIP/Error/sipSPIHandleAuthChallenge: Error getting credentials
Apr 21 09:24:52.933 MEST: //-1/000000000000/SIP/Info/sipSPIUdeleteCcbFromUACTable: ****Deleting from UAC table.
Apr 21 09:24:52.933 MEST: //-1/000000000000/SIP/Info/sipSPIUdeleteCcbFromTable: Deleting from table. ccb=0x45D7009C key=E1A23104-B0DA11D9-81B582BA-75F29624
Apr 21 09:24:52.933 MEST: //-1/000000000000/SIP/Info/sipSPIFlushEventBufferQueue: There are 0 events on the internal queue that are going to be free'd
Apr 21 09:24:52.933 MEST: //-1/000000000000/SIP/Info/sipSPIUfreeOneCCB: Freeing ccb 45D7009C


It looks like the cisco tries to registering to the server, but the
server decline this.

How can I enable the registering of my gateway in ser, without to disable
the www_authorize ?

Regards,
 Ahmad


On Apr 20, 05, Steve Blair wrote:
> 
> 
> Ahmad Cheikh Moussa wrote:
> 
> >Hi!
> >
> >>
> >>>Can I ask you some questions?
> >>>How do I know, that my ser server only act as registrar and
> >>>redirect Server ? With redirect I mean, any other calls, which
> >>>starts with 0, redirect to the gateway.
> >>
> >>
> >>
> >>I'm not sure I understand. Are you concerned about people outside
> >>of your user community routing calls through your proxy and out to the
> >>PSTN? If so then you need to use check_from and check_to to
> >>determine if the caller is authenticated to your proxy.
> >
> >I have following line in ser.cfg
> >t_relay_to_udp("192.168.254.203", "5060");
> >when I understand you right, then I have to change this paramater to
> >sl_relay_to_udp("192.168.254.203", "5060");
> >
> No, the t_relay is fine.
> 
> >This would mean stateless forwarding to this gateway ?
> >correct ?
> >
> >Regars,
> > Ahmad
> >
> 
> -- 
>  
> ISC Network Engineering
> The University of Pennsylvania
> 3401 Walnut Street, Suite 221A
> Philadelphia, PA 19104  
> 
> 
> voice: 215-573-8396 
> 
>       215-746-8001
> 
> fax: 215-898-9348    
> 
> sip:blairs at upenn.edu
> 

-- 
Ahmad Cheikh-Moussa 
NetUSE AG
Dr.-Hell-Straße, 24107 Kiel, Germany
Telefon: +49 431 2390 400 --  Telefax: +49 431 2390 499
Service: Service at NetUSE.DE --  http://NetUSE.DE/




More information about the sr-users mailing list